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

To run report in remote system using Submit statement

karthik_narayan2
Explorer
0 Likes
3,763

Hi,

Is it possible to run the report in remote system using submit statement as show below.

SUBMIT RSSHOWRABAX destination rfcdest_id

                       to sap-spool without spool dynpro

                      spool parameters print_param

                      USING SELECTION-SET 'TODAYSDUMPS'                     

                      and return.

i am trying to get the today's dump list for remote system.

Please let me know if there any other possible ways to get this done.

Thanks in advance.

Hi,

Is it possible to run the report in remote system using submit statement as show below.

SUBMIT RSSHOWRABAX destination rfcdest_id

                       to sap-spool without spool dynpro

                      spool parameters print_param

                      USING SELECTION-SET 'TODAYSDUMPS'                     

                      and return.

i am trying to get the today's dump list for remote system.

Please let me know if there any other possible ways to get this done.

Thanks in advance.

5 REPLIES 5
Read only

kakshat
Product and Topic Expert
Product and Topic Expert
0 Likes
1,969

Hi Karthik,

You cannot call reports remotely but you can do that with RFCs. So, instead of trying to call the report remotely, you can create a remote-enabled function module in the target system that calls the report (using the normal SUBMIT statement). Then, you can call that function module in your source system using the CALL FUNCTION DESTINATION statement.

Read only

0 Likes
1,969

Hi Kumar,

Thanks for your reply.

i am looking for the solution where no coding or changes made on to remote system.

Thanks,

Read only

0 Likes
1,969

Hi Karthik,

Maybe a bit inventive but if you have a t-code defined for your report you could try to call ABAP4_CALL_TRANSACTION function module in remote system (it's RFC enabled) passing your t-code as parameter.

Regards,

Edgar

Read only

0 Likes
1,969

It's almost that, what would you think of using ABAP4_CALL_TRANSACTION on transaction SA38 with a small bdc in the FM parameters ?

Also I don't have acces right now to SAP, but could you look at good old RZL_SUBMIT FM (But if I remember there is a specific authorization object to manage S_RZL_ADM) and I don't remember if it allows paramters (it is more an Admin tool) ?

Regards,

Raymond

Read only

Former Member
0 Likes
1,969

Using this link for more details

http://scn.sap.com/thread/1215568