<?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 BAPI_DELIVERYPROCESSING_EXEC with texts in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-deliveryprocessing-exec-with-texts/m-p/2472763#M556105</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;how do i have to fill the input/output tables TEXT_HEADER and TEXT_LINES to create a header text for a newly created delivery by function module BAPI_DELIVERYPROCESSING_EXEC ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm testing with several values and the delivery is created, but the header text not !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Hans&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 22 Jun 2007 09:37:55 GMT</pubDate>
    <dc:creator>h_senden2</dc:creator>
    <dc:date>2007-06-22T09:37:55Z</dc:date>
    <item>
      <title>BAPI_DELIVERYPROCESSING_EXEC with texts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-deliveryprocessing-exec-with-texts/m-p/2472763#M556105</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;how do i have to fill the input/output tables TEXT_HEADER and TEXT_LINES to create a header text for a newly created delivery by function module BAPI_DELIVERYPROCESSING_EXEC ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm testing with several values and the delivery is created, but the header text not !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Hans&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jun 2007 09:37:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-deliveryprocessing-exec-with-texts/m-p/2472763#M556105</guid>
      <dc:creator>h_senden2</dc:creator>
      <dc:date>2007-06-22T09:37:55Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_DELIVERYPROCESSING_EXEC with texts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-deliveryprocessing-exec-with-texts/m-p/2472764#M556106</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;Have you tested with passing blank values in document number??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pass with out document number to the same function module in TEXT_HEADER with required parameters, i hope it works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Other way is,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First create document and extend with text by using the same BAPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Saida Rao&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jun 2007 09:46:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-deliveryprocessing-exec-with-texts/m-p/2472764#M556106</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-22T09:46:02Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_DELIVERYPROCESSING_EXEC with texts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-deliveryprocessing-exec-with-texts/m-p/2472765#M556107</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; chk this prog which i had taken from one of previous threads&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="---------------------------------------------------" /&gt;&lt;P&gt;REPORT ypat_create_delivery LINE-SIZE 256.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="---------------------------------------------------" /&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Internal Tables&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="---------------------------------------------------" /&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Table to Hold Delivery Request&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;DATA: BEGIN OF tbl_request OCCURS 0.&lt;/P&gt;&lt;P&gt;INCLUDE STRUCTURE bapideliciousrequest.&lt;/P&gt;&lt;P&gt;DATA: END OF tbl_request.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Table to hold Line Items Created&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;DATA: BEGIN OF tbl_items OCCURS 0.&lt;/P&gt;&lt;P&gt;INCLUDE STRUCTURE bapideliciouscreateditems.&lt;/P&gt;&lt;P&gt;DATA: END OF tbl_items.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Table to hold BAPI Return Messages&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;DATA: BEGIN OF tbl_return OCCURS 0.&lt;/P&gt;&lt;P&gt;INCLUDE STRUCTURE bapiret2.&lt;/P&gt;&lt;P&gt;DATA: END OF tbl_return.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="---------------------------------------------------" /&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Structures&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="---------------------------------------------------" /&gt;&lt;P&gt;DATA: st_vbak LIKE vbak,&lt;/P&gt;&lt;P&gt;st_vbap LIKE vbap.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="---------------------------------------------------" /&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Selection Screen&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="---------------------------------------------------" /&gt;&lt;P&gt;PARAMETERS: p_vbeln LIKE vbak-vbeln,&lt;/P&gt;&lt;P&gt;p_posnr LIKE vbap-posnr DEFAULT '000010'.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="---------------------------------------------------" /&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Start of Selection&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="---------------------------------------------------" /&gt;&lt;P&gt;START-OF-SELECTION.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;SELECT SINGLE *&lt;/P&gt;&lt;P&gt;INTO st_vbak&lt;/P&gt;&lt;P&gt;FROM vbak&lt;/P&gt;&lt;P&gt;WHERE vbeln = p_vbeln.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;CHECK sy-subrc EQ 0.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;SELECT SINGLE *&lt;/P&gt;&lt;P&gt;INTO st_vbap&lt;/P&gt;&lt;P&gt;FROM vbap&lt;/P&gt;&lt;P&gt;WHERE vbeln = p_vbeln AND&lt;/P&gt;&lt;P&gt;posnr = p_posnr.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="---------------------------------------------------" /&gt; End of Selection&lt;P&gt;&lt;/P&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="---------------------------------------------------" /&gt;&lt;P&gt;END-OF-SELECTION.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;IF st_vbak IS INITIAL.&lt;/P&gt;&lt;P&gt;WRITE:/ 'Invalid Sales Order'.&lt;/P&gt;&lt;P&gt;EXIT.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;tbl_request-document_numb = st_vbap-vbeln.&lt;/P&gt;&lt;P&gt;tbl_request-document_item = st_vbap-posnr.&lt;/P&gt;&lt;P&gt;tbl_request-ship_to = st_vbak-kunnr.&lt;/P&gt;&lt;P&gt;tbl_request-sold_to = st_vbak-kunnr.&lt;/P&gt;&lt;P&gt;tbl_request-sales_organisation = st_vbak-vkorg.&lt;/P&gt;&lt;P&gt;tbl_request-distribution_channel = st_vbak-vtweg.&lt;/P&gt;&lt;P&gt;tbl_request-division = st_vbak-spart.&lt;/P&gt;&lt;P&gt;tbl_request-plant = st_vbap-werks.&lt;/P&gt;&lt;P&gt;tbl_request-quantity_sales_uom = '1'.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;tbl_request-sales_unit = st_vbap-vrkme.&lt;/P&gt;&lt;P&gt;tbl_request-base_uom = st_vbap-meins.&lt;/P&gt;&lt;P&gt;tbl_request-material = st_vbap-matnr.&lt;/P&gt;&lt;P&gt;tbl_request-delivery_date = st_vbak-bstdk.&lt;/P&gt;&lt;P&gt;tbl_request-delivery_time = '160000'.&lt;/P&gt;&lt;P&gt;tbl_request-transp_plan_date = st_vbak-bstdk.&lt;/P&gt;&lt;P&gt;tbl_request-loading_date = st_vbak-bstdk.&lt;/P&gt;&lt;P&gt;tbl_request-goods_issue_date = st_vbak-bstdk.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;tbl_request-extdelv_no = '98765'.&lt;/P&gt;&lt;P&gt;tbl_request-document_type = 'A'. "Delivery&lt;/P&gt;&lt;P&gt;tbl_request-document_type_predecessor = 'A'. "Sales Ord&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;tbl_request-document_type_delivery = 'LF'.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;APPEND tbl_request.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;CALL FUNCTION 'BAPI_DELIVERYPROCESSING_EXEC'&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;request = tbl_request&lt;/P&gt;&lt;P&gt;createditems = tbl_items&lt;/P&gt;&lt;P&gt;return = tbl_return.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;LOOP AT tbl_return.&lt;/P&gt;&lt;P&gt;WRITE:/ tbl_return-type, &lt;/P&gt;&lt;P&gt;tbl_return-id, &lt;/P&gt;&lt;P&gt;tbl_return-number,&lt;/P&gt;&lt;P&gt;tbl_return-message.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Further info&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="2114489"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://forums.sdn.sap.com/click.jspa?searchID=3361518&amp;amp;messageID=2977359" target="test_blank"&gt;https://forums.sdn.sap.com/click.jspa?searchID=3361518&amp;amp;messageID=2977359&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Reward points&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jun 2007 09:49:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-deliveryprocessing-exec-with-texts/m-p/2472765#M556107</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-22T09:49:24Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_DELIVERYPROCESSING_EXEC with texts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-deliveryprocessing-exec-with-texts/m-p/2472766#M556108</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Saida,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can only pass blank values for the doc.number, because the docnumber is not determined yet ! And that is not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hans&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jun 2007 09:49:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-deliveryprocessing-exec-with-texts/m-p/2472766#M556108</guid>
      <dc:creator>h_senden2</dc:creator>
      <dc:date>2007-06-22T09:49:45Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_DELIVERYPROCESSING_EXEC with texts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-deliveryprocessing-exec-with-texts/m-p/2472767#M556109</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;@skk : if you had read my question, you have see that the delivery is created correctly but the HEADER TEXTS not. In your answer you don't talk about the header text at all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hans&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jun 2007 10:00:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-deliveryprocessing-exec-with-texts/m-p/2472767#M556109</guid>
      <dc:creator>h_senden2</dc:creator>
      <dc:date>2007-06-22T10:00:30Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_DELIVERYPROCESSING_EXEC with texts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-deliveryprocessing-exec-with-texts/m-p/2472768#M556110</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hans,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try to call the BAPI Two times,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;step1: call the bapi and document created through this step you can find out return doucment through return parameters.&lt;/P&gt;&lt;P&gt;Commit it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2step: call again the same bapi for to extend the same document created in step1 by passing document number and texts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it will meet your requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Saida Rao&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jun 2007 10:09:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-deliveryprocessing-exec-with-texts/m-p/2472768#M556110</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-22T10:09:55Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_DELIVERYPROCESSING_EXEC with texts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-deliveryprocessing-exec-with-texts/m-p/2472769#M556111</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;problem solved by myself, by using additional function modules and bapi's&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jun 2007 09:50:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-deliveryprocessing-exec-with-texts/m-p/2472769#M556111</guid>
      <dc:creator>h_senden2</dc:creator>
      <dc:date>2007-06-25T09:50:51Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_DELIVERYPROCESSING_EXEC with texts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-deliveryprocessing-exec-with-texts/m-p/2472770#M556112</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hans,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How did you solved the problem?&lt;/P&gt;&lt;P&gt;Can you explain.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kate&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Aug 2007 15:35:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-deliveryprocessing-exec-with-texts/m-p/2472770#M556112</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-06T15:35:28Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_DELIVERYPROCESSING_EXEC with texts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-deliveryprocessing-exec-with-texts/m-p/2472771#M556113</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 bapi still doesn't work. The solution was to first create the delivery and after that create the text by using the standard text function modules (INIT_TEXT, READ_TEXT, SAVE_TEXT).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Hans&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Aug 2007 06:10:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-deliveryprocessing-exec-with-texts/m-p/2472771#M556113</guid>
      <dc:creator>h_senden2</dc:creator>
      <dc:date>2007-08-07T06:10:02Z</dc:date>
    </item>
  </channel>
</rss>

