Application Development 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: 

Posting Subcontracting PO with BAPI_GOODSMVT_CREATE

Adi_Bathineni
Participant
0 Kudos

Hi Guru's,

I'm using the BAPI "BAPI_GOODSMVT_CREATE" to do the GR using Purchase Order.

For Sub Contracting PO also we are using the same BAPI and we are doing it successfully, but my requirement is when we do the posting for subcontracting, the SAP system automatically creating the 2nd line item and doing the movement with the same amout of the quantity of the first item.

In Standard SAP, we have an option to enter the 2nd line item quantity, is there any option like that is available in this BAPI??

Or is there any enhancement option / BADI option to change the quantity of the 2nd line item when we posting the document???

Thanks,

Adi.

6 REPLIES 6

Former Member
0 Kudos

hello Adi ,

what will be the movement type of the 2rd line item created my SAP ?

regards

Prabhu

0 Kudos

Hi,

The second line item movement type is 543.

Please suggest me the enhancement Point (BADI) or any Exit where can i change the 2nd line item Qty .

Thanks in advance.

Thanks,

Adi.

0 Kudos

Hi,

Thanks for your link, but i know how to use that BAPI (Passing Parameters),

i want to know the Exit/Enhancement point where can we change the 2nd line item quantity while doing MIGO with the BAPI

BAPI_GOODSMVT_CREATE.

The system is automatically calculating the Quantity for the 2nd line item and doing the 543 movement.

I want to change the quantity in 2nd Line of PO.

Thanks,

Adi.

Adi_Bathineni
Participant
0 Kudos

HI Guru's,

Could you please help me on the above problem??

Thanks,

Adi.

Adi_Bathineni
Participant
0 Kudos

we did a BDC for MB01