Dynamic Sort on Dynamic Internal Table
Code snippet to dynamically sort a dynamically generated internal table.
Code snippet to dynamically sort a dynamically generated internal table.
To get domain fixed value description, in past, I have used function modules DD_DOMVALUES_GET, DD_DOMA_GET and select from table DD07L. All these methods require you to specify domain name or some would say require you to hardcode domain name. Recently I have found this elegant method, which doesn’t require you to specify domain name. As long as you have variable defined with reference to domain or data element or table field which would eventually be linked to domain it works seamlessly.
Reference variables are defined using TYPE REF TO keyword in DATA statement. Reference variable points to the object which exist at run time. Read this blog to find out how to create variables at runtime and how is it different from variables defined using DATA …
An introduction to field symbols with examples explaining its usage.