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: 

Dynamic field labels in table control

Former Member
0 Kudos

Hi experts,

    My requirement is to display dynamic field labels in table control can we do this. I am much aware

that we can do it in alv_grid. Please let me know.

Thanks in advance.

Sri

1 ACCEPTED SOLUTION

sriharsha_parayatham
Participant
0 Kudos
4 REPLIES 4

sriharsha_parayatham
Participant
0 Kudos

0 Kudos

Hi Sriharsha,

   Thanks for your reply. I think the link is referring to dynamic parameter text but i am

looking for Dynamic Field Labels in TABLE CONTROL.

Best Regards.

Sri

0 Kudos

Hi Srikanth,

     You can use I/O fields for table control column header by making them Display Only. Write your code to populate desired column heading in the PBO of the screen. Please refer to the below links, which will give you a clear idea.

Dynamic header text in table control - Dialog p... | SCN

Hope this helps.

Regards,

Anubhab

0 Kudos

Hi Anubhab,

     Thanks. With your help i could able to solve the problem. Let me put this in some

more detail.

When we are pulling the field from a table to table control we need to make sure the fields should have a data elements. After pulling all the fields to a table control ,we need to drag out  and delete the current table control column headings and then drop in the (new) I/O fields into their place.  I then set the text on these new fields within the PBO.  If we try to drop the (new) I/O fields on top of the existing ones with out deleting it won't work.


Thanks & Regards.

Srikanth