‎2009 Oct 12 4:23 AM
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
‎2009 Oct 12 4:37 AM
‎2009 Oct 12 5:26 AM
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...
‎2009 Oct 12 5:34 AM
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
‎2009 Oct 12 9:15 PM
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