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_GOODSMVT_CREATE-SUBCONTRACTING

radhushankar
Participant
0 Likes
1,943

Hi all

i am working in doing goods receipt for Purchase order . In this line items are created under subcontract category. I am using the bapi bapi_goodsmvt_create.To do goods recipt.

In that i am entering a movement code as 101 and movement indicator as 'B'.( i am following the same procedure like doing it in migo i mean to say movment types and movement indicators.

when i post the document thro bapi its getting posted and its generating a number which is in the same series like posting it through migo.

My problem is when i post through migo i am checking the detials with the MSEG table wiith the material document number obtained through migo. and its displaying two line items one with 101 and another with 543.

but when i explore through the mseg table with the number which obtained through bapi .its saying that no table entries available..

IS THERE IS ANYMORE SPECIFIC PARAMETERS AVAILABLE TO PROCESS SUBCONTRACT PURCHASEORDER???

CAN ANY ONE HELP ME TO FIX THIS ISSUE???

Pages: 1

Back to Thread List Back to Thread L

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
848

Hi,

Try this

After creating the material document successfully commit the transacion for updating changes in MKPF table.

call this FM

****Commit to update changes

CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'

EXPORTING

wait = 'X'.

2 REPLIES 2
Read only

Former Member
0 Likes
848

hi

good

go through this link

http://www.sap-img.com/abap/bapi-goodsmvt-create-to-post-goods-movement.htm

reward point if helpful.

thanks

mrutyun^

Read only

Former Member
0 Likes
849

Hi,

Try this

After creating the material document successfully commit the transacion for updating changes in MKPF table.

call this FM

****Commit to update changes

CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'

EXPORTING

wait = 'X'.