‎2008 Jun 19 12:35 PM
Hi,
I have successfully created a custom transparent table in DDIC and populated it with test data. When I view the contents of the table in SE11 / SE16, however, in the ALV grid that shows, the header row text for the column is not appearing, only field names are displayed. I want the short text for the fields to appear in the header row for each column.
E.g.
Table fields Short Text
MANDT Client
DISTF Distinctive No. From
DISTT Distinctive No. To
Output is like:
Cl. | DISTF | DISTT
-
|--
100 | 10000001 | 10000010
-
|--
100 | 10000011 | 10000020
-
|--
I want output like this:
Cl. | Distinctive No. From | Distinctive No. To
-
|--
100 | 10000001 | 10000010
-
|--
100 | 10000011 | 10000020
-
|--
Is this possible? I have already tried menu: Settings > User parameters > Keyword: Field Text but it doesn't work. Any help would be greatly appreciated.
Regards
‎2008 Jun 19 12:44 PM
In addition to that setting in SE16, your table fields need to have references to data elements in order for the column headers to show the texts (taken from the data elements).
Thomas
Edit: checked again, only when there is no reference to a data element AND the output field length is shorter than the description (like in your case), then the description will not show up.
‎2008 Jun 19 12:40 PM
hi....
You dont have to do any change for that....
in the ouput of se16 where you can see all the table entries in alv format go to->settings-user paramerter and change from field name to field text.You will be able to see the text of the fiellds and not the field name.
you have to choose the radiobutton fieldltext instead of fieldname
try it.....
‎2008 Jun 19 12:41 PM
Hi ,
Are you getting the same for the standard tables also.
Unfortunately i am unable to recreate the same scenario in my system.
Are you trying to view the table by loggin in using another language , if that is the case then you will not get the discription if it is not maintained in that language , only the field names will be displayed .
Regards
Arun
Edited by: Arun R on Jun 19, 2008 5:12 PM
‎2008 Jun 19 12:44 PM
In addition to that setting in SE16, your table fields need to have references to data elements in order for the column headers to show the texts (taken from the data elements).
Thomas
Edit: checked again, only when there is no reference to a data element AND the output field length is shorter than the description (like in your case), then the description will not show up.
‎2008 Jun 20 1:25 PM
Thanks Thomas,
I now understand why the problem is occurring. I tried creating a data element and using it in the field definition but it still wouldn't pick up the field text in the ALV grid. Any suggestions?
Regards
Edited by: Khan Awkhan on Jun 20, 2008 2:26 PM
‎2008 Jun 20 1:52 PM
hi check this...
had you created the z data element ....if so create the domain for that then it is possible...