07-03-2009 4:40 AM
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
07-03-2009 7:00 AM
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
07-03-2009 9:10 AM
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.