<?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 FM SD_DELIVERY_VIEW in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-sd-delivery-view/m-p/2556744#M582771</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This FM &lt;/P&gt;&lt;P&gt;is a very useful one. But it doesn't provide&lt;/P&gt;&lt;P&gt;any entries  in the tables. They are just empty&lt;/P&gt;&lt;P&gt;when I call it as below shown:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These tables are totaly empty, what is wrong ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;VBDKL&lt;/P&gt;&lt;P&gt;VBDPL&lt;/P&gt;&lt;P&gt;VBPLK&lt;/P&gt;&lt;P&gt;VBPLP&lt;/P&gt;&lt;P&gt;VBPLS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ilhan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;*Prog

data: COMWA type VBCO3,
      VBPLA type VBPLA,
      VBDKL type  VBDKL occurs 0 with header line,
      VBDPL type  VBDPL occurs 0 with header line,
      VBPLK type  VBPLK occurs 0 with header line,
      VBPLP type  VBPLP occurs 0 with header line,
      VBPLS type  VBPLS occurs 0 with header line.

data gv_vbeln type vttp-vbeln.
data gv_venum type vepo-venum.      


select single vbeln from vttp into gv_vbeln
                    where TKNUM = gw_vttk-tknum.
select single venum from vepo into gv_venum
                    where VBELN = gv_vbeln.

COMWA-VENUM = gv_venum.
COMWA-MANDT = sy-mandt.
COMWA-SPRAS = sy-langu.
COMWA-TKNUM = gw_vttk-tknum.

VBPLP-VENUM = gv_venum.
append VBPLP.


  CALL FUNCTION 'SD_DELIVERY_VIEW'
  EXPORTING
    COMWA                         = COMWA
*   AUFTRAG_NICHT_LESEN           = ' '
*   EXPORTDATEN_NICHT_LESEN       = ' '
*   GEFAHRGUT_NICHT_LESEN         = ' '
*   EDI                           = ' '
 IMPORTING
     VBPLA_WA                      =  VBPLA
  TABLES
    VBDKL_TAB                     = VBDKL
    VBDPL_TAB                     = VBDPL
    VBPLK_TAB                     = VBPLK
    VBPLP_TAB                     = VBPLP
    VBPLS_TAB                     = VBPLS
* EXCEPTIONS
*   OBJECT_NOT_FOUND              = 1
*   OTHERS                        = 2
          .
IF SY-SUBRC &amp;lt;&amp;gt; 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 Jul 2007 07:52:11 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-07-09T07:52:11Z</dc:date>
    <item>
      <title>FM SD_DELIVERY_VIEW</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-sd-delivery-view/m-p/2556744#M582771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This FM &lt;/P&gt;&lt;P&gt;is a very useful one. But it doesn't provide&lt;/P&gt;&lt;P&gt;any entries  in the tables. They are just empty&lt;/P&gt;&lt;P&gt;when I call it as below shown:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These tables are totaly empty, what is wrong ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;VBDKL&lt;/P&gt;&lt;P&gt;VBDPL&lt;/P&gt;&lt;P&gt;VBPLK&lt;/P&gt;&lt;P&gt;VBPLP&lt;/P&gt;&lt;P&gt;VBPLS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ilhan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;*Prog

data: COMWA type VBCO3,
      VBPLA type VBPLA,
      VBDKL type  VBDKL occurs 0 with header line,
      VBDPL type  VBDPL occurs 0 with header line,
      VBPLK type  VBPLK occurs 0 with header line,
      VBPLP type  VBPLP occurs 0 with header line,
      VBPLS type  VBPLS occurs 0 with header line.

data gv_vbeln type vttp-vbeln.
data gv_venum type vepo-venum.      


select single vbeln from vttp into gv_vbeln
                    where TKNUM = gw_vttk-tknum.
select single venum from vepo into gv_venum
                    where VBELN = gv_vbeln.

COMWA-VENUM = gv_venum.
COMWA-MANDT = sy-mandt.
COMWA-SPRAS = sy-langu.
COMWA-TKNUM = gw_vttk-tknum.

VBPLP-VENUM = gv_venum.
append VBPLP.


  CALL FUNCTION 'SD_DELIVERY_VIEW'
  EXPORTING
    COMWA                         = COMWA
*   AUFTRAG_NICHT_LESEN           = ' '
*   EXPORTDATEN_NICHT_LESEN       = ' '
*   GEFAHRGUT_NICHT_LESEN         = ' '
*   EDI                           = ' '
 IMPORTING
     VBPLA_WA                      =  VBPLA
  TABLES
    VBDKL_TAB                     = VBDKL
    VBDPL_TAB                     = VBDPL
    VBPLK_TAB                     = VBPLK
    VBPLP_TAB                     = VBPLP
    VBPLS_TAB                     = VBPLS
* EXCEPTIONS
*   OBJECT_NOT_FOUND              = 1
*   OTHERS                        = 2
          .
IF SY-SUBRC &amp;lt;&amp;gt; 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jul 2007 07:52:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-sd-delivery-view/m-p/2556744#M582771</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-09T07:52:11Z</dc:date>
    </item>
    <item>
      <title>Re: FM SD_DELIVERY_VIEW</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-sd-delivery-view/m-p/2556745#M582772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Enter delivery number in COMWA-VBELN. Check where-used list of this FM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jul 2007 08:09:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-sd-delivery-view/m-p/2556745#M582772</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-09T08:09:59Z</dc:date>
    </item>
    <item>
      <title>Re: FM SD_DELIVERY_VIEW</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-sd-delivery-view/m-p/2556746#M582773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much, but it didn' t help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is the same as before.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ilhan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jul 2007 08:38:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-sd-delivery-view/m-p/2556746#M582773</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-09T08:38:44Z</dc:date>
    </item>
    <item>
      <title>Re: FM SD_DELIVERY_VIEW</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-sd-delivery-view/m-p/2556747#M582774</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you just enter delivery number and language then it will return you delivery info,&lt;/P&gt;&lt;P&gt;try it directly with test function in SE37.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jul 2007 08:51:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-sd-delivery-view/m-p/2556747#M582774</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-09T08:51:10Z</dc:date>
    </item>
  </channel>
</rss>

