<?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 Adding Texts in BDC in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-texts-in-bdc/m-p/1073611#M95624</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created sales order using BDC. Now I want to include the texts in the header data. How can I include the item texts in BDC? can anyone send me sample code if available.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Raj.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Dec 2005 13:34:16 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-12-09T13:34:16Z</dc:date>
    <item>
      <title>Adding Texts in BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-texts-in-bdc/m-p/1073611#M95624</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created sales order using BDC. Now I want to include the texts in the header data. How can I include the item texts in BDC? can anyone send me sample code if available.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Raj.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Dec 2005 13:34:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-texts-in-bdc/m-p/1073611#M95624</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-09T13:34:16Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Texts in BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-texts-in-bdc/m-p/1073612#M95625</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raj,&lt;/P&gt;&lt;P&gt;   You cannot achieve that using BDC.&lt;/P&gt;&lt;P&gt;Instead use, 'SAVE_TEXT' function module.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vamsi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Dec 2005 13:36:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-texts-in-bdc/m-p/1073612#M95625</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-09T13:36:27Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Texts in BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-texts-in-bdc/m-p/1073613#M95626</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Find out what text object/id that the long text uses in that particular transaction.   You can view text objects/id in transaction code SE75.   Then use SAVE_TEXT to save the long text to the object/id.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Dec 2005 13:46:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-texts-in-bdc/m-p/1073613#M95626</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2005-12-09T13:46:04Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Texts in BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-texts-in-bdc/m-p/1073614#M95627</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vamshi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've already created a BDC program for the sales order. Can't I call this function module in my BDC program? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Raj.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Dec 2005 13:48:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-texts-in-bdc/m-p/1073614#M95627</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-09T13:48:02Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Texts in BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-texts-in-bdc/m-p/1073615#M95628</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raj,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this link for adding structure to ur program.&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_erp2005/helpdata/en/fa/0970a4543b11d1898e0000e8322d00/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_erp2005/helpdata/en/fa/0970a4543b11d1898e0000e8322d00/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Hope this helps u,&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nagarajan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Dec 2005 13:58:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-texts-in-bdc/m-p/1073615#M95628</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-09T13:58:24Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Texts in BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-texts-in-bdc/m-p/1073616#M95629</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;there are 2 function modules, which we use to read text &amp;amp; save the text.&lt;/P&gt;&lt;P&gt;1. READ_TEXT&lt;/P&gt;&lt;P&gt;for this you have to pass the below fields to the fm&lt;/P&gt;&lt;P&gt;ID&lt;/P&gt;&lt;P&gt;LANGUAGE&lt;/P&gt;&lt;P&gt;NAME&lt;/P&gt;&lt;P&gt;OBJECT&lt;/P&gt;&lt;P&gt;and you will get already stored text for this ID into the LINES internal table.&lt;/P&gt;&lt;P&gt;the above values for ID,NAME,OBJECT etc. you can find in the transaction.&lt;/P&gt;&lt;P&gt;for example: for delivery,goto header-&amp;gt; texts -&amp;gt; select the text you want to proceed -&amp;gt;select DETAIL -&amp;gt;&lt;/P&gt;&lt;P&gt;you will see a new screen .there in the menu GOTO -&amp;gt; header .&lt;/P&gt;&lt;P&gt;here you can find all the required fields to pass to the function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. SAVE_TEXT&lt;/P&gt;&lt;P&gt;for this what data you have to process first store in LINES internal table.but remember this function module will overwrite existing text,if it exists.so first get the records by using READ_TEXT . append ur lines to that then finally call this FM.&lt;/P&gt;&lt;P&gt;SAVEMODE_DIRECT set this field to X ,sothat changes will reflect immediately.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE: dont call SAVE_TEXT directly, this will over write existing text,if any there.so first call Read_text &amp;amp; then append ur new text to this &amp;amp; finally call save_text sothat this will not disturb any existing texts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;place this function modules call after checking sy-subrc = 0.&lt;/P&gt;&lt;P&gt;i.e. call transaction success, then populate this text &amp;amp; store it .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Dec 2005 14:03:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-texts-in-bdc/m-p/1073616#M95629</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-09T14:03:04Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Texts in BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-texts-in-bdc/m-p/1073617#M95630</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or you could bypass the BDC all together and use the BAPI - BAPI_SALESORDER_CREATEFROMDAT2.  It has text(s) tables that you can fill and it will create the text as you create the order. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Terry&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Dec 2005 14:32:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-texts-in-bdc/m-p/1073617#M95630</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-09T14:32:59Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Texts in BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-texts-in-bdc/m-p/1073618#M95631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What you would do is do the BDC first,  make sure that it is successful by checking sy-subrc,  then call the save_text function module giving the object/id/name and the text to be saved. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Dec 2005 14:36:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-texts-in-bdc/m-p/1073618#M95631</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2005-12-09T14:36:40Z</dc:date>
    </item>
  </channel>
</rss>

