Getting values from UI-API Fields that use non-standard chars in ItemUid

  • Created

Q: What is a non-standard ItemUid?
A: In some rare cases SAP uses spaces in item and column-ids... This is not standard as ids normally contain numbers, letters, and underscores. Here is an example from MX Localization:

mceclip0.png

 

Q: Why don't you support this?
A: While it could be technically possible, we fear that it will break backward compatibility, and make more hurt than good. So we have decided not to support these rare cases.

 

Q: What can I do instead to get them?
A: In most cases you can instead use the Table-syntax ($[<table>.<field>])... In above case, you could write $[ECM6.GenType] to get the value

mceclip1.png

 

Alternatively, you can use .NET Snippets to use the SDK to get the values. Here is an example:

mceclip2.png

(Sample code is attached below) and here is how you use it:

mceclip3.png 

 

Q: How can I set value in these fields?
A: For that, you will need to use the UF - Dynamic Code

 

 

Was this article helpful?

0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.