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

BAPI for change PO confirmation date

Former Member
0 Likes
1,733

Hi,

Does anyone know a bapi or a function module for change the confirmation date of one item of a purchase order ( that changes the field EINDT of table EKES ) ?

I need to change it according to goods receipt date.

Thanks in advance,

Paulo Sousa

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,011

Hi,

Please try this FM ME_CONFIRMATION_UPDATE.

Regards,

Ferry Lianto

Hi,

Does anyone know a bapi or a function module for change the confirmation date of one item of a purchase order ( that changes the field EINDT of table EKES ) ?

I need to change it according to goods receipt date.

Thanks in advance,

Paulo Sousa

3 REPLIES 3
Read only

Former Member
0 Likes
1,011

you can use BAPI_PO_CHANGE

In particular you would be interested in schedule line table POSCHEDULE in the function interface and the field for confirmation date is DELIVERY_DATE.

Also you need to pass the BAPI some header fields like PO number etc and item fields liek material number etc along with the POSCHEDULE structure.

Also remember to mark X in POSCHEDULEX for corresponding field POSCHEDULEX-DELIVERY_DATE, so that the change will be transferred to the PO in database.

Also this BAPI can auto COMMIT

Hope this helps

Read only

Former Member
0 Likes
1,012

Hi,

Please try this FM ME_CONFIRMATION_UPDATE.

Regards,

Ferry Lianto

Read only

0 Likes
1,011

ME_CONFIRMATION_UPDATE may update more than confirmation date, as it does not have control on which fields to update. I am not sure. If you use ME_CONFIRMATION_UPDATE, understand that EINDT field is confirmation date