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: 

Table parameters in report

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi

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

please specify your questionh

0 Kudos

I want to call report by using table parameters

submit report

with i_table = table

and return.

0 Kudos

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.

Former Member
0 Kudos

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

Former Member
0 Kudos

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