09-15-2009 7:36 AM
Hi Expart ,
I am calling a report by using selection table by using
"SUBMIT <calling report> WITH SELECTION-TABLE <iseltab> AND RETURN.".
But i need to pass some flag to the report to restrict some operation in calling program .i am passing this with selection table but in calling program it's reset the value .
Please Help me to pass flg_variable with selection table .
Thanks
Raju.
09-15-2009 8:02 AM
Try passing the parameter directly in the SUBMIT statement using WITH.
SUBMIT prog WITH SELECTION-TABLE seltab WITH p_param = 'X' AND RETURN.
Check if this solves your problem.
Regards
Karthik D
09-15-2009 7:46 AM
09-15-2009 7:53 AM
Hi,
Export the flag using a memory ID and import it in your 2nd program which is being called.
Check SUBMIT & MEMORY as keywords and hit F1, you can also export select-options to memory ID's.
Regards,
Amit
Edited by: Amit Iyer on Sep 15, 2009 12:26 PM
09-15-2009 8:02 AM
Hi ,
Here is the Example for your Reference :
export Flag to memory id 'Memo1'.
submit zprog and return.
report : zprog. " Create Zprog in se38
initialization. " Initalization Event write the below code
import flag from memory id 'Memo1' .
Here you will get the Flag Data..
With Regards,
Vinu.R
09-15-2009 8:02 AM
Try passing the parameter directly in the SUBMIT statement using WITH.
SUBMIT prog WITH SELECTION-TABLE seltab WITH p_param = 'X' AND RETURN.
Check if this solves your problem.
Regards
Karthik D