on 01-23-2012 1:09 PM
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.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
3 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.