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: 

change header values dynamically in table control

Former Member
0 Kudos

Hello experts,

I have made a module pool program, where i want to dynamically pass the value of header column name in table control.

For example:

if we use md61,it dynamicallly passes the date in table control header, i want to do the same thing in my module pool program.

Please help me how i can do.

Waiting for a positive reply.

1 ACCEPTED SOLUTION

former_member585865
Contributor
0 Kudos

Hi,

Give as Input/output field in the screen and not as label for header.

give a name to that input/output field but not the text leave it as blank.

create a module in the PBO before loop and endloop,don't give inside the loop its not necessary.

just see below example how i passes,

WHEN '1' .

CONCATENATE '1-' ls_date_day-day+0(3) INTO days_month.

MOVE days_month TO day1.----


>consider day1 is the input/output field name see here it is passing as monday.

like wise use according to your condition.

1 REPLY 1

former_member585865
Contributor
0 Kudos

Hi,

Give as Input/output field in the screen and not as label for header.

give a name to that input/output field but not the text leave it as blank.

create a module in the PBO before loop and endloop,don't give inside the loop its not necessary.

just see below example how i passes,

WHEN '1' .

CONCATENATE '1-' ls_date_day-day+0(3) INTO days_month.

MOVE days_month TO day1.----


>consider day1 is the input/output field name see here it is passing as monday.

like wise use according to your condition.