<?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 MB5B Report in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/mb5b-report/m-p/12420825#M1997166</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
  &lt;P&gt;My requirements is, Calling MB5B in custom report and add a extra column in custom report and display the all MB5B tcode values in report.&lt;/P&gt;
  &lt;P&gt;Please help me out with the logic,&lt;/P&gt;
  &lt;P&gt;Thanks and Regards,&lt;/P&gt;
  &lt;P&gt;Lakshmi N&lt;/P&gt;</description>
    <pubDate>Wed, 12 May 2021 08:43:42 GMT</pubDate>
    <dc:creator>former_member737648</dc:creator>
    <dc:date>2021-05-12T08:43:42Z</dc:date>
    <item>
      <title>MB5B Report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/mb5b-report/m-p/12420825#M1997166</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
  &lt;P&gt;My requirements is, Calling MB5B in custom report and add a extra column in custom report and display the all MB5B tcode values in report.&lt;/P&gt;
  &lt;P&gt;Please help me out with the logic,&lt;/P&gt;
  &lt;P&gt;Thanks and Regards,&lt;/P&gt;
  &lt;P&gt;Lakshmi N&lt;/P&gt;</description>
      <pubDate>Wed, 12 May 2021 08:43:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/mb5b-report/m-p/12420825#M1997166</guid>
      <dc:creator>former_member737648</dc:creator>
      <dc:date>2021-05-12T08:43:42Z</dc:date>
    </item>
    <item>
      <title>Re: MB5B Report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/mb5b-report/m-p/12420826#M1997167</link>
      <description>&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;This can be addressed by submit code please find the sample code below...&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;  DATA: gr_table TYPE REF TO   data,
        gt_line  TYPE REF TO   data.

  FIELD-SYMBOLS: &amp;lt;gt_table&amp;gt; TYPE STANDARD TABLE,
                 &amp;lt;gt_tline&amp;gt; TYPE any.

  cl_salv_bs_runtime_info=&amp;gt;set(
      EXPORTING display  = abap_false
                metadata = abap_false
                data     = abap_true ).

*  FREE MEMORY ID sy-uname.
  SUBMIT rm07mlbd EXPORTING LIST TO MEMORY WITH matnr IN s_matnr " MatNo
                      WITH werks  IN s_werks            " Plant
                      WITH bukrs EQ 'XXXX'           " Company Code
                      WITH mtart  IN s_mtart          " Material type
                      WITH lgort  IN s_lgort  " Storage Location
                      WITH datum  IN s_budat " Selection Date
                    WITH lgbst  EQ 'X'   " Storage Loc/ Batch Stock
                      WITH bwbst  EQ ' '  " Valuated Stock
                    WITH sbbst  EQ ' '   " Special Stock
                    WITH pa_sumfl EQ 'X' " totals only - non heir rep
*                    WITH XCHAR EQ ' '
*                    WITH XNOMCHB EQ ' '
*                   WITH XCHAR EQ XCHAR " only matls handled in batches
*                   WITH XNOMCHB EQ XNOMCHB " also batches w/o stk seg
                      AND RETURN.

  TRY.
      cl_salv_bs_runtime_info=&amp;gt;get_data_ref(
        IMPORTING r_data      = gr_table ).
      ASSIGN gr_table-&amp;gt;* TO &amp;lt;gt_table&amp;gt;.
    CATCH cx_salv_bs_sc_runtime_info.
      MESSAGE: text-m01 TYPE 'S' DISPLAY LIKE 'E'.
      LEAVE LIST-PROCESSING.
  ENDTRY.

  cl_salv_bs_runtime_info=&amp;gt;clear_all( ).
  IF &amp;lt;gt_table&amp;gt;[] IS ASSIGNED.

  ENDIF.

 
  CREATE DATA gt_line LIKE LINE OF &amp;lt;gt_table&amp;gt;.
  ASSIGN gt_line-&amp;gt;* TO &amp;lt;gt_tline&amp;gt;.

    LOOP AT &amp;lt;gt_table&amp;gt; INTO &amp;lt;gt_tline&amp;gt;.
    MOVE-CORRESPONDING &amp;lt;gt_tline&amp;gt; TO wa_final.
     APPEND wa_final TO it_final.
    endloop.


&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 12 May 2021 10:40:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/mb5b-report/m-p/12420826#M1997167</guid>
      <dc:creator>Abinathsiva</dc:creator>
      <dc:date>2021-05-12T10:40:44Z</dc:date>
    </item>
    <item>
      <title>Re: MB5B Report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/mb5b-report/m-p/12420827#M1997168</link>
      <description>&lt;P&gt;More detailed information about this technique can be found in the following blog article: &lt;/P&gt;&lt;P&gt;&lt;A href="https://blogs.sap.com/2011/07/07/gain-programmatic-access-to-data-of-sapgui-alv-reports/" target="_blank"&gt;Gain Programmatic Access to Data of SAPGUI ALV Reports&lt;/A&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Bartosz&lt;/P&gt;</description>
      <pubDate>Wed, 12 May 2021 10:46:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/mb5b-report/m-p/12420827#M1997168</guid>
      <dc:creator>ziolkowskib</dc:creator>
      <dc:date>2021-05-12T10:46:14Z</dc:date>
    </item>
    <item>
      <title>Re: MB5B Report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/mb5b-report/m-p/12420828#M1997169</link>
      <description>&lt;P&gt;Actully code as not working as of now.&lt;/P&gt;</description>
      <pubDate>Wed, 12 May 2021 11:52:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/mb5b-report/m-p/12420828#M1997169</guid>
      <dc:creator>former_member737648</dc:creator>
      <dc:date>2021-05-12T11:52:31Z</dc:date>
    </item>
  </channel>
</rss>

