Application Development 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: 

Basic ABAP question on Data element and field labels.. Please see

Former Member
0 Kudos
107

Hi all,

I have this question... but first please do this: (so you know the exact place i have the doubt...)

Go to tcode PA30

then give some personnel no (or use F4)

hit enter

then select the row called address under 'info type text' and hit overview (Shift + F8)

We see the first column as Sty

Now this name comes from the data element SUBTY (ie a subtype), but I cannot see the various field labels assigned to it if I increase or decrease the column width there in PA30? Are the field labels only used when we use the data element in an ALV report?? Where else can we see the fields labels of a data element in action??

Best regards,

Charles.

1 ACCEPTED SOLUTION

Former Member
0 Kudos
84

HI,

In the ALV display the text may be maintained as TYPE, so it is displaying as TYPE instead of text maintained in Data Element. Should check in debugging mode for filling of Fieldcatalog.

4 REPLIES 4

Former Member
0 Kudos
84

Hi Charles,

Kindly check it once again.

Filedname given for SUBTY data element under HEADING is STy which u r seeing in overview screen.

Dont forget to reward points if found useful.

Thanks,

Satyesh

0 Kudos
84

Hi Satyesh,

So, you are saying that only the text given in heading field label is used for column headings (no matter what is the length of the column).. But then, what is the use for the other short, medium and long field labels we fill when defining a data element and how do we choose the length of the heading label

Thanks,

Charles.

0 Kudos
84

Never thought of this but I guess, while creating data element if you provide Heading text, the same heading text will always appear no matter what is the column width.

Try creating data elemet without any heading text and 3 different texts for S, M and L.

I hope this will give you some idea.

thnx,

ags.

Former Member
0 Kudos
85

HI,

In the ALV display the text may be maintained as TYPE, so it is displaying as TYPE instead of text maintained in Data Element. Should check in debugging mode for filling of Fieldcatalog.