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

Transfer ALV Output through Function Module

Former Member
0 Likes
633

Hi All,

I have a requirement where I am dealing with two systems.

1) There is a report program which run in ECC Server and it makes an RFC Call to trigger another program in APO Server

2) The target program generates an ALV Output and I just want to bring back the output into ECC system

3) How to achieve this ? How can transport the AVL Output throug the parameters of the RFC Function Module.

Any help/clue on this would be highly appreciated

Thanks,

Babu Kilari

4 REPLIES 4
Read only

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Likes
565

Hello Babu,

Instead of getting the ALV output (i think this is not possible), you can concentrate on getting back the Internal Table which is passed to the ALV func. module.

You can use this table & build the ALV in your system.

Sound simple but you need to check if the RFC FM can be modified to return the internal table.

BR.

Suhas

Read only

Former Member
0 Likes
565

Hi Suhas,

Thanks for the prompt reply.

The problem is the target report is a standard report. I am actually calling the RFC FM from the source system and inside that RFC FM, I am submitting the standard report in the background mode. It generates an ALV. I want that to be brought back to source system.

Thanks,

Babu Kilari

Read only

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Likes
565

Hello Babu,

If you are submitting the standard report in background mode, try this algo:

1. You can export the output list to the ABAP memory using the EXPORTING LIST TO MEMORY.

2. Then get the list details using the FM: LIST_FROM_MEMORY. Return the resultant internal table to your RFC.

Hope this helps.

BR,

Suhas

Read only

Former Member
0 Likes
565

Seems to be a better approach. I will try this

Thanks a lot.