07-14-2009 6:39 AM
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.
07-14-2009 6:54 AM
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.
07-14-2009 6:54 AM
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.