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: 

alv reporting

Former Member
0 Kudos

hi experts,

what is constants and why we r using constants in ALV reporting.

thanks in advance,

Regards,

Prerna.

2 REPLIES 2

Former Member
0 Kudos

What do you mean by constants in ALV reporting? Can you please elaborate?

R u asking about the values that we paas to different parameters?

Best Regards,

Vibha

Former Member
0 Kudos

CONSTANTS are one type of variables which values will be fixed through out the program.

Constants usage is not specific to ALV or normal programs or module pool etc.. where ever you want you can create them.

CONSTANTS : C_X TYPE C VALUE 'X'.

if p_chkbox = c_x.

*--do something..

else.

*--do some other thing

endif.

Regards

srikanth