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

Table parameters in report

Former Member
0 Likes
2,517

Hi experts,

can i pass table as parameters in report ( something similar as in function module ) ?

I would like to use "my" structure for table as parameters.

Thanks in advance

Martin

6 REPLIES 6
Read only

Former Member
0 Likes
1,369

Hi,

Internal tables are generating at run time.

For a report first we need to fetch data from the database using select queries and then only we can able to process the internal tables

Read only

Former Member
0 Likes
1,369

Hi

you can use FM in your report and can pass table as parameter in that.

please specify your questionh

Read only

0 Likes
1,369

I want to call report by using table parameters

submit report

with i_table = table

and return.

Read only

0 Likes
1,369

Hi,

Normally, we call a report as follows:

Submit report

with p_field1 = 'val1'

with p_field2 = 'val2'

with r_range1 in R_range.

We can use ranges but i don't think that have tables in report selection screens.

Read only

Former Member
0 Likes
1,369

You can use 'exporting list to memory' options in addition with SUBMIT statement and use call function 'LIST_FROM_MEMORY' :

press F1 in submit statement.

submit report
with exporting list to memory
and return.

With luck,

Pritam.

Edited by: Pritam Ghosh on May 14, 2009 1:00 PM

Read only

Former Member
0 Likes
1,369

If both reports are Z reports you can use EXPORT & IMPORT statements.

In first report.

EXPORT gt_item FROM gt_item to memory id 'ITEM'.

SUBMIT zreport2 AND RETURN.

and in second report.

IMPORT gt_item TO gt_item from MEMORY id 'ITEM'.

Regards

Sathar