<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic cl_salv_bs_runtime_info is not retriving data from Called program in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-salv-bs-runtime-info-is-not-retriving-data-from-called-program/m-p/12245465#M1985604</link>
    <description>&lt;P&gt;Dear All,&lt;/P&gt;
  &lt;P&gt;I am trying to fetch data from my custom report to another report. Problem is ,the called program is fetching data but not returning in caller program. I tried to debug in CL_SALV_BS_RUNTIME_INFO and found LT_COMPONENT in method GET_DATA_REF is not getting filled and therefore there is no values extracted in Caller program.&lt;/P&gt;
  &lt;P&gt;Here is the code.&lt;/P&gt; 
  &lt;PRE&gt;&lt;CODE&gt;cl_salv_bs_runtime_info=&amp;gt;set( EXPORTING display  = abap_false                                        metadata = abap_false
data     = abap_true ).
SUBMIT ztest1   WITH  so_bukrs IN so_bukrs
                WITH  so_fkdat IN so_fkdat         
                WITH  so_vbeln IN so_vbeln          
                EXPORTING LIST TO MEMORY
                AND RETURN.
  TRY.
      cl_salv_bs_runtime_info=&amp;gt;get_data_ref( IMPORTING r_data = lr_pay_data1 ).
      ASSIGN lr_pay_data1-&amp;gt;* TO &amp;lt;lt_pay_data1&amp;gt;.
      CATCH cx_salv_bs_sc_runtime_info.
      MESSAGE 'Unable to retrieve ALV data' TYPE 'E'.
  ENDTRY.

&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Mon, 12 Oct 2020 05:17:12 GMT</pubDate>
    <dc:creator>former_member308418</dc:creator>
    <dc:date>2020-10-12T05:17:12Z</dc:date>
    <item>
      <title>cl_salv_bs_runtime_info is not retriving data from Called program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-salv-bs-runtime-info-is-not-retriving-data-from-called-program/m-p/12245465#M1985604</link>
      <description>&lt;P&gt;Dear All,&lt;/P&gt;
  &lt;P&gt;I am trying to fetch data from my custom report to another report. Problem is ,the called program is fetching data but not returning in caller program. I tried to debug in CL_SALV_BS_RUNTIME_INFO and found LT_COMPONENT in method GET_DATA_REF is not getting filled and therefore there is no values extracted in Caller program.&lt;/P&gt;
  &lt;P&gt;Here is the code.&lt;/P&gt; 
  &lt;PRE&gt;&lt;CODE&gt;cl_salv_bs_runtime_info=&amp;gt;set( EXPORTING display  = abap_false                                        metadata = abap_false
data     = abap_true ).
SUBMIT ztest1   WITH  so_bukrs IN so_bukrs
                WITH  so_fkdat IN so_fkdat         
                WITH  so_vbeln IN so_vbeln          
                EXPORTING LIST TO MEMORY
                AND RETURN.
  TRY.
      cl_salv_bs_runtime_info=&amp;gt;get_data_ref( IMPORTING r_data = lr_pay_data1 ).
      ASSIGN lr_pay_data1-&amp;gt;* TO &amp;lt;lt_pay_data1&amp;gt;.
      CATCH cx_salv_bs_sc_runtime_info.
      MESSAGE 'Unable to retrieve ALV data' TYPE 'E'.
  ENDTRY.

