cancel
Showing results for 
Search instead for 
Did you mean: 

Delivery address number creating for every PO in backend

Former Member
0 Kudos

Hi. We have just upgraded to SRM 5 and ECC 6 from SRM 4 and R/3 4.7, and we use Classic.

We have just noticed that every backend PO in ECC has an address number in EKPO-ADRNR, even if we have left the address blank in SRM, so the plant address should be used.

A new address is created for each PO as a copy of the plant address.

This is causing some custom built procedure problems, and also it will fill ADRC up very quick, we raise 30000 carts a month.

We have tried running BAPI_PO_CREATE and BAPI_PO_CREATE1 in ECC manually, and it does not put an address number in. It is only when SRM creates the PO that we get the problem.

We have asked SAP and they are investigating but it could hold up our upgrade, if anyone could help we would be extremely grateful and of course points would be awarded.

Regards,

Dave.

Accepted Solutions (1)

Accepted Solutions (1)

ashwin_mundkur
Advisor
Advisor
0 Kudos

Hi Dave,

Can you kindly check note 994153.

thanks,

Ashwin

Former Member
0 Kudos

David,

Not sure, if SAP has released Note for this issue in SRM 5.0/ECC 6.0. We had to implement User Exit in the backend ECC 6.0 in our project .

Hope it helps.

Thanks,

Ajay

Former Member
0 Kudos

Thanks, but we are on support pack 11, we already have that note.

Former Member
0 Kudos

Hi. What did you do with the user exit?

Check if the address was the same as the plant address and make EKPO-ADRNR blank if it was?

Was it the user exit on BAPI_PO_CREATE1?

Regards,

Dave.

Former Member
0 Kudos

Hi,

Do you mean, you wanted to have default ship to address location for the PO resulting from the shopping cart in SRM?

If it is so, Click on partners tab in the browser(Appear for the user with admin role) fill all the required fields, at the end system will genearate the address number. Note down this number and give it in the attrbutes tab of "PPOMA_BBP trn, and flag it as default.

Regards

Jagadheesh

Former Member
0 Kudos

Hi. No, we are leaving the address blank in SRM, we want the plant address in the backend.

We get the plant address, but in EKPO-ADRNR there is a manual address number every time.

The contents of this manual address are the exact same as the plant address, it is creating a manual address as a copy of the plant code every time.

Regards,

Dave.

imthiaz_ahmed
Active Contributor
0 Kudos

Check if the BADI BBP_CREATE_BE_PO_NEW can control this in any way.

Regards, IA

Former Member
0 Kudos

Dave,

We are using userexit EXIT_SAPL2012_001 in the backend. It is called during BAPI_PO_CREATE1.

We are using SLOC addresses and always populating SLOC address number based on table TWLAD.

Thanks,

Ajay

Former Member
0 Kudos

Hi. Thanks, we found a solution in the new create PO backend BADI.

Every address was being populated in the BADI, so the backend did not know the address was not manual.

We checked in the BADI if the line had a partner type 27, which is a manual address. If it did not have a partner of this type we blanked the address structure in the BADI.

The backend then correctly picks up the plant address without a manual address number.

Thank you all for your help.

Regards,

Dave.

Answers (0)