<?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: BDC program - how to save data for TEXT 'special fields' in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-program-how-to-save-data-for-text-special-fields/m-p/2185558#M465308</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;as others have pointed out you need to use fm SAVE_text to do this sort of thing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The key parameters to pass are:&lt;/P&gt;&lt;P&gt;ID                     'BEST'                    &lt;/P&gt;&lt;P&gt;NAME               the material number with leading zeros to the ull 18 chars      &lt;/P&gt;&lt;P&gt;OBJECT            'MATERIAL'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try and use fm read_text for another materail which has such a text to get an idea...or put a break-point in 'read_text' and do MM03 on such a material.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 07 May 2007 03:00:19 GMT</pubDate>
    <dc:creator>former_member186741</dc:creator>
    <dc:date>2007-05-07T03:00:19Z</dc:date>
    <item>
      <title>BDC program - how to save data for TEXT 'special fields'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-program-how-to-save-data-for-text-special-fields/m-p/2185554#M465304</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone.  Need help for a special 'field' in a BDC program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've a BDC program for transaction MM01.  My main question is how to save data for the fields for texts in views/tabs?  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To illustrate (example for tcode MM01): under tab 'Purchase Order Text', this is the area where we input text messages (but area is larger than for the usual fields).  This can also be seen in Sales Text, Basic Data Text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is no F1 help where I usually get the technical info for the names of tables/structures and-field.  Hence, I do not know how to save this in BDC as there is no usual "table-field or structure-field" - where we save this from the screen in the abap syntax.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The error message and corresponding explanation from system is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;======================&lt;/P&gt;&lt;P&gt;No text maintained; a blank text has been created in English automatically&lt;/P&gt;&lt;P&gt;Message no. MM630&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Diagnosis&lt;/P&gt;&lt;P&gt;For your convenience, a blank text has been created in the language English automatically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Procedure&lt;/P&gt;&lt;P&gt;You can maintain this text. If you exit text maintenance without maintaining it, it will be deleted automatically.&lt;/P&gt;&lt;P&gt;================================&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Q # 1:  Where to maintain this text? Functional or technical?  In which tcode?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Q # 2:  How do I get the technical info (like from F1) for the table-field name or any where info for text can be saved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your inputs will be highly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and God bless!&lt;/P&gt;&lt;P&gt;Celeste&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 May 2007 08:18:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-program-how-to-save-data-for-text-special-fields/m-p/2185554#M465304</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-04T08:18:59Z</dc:date>
    </item>
    <item>
      <title>Re: BDC program - how to save data for TEXT 'special fields'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-program-how-to-save-data-for-text-special-fields/m-p/2185555#M465305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Celeste ,&lt;/P&gt;&lt;P&gt;  You will have to save the text using the FM &amp;lt;b&amp;gt;SAVE_TEXT&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Arun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 May 2007 08:22:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-program-how-to-save-data-for-text-special-fields/m-p/2185555#M465305</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-04T08:22:10Z</dc:date>
    </item>
    <item>
      <title>Re: BDC program - how to save data for TEXT 'special fields'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-program-how-to-save-data-for-text-special-fields/m-p/2185556#M465306</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply, Arun. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I checked out the function module SAVE_TEXT.  What valid values should be supplied for the Parameters of the FM?  Kindly give sample.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and God bless!&lt;/P&gt;&lt;P&gt;Celeste&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 May 2007 01:52:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-program-how-to-save-data-for-text-special-fields/m-p/2185556#M465306</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-07T01:52:36Z</dc:date>
    </item>
    <item>
      <title>Re: BDC program - how to save data for TEXT 'special fields'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-program-how-to-save-data-for-text-special-fields/m-p/2185557#M465307</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;   save_text is used to upload the long text...u pass four parameters here one is the text name, which in the case of purchase order contains the order no + item no..text object EKPO, text id F01 and language sy-langu...this will do...to see, the corresponding values for any item, just go to the long text editor and go to-&amp;gt; header..you will find the values...append the long text taht you want to upload to the itab txtlines, which will be of structure tline...hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CONCATENATE P_EBELN P_ITEM INTO tname-tdname.&lt;/P&gt;&lt;P&gt;  MOVE 'EKPO' TO TNAME-TDOBJECT.&lt;/P&gt;&lt;P&gt;  MOVE 'F01 TO TNAME-TDID.&lt;/P&gt;&lt;P&gt;  MOVE SY-LANGU TO TNAME-TDSPRAS.&lt;/P&gt;&lt;P&gt;  APPEND TNAME&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TXTLINES-TDFORMAT = '*'.&lt;/P&gt;&lt;P&gt;   TXTLINES-TDLINE = 'This is your purchase order text'.&lt;/P&gt;&lt;P&gt;    APPEND TXTLINES.&lt;/P&gt;&lt;P&gt;    CLEAR TXTLINES.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'SAVE_TEXT'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;     CLIENT                = SY-MANDT&lt;/P&gt;&lt;P&gt;      HEADER                = TNAME&lt;/P&gt;&lt;P&gt;     INSERT                = 'X'&lt;/P&gt;&lt;P&gt;     SAVEMODE_DIRECT       = 'X'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    OWNER_SPECIFIED       = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    LOCAL_CAT             = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;   IMPORTING&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    FUNCTION              =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;     NEWHEADER             = TNAME&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      LINES                 = TXTLINES&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  EXCEPTIONS&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    ID                    = 1&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    LANGUAGE              = 2&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    NAME                  = 3&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    OBJECT                = 4&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    OTHERS                = 5&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;            .&lt;/P&gt;&lt;P&gt;  IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if helpful, reward&lt;/P&gt;&lt;P&gt;Sathish. R&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 May 2007 02:05:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-program-how-to-save-data-for-text-special-fields/m-p/2185557#M465307</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-07T02:05:17Z</dc:date>
    </item>
    <item>
      <title>Re: BDC program - how to save data for TEXT 'special fields'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-program-how-to-save-data-for-text-special-fields/m-p/2185558#M465308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;as others have pointed out you need to use fm SAVE_text to do this sort of thing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The key parameters to pass are:&lt;/P&gt;&lt;P&gt;ID                     'BEST'                    &lt;/P&gt;&lt;P&gt;NAME               the material number with leading zeros to the ull 18 chars      &lt;/P&gt;&lt;P&gt;OBJECT            'MATERIAL'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try and use fm read_text for another materail which has such a text to get an idea...or put a break-point in 'read_text' and do MM03 on such a material.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 May 2007 03:00:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-program-how-to-save-data-for-text-special-fields/m-p/2185558#M465308</guid>
      <dc:creator>former_member186741</dc:creator>
      <dc:date>2007-05-07T03:00:19Z</dc:date>
    </item>
  </channel>
</rss>

