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

Reports

Former Member
0 Likes
904

Hi all,

i have a requirement as follows,

I have 4 reports namely zrep1, zrep2, zrep3,zrep4.

now wat user does is...

1.I execute the report zrep1 and use this result doing manual calculation.

2.I execute zrep2 , use the result of zrep1 and zrep2 perform manual caluculation .

3. i execute zrep3 and use the result of zrep1,zrep2 and zrep3 and do manual calcuation.

NOTE:Every report has screens and user enters the values in the screen.

Now my user requirement is he does not want to do this manually and want the system to do .

So how should i get the values of executed results and make the system to do calculation.

Plz give me suggestions.

Thanks ,

Azee.

4 REPLIES 4
Read only

Former Member
Read only

Former Member
0 Likes
697

u hv created 2 threads for same topic...

u can use import / export data to memory...

EXPORT obj1 ... objn TO DATA BUFFER f.

- EXPORT obj1 ... objn TO MEMORY.

- EXPORT obj1 ... objn TO SHARED MEMORY itab(ar) ID key.

- EXPORT obj1 ... objn TO SHARED BUFFER itab(ar) ID key.

- EXPORT obj1 ... objn TO DATABASE dbtab(ar) ID key.

- EXPORT obj1 ... objn TO DATASET dsn(ar) ID key.

- EXPORT (itab) TO ... .

IMPORT obj1 ... objn FROM DATA BUFFER f.

- IMPORT obj1 ... objn FROM MEMORY.

- IMPORT obj1 ... objn FROM SHARED MEMORY itab(ar) ID key.

- IMPORT obj1 ... objn FROM SHARED BUFFER itab(ar) ID key.

- IMPORT obj1 ... objn FROM DATABASE dbtab(ar) ID key.

- IMPORT obj1 ... objn FROM DATASET dsn(ar) ID key.

- IMPORT obj1 ... objn FROM LOGFILE ID key.

- IMPORT DIRECTORY INTO itab FROM DATABASE dbtab(ar) ID key.

Read only

Former Member
0 Likes
697

submit the report to memory then read that in the second report and then submit the secong to the memort and read in the third.

Amit

Read only

Former Member
0 Likes
697

Hi,

Since yours is custom report use <b>Database index</b>.

As you are executing these different reports in

separate sessions you can't use IMPORT/EXPORT to memory

as this will be cleared from memory once you exit the

current session.

i.e

DATA :w_indx_docov TYPE indx-usera.

w_indx_docov = sy-uname.

<b> EXPORT itab TO DATABASE indx(XX) ID w_indx_docov.</b>

Replace <b>XX</b> by any 2 char letter.This should be

unique for each internal table you use.

In you 2nd program IMPORT this using

<b> IMPORT itab FROM DATABASE indx(XX) ID w_indx_docov.</b>.

Similarly proceed for the other reports.

Please reward points if this explanation useful.

Regards,

Siva