SAP for Utilities Discussions
Connect with fellow SAP users to share best practices, troubleshoot challenges, and collaborate on building a sustainable energy future. Join the discussion.
cancel
Showing results for 
Search instead for 
Did you mean: 

City code not getting updated in ADRC when a new address is created in FPP2

Former Member
0 Kudos

Hi,

We are seeing an issue when new addresses created through transaction FPP2 does not update the city code in ADRC. A similar behavior is observed when an existing address is changed in FPP2 when the old city code is not replaced by the new city code even though the new address is in a different city. The SAP code is not looking up the city codes for the city in SR12 and not updating the CITY_CODE field in ADRC when the new address is created. Can someone suggest if there is a BADI that we can implement to determine the city code from the regional structure and update ADRC with the CITY_CODE. We are also using Trillium implementation for address validations. Please let me know if any Trillium implementation BADI can be modified to achieve the required city code update in ADRC or any other suggestions.

Thanks,

Tarunavo

2 REPLIES 2

Former Member
0 Kudos

Hi,

You can do it by using the BADI - ADDRESS_CHECK, Method - ADDRESS_POSTAL_CHECK

In that you can change the Address structure of the BP by changing the parameter "CH_ADRC_STRUC".

Hope this will resolve your query.

Regards,

Manish

Former Member
0 Kudos

Hi Tarunavo,

The city code is updated for the city only if the following conditions are satisfied :

1. THe city should be maintained in SR12 ( you have already done this)

2. The CITY FILE flag should be actiev for this city in transaction oy07 ( oh -y-zero-seven).

Can you check point 2 ? Probably this flag is not active for the new city ?

Cheers,

Rishu.