Application Development 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: 

Create, Update, Delete purchase order confirmations

former_member770378
Active Participant
0 Kudos

Hi all,

How can I maintain confirmations data for a purchase order ?

I'm looking for a function module or a BAPI to do this ...

I tried to update data in SAP table EKES but I have a lot of problems when I access to my modified PO with transaction ME22(23)N, moreover data are false in MD04.

Regards Julien.

8 REPLIES 8

Former Member
0 Kudos

Hi Julien,

you could use FM ME_CONFIRMATION_MAINTAIN.

Regards

Nicola

0 Kudos

Thank you for your answer.

It seems that we can't create new confirmation data with specific "Confirmation category", "Delivery date" and "Quantity".

Moreover it is not possible to delete lines with this FM.

Regards.

Julien.

0 Kudos

Hi Julien,

to create a new entry in table ekes you could use FM ME_UPDATE_DOCUMENT or ME_CREATE_DOCUMENT if the purchase order isn't existing at all. While using ME_UPDATE_DOCUMENT, you could fill table XEKES which triggers FM ME_CONFIRMATION_UPDATE. In this FM an insert or update of table EKES will be done.

Hope that helps!

Nicola

0 Kudos

I tried to use ME_UPDATE_DOCUMENT, I have an error message because I don't change EKKO data.

I tried to use the function ME_CONFIRMATION_UPDATE.

It works fine but data in MD04 are false.

If I save my PO without changes in ME22N then data are good in MD04 ???????

To solve the problem I use CALL TRANSACTION on ME22 to delete and create confirmations.

Thank you guys.

0 Kudos

to all it may concern after such a long time:

FM Confirmation_update does not update EKET-DABMG and me22n does

check trace st05 with operation REEXEC on me22n, there are only two update statements of interest

one on table EKES the other on table EKET

Former Member
0 Kudos

Hi,

Check the Exit:

EXIT_SAPLEINM_008

Regards

Kannaiah

0 Kudos

Thank you.

This is a user exit and I try to manage confirmation in a specific program Z*.

I think it will not be usefull in this case.

Regards

Former Member
0 Kudos

Hi,

check out this link for BAPI's:

http://www.sapbapi.com/bapi-list/

and check out this link for FM's:

http://www.erpgenie.com/abap/functions.htm

With luck,

Pritam.