on 08-25-2011 9:02 AM
Hi experts.
I have a Smatform which only one strucutre to print.
Now I want to print the field label for each field inthis strucutre, for example:
structure: MATNR, NAME1 should be
Material 123456
Name Peter
Smartfoms should automatically check in DDIC what is the label for the field...
Is this possible?
Regards
Michael
please clear your issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have a smartform with only one import parameter.
I have one window in which I want to print every field of my import strucutur among each other.
Let's say my strucutre looks like this:
MATNR type MATNR
NAME1 type NAME1_GP
BUKRS type BUKRS
So my output should look like this:
Material 123456
Name Peter
Company Code 0745
Smartform should look itself in DDIC which is the field label of the fields (BUKRS = Company Code...)
Doesn't work as I can't choose Program Symbols
Solved it own my own:
Created a new strucutre (TYPES) inclduing all my fields as string, and with this a new strucutre (GLOBAL DATA).
Then at initialsition I get the fields of my strucutre (cl_abap_structdescr) and with that I get the Data elemnt description (cl_abap_elemdescr and table DD04T).
Thanks everybody
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.