cancel
Showing results for 
Search instead for 
Did you mean: 

How to call an existing report from R/3?

Former Member
0 Kudos

Hi all,

can anyone tell me how i can call an existing report from the R/3 system in my web page?

This would be a great help for me!

Thanks & Regards

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

This method allows you to manipulate the layout.

Have the R/3 report export the report data in a table to a memory variable 'MEMV'

SUBMIT <report>.

IMPORT I_TBL FROM MEMORY ID 'MEMV'.

You can then use I_TBL and html in 'Layout' to display the info

Brant

athavanraja
Active Contributor
0 Kudos

the path for the icf service "report" is

sap/bc/report

and the handler class is

CL_HTTP_EXT_REPORT

check out the code in method

IF_HTTP_EXTENSION~HANDLE_REQUEST of the above mentioned class.

Regards

Raja

former_member181879
Active Contributor
0 Kudos

Not really possible directly. There was via ITS an old Web Reporting tool for this. But it is been decommissioned, and will be supported via new ITS in 640.

Some people have mentioned a solution before that I vagauely remember about submitting a report to memory and then doing something with the output. Maybe you can find some referencing by searching the forum of online help at help.sap.com.

athavanraja
Active Contributor
0 Kudos

There is a service called "report"" somewhere in the SICF tree. (sorry dont remember the exact path) Check out the handler class - handle request method for code sample.

Below are the steps:

submit report exporting list to memory

get the list from memory (std FM available)

convert it to HTML (std FM available)

use the varialbe which holds the HTML in the BSP layout

<%= HTML_VARIABLE %>

You wont have much control over the look and feel.

Regards

Raja