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

Changing the field label dynamically

shishupalreddy
Active Contributor
0 Likes
1,374

HI ,

In my table I had 12 fields which are taking same domain and dataelement and hence we will get the same lable against 12 fields which are related to Budget costing .

My client wants to get the label with the number like BUDGET01 to BUDGET12

currently it is displaying the fields like BUDGET TO BUDGET .

EARLIER RESPONCE IS HELPFULL.

THANKS

4 REPLIES 4
Read only

Former Member
0 Likes
1,025

hi,

you want different labels for different fields.

all the fields are using same domain.

where you want to dispaly this filed labels?

if it is in custom developed transaction.

in that you can create your own labels in layoutn design.

goto layout design.

get the fileds from that table using option in munu 'dictionary fileds'

then change the labels..

other wise you want to show at table level.

There is no chance to with same data element.

you have to go unique datatelements for different fields

if it use ful pls give points

Read only

Sandeep_Panghal
Product and Topic Expert
Product and Topic Expert
0 Likes
1,025

Hi,

U can create different date elements with the same DOMAIN and give the data elements description as BUDGET0 to BUDGET12.

Hope this helps.

Read only

Former Member
0 Likes
1,025

Hi,

The field label comes from the data element.

1. if you have table maintenance - you can change the field lable by going to screen layout.

2. if have developed a program and displaying in the ALV, change the label at field catalog label.

3. if you are displaying at table label only, then you required keep the same domain but diffrent data elemnt for each label and use that data eelemnt in the table field.

But i think requireemnt camrd from end user, so must be having table maintenance for that., change in the screen layout, it will work.

Read only

Former Member
0 Likes
1,025

Where exactly you are facing this..

is it inside a transaction. if so you can do that with the help GuiXt script.

check the help...

http://help.sap.com/saphelp_erp2004/helpdata/en/89/91b9d8194f11d5b3a30050dae02d7c/content.htm

http://service.sap.com/guixt

Regards

Vijay