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

selection screen data in column heading

Former Member
0 Likes
543

Hi,

My requirement is to show the value entered in the selection screen in the report output column heading using text elements.

I am using text element to show the column heading. how can i add a variable to the text element and pass the value to it ?

Thanks,

Prasad.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
446

Hi,

Its not possible to pass on the variables with the text elements, as text elements are used storing the text written by you in the program and not the values of the variable.

hence if you want to display the column heading with the variable you can directly write text element first and then write the variable,

write : text-001, w_variable.

Regards,

Siddarth

2 REPLIES 2
Read only

Former Member
0 Likes
447

Hi,

Its not possible to pass on the variables with the text elements, as text elements are used storing the text written by you in the program and not the values of the variable.

hence if you want to display the column heading with the variable you can directly write text element first and then write the variable,

write : text-001, w_variable.

Regards,

Siddarth

Read only

Former Member
0 Likes
446

Hi,

You can either use

WRITE:/ text-001 , P_VAR.

Or you can concatenate the value into a variable

CONCATENATE text-001 p_var into field1.

and use field1 into the header.