Skip to Content
0
Former Member
May 19, 2010 at 07:50 PM

How to change field values AFTER Inbound IDOC Posted successfully

163 Views

Hi SAP Experts,

In my project I receive the inbound IDOC PORDCR05 from PI and posted as an Purchase Order in ECC.

I create the Z process code and Z function module (which is a copy version of IDOC_INPUT_PORDCR) and complete all the necessary configuration steps. It works perfectly.

My problem is: I have to collect some inbound idocs (that satisfied some criteria) and change the value of field EKPO-TXJCD and EKKN-KOSTL of the PO AFTER it posted successfully (means the purchase order is created and save in database).

How can I do this? I've try to put the logic code in Z function module, but it does not work, since at that time, the Inbound IDOC is not updated to the database yet.

Aprreciate your advise.

Regards,

Elaine.