<?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 BBP_INB_DELIVERY_CREATE in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-bbp-inb-delivery-create/m-p/1965518#M396584</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Amit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How are you calling RFC bbp_inb_delivery_create from your RF TCODE. Could you please provide the code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Feb 2007 13:20:28 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-02-07T13:20:28Z</dc:date>
    <item>
      <title>Problem with BBP_INB_DELIVERY_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-bbp-inb-delivery-create/m-p/1965517#M396583</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gurus.&lt;/P&gt;&lt;P&gt;Please let me know the solution for the below problem,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created a RF transaction for creating an inbound delivery, then this delivery will be added to the original shipment. I am using the function module bbp_inb_delivery_create. This RF transaction is working fine when executed as a standalone application. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This RF transaction will be called by some other Z RF transaction, we are doing it thru a BDC. If my RF TCODE is executed in background mode then the function module bbp_inb_delivery_create throwing me back to the called program not allowing me to do the other processess.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Its just creating a new delivery and going back to the program from where this was called, not allowing me to add the delivery to the shipment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know what is the solution for this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks well in advance.&lt;/P&gt;&lt;P&gt;Amit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Feb 2007 13:17:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-bbp-inb-delivery-create/m-p/1965517#M396583</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-07T13:17:15Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with BBP_INB_DELIVERY_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-bbp-inb-delivery-create/m-p/1965518#M396584</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Amit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How are you calling RFC bbp_inb_delivery_create from your RF TCODE. Could you please provide the code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Feb 2007 13:20:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-bbp-inb-delivery-create/m-p/1965518#M396584</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-07T13:20:28Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with BBP_INB_DELIVERY_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-bbp-inb-delivery-create/m-p/1965519#M396585</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rahul&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have given the extract of the code below&lt;/P&gt;&lt;P&gt;I am calling this RFC at the PAI event after checking some conditions, reading the delivery details using the RFC bbp_inb_delivery_getdetails.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA : lit_data LIKE bbp_inbd_d OCCURS 0 WITH HEADER LINE,&lt;/P&gt;&lt;P&gt;           lv_billoflad  TYPE likp-bolnr,&lt;/P&gt;&lt;P&gt;           lv_delivery   TYPE likp-vbeln.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CLEAR  : gv_lines,&lt;/P&gt;&lt;P&gt;             gwa_data,&lt;/P&gt;&lt;P&gt;             git_ret.&lt;/P&gt;&lt;P&gt;    REFRESH: git_ret.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    READ TABLE git_data INTO gwa_data INDEX 1.&lt;/P&gt;&lt;P&gt;    IF sy-subrc EQ 0.&lt;/P&gt;&lt;P&gt;      MOVE : gwa_data-material  TO lit_data-material,&lt;/P&gt;&lt;P&gt;             gwa_data-vend_mat  TO lit_data-vend_mat,&lt;/P&gt;&lt;P&gt;             gwa_data-matl_desc TO lit_data-matl_desc,&lt;/P&gt;&lt;P&gt;             i_split            TO lit_data-deliv_qty,&lt;/P&gt;&lt;P&gt;             gwa_data-unit      TO lit_data-unit,&lt;/P&gt;&lt;P&gt;             gwa_data-po_number TO lit_data-po_number,&lt;/P&gt;&lt;P&gt;             gwa_data-po_item   TO lit_data-po_item.&lt;/P&gt;&lt;P&gt;      APPEND lit_data.&lt;/P&gt;&lt;P&gt;      CLEAR  lit_data.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    MOVE : gwa_header-delivery  TO lv_delivery,&lt;/P&gt;&lt;P&gt;           gwa_header-billoflad TO lv_billoflad.&lt;/P&gt;&lt;P&gt;    gwa_header-delivery = ' '.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Inbound delivery create, a copy of BBP_INB_DELIVERY_CREATE&lt;/P&gt;&lt;/LI&gt;&lt;/UL&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 = gwa_header&lt;/P&gt;&lt;P&gt;      IMPORTING&lt;/P&gt;&lt;P&gt;        ef_delivery            = vbeln_new&lt;/P&gt;&lt;P&gt;      TABLES&lt;/P&gt;&lt;P&gt;        it_inb_delivery_detail = lit_data&lt;/P&gt;&lt;P&gt;        return                 = git_ret.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    DESCRIBE TABLE git_ret LINES gv_lines.&lt;/P&gt;&lt;P&gt;    READ TABLE git_ret INDEX gv_lines.&lt;/P&gt;&lt;P&gt;    IF sy-subrc EQ 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      IF git_ret-type = gc_s AND&lt;/P&gt;&lt;P&gt;         git_ret-code = gc_me780.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        subrc = gc_0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Updating Bill of ladding and GR/GI Number&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;        PERFORM sub_update_bolnr USING lv_delivery&lt;/P&gt;&lt;P&gt;                                       lv_billoflad&lt;/P&gt;&lt;P&gt;                                 CHANGING subrc&lt;/P&gt;&lt;P&gt;                                      vbeln_new.&lt;/P&gt;&lt;P&gt;        .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      ELSE.&lt;/P&gt;&lt;P&gt;        subrc = gc_1.&lt;/P&gt;&lt;P&gt;        PERFORM sub_write_message USING git_ret-message_v1&lt;/P&gt;&lt;P&gt;                                        git_ret-code+0(2)&lt;/P&gt;&lt;P&gt;                                        git_ret-code+2(3).&lt;/P&gt;&lt;P&gt;        PERFORM sub_clear_fields.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Amit Hiremath&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Feb 2007 05:56:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-bbp-inb-delivery-create/m-p/1965519#M396585</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-08T05:56:44Z</dc:date>
    </item>
  </channel>
</rss>

