First. To edit 'ala-brute-force' a table, the transaction SE16N can provide a nice little trick:
It shows the contents of the table in a beautiful ALV Grid, but to edit them, send the system a new ucomm with code SAP_EDIT, so if you send the code '&sap_edit' in the command line, the table becomes editable.... that's a new trick!
Second, I had some trouble reading an information from a dynpro in a running program. I tried the DYNP_VALUES_READ function module, but it didn't work, so I learnt the following trick:
[code]
data: variable_name type string value '(program)field', value type data_type.
field-symbols
assign (variable_name) to
value =
[/code]
The good part here is the '(program)field' concept. I didn't know you can access a field of another program using that syntax. A bit.... dark this concept, but can save your life sometimes ;)
No comments:
Post a Comment