&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 12 Oct 2020 05:17:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cl-salv-bs-runtime-info-is-not-retriving-data-from-called-program/m-p/12245465#M1985604</guid>
      <dc:creator>former_member308418</dc:creator>
      <dc:date>2020-10-12T05:17:12Z</dc:date>
    </item>
    <item>
      <title>Re: cl_salv_bs_runtime_info is not retriving data from Called program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-salv-bs-runtime-info-is-not-retriving-data-from-called-program/m-p/12245466#M1985605</link>
      <description>&lt;P&gt;Could you give informations about ZTEST1 program ?&lt;/P&gt;</description>
      <pubDate>Mon, 12 Oct 2020 05:33:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cl-salv-bs-runtime-info-is-not-retriving-data-from-called-program/m-p/12245466#M1985605</guid>
      <dc:creator>FredericGirod</dc:creator>
      <dc:date>2020-10-12T05:33:08Z</dc:date>
    </item>
    <item>
      <title>Re: cl_salv_bs_runtime_info is not retriving data from Called program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-salv-bs-runtime-info-is-not-retriving-data-from-called-program/m-p/12245467#M1985606</link>
      <description>&lt;P&gt;Dear Frederic Girod,&lt;/P&gt;&lt;P&gt;Thanks for your reply. ZTEST1 is an ALV report which also have other SUBMIT report(custom) inside that. &lt;/P&gt;&lt;P&gt;I am getting data from this report. Can also see output if comment on line EXPORT LIST TO MEMORY. But this class cl_salv_bs_runtime is not populating components. &lt;/P&gt;</description>
      <pubDate>Mon, 12 Oct 2020 05:46:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cl-salv-bs-runtime-info-is-not-retriving-data-from-called-program/m-p/12245467#M1985606</guid>
      <dc:creator>former_member308418</dc:creator>
      <dc:date>2020-10-12T05:46:48Z</dc:date>
    </item>
    <item>
      <title>Re: cl_salv_bs_runtime_info is not retriving data from Called program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-salv-bs-runtime-info-is-not-retriving-data-from-called-program/m-p/12245468#M1985607</link>
      <description>&lt;P&gt;Could you give information about ZTEST1 and "report(custom)" program how they generate the ALV, what type of ALV?&lt;/P&gt;&lt;P&gt;NB: if you have a problem, you should simplify the problem to the minimum. Here you have 2 programs. Try with only 1 program. Does it work?&lt;/P&gt;</description>
      <pubDate>Mon, 12 Oct 2020 09:51:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cl-salv-bs-runtime-info-is-not-retriving-data-from-called-program/m-p/12245468#M1985607</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2020-10-12T09:51:34Z</dc:date>
    </item>
    <item>
      <title>Re: cl_salv_bs_runtime_info is not retriving data from Called program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-salv-bs-runtime-info-is-not-retriving-data-from-called-program/m-p/12245469#M1985608</link>
      <description>&lt;P&gt;Dear Rossi,&lt;/P&gt;&lt;P&gt;I am using Custom container for ALV in ZTEST1 and the SUBMIT report using in ZTEST1 also have same ALV type. Those are working fine. Actually ZTEST1 is a big report. I just need to use the output of that report in my new program. I can try with only one program but that also needs huge changes in both programs. &lt;/P&gt;&lt;P&gt;Please see, if I use FM  LIST_FROM_MEMORY, i am getting data but i need to get those data in internal table. Also I have doubt that I cannot get large volume of data using this FM.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Oct 2020 10:00:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cl-salv-bs-runtime-info-is-not-retriving-data-from-called-program/m-p/12245469#M1985608</guid>
      <dc:creator>former_member308418</dc:creator>
      <dc:date>2020-10-12T10:00:42Z</dc:date>
    </item>
    <item>
      <title>Re: cl_salv_bs_runtime_info is not retriving data from Called program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-salv-bs-runtime-info-is-not-retriving-data-from-called-program/m-p/12245470#M1985609</link>
      <description>&lt;P&gt;As the problem is solved, i'm closing the thread. Thanks Sandra Rossi for your idea of simplification. &lt;/P&gt;&lt;P&gt;Best regards.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Oct 2020 02:52:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cl-salv-bs-runtime-info-is-not-retriving-data-from-called-program/m-p/12245470#M1985609</guid>
      <dc:creator>former_member308418</dc:creator>
      <dc:date>2020-10-13T02:52:47Z</dc:date>
    </item>
  </channel>
</rss>

