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: 

Bapi for Updating the confirmation table(EKES)

Former Member
0 Kudos

Hi,

Could anyone let me know the BAPI to update the Vendor confirmation table EKES. And also the parameters to be passed to it.

Thanks.

6 REPLIES 6

Former Member
0 Kudos

Hi,

to create a new entry in table EKES you can use the FM ME_UPDATE_DOCUMENT. If the purchase order doensn't exist, you can use ME_CREATE_DOCUMENT. The parameters I_LOGSY and I_VORGA are both optional. Fill your data in the table XEKES.

Regards,

Ivo

0 Kudos

hi

i used the FM ME_UPDATE_DOCUMENT

to update the table ekes

like i want to update the quotation status as 'A'.

but it's not getting updated in the table.

while creating the quotation using me47 the status is updated in the table , but using the FM it's not getting updated..

expecting a reply asap.

regards,

Suman.

0 Kudos

Suman:

After your call to FM ME_UPDATE_DOCUMENT is successful, please perform a explicit COMMIT.

Umair:

Use the FM ME_CONFIRMATION_UPDATE to update EKES table.



    CALL FUNCTION 'ME_CONFIRMATION_UPDATE'
      EXPORTING
        i_ebeln = ekko-ebeln
      TABLES
        xekes   = xekes
        yekes   = yekes.

"yekes contains the EKES table in DB
"xekes contains the changed values for EKES table

Hope this helps. Reward points if helpful.

Thanks

Balaji

Edited by: Balaji Ganapathiraman on Mar 20, 2008 1:10 PM

0 Kudos

Thanks Balaji,

For PO Header and item we can use BAPI_PO_CHANGE and for subitems.Please use

ME_CONFIRMATION_UPDATE is really useful function module for PO Vendor Confirmation.



Thanks and Regards,

Ramesh K

Former Member
0 Kudos

Are you sure this sunction module is going to update EKES table.

Because i have used the same function module ...but it is not updating EKES table...

Even though i used an explicit commit....

Please help me on this...

0 Kudos
 CALL FUNCTION 'ME_CONFIRMATION_UPDATE'
      EXPORTING
        i_ebeln = ekko-ebeln
      TABLES
        xekes   = xekes
        yekes   = yekes.

xekes table need some value at field KZ, 'I' to INSERT NEW ENTRY or 'U' to UPDATE ENTRY