Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Problem with ME22 update

Former Member
0 Likes
761

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

6 REPLIES 6
Read only

Former Member
0 Likes
697

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

Read only

Former Member
0 Likes
697

If it is only confirmation date you are updating use function <b>MEPO_CONFIRMATION_PAI</b>

Read only

0 Likes
697

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

Read only

0 Likes
697

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.

Read only

0 Likes
697

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

Read only

0 Likes
697

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.