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

RFC function - Submit standard report

Former Member
0 Likes
1,342

Hi Experts,

I need to call a standard report "RVSCD100" in my ZRFC program.

In that report there is no Export to memory Id command is there .. so how can i get the output in my t_data structure of my RFC?

valuable inputs will be very helpful

Giri

7 REPLIES 7
Read only

Former Member
0 Likes
887

Hi,

Check with SUBMIT stmt.

SUBMIT REPORT01

VIA SELECTION-SCREEN

USING SELECTION-SET 'VARIANT1'

USING SELECTION-SETS OF PROGRAM 'REPORT00'

AND RETURN.

Read only

Former Member
0 Likes
887

if you know you wouldnt get the data back from the report then how you decided on using that report in RFC?

Read only

0 Likes
887

Hi MxG,

I need to pass the data of that report to Portal thru RFC... i know i cant pass...but there may be some other method from all of you guys with tons of experience.

Giri

Read only

0 Likes
887

Only way I can think of is to use enhancement-point in the reprot to do what you want. go thru the code and see if you can get the data in some internal table, then export that in the enhacement

Read only

Former Member
0 Likes
887

you can export the list to memory addition when you are using submit, and then read the list from memory using the function module LIST_FROM_MEMORY, then convert the listobject to ASCI format LIST_TO_ASCI. the ASCI format will hold the data. you can analyze the data, it will be the same as output, so you have to code and get the data from it.

Read only

0 Likes
887

Vijay,

how cna i export the list to memory thru SUBMIT statement?

Can you provide some more information on it?

Thanks

Giri

Read only

Former Member
0 Likes
887
submit Ztest_program and return 
exporting list to memory. 

CALL FUNCTION 'LIST_FROM_MEMORY' 
TABLES 
LISTOBJECT = itab_data
EXCEPTIONS 
NOT_FOUND = 1 
OTHERS = 2 
.

Best regards,

Prashant