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: 

Submit report

Former Member
0 Kudos
111

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.

1 ACCEPTED SOLUTION

Former Member
0 Kudos
55

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

4 REPLIES 4

Former Member
0 Kudos
55

Hello Expart ,

Please help me to do this .

Former Member
0 Kudos
55

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

Former Member
0 Kudos
55

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

Former Member
0 Kudos
56

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