‎2010 Apr 16 5:32 AM
Hi experts ,
I use the bpai_to_create1 to create purchase order when i run it shows successful message like this
T ID NUM MESSAGE
S 06 017 STANDARD NUMBER PO CREATED UNDER THE NUMBER 40015620
W ME 040 CAN DELIVERY DATE TO BE MET?
but when i try to see this purchase order in me23n it says
Document 40015620 does not exit?
‎2010 Apr 16 5:37 AM
Hello
Use BAPI_TRANSACTION_COMMIT after call bapi_po_create1:
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
WAIT = 'X'.
‎2010 Apr 16 5:39 AM
‎2010 Apr 16 5:39 AM
Hi Sivakrishna,
You need to call function module BAPI_TRANSACTION_COMMIT, after end of calling your FM. BAPI_PO_CREATE1.
This is used for data base commit work.
Hope this can solve your problem.
Regards,
Tutun
‎2010 Apr 16 5:48 AM
Hi,
IF you trying to test this bapi using transaction SE37 then you need to execute the BAPI_PO_CREATE1 and BAPI_TRANSACTION_COMMIT in sequence.
For this go to transaction SE37 > menu>function module>test>Test sequence--> enter the both the BAPI in above sequnce and execute.
‎2010 Apr 16 8:40 AM
Hello,
Assumptions:
1) I think when you are uploading multiple po-data this happens in that while filling up the Account internal table in that there is a field called ACCOUNT-SERIAL_NO = '01'. please fill in the data. This way you can create POs
regards
Suresh Krishnan
Edited by: Suresh Krishnan on Apr 16, 2010 9:41 AM
‎2010 Jul 05 3:00 PM