on 12-22-2017 1:06 PM
Dears,
I created a custom field (Short Text) via KUT that I want to reuse into an ABSL script. The request is to move the first two characters of the string field into another one declared like RegionCode, but the assignment of the type 'String' to the type 'RegionCode' is not possible.
How can I solve the problem?
Best Regards,
Daniele
Hi,
Can you please try to pass the sub string as "content":
import ABSL; import AP.Common.GDT;
var str = "SAP";
var region : RegionCode;
region.content = str.Substring(0,2);
Thanks
Saurabh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.