Skip to Content

Regarding ALV Output in Memory

Hello Gurus,

I have designed webdynpro component and one method in the view. In the method am calling the Remote FM to get the ALV out put of the other system.

We have 2 systems, sys1 and sys2. I have designed the webdynpro in sys2 and RFC is in sys1. In RFC am using the class called cl_salv_bs_runtime_info and am setting the data of method is true and after that using SUBMIT am fetching the ALV output from the sys1.

Finally, when I am testing the webdynpro component in sys2 it went dump due Field symbol not yet set. I have checked in debugmode and I came to know that the data is not set into Memory.

In sys2 I have executed FM, it is working fine and getting the data into tables parameter. While executing remotely only am facing the problem.

Kindly light me on this issue.

Thanks and Regards,

Muralikrishna Peravali

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Jan 13, 2015 at 03:34 PM


    You may be referring to a requirement similar to this link. The only difference would be a remote system to fetch data and sisplayng in WD ALV.

    The link do mentions the following:

    "The technique described above can be used to access the data of any report program that uses SAPGUI ALV, regardless of the type of ALV. It will work for ALV Grid, ALV List and even Hierarchical ALV List reports but it will obviously not work for reports that output to the GUI using WRITE statements, dynpro table controls or anything other than SAPGUI ALV"

    Can you try creating a Se38 test program in sys2 and checking 'cl_salv_bs_runtime_info' if it's working as expected? Also, is it possible to call the remote FM directly without the use of this class?



    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Muralikrishna Peravali

      Well, I guess it won't work coz when you execute WD application, there is no SAP GUI ALV involved here even though you have written the code to capture the ALV in a RFC enabled FM. This is the reason when you execute the FM directly in SAP Session, you are able to see output but when you execute it through WD Application, you getting dump.

      Users accessing WD applications at runtime, may or may not have access to SAP GUI (they would not be required to access to SAP system directly) which is nothing but why we generally use WD.