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: 

Passing ABAP report output back into Function Module for WWI

Former Member
0 Kudos

Dear Experts,

I am working in the EH&S WWI Reporting space.  I am trying to create a WWI document that will contain the ouput of an ABAP report into the WWI report.

I currently have a template that contains 1 symbol.  That symbol calls a function module that passes the symbol and the specification ID to an ABAP report. 

I currently have it set up so when I view the report via template, the ABAP report pulls up.  Is it possible to package the ABAP report output so the entire output is being passed back to the Function Module then read directly to the WWI report?  This way the report is still using WWI functionality and the users are still able to generate the report into DMS.

Let me know if you have any questions.

Thanks,

Lindsey

1 REPLY 1

Former Member
0 Kudos

Lindsey, I am not sure how WWI Reporting works but what I understood is you are trying to get the same output from an ABAP Report out of a Function Module so that this can be called from your WWI framework.

If this is the case, in the Function Module call the ABAP program using  SUBMIT statement with option EXPORTING LIST TO MEMORY. Once the ABAP program is executed you can pass the list contents as export parameters.

You can find more about this option at the below link

http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/db9d7535c111d1829f0000e829fbfe/frameset.htm

But if the program logic can easily built into the FM, I would just add the data extraction logic into FM.