Skip to Content

SAP SRM PO Header Table Extension - Replicate to ECC

Experts,

I have created a table extension in header level of PO and it is getting displayed on PO screen as a new tab and I able to edit and save data in it.

Now the requirement is to replicate the same data to ECC when PO is replicated to ECC. I have created a Z table in ECC with the same fields which I have added in table extension in SRM.I want to save the table extension data into this Z table when PO gets replicated in ECC.

How can I achieve this ?

I debugged the FMs that create/change PO in ECC while replicating but unlike the custom fields at header level in SRM the table extensions were not found anywhere.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Feb 27 at 09:26 PM

    Hello,

    Could you please read the information available in note 945335? Perhaps it helps you to find a place to debug the customer fields in PO transfer.

    Regards,
    Ricardo

    Add comment
    10|10000 characters needed characters exceeded

    • Thanks but this note is for different issue.

      What I need is step by step information on how I can replicate Table Extension done in PO Header to ECC.

  • Mar 19 at 03:47 PM

    Dear Mehul,

    During the transfer of extended PO, the Function B46B_DPO_TRANSFER will call the active implementations of ECS PO OUT BAdI. Your Z header table should be mapped to the lt_bapi_customer_fields structure in BBP_ECS_PO_OUT_BADI.

    Then - when the transfer reaches ECC - you have to map the fields back to your ECC Z structure (I believe BBP_PO_INBOUND BAdI is the best way to achieve this).

    The full Debugging Guide can be found on our Wiki: https://wiki.scn.sap.com/wiki/x/0ARIF

    Best regards,

    Imre

    Add comment
    10|10000 characters needed characters exceeded

    • Thanks for your reply.

      The problem with your solution is that, by the time B46B_DPO_TRANSFER FM or BBP_ECS_PO_OUT_BADI gets called the Z header extension table data is not yet updated at DB level. So, I don't know what entries user has entered/deleted as a part of transaction. Also, B46B_DPO_TRANSFER doesn't have any parameter which contains the entries entered by user on the Z header extension table.

      For your reference, I have created table extension using the following link.

      https://blogs.sap.com/2012/05/25/table-extensions-in-srm-documents/

      Regards,

      Mehul