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

bapi_po_create1

sivakrishna_boddapati
Participant
0 Likes
832

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?

6 REPLIES 6
Read only

Former Member
0 Likes
779

Hello

Use BAPI_TRANSACTION_COMMIT after call bapi_po_create1:


CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
     EXPORTING
          WAIT            = 'X'.

Read only

0 Likes
779

it was also done but no use

Read only

Former Member
0 Likes
779

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

Read only

nirajgadre
Active Contributor
0 Likes
779

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.

Read only

former_member15255
Active Participant
0 Likes
779

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

Read only

sivakrishna_boddapati
Participant
0 Likes
779

thanks