Workflow update on Change Header Table

Hi ,
My requirement is to update the Workflow exact time stamp which is run in background into Change document Header tables for a PR .
like if if workflow triggers at 9:30 i want to see the same time stamp in PR for the status field .
Can anyone let me know the procedure .
Thanks in advance,
Ry

hi,
Are you trying to update some application specific tables with the workflow/ WF derived data, then i would suggest to use a workflow programming exit.
for details, please refer the following link :
http://help.sap.com/erp2005_ehp_03/helpdata/EN/fd/15fe3b0f13ca4ae10000000a11402f/content.htm
Best Regards,
Saujanya

Similar Messages

  • How to update the change log table?

    Hi
    I am doing some manipulation on the ODS records and writing few new records directly into the active table of my ODS. how do i update the change log table so that i can do a delta from my ODS to further data targets??
    i see the fields REQUEST, DATAPAKID, PARTNO and RECORD in the change log table. what values should these fields have for my new records??
    Regards
    Sujai

    Hi,
    Please try this option. In stead of writing directly into DSO, do it in another Custom Z DSO. From there, do the FULL load to your previous DSO. This will ensure that the data consistence through the system. Also, do not forget to delete the data from Custom Z DSO once you successfully loaded the data.
    Thanks,
    Saru
    Edited by: P. Saravana Kumar on Apr 1, 2009 6:23 PM

  • Sales District updation in Delivery header table

    Dear Gurus,
    Sales district is mandatory field in customer master and is copied to the sales orders, when the delivery document is created the sales district is not copied.
    Is there any technical way or customization process to update the sales district in LIKP.
    In this project we ARE NOT USING shipment and transportation process.
    the process implemented here is Sales Order creation, followed by delivery creation (picking and Post goods issue) and finally Invoice creation and posting to accounts.
    Kindly help me in achieving the updation of Sales district in LIKP table.
    Thanks and Regards
    LR

    Hello,
    The current copy control setting between the sales order and delivery is as per the standards.
    ie 001 - Header
    Please suggest a better approach whether:
    Data Transfer routine - 001 -Header (FV50C001) which is a default routine to be copied and add the logic of updating the sales district in delivery header and maintain in place of 001
    or
    copy the Data transfer routine - 002 - Business Data ( FV50C002) to a new routine activate the logic of copying the sales district from VBKD to LIKP and maintain in place of 001
    The replies suggested by seniors is very helpful.
    Kindly help me to come out of my confusion.
    Thanks and Regards
    LR

  • LST No/CST No is not showing in Excise Header table

    Dear All,
    I am facing one problem that i maintained the LST No.(J_1ILSTNO) and CST No(J_1ICSTNO) in transaction J1ID -customer master excise additional data against the customer code but when i am creating the Excise invoice for that customer  then in excise header table (J_1iexchdr )the LST No(LSTNO)/CST No (CSTNO) is not showing or not getting updated ?
    any reason why it is not getting updated in excise header table?
    warm regards
    ravi k

    HI
    it was a typo error the table is J_1IEXCHDR
    check the customer master and also check whether they are coming in excise invoice
    also check this  Note 1048759 - CST, LST, PAN no. of customer not filled in J1IIN
    regards

  • Insert delete or update entry in Custom table from KONV entry changed

    Hi All,
    I have custom table ZKONV with only few required columns and should have same number of records as KONV has at any point in time.
    KONV is a cluster table so its not readable from ORACLE level. So ZKONV is created. But I dont know how to keep these both tables in sync.
    I need to perform insert delete or update entry in Custom table if insert delete or update happens on cluster table KONV from any transactions.
    As KONV is a cluster table and does not have changed time stamp I am not able to know the number of records changed in perticulat time period.
    Thanks,

    Thanks for reply,
    There is a Outside SAP system which needs to read KONV data to feed into their system, but as KONV is cluster table they are not able to read it from ORACLE level.
    To solve this we are thinking to create a transparent Z-table and will fill it with KONV and catch Update, delete or Insert statement and do same on ZKONv.
    Is this possible some how? by some database event or something....

  • How to trigger a workflow when data inside a table changes

    Hi
    How to trigger a workflow when data inside a table changes ??
    We need to trigger a workflow when STAT2 field value in PA0000 table changes.
    rgds
    Chemmanz

    Make use of Business Object BUS1065. In this business Object you have an attribute Status which you can use. There are a number of events that will get triggered when the status is changed.
    Thanks
    Arghadip

  • JDBC Receiver: updates only header table how to update detail

    Hi
    here the scenario idoc having one header and one details segments, header data goes to one sql table detail date to another sql table.
    i created the sql structure   in two  ways one
    table name
      insert table
         header table
            action
            access
            detail table
                action
                access
    2nd
    table name
      insert table
         header table
            action
            access
         detail table
            action
            access
    in both ways one header table is updating detail table not. please help how to data will go in both tables
    thanks
    Message was edited by: sri rao

    Hi,
    could you pls try something like this..i was reading the documentation and thought of asking you to try this..
    <root>
    <HDR_StatementName>
    <hdrtablename action=”INSERT”>
    <table>hdrtablename</table>
    <access>
    <hfield1>val1</col1>
    <hfield2>val2</col2>
    </access>
    </hdrtablename> 
    </HDR_StatementName>
    <ITM_StatementName>
    <itmtablename action=”INSERT”>
    <table>itmtablename</table>
    <access>
    <ifield1>val1</col1>
    <ifield2>val2</col2>
    </access>
    </itmtablename> 
    </ITM_StatementName>
    </root>
    Thanks & Regards,
    Renjith

  • Update the change record in z table

    Hi,
    I am doing a  module pool programming.If i change the particular record only changed record shd be updated in the z table.
    How can i update only changed record in the database table in module pool.
    Regards

    Hi Rasheed,
    Use this code to update ztable from the module pool table control, its working.
    At screen flow logic
    PROCESS BEFORE OUTPUT.
      MODULE STATUS_8001.
      LOOP WITH CONTROL TAB.
        MODULE PASS_DATA. "module to pass data into table control
      ENDLOOP.
    PROCESS AFTER INPUT.
      MODULE USER_COMMAND_8001.
      LOOP WITH CONTROL TAB. "tab is the table control on the screen
        MODULE MODIFY_DATA. "module to modify data in internal table
      ENDLOOP.
      MODULE SAVE_DATA. "module to save the modified data into database table
    Design a PF-Status with a SAVE button with function code 'SAVE'.
    In PBO
    MODULE STATUS_8001 OUTPUT.
      SET PF-STATUS 'Z_TABCT'. "pf-status with appropiate buttons
    *  SET TITLEBAR 'xxx'.
      DATA : LINE_COUNT TYPE I.
      DESCRIBE TABLE ITAB
      LINES LINE_COUNT.
      TAB-LINES = LINE_COUNT + 3. "increment the line of table control dynamically so that table control becomes scrollable
    ENDMODULE.                 " STATUS_8001  OUTPUT
    MODULE PASS_DATA OUTPUT.
      SORT ITAB.
      READ TABLE ITAB INDEX TAB-CURRENT_LINE.
    ENDMODULE.                 " PASS_DATA  OUTPUT
    In PAI
    MODULE USER_COMMAND_8001 INPUT.
      OK_CODE = SY-UCOMM.
      CASE OK_CODE.
        WHEN 'BACK'.
          LEAVE TO SCREEN 8000.
      ENDCASE.
    ENDMODULE.                 " USER_COMMAND_8001  INPUT
    MODULE MODIFY_DATA INPUT.
      MODIFY ITAB INDEX TAB-CURRENT_LINE.
    ENDMODULE.                 " MODIFY_DATA  INPUT
    MODULE SAVE_DATA INPUT.
      OK_CODE = SY-UCOMM.
      CASE OK_CODE.
        WHEN 'SAVE'.
          MODIFY ITAB INDEX TAB-CURRENT_LINE. "update modifed records
          UPDATE ZTABLE FROM TABLE ITAB. "update database table from internal table
      ENDCASE.
    ENDMODULE.                 " SAVE_DATA  INPUT
    Hope this solves your problem.
    Thanks & Regards
    Tarun Gambhir

  • How to update toplink if i change structure table

    My situation the following :
    Step1:
    I add toplink into project then i add my methods.
    Step 2:
    I will change structure table.
    Step 3:
    How do i can update toplink which don't lost data.
    Please help me!!!

    The mapping tooling for TopLink/EclipseLink in JDeveloper, Eclipse IDE, and the standalone Workbench provide support for importing new table structures and then assiting you with updating your mappings to reflect the changes in the database and the corresponding changes you will make in the persistent domain model.
    Doug

  • What is change header / detals tables

    hi
    could anybody tel me
    what is change header / detals tables

    Hi,
    Can anyone tell me in which table are the changes made, the old and the new value, saved? Is it CDHDR, CDPOS (some thread said it was CDPOS)?
    Someone said that CDCLS is a cluster. What information does it contain?
    I did a trace run of the execution of display of change documents. Under the consolidated view, only tables CDHDR and CDCLS were accessed. In indeed the new and old values are stored in CDPOS, then why did it not appear in the trace?
    Thanks
    Joy Kaushish

  • What is change header / detail tables

    hi
    could anybody tel me
    what is change header / detail tables

    hi Rich,
    these r from my test questions which were given in my institute where im learning abap.
    can u plz give the answers to these questions.
    regards,
    maqsood

  • Update Sale Order Header Text through Enhancement

    Hi Experts,
             I Have a requirement to update the sale order Header Text , when the sale order is opened in VA02 and saved.
    Here in I tried using edit_text, it updates sale order header text  directly in DB during run time even before the save action is completed.
    But I need to just fill the header text and that has to be saved during the save action only.
    I tried coding the same in the user exit (userexit_save_document) but this user exit gets triggered only when there is some changes made to the document when opened in VA02 & Saved.
    Is there any  user exist to pass sale Order Header text and save when save button is clicked irrespective of the document been changed or not.
    Thanks in advance
    Sathish

    Hi Brad Bohn,
        My actual requirement is to trigger an Idoc when the user goes to VA02 transaction and clicks save.
    IDoc gets triggered only when there is some changes to that document, that is through NAST table entry based on the output configurations in NACE transaction.
    Now that the user wants to trigger an IDoc even if there is no change (ie. to reprocess the IDoc) when he just opens a sale order in VA02 and click save.
    It is not possible to trigger an IDoc through configurations when there is no actual change in VA02 and saved.
    So it has to be forcefully sent by making some additions to the Order through coding, so I choose that Text box to fill some additional data and save .
    Kindly Let me Know any thing could be done for this scenario.
    Thanks in advance
    Sathish

  • Need suggestion to get data from change log table of ODS.

    Hello,
    There is a case where i am loading opportunity header data from header ODS and opportunity item data from item ODS in the opportunity cube.
    Status (1= OPEN, 2= WON ETC) of the opportunity are available only in header ODS and not in item ODS.
    While loading data from header ODS to cube, I am loading it directly but while loading data from item ODS to cube i am using active data table of header ODS as a lookup in the update rule from item ODS to cube. I am selecting status from the active data table of header ODS while loading data from item ODS to cube.
    Since active data table will have only after image records, there is some data mismatch in the report as i am selecting data from active data table of header ODS while loading data from item ODS to cube.
    I need to select data from Change log in order to get before image also instead of active data table in order to overcome this issue. Is there any way by which i can do selection from Change log instead of active data table as change logs are generated at run time.
    Please let me know if you have any suggestions.
    Regards,
    Sanjay Chaurasia.

    Hi,
    You can use the changelog table of the DSO.
    Right click manage the Header DSO, go to the contents tab and click Change Log table. There you can see the technical name of the Change Log table.
    In the update rule Routine, give the tech name of Change log table instead of Active table name.
    Hope it helps.
    Krishna

  • BADI ME_PROCESS_PO_CUST for changing header data

    Hello Experts,
    I'm using Method PROCESS_HEADER in Badi ME_PROCESS_PO_CUST in order to change some header data.
    I want to change header data depending on the partner data which are on header level.
    It works fine as long as there are data changed in the header or item level and not only on the partner screen.
    The method in this Badi isn't processed if only partner data are changed. But for me it is necessary to set a special field on the header depending on the partner data.
    Regards,
    Sven

    Hi,
    Firstly, for changing Header data without any INSERT/UPDATE?MODIFY statement, badi - ME_PROCESS_PO_CUST  will not be useful.
    As method you mentioned has no header parameters under CHANGING / EXPORTING clause.
    You can use the badi which has the parametrs you want in either change/ Export mode. It can be defined under table also.
    Below is the list of important badis gettign called, however none of them contains header values in change/export clause.
    ME_CCP_ACTIVE_CHECK
    MD_STOCK_TRANSFER
    ME_DEFINE_CALCTYPE
    ME_PO_PRICING
    ME_FIELDSTATUS_STOCK
    ME_COMMITMENT_STO_CH
    ME_COMMITMNT_PARKING
    ME_INFOREC_SEND
    ME_CHECK_SOURCES
    ME_PURCHDOC_POSTED
    Instead you can use enhacement MM06E005  Customer fields in purchasing document.
    Create a project under Transaction CMOD.
    Assign enhancement as Project component.
    You'll find Exit 012. At time of save you can change header im_ekko based on you parterner data tab.
    Regards,
    Amee.

  • How to transfer data in change log table of dso to z-table using abap code

    Hi  can you please explain me how to transfer data in change log table of dso to z-table using abap code ,with out using Function module concept

    PROGRAM NAME:   ZBW_DELTA_TO_GSTAR                                 **
    report ZBW_DELTA_TO_GSTAR no standard page heading
                                     line-size 120
                                     line-count 75
                                     message-id ZBW_MSG_CLS.
    tables:   ZGIV_DLTA_EBV_BB,
              ZGIV_DLTA_EM2_BL,
              ZGIV_DLTA_EM2_BK.
    Selection Screen Definitions
    SELECTION-SCREEN: BEGIN OF BLOCK INNER WITH FRAME TITLE TEXT-001.
    SELECTION-SCREEN: SKIP 1.
    PARAMETERS:       EBVBB RADIOBUTTON GROUP ROLL,
                      EM2BL RADIOBUTTON GROUP ROLL,
                      EM2BK RADIOBUTTON GROUP ROLL.
    SELECTION-SCREEN: END OF BLOCK INNER.
    Data:  WS_UPDATE_FLAG  Type C,
           UCounter(9)      Type N,
           ICounter(9)      Type N.
    DATA:  T_ZGIV_DLTA_EBV_BB Type Standard Table of ZGIV_DLTA_EBV_BB,
           s_ZGIV_DLTA_EBV_BB LIKE line of T_ZGIV_DLTA_EBV_BB.
    DATA:  T_ZGIV_DLTA_EM2_BK Type Standard Table of ZGIV_DLTA_EM2_BK,
           s_ZGIV_DLTA_EM2_BK LIKE line of T_ZGIV_DLTA_EM2_BK.
    DATA:  T_ZGIV_DLTA_EM2_BL Type Standard Table of ZGIV_DLTA_EM2_BL,
           s_ZGIV_DLTA_EM2_BL LIKE line of T_ZGIV_DLTA_EM2_BL.
    Standard Internal Tables - Describe usage.
    data: begin of i_AEPSD_O0140 occurs 0.
            include structure /BIC/AEPSD_O0140.
    data: end of i_AEPSD_O0140.
    data: begin of i_AEPSD_O0240 occurs 0.
            include structure /BIC/AEPSD_O0240.
    data: end of i_AEPSD_O0240.
    data: begin of i_AEPSD_O0340 occurs 0.
            include structure /BIC/AEPSD_O0340.
    data: end of i_AEPSD_O0340.
    data: begin of i_GIV_DLTA_EBV_BB occurs 0.
            include structure ZGIV_DLTA_EBV_BB.
    data: end of i_GIV_DLTA_EBV_BB.
    data: begin of i_GIV_DLTA_EM2_BK occurs 0.
            include structure ZGIV_DLTA_EM2_BK.
    data: end of i_GIV_DLTA_EM2_BK.
    data: begin of i_GIV_DLTA_EM2_BL occurs 0.
            include structure ZGIV_DLTA_EM2_BL.
    data: end of i_GIV_DLTA_EM2_BL.
    Miscellaneous Program Variables and Constants.
    TOP-OF-PAGE
    top-of-page.
    START-OF-SELECTION
    start-of-selection.
      Clear: i_GIV_DLTA_EBV_BB,
             i_GIV_DLTA_EM2_BK,
             i_GIV_DLTA_EM2_BL,
             UCounter, ICounter.
      IF EBVBB = 'X'.
        PERFORM 100_EXTRACT_EBV_BB_DELTA_RECS.
      ELSEIF EM2BK = 'X'.
        PERFORM 100_EXTRACT_EM2_BK_DELTA_RECS.
      ELSE.
        PERFORM 100_EXTRACT_EM2_BL_DELTA_RECS.
      ENDIF.
    FORM 100_EXTRACT_EBV_BB_DELTA_RECS
    FORM 100_EXTRACT_EBV_BB_DELTA_RECS.
      Refresh:   i_AEPSD_O0140,
                 i_GIV_DLTA_EBV_BB.
      Clear:      UCounter, ICounter, s_ZGIV_DLTA_EBV_BB .
      Select * From /BIC/AEPSD_O0140
        Into TABLE i_AEPSD_O0140.
      IF SY-Subrc = 0.
        LOOP AT i_AEPSD_O0140.
          MOVE-CORRESPONDING i_AEPSD_O0140 TO s_ZGIV_DLTA_EBV_BB.
          MOVE SY-DATUM to s_ZGIV_DLTA_EBV_BB-create_dt.
          INSERT ZGIV_DLTA_EBV_BB FROM s_ZGIV_DLTA_EBV_BB.
          IF SY-Subrc = 0.
            ICounter = ICounter + 1.
          ELSE.
            UPDATE ZGIV_DLTA_EBV_BB FROM  s_ZGIV_DLTA_EBV_BB.
            IF SY-Subrc = 0.
              UCounter = UCounter + 1.
            ELSE.
              Message E067 with SY-DATUM ' ' SY-UZEIT ' '.
            ENDIF.
          ENDIF.
        ENDLOOP.
      ENDIF.
    ENDFORM.                    "100_EXTRACT_EBV_BB_DELTA_RECS
    FORM 100_EXTRACT_EM2_BK_DELTA_RECS
    FORM 100_EXTRACT_EM2_BK_DELTA_RECS.
    Refresh:   i_AEPSD_O0240,
               i_GIV_DLTA_EM2_BK.
      Clear:      UCounter, ICounter, s_ZGIV_DLTA_EM2_BK .
      Select * From /BIC/AEPSD_O0240
        Into TABLE i_AEPSD_O0240.
      IF SY-Subrc = 0.
        LOOP AT i_AEPSD_O0240.
          MOVE-CORRESPONDING i_AEPSD_O0240 TO s_ZGIV_DLTA_EM2_BK.
          MOVE SY-DATUM to s_ZGIV_DLTA_EM2_BK-create_dt.
            INSERT ZGIV_DLTA_EM2_BK FROM s_ZGIV_DLTA_EM2_BK.
          IF SY-Subrc = 0.
            ICounter = ICounter + 1.
          ELSE.
            UPDATE ZGIV_DLTA_EM2_BK FROM  s_ZGIV_DLTA_EM2_BK.
            IF SY-Subrc = 0.
              UCounter = UCounter + 1.
            ELSE.
              Message E067 with SY-DATUM ' ' SY-UZEIT ' '.
            ENDIF.
          ENDIF.
        ENDLOOP.
      ENDIF.
    ENDFORM.                    "100_EXTRACT_EM2_BK_DELTA_RECS
    FORM 100_EXTRACT_EM2_BL_DELTA_RECS
    FORM 100_EXTRACT_EM2_BL_DELTA_RECS.
    Refresh:   i_AEPSD_O0340,
               i_GIV_DLTA_EM2_BL.
      Clear:      UCounter, ICounter, s_ZGIV_DLTA_EM2_BL .
      Select * From /BIC/AEPSD_O0340
        Into TABLE i_AEPSD_O0340.
      IF SY-Subrc = 0.
        LOOP AT i_AEPSD_O0340.
          MOVE-CORRESPONDING i_AEPSD_O0340 TO s_ZGIV_DLTA_EM2_BL.
          MOVE SY-DATUM to s_ZGIV_DLTA_EM2_BL-create_dt.
            INSERT ZGIV_DLTA_EM2_BL FROM s_ZGIV_DLTA_EM2_BL.
          IF SY-Subrc = 0.
            ICounter = ICounter + 1.
          ELSE.
            UPDATE ZGIV_DLTA_EM2_BL FROM  s_ZGIV_DLTA_EM2_BL.
            IF SY-Subrc = 0.
              UCounter = UCounter + 1.
            ELSE.
              Message E067 with SY-DATUM ' ' SY-UZEIT ' '.
            ENDIF.
          ENDIF.
        ENDLOOP.
      ENDIF.
    ENDFORM.                    "100_EXTRACT_EM2_BL_DELTA_RECS
    END-OF-SELECTION
    end-of-selection.
      perform D1000_REPORT_DATA.
    D1000_REPORT_DATA
    form D1000_REPORT_DATA.
    *Display the title of the program
      write: /25 SY-TITLE.
      skip.
    Diaplay the details of the user and time
      write: /1 'Executed by', 15 SY-UNAME, 30 'Date',
      38 SY-DATUM, 53 'Time', 60 SY-UZEIT.
      skip 2.
      write: /  'Delta Records have been extracted  ',
             /   'Updates : ', UCounter,
             /   'Inserts : ', ICounter.
      skip.
      skip 3.
      write: /20 'End of the report'.
    endform.                                           "D1000_REPORT_DATA
    chgeck it out this also may hep you

Maybe you are looking for