Update table while saving!!

Hi all,
I have created a table maintenance generator for the table and whenever user saves the entry, we need to update the table with new entry and modify the existing record...
which include shall i use for this?
Regards
Gunjan

Hi,
as u have maintained the table maintainence generator,now goto SM30->GIVE THE TABLE NAME AND PRESS ON EDIT BUTTON..NOW ADD UR ENTRIES AND PRESS SAVE..The data will be saved.
also check the below link
The below link is for table maintainenece generator events
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/8129f164-0a01-0010-2a8e-8765287250fc
Regards,
Nagaraj

Similar Messages

  • Update LIKP table while saving the output type in VT02N transaction

    Hi All,
    I have a requirement where i have to update Delivery Priority(LPRIO) field in LIKP table while saving the output type in VT02N transaction. I am not able to use the BAPI "BAPI_OUTB_DELIVERY_CHANGE" or FM "WS_DELIVERY_UPDATE" because, when we save the output type the programs that are configured in NACE are triggered in update mode and hence i will get a roll back error.
    Let me know other ways of updating the table at the time of saving output type for shipment transaction VT02N.

    This could be a result of one of the following reasons:
    1: Incorrect smart form/routine assigned in the output configuration (NACE)
    2: Serial number range of the delivery expired
    3: The default settings of the user (SU01) processing the delivery is missing the default printer name.
    Hope this is helpful
    Manish

  • Update error while saving quotation

    update error while saving quotation - express message
    Error reads as "device type sapwin"
    When the print option send immediately (option 4) in the printer configuration the error is coming and the document is not saving due to update error.
    When the print option is send with own application (option 3) in the printer configuration the document is getting saved.
    we want to run with option 4.  could some one show some light on this problem.
    regards
    VS Arava

    From the description the job is trying to print to a frontend printer. Try sending the job to another printer. Or print to LOCL. This will send the spool to your local default printer.
    I suspect there is a network issue related to the printer set up.
    when you use option 4 the error gets hit immediately. Option three is waiting to print later, the error does not likely show up until later when the job is actually printed.
    Check the printer config..

  • Update Error while saving the record

    Hi All,
    I am facing an 'Unable to update record' error when I save the form.
    The error Detail is: Unable to update :block.field1 to null.
    In fact I am printing that particular field before calling APP_STANDARD.EVENT('KEY-COMMIT'); in Key-commit trigger which has a value, but the field becomes null as soon as I click on Save button.
    Can any one tell me what I am doing wrong?
    Thanks,
    Neeraja
    P.S: I am using Forms 6i version

    Thanks for your response.
    I have an update on the issue.
    This particular field which becomes null on saving is actually a context field for descriptive flexfield.
    And it gets saved when the context is defined in the DFF definition. But it becomes null for those whose attributes are not defined and is not part of the DFF definition.
    Is there any way to handle this when it is not a part of DFF definition.
    Thanks again!
    Neeraja

  • Validation entry table while saving in sm30...

    Hi guys, i need some help.
    i am using the 01 event to intercept the saving process of an entry table in sm30.
    the problem is: If i try to rise any error message into the 01 event, i am able to see it on the status bat, but the transaction immediately quit.
    i will appreciate any suggestion.
    thanks in advance.

    Set the flag vim_abort_saving = 'X' before you issue the error message. If it doesn't still work, set the flag and then issue a 'S' or 'I' message.
    Edited by: Srinivas Adavi on Jun 26, 2009 12:57 PM

  • IntegrityConstraintViolation Exception  in SystemIdGenerator Table while Saving Assets

    Hi Experts,
    We are getting the following error log when trying to create or edit/save an asset in oracle webcenter sites.
    2014-01-15 09:36:41,230 GMT+00:00] [ERROR] [pool-16-thread-1] [fatwire.logging.cs.db] SQLException executing query: update SystemIdGenerator set id=1313832043644 where id=1313832043544
    java.sql.SQLIntegrityConstraintViolationException: ORA-00001: unique constraint (ACMS_OWNER.SYS_C00108197) violated
    SystemIdGenerator is a system table and it has the both the entries (1313832043644,1313832043544) in it which is causing the error. We tried removing the entry and retrying but the UI went down after this. Later we retained the entries and did a restart but the issue is still existing. Please advice.
    Note: We are working in an upgrade project from fatwire 7.6 to Oracle Webcenter sites
    Thanks & Regards,
    Aswin

    SystemIdGenerator table should have exactly one ID in it, not two, or zero. One thing you can do to try and avoid potential ID conflicts with existing generated IDs is to manually advance the generator by an amount, whilst the application server is shut down, then start up again.
    E.g. if you were to set a new ID like 1315000000000 then new IDs will be generated starting from that number, and this is quite a large jump forwards so new IDs should not conflict with any existing IDs.
    Phil

  • "Update Delayed" while saving an Asset Master

    Hi,
    When I am changing an Asset master(AS02) it doesn't change and I get a message on status bar "Update Delayed". I debugged the standard program and everything goes fine but when it encounters "Commit work" statement it gets hanged and gives message "Update Delayed".
    Any pointer is appreciated.
    Thanks & regards,
    Deepak

    Update delays sometimes mean that there is a queue waiting at the UPD task.  Go to SM51 and check to make sure that there are no other tasks waiting to be processed.  Check with you Basis group - they might be able to run some diagnostics on the update task.

  • HOW TO Send mail while saving VA02

    How can i send mail while saving VA02.
    The mail address i have to pick from custom table based on plant.
    Just for the trial we used : output type :KRML
    Application : V1
    Transaction medium :7.
    and the program RSNASTSO routine SAPOFFICE_AUFRUF_VX is attached in the nace.
    The same output type is attached in va02.If we use this output type with this medium , it is asking us mail partner
    address also in the VA02.
    but we have to get the mail partner from custom table.
    And with this output type , the program attched in the NACE (RSNASTSO) IS NOT GETTING triggered.
    But the mail is being sent to the mail partner which i mentioned in the VA02 Communication method.
    How can i solve this.
    Finally my requirement is i have to send a mail to exter id which is maintained in the custom table while saving VA02.
    Regards
    Ramakrishna L

    Hi,
    We had set a output type in NACE. and that output type we have in the VA02 transaction also.
    But While saving the transaction it is not going through the program mentioned in the NACE for that output type.
    But mail is sent to the SAP Inbox or official id .
    how that mail is gone i am not understanding.
    How can we do to go through the program mentioned in NACE while saving the VA02.
    The mail body coming with text " sales order is blocked" sopme thing like this.
    This same mail i have to sent to the mail id maintained in Custom table plant wise.
    Regards
    Ramakrishna L

  • Regarding mail sending while saving VA02

    Dear Experts,
    I have requirement  mail to be sent while saving VA02 .
    Mail ids are maintained plant wise in custom table.I have to send the mail to the mail id maintained in custom table while saving the VA02.
    Here in VA02 we have added output type which is related to mail which triggers the program RSNASTS0.
    But while saving this program is not getting triggered.But mail is coming to the SAP INBOX.
    Why this program is not triggered and how can i do the abouve requirement.
    Regards
    Ramakrishna L

    Hi Rama,
    First of all, could you please tell me whether the NAST program that you wrote is sending the mail to SAP Inbox. If that program is sending the mail to SAP indox, then to send the mail outside SAP, like the users official mail id, you need to activate auto forwarding feature. This can be done using Tcode "SO36". You can activate this feature and try to test it out.
    Please let me know if this will server your purpose.
    Regards
    Maneesh Chandran
    Edited by: Maneesh Chandran on Aug 9, 2010 8:35 PM

  • Problem while saveing in Table Control.

    Hi
    I am geting error while saving data in table control.
    This table contol is pop up window at end of screen .
    user enter qty & uom in TC..
    Error i am getting is...
    Field symbol has not been assigned.
    Error analysis                                                                               
    The system tried to access an anasigned field symbol (data segment        
    number 32772).                                                                               
    The field symbol is no longer assigned, because a Unicode program         
    previously tried to set the field symbol using an ASSIGN statement with   
    an offset/length declaration. The memory addressed in this offset/length  
    declaration, however, no longer lay within the valid range.                                                                               
    Information on where terminated                                                                               
    The termination occurred in the ABAP program "SAPLOMCV" in                
    "CONVERSION_EXIT_MATN1_INPUT".                                           
    i Have coded like this..
    MODULE USER_COMMAND_0112 INPUT.
      CASE OKCODE.
        WHEN 'BACK' or 'CANCEL'.
          SET SCREEN 0.
    This iti is contain data which diplay in TC
         when 'DISPLAY'.
              LOOP AT ITI.
              read table iti with key ingr_code = iti-ingr_code
                                      ingr_desc = iti-ingr_desc.
              wka1-ingr_code = iti-ingr_code.
              wka1-ingr_desc = iti-ingr_desc.
              wka1-conc = iti-conc.
              wka1-quantity = iti-quantity.
              wka1-uom = iti-uom.
            append wka1 to itf.
            ENDLOOP.
         WHEN 'SAV'.
          loop at itf where check = 'x' .
                  update zacg_ns
                    set ingr_code = itf-ingr_code
                    col_name = itf-ingr_desc
                    conc = itf-conc
                    quantity = itf-quantity
                      UOM =  itf-UOM
                      ru = itf-ru
                      where ingr_code = itf-ingr_code
                      and col_name = itf-ingr_desc.
        zacg_ns-ingr_code = itf-ingr_code.
       zacg_ns-col_name = itf-ingr_desc.
       zacg_ns-conc = itf-conc.
      zacg_ns-quantity = itf-quantity.
    zacg_ns-UOM = itf-UOM.
    update zacg_ns.
                     endloop.
                     leave program.
                  ENDCASE.
              ENDMODULE.                 " USER_COMMAND_0112  INPUT
    MODULE read_table_control INPUT
    MODULE read_table_control INPUT.
      MODIFY itf  INDEX tc-current_line.
    ENDMODULE.                    "read_table_control INPUT
    *&  Include           ZACG_NS_2                                        *
    *&      Module  STATUS_0111  OUTPUT
          text
    MODULE STATUS_0111 OUTPUT.
      SET PF-STATUS 'ZNEWSHADE'.
      SET TITLEBAR 'ZNS'.
    ENDMODULE.                 " STATUS_0111  OUTPUT
    *&      Module  STATUS_0112  OUTPUT
          text
    MODULE STATUS_0112 OUTPUT.
      SET PF-STATUS 'ZTC'.
    SET TITLEBAR 'xxx'.
      DESCRIBE TABLE itf LINES lines.
      tc-lines = lines.
    ENDMODULE.                 " STATUS_0112  OUTPUt
                                                                                    PROCESS BEFORE OUTPUT.
    MODULE STATUS_0112.
    LOOP at itf WITH CONTROL TC CURSOR tc-current_line.
        MODULE TC_PBO  .
      ENDLOOP.
    PROCESS AFTER INPUT.
      MODULE CANCEL AT EXIT-COMMAND.
    LOOP at itf .
        module read_table_control.
      ENDLOOP.
    MODULE USER_COMMAND_0112.
    Can any one help me..

    Hi,
    Did you enter that filed later after creating the table control?
    You check in the element list whether for that element u have an entry or not..
    Regards,
    Nishant

  • MSA 4.0 SP8 : Campaign description not updated in real time while saving?

    with reference to this thread : refresh/update a list , I prefered creating my own instead of upping the older one
    So the problem deals with data refreshing, or data updating into the objects :
    When creating a campaign, after saving, the campaign description seems not to be updated. While we can see the right value we just entered,
    - in the Campaign Search menu, the description is either empty (upon creation of a new campaign) or displays the old value if the description was modified.
    - we have a Crystal report based on the campaign details (among other things), and the Description field (linked to the same datasource) is either empty or has the old value.
    All is back to normal if we go to the Search menu, search the Campaign and open it.
    Also, when creating a new campaign, and after saving (so there would be the Description bug), right-clicking on the tile and selecting the "Refresh All" option, it displays the campaign displayed before choosing to create a new one.
    What is happening ? The controls involved are still standard, so is the "Refresh bug" a known one ? (I am comforting in this idea since i found the thread linked at the beginning)
    Thanks and Regards,
    François

    Hi,
    this is a well-known issue of 4.0 (I remember that I have read that this should be changed in 5.0 by defining a specific relation type for BO relations).
    The detail tile is based on business object data but the search list is based on a record set retrieved by the search.
    For all linked fields/properties there is an automatic refresh but NOT for data which is stored in a dependent object.
    In your example campaigns are stored in BO BOCAMPAIGN with underlying IDES table smopccampn but the campaign short texts are stored in a separate object using table smopccamna.
    Unfortunately this is a very technical explanation but at least it is one...:-))
    Regards,
    Wolfhard

  • Problem while saving date field in custom table

    Hi,
    Iam facing the following problem while saving a date field in custome table
    i have a date field zdate in which the value is 02082010.
    now when i try to insert this value in the custom table it is getting updated as 20/10/0208 , but it should be 08/02/2010
    How can i correct it..
    Regards
    Kumar

    just before saving u might have to use a string reverse FM and then save it..
    CALL FUNCTION 'STRING_REVERSE'
      EXPORTING
        STRING          = p_string
        LANG            = sy-langu
    IMPORTING
       RSTRING          = r_string
    EXCEPTIONS
       TOO_SMALL        = 1
       OTHERS           = 2

  • How to capture userid,date in a custom table while updating a form

    Hi,
    I have a requirement to insert the userid, the form name and the date on which the record is saved in a custom table while updating a custom form.
    We are using Form Builder 6.0.
    I am new to Forms and can anyone help me with these?
    I would also want to know under which trigger i should be writing the code in.
    Thanks in advance.

    you can use:
    usrid := get_application_property(username);
    formname := get_application_property(current_form);
    dt := to_char(sysdate,'dd/mm/yyyy hh:mi:ss');
    you insert these values in on-update trigger at form level

  • Error while saving a workflow via sharepoint designer: Server-side activities have been updated. You need to restart SharePoint Designer to use the updated version of activities.

    While saving a workflow using SharePoint designer on a SharePoint site, I get the following error: 
    Server-side activities have been updated. You need to restart SharePoint Designer to use the updated version of activities.
    Steps to recreate error:
    Login to the WFE server hosting IIS and workflow manager, open SharePoint Designer 2013 and login to a SharePoint site.
    Access the list using SharePoint Designer 2013, in the workflow section, click new workflow. 
    In the new workflow dialog, enter workflow details, click save (see screenshot below).
    Error message is displayed as below:
    After restarting SharePoint Designer, the saved workflow is not seen in the site/workflows or list/workflow section.
    Workaround
    When the above steps are repeated while accessing the site via SPD from any other box besides the WFE/Workflow manager host server, the error is not encountered and its possible to save/publish workflows.
    Notes
    Workflow Manager 1.0 is installed.
    The site has been registered with Workflow manager using Register-SPWorkflowService
    cmdlet.
    Any clue on why is this happening?

    Hi Vivek,
    Please close your SharePoint Designer application, clear/delete the cached files and folders under the following directories from your server installed SharePoint Designer, then check results again.
    <user profile>\appdata\roaming\microsoft\SharePoint Designer\ProxyAssemblyCache
    <user profile>\appdata\local\microsoft\websitecache\<sitename>
    http://www.andreasthumfart.com/2013/08/sharepoint-designer-2013-server-side-activities-have-been-updated/
    Thanks
    We are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Customizing tables not asking for Customizing Request while saving data

    Hi,
    I have some customizing tables in my development server (Delivery Class = 'C').
    These always used to ask for a Customizing Request whenever data was saved in them.
    Suddenly, I have noticed they are no more asking for any Customizing Request. I cross-checked in the Transport Organizer and confirmed that there are no customizing requests of mine which may be already holding any data entries of these tables.
    I wonder why this may be happening (believe it to be some basis configuration issue. also asked my basis guy but he has no clue).
    Kindly suggest.
    Thanks,
    Z

    Thanks Navneet and Gautham.
    My problem is now solved. Let me summarize the problem and the solution now.
    -> The customization tables suddenly stopped asking for a request while saving data.
        Somehow the settings had been reset, and as Gautham pointed out, it was corrected in the tcode SCC4
    -> Most of the tables now worked fine, but still few of them didnt ask for requests
        Here, I found out that the developers had chosen "no, or user, recording routine" instead of  "standard recording routine". For such tables, when i check in the tcode SE54, menu path Environment -> Maintenance Objects -> Change, I find the Transport category 'No Transport'. Regenerating the maintenance generator choosing "standard recording routine" fixes this and the tables now ask for a customizing request.
    Thanks, both, for the quick response.

Maybe you are looking for

  • Mail via Background job

    Dear All, We have a background job, which will execute a z program. The out put of Z program will be sent as a mail to the recipient listed in "Spool list recipient" (SM36). We did unicode conversion and upgrade to ecc 6.0. Even now background job se

  • Sun ONE Studio IDE ???

    Hello, I have a JSP project to which has to be created in Sun One Studio. On internet, while searching to download it, I find pages for version 5 which says, Soory no download is availbale at present and for 4 it shows how to migrate Sun One Studio p

  • I cannot find the new data in the database

    Hi I'm newbie at SQL. I read and watched a lot about the SQL. But still can't figure out the problem. THE PROBLEM: we are using accounting software for our business. the software keeping records of clients names and other information. when I open the

  • Gallery Display Order

    When showing my pictures via Gallery app I see no way to control the order of pictures in slideshow. I would like to view pictures in chronological order. Thanks for any advice or recommendations. Solved! Go to Solution.

  • Active data framework

    Hi I am in the process of trying to prototype a screen that reflects committed changes made to the database. For example I have some rows that have theirs status's changed. I understand the "push" technology is called "active data framework"/ What I