‎2007 Mar 09 9:00 AM
Hi,
I am updating ME22 when I get a inbound confirmation IDOC (ORDRSP).
I have found the right exit and tryinng to update delvery date with new confirmation date using Call Transaction.
But my problem is the program which is updating the PO using Inbound IDOC is inturn internally using call transaction for ME22.
I am using the my CT inside the user exit EXIT_SAPLEINM_005
Can anybody suggest me how to achive my purpose with some other option.
-B S B.
Message was edited by:
B S B
‎2007 Mar 09 9:01 AM
Hello,
If u want to update the Delivery date of the PO. U can make use of the <b>BAPI_PO_CHANGE</b>
Thanks
Vasanth
‎2007 Mar 09 9:05 AM
If it is only confirmation date you are updating use function <b>MEPO_CONFIRMATION_PAI</b>
‎2007 Mar 09 9:43 AM
Hi Vishnu,
Can you let me know how it works, to be precise I want to pass the confirmation date passed by the Vendor through IDOC.
I got confused about it a bit as I found no relevant date fields.
B S B
‎2007 Mar 09 9:46 AM
The IDoc will update the PO via BDC. You firstly need to see if the logic for the BDC data will process your required field. If not then you may need a user exit in which you amend the BDC data accordingly.
‎2007 Mar 09 10:34 AM
Hi Martin,
In my case BDC is not considering the required field.
So how I can do the amendment in user -exit to make the data to be available to BDC.
-B S B
‎2007 Mar 09 11:01 AM
Get the screen name of the field that you are trying to update. Then do a search in the FM that processes the IDoc. The code could be there for this field but is not being executed. If this is the case find out why it is not being executed.
Otherwise you will need to amend the BDC data yourself via a user exit. The best way to do this is to see if there is any BDC data already present for the screen number/name that you require. You can then search for this value in the BDC data and add your new field.