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

Calling SAP REPORT

Former Member
0 Likes
1,499

Hi,

I want to call SAP report from external system. How can we do that, do we ave an RFC/BAPI which submits any report and gives back results?

Regards

Munish Garg

11 REPLIES 11
Read only

Former Member
0 Likes
1,396

Hi Munish,

Refer below links for more information:-

[http://help.sap.com/saphelp_bw/helpdata/en/22/042860488911d189490000e829fbbd/content.htm]

[http://help.sap.com/saphelp_bw/helpdata/en/22/042860488911d189490000e829fbbd/content.htm]

Regards

Abhii

Read only

0 Likes
1,396

Hi Abhii,

I need a BAPI/RFC FM which can take 'reportname' input and gives report output.....

Regards

Munish Garg

Read only

0 Likes
1,396

Hi Munish,

You have to develop a custom BAPI/RFC FM for this.

Regards

Prabu

Read only

0 Likes
1,396

Hi Prabhu,

I know but I am trying to find standard FM/BAPI to do this on this forum.

Regards

Munish garg

Read only

0 Likes
1,396

>

I know but I am trying to find standard FM/BAPI to do this on this forum.

I'm curious - how do you think such FM would even look like? What would it return exactly and in which form? A table of type ANY? How do you think this would work?

Read only

0 Likes
1,396

>

I know but I am trying to find standard FM/BAPI to do this on this forum.

I'm curious - how do you think such FM would even look like? What would it return exactly and in which form? A table of type ANY? How do you think this would work?

Read only

0 Likes
1,396

>

I know but I am trying to find standard FM/BAPI to do this on this forum.

I'm curious - how do you think such FM would even look like? What would it return exactly and in which form? A table of type ANY? How do you think this would work?

Read only

0 Likes
1,396

My friend Jelena,

There are FMs exists but not remote enabled..........but i am trying to fins standard SAP Remote FM/BAPI for the same.

Output will in a table which will have only one field of type string or char256.

I have explored one of the FM "INST_EXECUTE_REPORT" which does that and also remote enabled but this FM doesnt execute report with selection criteria........i need that as well.

Regards

Munish Garg

Read only

0 Likes
1,396

>

> Output will in a table which will have only one field of type string or char256.

This will limit the FM to the reports that are capable of returning such output (e.g. ABAP lists). If, for example, a report has an ALV output then I seriously doubt this would work.

You were asking previously for essentially a universal function, which could run any report. It's not difficult to find an FM that would start a report, but data return from the report - that's where I see a challenge.

If you're willing to limit such FM to certain types of reports then it will probably be easier/faster to create your own FM anyway. Since there is a lot riding on an assumption, I'd want more control over the program and SAP might change their FMs at any time.

Read only

SF_Commune
Explorer
0 Likes
1,396

Dear Munish,

Did you try with this RFC?

RSDR_RUN_REPORT

Thanks,

Nanda

Read only

0 Likes
1,396

Hi Nanda,

This Fm "RSDR_RUN_REPORT" run the report with selection screen paramters but doesn't give back the results in internal table.

Regards

Munish Garg