cancel
Showing results for 
Search instead for 
Did you mean: 

BSP Component BP_ADDR field Home city

Former Member
0 Kudos

Hello!

I have a problem in Bussines Partner screen ( component BP_ADDR view StandardAddress ).

When I fill value in field HOME_CITY and press enter this value move to field CITY and HOME_CITY become empty.

Does anybody know how disable this option or where this logic hardcoded?

Regards, Marat.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi, Sudhir!

Thank's for your reply.

But after call BUPA_ADDRESS_CHANGE variables ls_address-home_city, ls_address-city and iv_ref doesn't change.

In lt_return i have message "City New York does not exist in country RU".

Maybe I do something wrong. But I don't understand how and where this logic is hardcoded.

Regards, Marat.

Former Member
0 Kudos

Hi Marat,

IS_ADDRESS is an imporing paramter in FM so its values will not change. Just do as mentioned below and you can make system to not to assign the HOME_CITY value to city field. put the break point in FM BUPA_ADDRESS_CHANGE at the start. clear the value of variable IV_CHECK_ADDRESS and make it blank. just press F8 you will see value will not change and it will work the way you want !!!

I hope it clarifies your issue !

Thanks

Sudhir Grover

Answers (2)

Answers (2)

Former Member
0 Kudos

Thank you, Sudhir!

You was right.

By debbuging this FM I find table TSADVC_REG2 and from this table I disable address check for my country and problem was solved.

Regards, Marat.

Former Member
0 Kudos

Hi Marat,

This is happening in class CL_BUIL_ADDRESS (IMPL class for BOL BuilStandardAddress) method MODIFY line no 1019. there FM BUPA_ADDRESS_CHANGE is called. inside this FM standard move the value of HOME_CITY to city. you can check the message in ET_RETURN once you execute this FM at runtime by pressing F6. there will be message "City 'NewYork' has no different postal city, so moved to field 'City' "

let me know in case your require more information !

Thanks

Sudhir Grover