<?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 function module when used should not display ALV in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-when-used-should-not-display-alv/m-p/7276461#M1530902</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;All ABAP Gurus&lt;/P&gt;&lt;P&gt;I want to use a function module WS_DELIVERY_MONITOR which should give the VBELN on the basis of CHARG in internal table so that on the basis of VBELN I can fulfil further requirement and display the final output in ALV.&lt;/P&gt;&lt;P&gt;But this function module when executed display an ALV.&lt;/P&gt;&lt;P&gt;My requirement is that it should retrieve all the VBELN on the basis of CHARG (which is in the internal table and is passed to the function module) in an internal table and do not display the ALV so that when all the VBELN come in internal table then I can perform further calculation.&lt;/P&gt;&lt;P&gt;Please guide me in this matter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Bharti Jain&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 06 Sep 2010 06:59:59 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-09-06T06:59:59Z</dc:date>
    <item>
      <title>function module when used should not display ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-when-used-should-not-display-alv/m-p/7276461#M1530902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;All ABAP Gurus&lt;/P&gt;&lt;P&gt;I want to use a function module WS_DELIVERY_MONITOR which should give the VBELN on the basis of CHARG in internal table so that on the basis of VBELN I can fulfil further requirement and display the final output in ALV.&lt;/P&gt;&lt;P&gt;But this function module when executed display an ALV.&lt;/P&gt;&lt;P&gt;My requirement is that it should retrieve all the VBELN on the basis of CHARG (which is in the internal table and is passed to the function module) in an internal table and do not display the ALV so that when all the VBELN come in internal table then I can perform further calculation.&lt;/P&gt;&lt;P&gt;Please guide me in this matter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Bharti Jain&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Sep 2010 06:59:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-when-used-should-not-display-alv/m-p/7276461#M1530902</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-06T06:59:59Z</dc:date>
    </item>
    <item>
      <title>Re: function module when used should not display ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-when-used-should-not-display-alv/m-p/7276462#M1530903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bharti,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please try calling FM 'WS_LM_DATA_SELECTION' instead. This FM is callled inside main FM 'WS_DELIVERY_MONITOR' and is used to fetch data. You will only need to fill extra import parameter for using  this FM ( if_flag_inbound) and two changing tables  (lt_postab) and  ( lt_postab_kodat), which will have results. 'if_flag_inbound' field will be having value X for all inbound cases.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have used the same FM to get open deliveries:&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'WS_LM_DATA_SELECTION'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      if_proctype                 = c_proc_type_f&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      it_matnr                    = i_deliv_matnr&lt;/P&gt;&lt;P&gt;      it_lgort                    = i_deliv_lgort&lt;/P&gt;&lt;P&gt;      it_lfart                    = i_deliv_type&lt;/P&gt;&lt;P&gt;      it_kostk                    = i_deliv_kostk&lt;/P&gt;&lt;P&gt;      it_wbstk                    = i_deliv_wbstk&lt;/P&gt;&lt;P&gt;      ct_postab                   = i_deliv_nos&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    CT_POSTAB_KODAT             =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      no_data_found               = 1&lt;/P&gt;&lt;P&gt;      wrong_proc_type             = 2&lt;/P&gt;&lt;P&gt;      OTHERS                      = 3 .&lt;/P&gt;&lt;P&gt;  IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;**-Calculate open delivery quantity&lt;/P&gt;&lt;P&gt;    LOOP AT i_deliv_nos INTO wa_deliv_nos&lt;/P&gt;&lt;P&gt;                             WHERE NOT posnr IS INITIAL.&lt;/P&gt;&lt;P&gt;      pc_open_deliv_qty = pc_open_deliv_qty + wa_deliv_nos-lfimg.&lt;/P&gt;&lt;P&gt;    ENDLOOP.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;removed by moderator&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Thomas Zloch on Sep 7, 2010 9:06 AM - &lt;STRONG&gt;please do not ask for ...&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Sep 2010 12:47:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-when-used-should-not-display-alv/m-p/7276462#M1530903</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-06T12:47:18Z</dc:date>
    </item>
    <item>
      <title>Re: function module when used should not display ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-when-used-should-not-display-alv/m-p/7276463#M1530904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for posting the suggestion.The issue has been resolved&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Oct 2010 02:56:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-when-used-should-not-display-alv/m-p/7276463#M1530904</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-13T02:56:36Z</dc:date>
    </item>
  </channel>
</rss>

