cancel
Showing results for 
Search instead for 
Did you mean: 

Changing vendor number in BE PO

Former Member
0 Kudos

Hi all,

As you know, if you need to change the material code when the PO is being transfered to the R/3 BE system, you can use the B31I_MATERIAL_READ driver to adjust/change the material code number.

Now, we need to change also the vendor number when the PO is being transfered to the back end...

Do you know how can i achieve that? Is it possible to use a driver or BADI (like the material driver) to change the vendor number while its being transfered to the BE?

Thnx in advaced...

BR,

Gerardo.

Accepted Solutions (1)

Accepted Solutions (1)

yann_bouillut
Active Contributor
0 Kudos

Hi Gerardo,

Did you evaluate the complete flow from SC to invoice ?

If SC vendor is different from PO vendor, what happens in the following steps till invoicing ?

Kind regards,

Yann

Former Member
0 Kudos

Thank you guys for your helpful answers, i have reviewed those BADI's and it seems that they will be very useful for me...

Yann, There's no problem with follow-on documents cuz we are homologating materials and vendors with MDM, so SRM will work with MDM codes and R/3 will work with old code numbers (before MDM were implemented).

Scenario:

R/3 (PO Reqs) -> (BADI's*) SRM (SC's)

SRM (PO's) (BADI's*) -> R/3 (PO's)

SRM <- MDM/XI -> R/3

Vendors/Materials

*Those BADI's will be switching codes between SRM and R/3 therefore for both systems will be transparent cuz follow-on documents will have always their own master catalog codes by each side.

BR,

Gerardo.

yann_bouillut
Active Contributor
0 Kudos

Hi Gerardo,

Why do you use SRM badi to do your mapping as MDM is designed to handle it ?

Kind regards,

Yann

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

As mentioned by Masa,you can use the 2 BADI's for this reqt.Change the field "VENDOR" in the structures PO_HEADER and CS_BAPI_POHEADER for BADI's BBP_CREATE_PO_BACK and BBP_ECS_PO_OUT_BADI resp.

BR,

Disha.

Pls reward points for helpful answers.

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello Gerardo,

How about BADI in SRM side ?

BBP_CREATE_PO_BACK - Classic

BBP_ECS_PO_OUT_BADI - Extended Classic

Regards,

Masa

Former Member
0 Kudos

come on gurus...

Any comments... suggestions??

regards,

Gerardo.