Skip to Content
0
Former Member
May 14, 2008 at 04:12 PM

Problem for Goods Receipt for Subcontracting Purchase Order

741 Views

Dear all,

Presently, we are using SAP version 4.6C and we need to introduce GR for

Subcontracting Purchase Order. We have developed a ABAP program to handle

subcon Goods Receipt by uploading flat-files from our subcontractor. The

scenario is as follows :

Goods Receipt for Subcontracting Purchase Order

1. In the ABAP program, function BAPI_GOODSMVT_CREATE will be used for goods

movement.

2. Data provided to the function are as follows :

- Posting date

- Document date

- Material number

- Plant

- Storage location

- Batch

- Movement type (101)

- Quantity

- Purchase order number

- Purchase order item

- Movement indicator (B - Goods receipt for purchase order)

3. The function will do data verification and automatically determine GI

item for subcon stock:

- Movement type (543)

- Special stock (O - parts prov. vendor)

- Material

- Quantity

- Plant

Our problem is that :

Only the GR item in the interface is to be transferred and the GI item is

determined by the system. So, the quantity for subcon stock cannot be

changed using this BAPI. Then the system will continue processing the goods

receipt and create material document.

Manually, by using transaction code MIGO, the user can display the subcon

stock data and then change the quantity.

By using transaction code MB01, after the user fills in all the GR fields,

the system comes to line item 002 (subcon stock data) and then quantity can

be changed.

As per user requirement, quantity for GI item must be same with the quantity

that has been transferred to subcon vendor in Delivery for Subcon

(transaction code VL02N).

We cannot achieve this requirement by using the BAPI mentioned above. Would

appreciate any valuable help from anyone who is able to help us on this

matter. Are there any other BAPI's that can help us to achieve the same

result ?

Thank you in advance and best regards.