Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

name_mappings dinamic

Former Member
0 Kudos
269

Hello,
I would like to use name mapping dynamically...is it possible?

Example:
be done this way:
DATA(lt_mappings) = NEW /ui2/cl_json=>name_mappings( ( abap = 'data element' json = 'short description' )

and not necessarily like this:
( abap = 'BUKRS' json = 'Company' )

The idea is:
the 'BUKRS' field is dynamic for any field in the table and the 'Company' is the respective description.

0 REPLIES 0