on 03-27-2020 10:47 AM
Hello Experts,
I want to validate the some code list like Distribution Channel , Division which are code list. So i am trying to Validate through SDK but i don't know how i can do. Is it possible to check validation through scripting if some one pass the wrong data through ERP and record should not be created and raise error message.
Hi,
May be you can have try with CodeList reuse library delivered as part of "AP.PlatinumEngineering" namespace. A sample code would be as follow where you can get all possible values for DivisionCode data type and then you can just validate if value received from ERP is matching with the one form CodeList.
import ABSL;
import AP.PlatinumEngineering;
import AP.Common.GDT;
var DataType = "DivisionCode";
var AllowedCodes = Codelist.Get(DataType,"http://sap.com/xi/AP/Common/GDT");
Thanks
Saurabh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Unfortunately, there is no official documentation available for PlatinumEngineering namespace based libraries. Its all hit and trial for now. 🙂
User | Count |
---|---|
74 | |
10 | |
8 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.