<?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 Re: Problem with creating inbound delivery in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-creating-inbound-delivery/m-p/7649412#M1572983</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem of dump is solved but the delivery number is still not getting generated. The BAPI is executed and sy-subrc is 0. BUt still I am not getting the delivery number.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 Feb 2011 06:22:15 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-02-14T06:22:15Z</dc:date>
    <item>
      <title>Problem with creating inbound delivery</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-creating-inbound-delivery/m-p/7649410#M1572981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My requirement is to create inbound delivery by using FM BBP_INB_DELIVERY_CREATE. But I am not able to successfully execute this FM and it is giving me dump everytime saying length of i_itab2 incorrect. Please help me in solving this issue . My code is as below: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: i_itab TYPE STANDARD TABLE OF bbp_inbd_d,&lt;/P&gt;&lt;P&gt;      wa_itab LIKE LINE OF i_itab,&lt;/P&gt;&lt;P&gt;      return TYPE STANDARD TABLE OF bapireturn,&lt;/P&gt;&lt;P&gt;      wa_return LIKE LINE OF return.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: lv_vendor LIKE bapiekko-vendor,&lt;/P&gt;&lt;P&gt;      lv_po     LIKE bapiekko-po_number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;lv_vendor = '0000100000'.&lt;/P&gt;&lt;P&gt;lv_po     = '4500000000'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'BBP_INBD_CREATE_PO_GETITEM_31I'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    if_vendor                      = lv_vendor&lt;/P&gt;&lt;P&gt;   if_po_number                    = lv_po&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  IF_DELIV_DATE                  =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  IF_DELIV_TIME                  =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  TABLES&lt;/P&gt;&lt;P&gt;    et_inb_d_create_po_detail      = i_itab&lt;/P&gt;&lt;P&gt;    return                         = return&lt;/P&gt;&lt;P&gt;          .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : i_itab2 TYPE TABLE OF bbp_inbd_l,&lt;/P&gt;&lt;P&gt;        wa_itab2 TYPE bbp_inbd_l,&lt;/P&gt;&lt;P&gt;        del LIKE likp-vbeln.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: lv_date(12) type c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'CONVERT_DATE_TO_INTERNAL'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    date_external            = '02/13/2011'&lt;/P&gt;&lt;P&gt;  IMPORTING&lt;/P&gt;&lt;P&gt;    date_internal            = lv_date&lt;/P&gt;&lt;P&gt;  EXCEPTIONS&lt;/P&gt;&lt;P&gt;    date_external_is_invalid = 1&lt;/P&gt;&lt;P&gt;    OTHERS                   = 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MOVE lv_date TO wa_itab2-deliv_date.&lt;/P&gt;&lt;P&gt;APPEND wa_itab2 TO i_itab2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'BBP_INB_DELIVERY_CREATE'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    is_inb_delivery_header = i_itab2&lt;/P&gt;&lt;P&gt;  IMPORTING&lt;/P&gt;&lt;P&gt;    ef_delivery            = del&lt;/P&gt;&lt;P&gt;  TABLES&lt;/P&gt;&lt;P&gt;    it_inb_delivery_detail = i_itab&lt;/P&gt;&lt;P&gt;    return                 = return.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;  WRITE : 'Inbound delivery created'.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 13 Feb 2011 12:43:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-creating-inbound-delivery/m-p/7649410#M1572981</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-02-13T12:43:12Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with creating inbound delivery</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-creating-inbound-delivery/m-p/7649411#M1572982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your i_itab2 is not declared correctly.  The function parameter is a structure, not a table.  Use the work area you declared instead of an internal table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 13 Feb 2011 14:31:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-creating-inbound-delivery/m-p/7649411#M1572982</guid>
      <dc:creator>brad_bohn</dc:creator>
      <dc:date>2011-02-13T14:31:33Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with creating inbound delivery</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-creating-inbound-delivery/m-p/7649412#M1572983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem of dump is solved but the delivery number is still not getting generated. The BAPI is executed and sy-subrc is 0. BUt still I am not getting the delivery number.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Feb 2011 06:22:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-creating-inbound-delivery/m-p/7649412#M1572983</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-02-14T06:22:15Z</dc:date>
    </item>
  </channel>
</rss>

