Application Development and Automation 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: 
Read only

Field Lable

Former Member
0 Likes
798

Hi,

I 've created a ztable. it has nearly 10 fields. while displaying it's contents every field is showing it's field name in header are except only one.

The field name is ZABC and field lable is XXXX ( Data element field lable).

while displaying contents it is showing XXXX .

why this is happening only for one field? how can i display field name?

Thanks in Advance

PRa

8 REPLIES 8
Read only

former_member191735
Active Contributor
0 Likes
761

Remove the field label and see what it is displaying.

where are you displaying this? if you are displaying the table contents, its actually displays the data element field label. if you want field name, name your field label as field name or remove the data element field label.

Read only

0 Likes
761

Hello,

I am using standard data element. how can we delete field lable.

what ur saying not 100% right..for other field name I have some 'YYYY' field lable but still it is dispaying TABLE FIELD NAME only..

PRa

Read only

0 Likes
761

Hi Praneet,

I think the data element which you are using must have no field label, that is why it is showing field name.

Regards,

Satish

Read only

former_member191735
Active Contributor
0 Likes
761

Check your post. You said, it is ZABC.... Is that mean standard field or custom field?

Well try to create a custom table with 2 fields. Give the field label to one field and make the other empty. it will display the field label for first and the second one is field text. I am sure about that. Check your field short text and field label for other fields that may be the same. I've created and checked it before i post.

if you are trying to use standard data element and cant delete the label, create your own and use same data type.

Read only

0 Likes
761

Hi,

see the table field is ZABC (FIELD NAME) and data element <b>Char1</b> and this data element lable is 'XXXX' (FIELD LABLE for Data element CHAR!).

another one ZBBC and data element CXXX and this data element lable is 'YYYY'

while I display the table entries the header contains

XXXX ZBBC......

I think u got my point. I can create field with a new data element...that's not an issue.

I would like to know the basic reason how it displays differnetly...

Pra

Read only

former_member191735
Active Contributor
0 Likes
761

C'mon, if you are using CHAR1 Data element, there will be nothing in field label.

Which version are you using? I did same thing here create field with char1 and it is displaying field short text because it has nothing in field label fields.

Check it agian. If you are using CHAR1 - I am 100% sure there will be no field label.

Read only

0 Likes
761

can you give me ur mail id...

I can send u a screen shot...so that it wud be clear to you.

Thanks for your prompt response..

Pra

Read only

0 Likes
761

well, send it abap2001@gmail.com. I can even send you screen shot of what i've done.