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

Update ME52

marcelom_bovo
Participant
0 Likes
822

Hi people,

I need a litlle help.

I'm making a program that need to put some informations on the table EBAN thrugh the ME52N, I'm doing a CALL TRANSACTION to update the table.

When I exeute it "on line" the program goes all right, BUT when I execute it thrugh a JOB on SM37, it doesnt work.

Someone can help me with that?

I was trying to use the bapi BAPI_REQUISITION_CHANGE, but I dont know how does it works, cause on the TABLES, it has 2 EBAN and 2 EBKN(with i dont want to update)

Thanks

4 REPLIES 4
Read only

marcelom_bovo
Participant
0 Likes
736

Sorry, the 2 eban and 2 ebkn is from other bapi

Read only

aris_hidalgo
Contributor
0 Likes
736

Hi Marcelo,

Have tried using 'N' instead of 'A' in your BDC option? Also, check your program if you are using FMs like 'GUI_DOWNLOAD' or 'GUI_UPLOAD' since these Fms does not work in background mode.

Hope it helps...

Read only

Former Member
0 Likes
736

Hi,

After calling BAPI_REQUISITION_CHANGE, did u use BAPI_TRANSACTION_COMMIT ?

You can also refer ME_UPDATE_REQUISITION.

Hope this helps you.

Regards,

Geeta Gupta

Read only

marcelom_bovo
Participant
0 Likes
736

Hi,

I ended up using the BAPI_REQUISITION_CHANTE instead the CALL TRANSCTION.

First i used de BAPI_REQUISITION_GETDETAIL to get the requisition itens, then i updated de values and inserted into the other BAPI

Thanks