2009 Aug 04 12:07 PM
Hi to all experts.
My requirement to call the program Zreport2 from my zreport1 based upon zreport1 output.I know this can be done using submit report .for example:in zreport1 out put fields are wbs element,network activity and plant.
zreport1 displays 10 records, zreport2 displays 10 records based upon these 10 records of zreport1.how can i get exactly.give me suggistions.
Thanks.
Hi to all experts.
My requirement to call the program Zreport2 from my zreport1 based upon zreport1 output.I know this can be done using submit report .for example:in zreport1 out put fields are wbs element,network activity and plant.
zreport1 displays 10 records, zreport2 displays 10 records based upon these 10 records of zreport1.how can i get exactly.give me suggistions.
Thanks.
2009 Aug 04 12:15 PM
Hi,
The records which will be displayed in the first report will be stored in some final internal table right.
Before displaying the second report check if entries exist in first internal table and then read each record's data one by one.
Take the required data na d popultae second internal table with the required data for second report and use submit statement to call that program and ouput of second report will also be displayed.
Do not return to first program after using submit statement.
Regards,
Subhashini
2009 Aug 04 12:27 PM
Hi,
export the contents of first report internal table to a memory location using EXPORT statement and later in second program IMPORT this table content and manipulate accordingly.
Check F1 help for syntax of EXPORT & IMPORT.
2009 Aug 04 12:32 PM