cancel
Showing results for 
Search instead for 
Did you mean: 

Freight vendor updation in GR document through BAPI

former_member1283268
Participant
0 Kudos

Dear All

In my system we are creating Goods Receipt in background through *BAPI BAPI_GOODSMVT_CREATE*. In my PO we have entered freight condition FRB1 for that PO line item and assigned a vendor code different from material vendor. For this freight condition FRB1 in the configuration we have maintained in Control Data 2 field Vendor in GR as 2 ( i.e. Entry always possible). This will help us to change freight vendor different from freight vendor maintained in PO line item.

Now my query is that how can I achieve this through BAPI BAPI BAPI_GOODSMVT_CREATE when I am creating GR in background. In which field of BAPI should we pass the freight vendor at the time of GR creation.

Regards

Satish Kumar

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member1283268
Participant
0 Kudos

not possible through BAPI

Former Member
0 Kudos

Hi Satish,

With standard SAP this is not Possible

As indicated in the attached note 356665, the field SUPPL_VEND has no

function. Please, have a look at this note for further information.

In dialog (with MB01 or MIGO) you have the possibility to enter another

freight vendor different than the vendor in your purchase order (or your

scheduling agreement) as long as you have, in your purchasing condition

type, "Vendor in GR" (V_T685A-BNKWE) maintained with the appropiate

value. Then, by posting the Goods Receipt, you will update EKBZ with

this new freight vendor.

Unfortunately in the standard system this functionality is not available

when working with the BAPI BAPI_GOODSMVT_CREATE or with the Idoc

WMMBID02.

There is no customizing setting or tool that you could use inside the

standard system to change it.

former_member1283268
Participant
0 Kudos

Any replies???