‎2011 Dec 27 5:27 AM
Hi,
I have created a report program with selection screen parameters. when the inputs are filled and executed it generates the purchase evaluation sequence number. i have created a screen and passed that number to display on it with print option and back option buttons as required. but variable alone is not getting passed from the program to module pool screen. buttons are working fine. value alone is not coming. can anyone please help me.
regards,
sudha.
‎2011 Dec 27 5:41 AM
Hi ,
you need to declare that variable param at Global.
sample code...
report xyz....
data: g_no type ekko-ebeln.
start-of-selection...
g_no = '12345'.
call screen 0100.
‎2011 Dec 27 5:59 AM
Hi Sudha,
Once check the variable name in the report program and sceen field name are same or not before call screen statement.
Thanks
Haritha Teegala
‎2011 Dec 27 9:32 AM
hi,
Thank you. I got the answer after assigning the variable with the name as it is in program (in screen layout get from program).
regards,
sudha.
‎2011 Dec 27 8:22 AM
If both report and screen are created in one program make your field as global one or else if they are in different program use concept of parameters ids
Nabheet