on 2020 Dec 07 8:11 AM
Hi Experts,
Need your help !!
We have one requirement to put validation for Region and Country Code Combination in Custom Business Object. Is there any standard library or function available which we can use in Custom Business Object to put validation for Region or Country so that correct region would be picked for correct country.
Thanks
Request clarification before answering.
Hello,
AFAIK, there is no way to validate the Region-Country combination out of the box in SDK. Therefore, Either you can make this validation via Context-Dependent Code List in UI designer OR you need to use the following ABSL and then put your own Business Logic to validate:
import AP.PlatinumEngineering;
var country = Codelist.Get("CountryCode","http://sap.com/xi/AP/Common/GDT");
var region = Codelist.Get("RegionCode","http://sap.com/xi/AP/Common/GDT");
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 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.