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

Submit report

Former Member
0 Likes
647

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
Read only

Former Member
0 Likes
591

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
Read only

Former Member
0 Likes
591

Hello Expart ,

Please help me to do this .

Read only

Former Member
0 Likes
591

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

Read only

Former Member
0 Likes
591

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

Read only

Former Member
0 Likes
592

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