How to implement Change pointers for Purchase order - ME22N - Custom Fields

Hi Experts,
Can you please tell me how to implement - Change Pointer for Custom fields in IDOC.
I am working on IDOC - For purchase order - acknowledgements - in custom screen/tab in ME22N.
Everything is working fine according to my requirement.
All i need to know is the process of - Creating/Change - Change pointers for Custom fields.
1.How to implement change pointers for custom fields.
2.Can we maintain - Change Document - for custom fields at data element level?
P.S. - I have browsed many previous - forums before posting a new discussion.
please share your inputs...
explaining how to create/implement - change pointers for custom fields will help me .
Regards,
Karthik Rali.

Hi,
To maintain Change Document for custom field:
1. Check if "Change document" checkbox is set in data element.
2. Find Change Document Object for transaction.
   You can use SQL trace - ST05.
   Look there for line with table CDHDR and statement insert values
   (for example for transaction KA02 Change Document Object is KSTAR)
3. Regenerate update program for this Change Document Object in transaction SCDO
Change documents for z-fields schould be generated.
I am not sure about change pointers but they are configured somehow in BD61 and BD50.

Similar Messages

  • Activate Change Pointers for Purchase Orders

    I thought that change pointers would be active by default for purchase orders, but when I change a purchase order field that should be change pointer enabled, nothing is written in table BDCP.
    Here's what I have done:
    1) Used transaction SCDO to look at the change Documents.
    2) Identified object EINKBELEG (Purchasing Document) as the likely object.
    3) Verified that table EKKO is one of the tables in the object.
    4) Verified that the data element of the field that I am changing in the PO - ZBD2T - is change pointer enabled (it is).
    I cannot get any entry created in BDCP with these settings; change pointers are working for other documents.
    I also put a breakpoint on the sebugger for the function module EINKBELEG_WRITE_DOCUMENT in the update task, and I cannot see it being triggered, so I am wondering if I am doing the correct thing here.
    Can somebody please tell me what I am doing wrong?
    BR,
    Tony.

    Hi Guys,
    This issue was solved by implementing the BTE 4005 (OPEN_FI_PERFORM_00004005_E). This particular event is triggered in the update task for saving changes to business object. So In my function module (corresponding to BTE), I have explicitly called the method to write an entry in COM_SE_CPOINTER, because we just need the reference of business object for which classification data is changed.
    Please refer the below code for more clarity.
    BTE position: -
    method called in FM to write change pointer.
    Thanks anyways, for all the responses.
    Cheers,
    Shreya

  • Change Document - for purchase order

    Hi all,
    when i make some changes in the purchase order(ME22N) it is stored in the table CDPOS but when i change the delivery address field this alone is not stored. what may be the reason? and how to do it?
    can anyone help me in this?
    helpfull answers will be rewarded with points..
    Thanks,
    Murali.

    Saquib,
    No, this is not directly linked to the customer or vendor master. What happens is, during PO creation the delivery address is picked up from the address of the plant, but that can be updated via both BAPI and transaction.Each time this address gets changed, SAP generates a new ADRNR and store that address in ADRC.
    This might help you in future in case you face such situation. I faced this only a few months and that's why I remeber this so clearly.
    Murali,
    Please award points and close the thread if it helped you.

  • How to find print preview for purchase order like what we find in va03

    hi guru's
    how to find print preview for purchase order like what we find in va03
    let me share ur information
    thank u

    Hi
    You can see the Print Preview/printout etc using the Transaction ME9F for Purchase Order
    Execute the ME9F tcode and execute you will get lot of PO's select any Po and press display message
    you will see the print preview
    Similarly for RFQ output use the Tcode ME9A
    for Contrat use ME9K
    for GR output use MB90
    Reward points for useful Answers
    Regards
    Anji

  • How to create change pointers for IT6 when custom table Z777A changes?

    Situation: We are using custom table Z777A (copied T777A and added fields) to store building locations. Employee's IT6 subtype 92 retrieves valid work address building locations from table Z777A.
    Problem: Whenever there are updates to Z777A, we need to find all IT6 subtype 92 records that use the changed building location from Z777A and create IDOC's The change pointer entry will need to be for the IT6 subtype 92 row that is affected.
    Question: Can anyone give me specific details as to how this can be accomplished? Thanks.

    Hi,
    MASTER DATA CHANGES DISTRIBUTION BY CHANGE POINTER TECHNIQUE:
    Step 1: Creating change document object in SCDO transaction.
    Step 2:Assigning tables to the change document object.
    Step 3:Specifying change document items in transaction BD52.
    Step 4: Activating change pointers for the message type HRMD_ABA in transaction BD50.
    Step 5:Activating change pointers globally.
    Step 6:Executing program RBDMIDOC  in SE38, Specifying message type HRMD_ABA.
    with regards,
    M.Sreeram.

  • ALE/IDOC-How to create Change Pointers for Custom Infotype

    Hi,
    My requirement is to transfer custom OM infotype changes using IDOCs.
    But its not creating any change pointers for that infotype.
    The message used is a copy of standard message OM_HRMD_A.
    Can any one please help me out in this issue.
    Thanks,
    Sarika

    Hi Sarika,
    How did you solve this issue? We are also facing a similar problem, it will be helpful if you could explain how you found out the solution.
    Thanks
    Anu.

  • How to set print form for Purchase order in SPRO txn.

    Hi,
         I need to find out the name of the smartform used to print purchase order.
    Cheers
    Senthil

    HI,
    go to SPRO - MM - Purchasing - Messages - Output Control - Message Types - Define Message Types for Purchase Order
    select the message tyoe and then click on processing routines and you will get the form name..
    Thanks & Regards,
    Kiran

  • Change Pricing for purchase order

    Hello All,
    FOR STO deliveries, we want to aportionate freight charges in case of multiple POs. Our inbound idoc sends only one order and calls BAPI_PO_CHANGE.
    we are trying to update Pricing condition of other related purchase orders belonging to same delivery in a user exit. User exit is SAPL2012. Is there any function module to update Pricing conditions for purchase orders?
    BAPI_PO_CHANGE would not work here as this userexit is called in this BAPI.
    Any suggestion?

    Any suggestiions?

  • How to activate change pointers for HRMD_A message

    Hi all,
    I want to activate change pointers for HRMD_A message for intotypes 0001, 0002, 0006.... .
    But I can't find any change object which I could use in BD52 transaction.
    Is there any delivered change object by SAP for HRMD_A message?
    Could you please tell me which change object should be used for example for infotype 0001?
    Thanks a lot.
    Petr

    There seem to be a number of related questions asked and answered in the forums. Have you searched?
    Rob

  • Change Log for Purchase Order

    Dear all,
    Just today, we've found out that one of our buyers always change the PO quantity when the supplier deliver more than they should.
    Before we do something like lock her access or even remove her from current position, we'd like to know how often and how much is the impact of her actions.
    We know that we can see the changes from the change log for every single PO; but if we want to know the changes from several hundreds PO ... looking at the log one by one may not a good idea .. LOL ..
    Do you have any experience with this or any idea on where (the tables) I can take a look ?
    Thanks,
    Markus

    Hi Markus,
    The details of  the 'Show History' function, for the  Purcahse Order, is contained in the ADOC (header information) and the AD01 (Row information). These two tables contain the exact same information as the OPOR and POR1 (Purchase Order header and row tables).  However, the history of all marketing documents in the database is saved in this table so there is a need to filter this table based on the Purchase Order documents only.
    What I would suggest is to create a query based on the ADOC and ADO1 and filter it based on the field 'ObjType' (Field Name is 'Object type'). The object type for the Purchase Order is '22'. As each update to a document is saved in the table there is a need to distinguish each version of the document. This is done with the 'Loginstanc' field in the both the ADOC and the ADO1, so this may help you with the query. After that the query can be filtered for any field that is visible in the Purchase Orders.
    There are other childeren tables of the ADOC which you may need. To find these, when in the Query Generator, open the 'Choose from List' to obtain the list of tables. Then in the 'Find' field type the letters 'ADO' this will bring all the tables starting with 'ADO' to the top of the list.
    One final thing, each update to a document is recorded to a usersign. Obtain the user sign of the user in question by running a query on the OUSR table and look at the figure in the field 'Internal_K' for that user. This is the number that will then be visible in the field 'UserSign' in the ADOC table.
    I hope this helps
    Noreen

  • How to implement Approval hierarchy for Sales Order in Order Management.

    Hi,
    We need approval process for sale orders in Order Management module. Currently we are using credit HOLD option for orders at shipping level. The issue we are facing now is we can not cancel those orders who contains Service Line item in it while on HOLD. The restriction raised at the time of cancelling the order that the Line Item is "fulfilled". Service line item's get fulfilled.
    Is that any other possibility to have Approval hierarchy for Sales Orders in Order Management Module? If it is possible can anybody share the related document or implementation guide?
    Thanks with anticipation in advance.
    Many Regards
    Kaleem Bhatti

    I copied the standard order header workflow and the "Book Order, Manual" workflow to custom workflows.  I then modified the "Book Order, Manual" workflow to put another completely custom workflow (call this "Approvals") in between the "Book Eligible" and "Book" steps.
    The "Approvals" step assessed the sales order, changed the order header to the pending approval flow_status_code, and sent out the appropriate notifications.  The "Approvals" step returned a Complete/Incomplete where complete would proceed to "Book" and incomplete would go back to "Book Eligible."  The new workflow was then assigned to the order type needed.  I don't still have access to that environment (job change) or I would give more definite instructions.

  • Change docs for purchase order

    Hi,
    By which t.code we can see the chnage document for the purchase order. and which changes have been done?
    Regards
    Deepak Sharma

    Hi,
    You can check it in me22n or me23n itself.
    Goto Environment -> Header Changes or Item Changes.
    Rgds,

  • Using change pointers for Process orders

    Hi Experts,
    We have a requirement where we need to send idocs when a process order is changed. Since process order data is a transactional data, can we still use change pointers?
    We tried using the message type LOIPRO and it is giving an error saying that this message type cannot be sent with change pointers.
    Can anyone guide me with the process and steps to get this done?
    Thanks.

    For change pointer, you would have to deligate the business object with t.code SWO1. To handle it, it would take too much time to explaint.
    If you use the BAdI, and call function in this way : "  CALL FUNCTION 'FUNCTION_NAME' IN BACKGROUND TASK AS SEPARATE UNIT EXPORTING ....." the function would executed only after commit (when you call the funtion, it holds in a queue for commit. In roll back, it get disapeared).
    User method in_update from the BAdI.
    Edited by: Lior Tabib on Oct 19, 2010 4:18 PM
    Edited by: Lior Tabib on Oct 22, 2010 7:27 PM

  • Purchase Order item customer fields

    I have the following scenario:
    - I need to save some customer fields in Purchase Order item, when it is generated through the Shopping Cart (EBP).
    - When EBP will generate a PO in backend (R/3), it calls B470_PO_CREATE function module and inside it calls BAPI_PO_CREATE1 in R/3. This call does not use extensionin parameter.
    - I have all the values in PO_ITEMS parameters. (an append structure in bapi_mepoitem).
    - Trying to solve this, I think I have to use EXIT_SAPL2012_001 to create the extensionin parameter.
    - Anyone else has this problem?
    - How can I create the extensionin parameter? Is it only necessary to add 'BAPI_TE_MEPOITEM' and 'BAPI_TE_MEPOITEMX'?
    - Do you have an example?
    Thank you!

    Hi
    You have to extend CI_EKPODBX with the same fieldnames with type BAPIUPDATE (in SE11), and then while passing the EXTENSIONIN to the bapi, you have to flag those. Like the following:
    DATA: wa_extensionin TYPE BAPIPAREX,
    wa_BAPIPAREX TYPE BAPIPAREX,
    wa_BAPI_TE_MEPOITEM TYPE BAPI_TE_MEPOITEM,
    wa_BAPI_TE_MEPOITEMX TYPE BAPI_TE_MEPOITEMX.
    wa_BAPI_TE_MEPOITEM-po_item = <PO Line No.>.
    wa_BAPI_TE_MEPOITEM-ZZZ_FIELD1 = <z-field value>.
    wa_BAPIPAREX-STRUCTURE = 'BAPI_TE_MEPOITEM'.
    wa_BAPIPAREX-VALUEPART1 = wa_BAPI_TE_MEPOITEM.
    APPEND wa_BAPIPAREX TO extensionin.
    wa_BAPI_TE_MEPOITEMX-po_item = <PO Line No.>.
    wa_BAPI_TE_MEPOITEMX-ZZZ_FIELD1 = 'X'.
    wa_BAPIPAREX-STRUCTURE = 'BAPI_TE_MEPOITEMX'.
    wa_BAPIPAREX-VALUEPART1 = wa_BAPI_TE_MEPOITEMX.
    APPEND wa_BAPIPAREX TO extensionin.
    This will work. Please let me know if it does not.
    See related links ->
    Re: BAPI_PO_CREATE1 and EXTENSIONIN structure
    Re: Passing custom fields to BAPI
    Problem in populating userfields in PO using BAPI_PO_CREATE1
    Re: BAPI_PO_CHANGE
    Yann i need ur help..
    Re: Custom field values are not being transfered to the backend system
    Problem in populating userfields in PO using BAPI_PO_CREATE1
    Re: Implement ME_PROCESS_PO_CUST-Urgently!
    Re: Purchase Order (BAPI_PO_CREATE! --> EXTENSIONIN)
    Re: How to use BAPI extensions?
    Re: BAPI_PO_CREATE1 user fields not saving on EKPO
    BAPI_PO_CREATE1 - EXIT_SAPL2012_001
    Do let me know.
    Regards
    - Atul

  • How to see the changed output for purchase order

    Hi..
    I have zmedruck. i need to increse item text lengh. i done this in editor. how to see the changed output now...I increased the length of text to be displayed. I checked the print preview in me23n. i cant see the increased length. Guide me where i am wrong.
    Edited by: Meena 303 on May 1, 2008 6:24 PM

    Hi
      In ME22N go to message -
    > select old message -
    >click change OutPut button -
    > Save
    then see print priview  through ME9F or ME22N it sself.
    regards
    Sachin

Maybe you are looking for

  • Problem with Graphics and JPanel...

    I would like to draw a rectangle on a JPanel. Here is my code: JPanel panel = new JPanel(); Graphics g = panel.getGraphics(); g.drawRect(20,20,20,20); When I run my program, I have a NullPointerException... Do you any suggestions to fix the problem??

  • Sample for A/R invoice and Incoming Payment

    Hi, Have any samples for create A/R invoice and incoming payment by SDK? Which related tables are used? Thanks! Regards, On

  • Co code Segment is greyed out while creating a  Business partner

    Hi All, I am trying to Create a Customer thru BP . I have asigned a role and made the necessary setting in " Configure Field attributess as a per BP role. However the Co code segment is coming greyed out . Can you please advise what needs to be done

  • Ad Hoc Query Designer - Web Application

    Hello, I have created a Web application that has the 'Ad-Hoc Query Designer' item. When I go to create a new query I don't have the option (or I can't find it) to use any variables. Like in Analyzer I can run a query and it will ask me the values for

  • In the develop module, sliders jump about when clicked

    In the develop module, sliders jump about when I try to click on them. This happens after I re-size the window by dragging to the left in order to make the sliders longer. Any ideas on How to stop the sliders from misbehaving?