cancel
Showing results for 
Search instead for 
Did you mean: 

Company Names in delivery address

Former Member
0 Kudos

Hello,

We are using SRM 5 in classic mode.

When a purchase order is created in ECC from SRM, the delivery address is passed across from the shopping cart. We maintain a set of commonly used delivery addresses in SRM or the user can change the delivery address on the shopping cart.

We find that NAME1 and NAME2 on the delivery address are being filled with the short and long name for the organsiational unit in SRM that represents the company code.

The short name can only be 12 characters maximum and we don't want either of these to print. Can anyone advise how to stop this happening?

It is not possible to change the Sapscript in ECC because on some purchase orders in ECC we want to output the NAME1 or NAME2 fields. What we require is to stop SRM populating those fields - ideally by configuration.

Thanks

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member183819
Active Contributor
0 Kudos

Hi Paul

Hope that your in classic mode.

Believe that you dont want to show a delivery address in sc as well as in PO .

BBP_UI_CONTROL_BADI

You can hide the delivery address in sc by using above BADI or by screen variant .

regards

Muthu

Former Member
0 Kudos

Muthuraman,

I am not trying to hide fields in the SRM system screens: I am trying to stop the NAME1 and NAME2 fields being filled in on the ECC PO delivery address.

Regards

laurent_burtaire
Active Contributor
0 Kudos

Hello Paul,

As you are in Classic scenario, implement BAdI name BBP_CREATE_BE_PO_NEW, using either method FILL_PO_INTERFACE or FILL_PO_INTERFACE1 .

Method used will depend on which BAPI you call in R/3 to create the Purchase Order:

- BAPI_PO_CREATE

- BAPI_PO_CREATE1 for enjoy PO.

According to your need, you should clear fieds NAME1 and NAME2 from table IT_POADDRDELIVERY being a componant from method changing parameter CS_PO_DOCUMENT (or CS_PO1_DOCUMENT ).

Regards.

Laurent