<?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 item text element in BAPI_SALESORDER_CREATEFROMDAT2 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/item-text-element-in-bapi-salesorder-createfromdat2/m-p/3974420#M949280</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created a ABAP-Program to create sales-orders with the function module:&lt;/P&gt;&lt;P&gt;BAPI_SALESORDER_CREATEFROMDAT2&lt;/P&gt;&lt;P&gt;I am not able to  create text-elements (from the item) with this bapi.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anybody help me?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Jun 2008 11:31:26 GMT</pubDate>
    <dc:creator>tanuja_wa</dc:creator>
    <dc:date>2008-06-18T11:31:26Z</dc:date>
    <item>
      <title>item text element in BAPI_SALESORDER_CREATEFROMDAT2</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/item-text-element-in-bapi-salesorder-createfromdat2/m-p/3974420#M949280</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created a ABAP-Program to create sales-orders with the function module:&lt;/P&gt;&lt;P&gt;BAPI_SALESORDER_CREATEFROMDAT2&lt;/P&gt;&lt;P&gt;I am not able to  create text-elements (from the item) with this bapi.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anybody help me?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jun 2008 11:31:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/item-text-element-in-bapi-salesorder-createfromdat2/m-p/3974420#M949280</guid>
      <dc:creator>tanuja_wa</dc:creator>
      <dc:date>2008-06-18T11:31:26Z</dc:date>
    </item>
    <item>
      <title>Re: item text element in BAPI_SALESORDER_CREATEFROMDAT2</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/item-text-element-in-bapi-salesorder-createfromdat2/m-p/3974421#M949281</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;with the BAPI we can't load the Texts. Use the FMs SAVE_TEXT or CREATE_TEXT to load the texts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Rajinikanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jun 2008 11:35:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/item-text-element-in-bapi-salesorder-createfromdat2/m-p/3974421#M949281</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-18T11:35:31Z</dc:date>
    </item>
    <item>
      <title>Re: item text element in BAPI_SALESORDER_CREATEFROMDAT2</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/item-text-element-in-bapi-salesorder-createfromdat2/m-p/3974422#M949282</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are your Customization in place ? Try to create TEXT via VA01.If you are able to then can u copy paste the code. Also you can try SD_SALESDOCUMENT_CREATE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Saket Sharma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jun 2008 11:39:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/item-text-element-in-bapi-salesorder-createfromdat2/m-p/3974422#M949282</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-18T11:39:04Z</dc:date>
    </item>
    <item>
      <title>Re: item text element in BAPI_SALESORDER_CREATEFROMDAT2</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/item-text-element-in-bapi-salesorder-createfromdat2/m-p/3974423#M949283</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Say for example you have all details in an internal table t_sales_text and t_sales_header.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For doing this you should know the Text ID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LOOP AT t_sales_text WHERE ind = t_sales_header-ind.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    IF t_sales_text-itm_number not initial.&lt;/P&gt;&lt;P&gt;      MOVE t_sales_text-itm_number TO  wa_bapi_text-itm_number.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    IF t_sales_text-text_id not initial.&lt;/P&gt;&lt;P&gt;      MOVE t_sales_text-text_id    TO  wa_bapi_text-text_id.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    MOVE sy-langu                TO wa_bapi_text-langu.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    IF t_sales_text-text_line not initial.&lt;/P&gt;&lt;P&gt;      MOVE t_sales_text-text_line  TO  wa_bapi_text-text_line.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    APPEND wa_bapi_text TO t_bapi_text.&lt;/P&gt;&lt;P&gt;    CLEAR wa_bapi_text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after appending the records to t_bapi_text, pass this table to the BAPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'BAPI_SALESORDER_CREATEFROMDAT2'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;    order_header_in               = wa_bapi_header&lt;/P&gt;&lt;P&gt;    order_header_inx              = wa_bapi_header_inx&lt;/P&gt;&lt;P&gt;   IMPORTING&lt;/P&gt;&lt;P&gt;    salesdocument                 = w_vbeln&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;    return                        = t_return&lt;/P&gt;&lt;P&gt;    order_items_in                = t_bapi_items&lt;/P&gt;&lt;P&gt;    order_items_inx               = t_bapi_item_inx&lt;/P&gt;&lt;P&gt;    order_partners                = t_bapi_partner&lt;/P&gt;&lt;P&gt;    order_schedules_in            = t_bapi_schedule&lt;/P&gt;&lt;P&gt;    order_schedules_inx           = t_bapi_schedule_inx&lt;/P&gt;&lt;P&gt;    order_text                    = t_bapi_text.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jun 2008 11:41:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/item-text-element-in-bapi-salesorder-createfromdat2/m-p/3974423#M949283</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-18T11:41:22Z</dc:date>
    </item>
  </channel>
</rss>

