<?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: TEXTS in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/texts/m-p/1675298#M297894</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;if the field length in the data dictioray is unlimited .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.you need to create text object and link this object &lt;/P&gt;&lt;P&gt;with key fields of the table and reading this text and storing this text you need to use SAVE_TEXT and READ_TEXT fm's. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;chk the sample code below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.create a text object using SE75 transaction .&lt;/P&gt;&lt;P&gt;2.Use FM : SAVE_TEXT to save this data with text object id.(data will be stored into STXH table).&lt;/P&gt;&lt;P&gt;3.Use READ_TEXT to retrive data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;i&amp;gt;sample code :&amp;lt;/i&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: ws_thead LIKE thead,
i_tline LIKE TABLE OF tline WITH HEADER LINE.
data : x_matnr like mara-matnr.

c_mara(4) type c value 'MARA',
c_zid(4) type c value 'Z001'.


MOVE : x_matnr TO ws_thead-tdname, &amp;lt;-moving MATNR to store data 
c_mara TO ws_thead-tdobject,
sy-langu TO ws_thead-tdspras,
c_zid TO ws_thead-tdid.

CALL FUNCTION 'SAVE_TEXT'
EXPORTING
client = sy-mandt
header = ws_thead
savemode_direct = 'X'
TABLES
lines = i_tline
EXCEPTIONS
id = 1
language = 2
name = 3
object = 4
OTHERS = 5.

IF sy-subrc &amp;lt;&amp;gt; 0.
* MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
* WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.

DATA: lws_id LIKE thead-tdid,
lws_name LIKE thead-tdname,
lws_object LIKE thead-tdobject.

lws_id = c_zid.
lws_name = x_matnr. &amp;lt;- reading data using key field(MATNR) 
lws_object = c_mara.


CALL FUNCTION 'READ_TEXT'
EXPORTING
client = sy-mandt
id = lws_id
language = sy-langu
name = lws_name
object = lws_object
TABLES
lines = li_tline
EXCEPTIONS
id = 1
language = 2
name = 3
not_found = 4
object = 5
reference_check = 6
wrong_access_to_archive = 7
OTHERS = 8.
IF sy-subrc &amp;lt;&amp;gt; 0.
* MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
* WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;anver&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Nov 2006 10:17:06 GMT</pubDate>
    <dc:creator>anversha_s</dc:creator>
    <dc:date>2006-11-23T10:17:06Z</dc:date>
    <item>
      <title>TEXTS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/texts/m-p/1675297#M297893</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HOW TO UPLOAD N DOWNLOAD THE TEXT TO THE APPLICATIONS THRU BDC?AND ALSO BY USING THE FUNCTION MODULES READ_TEXT AND SAVE-TEXT?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THANKS .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Nov 2006 10:13:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/texts/m-p/1675297#M297893</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-23T10:13:49Z</dc:date>
    </item>
    <item>
      <title>Re: TEXTS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/texts/m-p/1675298#M297894</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;if the field length in the data dictioray is unlimited .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.you need to create text object and link this object &lt;/P&gt;&lt;P&gt;with key fields of the table and reading this text and storing this text you need to use SAVE_TEXT and READ_TEXT fm's. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;chk the sample code below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.create a text object using SE75 transaction .&lt;/P&gt;&lt;P&gt;2.Use FM : SAVE_TEXT to save this data with text object id.(data will be stored into STXH table).&lt;/P&gt;&lt;P&gt;3.Use READ_TEXT to retrive data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;i&amp;gt;sample code :&amp;lt;/i&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: ws_thead LIKE thead,
i_tline LIKE TABLE OF tline WITH HEADER LINE.
data : x_matnr like mara-matnr.

c_mara(4) type c value 'MARA',
c_zid(4) type c value 'Z001'.


MOVE : x_matnr TO ws_thead-tdname, &amp;lt;-moving MATNR to store data 
c_mara TO ws_thead-tdobject,
sy-langu TO ws_thead-tdspras,
c_zid TO ws_thead-tdid.

CALL FUNCTION 'SAVE_TEXT'
EXPORTING
client = sy-mandt
header = ws_thead
savemode_direct = 'X'
TABLES
lines = i_tline
EXCEPTIONS
id = 1
language = 2
name = 3
object = 4
OTHERS = 5.

IF sy-subrc &amp;lt;&amp;gt; 0.
* MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
* WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.

DATA: lws_id LIKE thead-tdid,
lws_name LIKE thead-tdname,
lws_object LIKE thead-tdobject.

lws_id = c_zid.
lws_name = x_matnr. &amp;lt;- reading data using key field(MATNR) 
lws_object = c_mara.


CALL FUNCTION 'READ_TEXT'
EXPORTING
client = sy-mandt
id = lws_id
language = sy-langu
name = lws_name
object = lws_object
TABLES
lines = li_tline
EXCEPTIONS
id = 1
language = 2
name = 3
not_found = 4
object = 5
reference_check = 6
wrong_access_to_archive = 7
OTHERS = 8.
IF sy-subrc &amp;lt;&amp;gt; 0.
* MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
* WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;anver&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Nov 2006 10:17:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/texts/m-p/1675298#M297894</guid>
      <dc:creator>anversha_s</dc:creator>
      <dc:date>2006-11-23T10:17:06Z</dc:date>
    </item>
    <item>
      <title>Re: TEXTS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/texts/m-p/1675299#M297895</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HOW WILLL I BE DOING THIS IN BDC FOR THE VENDOR MASTER.........???PLEASEE LET ME KNOW&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Nov 2006 10:27:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/texts/m-p/1675299#M297895</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-23T10:27:09Z</dc:date>
    </item>
    <item>
      <title>Re: TEXTS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/texts/m-p/1675300#M297896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello can someone help me out with please??&lt;/P&gt;&lt;P&gt;i need a solution.........&lt;/P&gt;&lt;P&gt;urgent requiremente&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Nov 2006 11:21:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/texts/m-p/1675300#M297896</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-23T11:21:13Z</dc:date>
    </item>
    <item>
      <title>Re: TEXTS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/texts/m-p/1675301#M297897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Go to transaction XK02.&lt;/P&gt;&lt;P&gt;Click on the text which you want.&lt;/P&gt;&lt;P&gt;It will open line editor.&lt;/P&gt;&lt;P&gt;In that use the menu path goto--&amp;gt; Header it will give the Object details.&lt;/P&gt;&lt;P&gt;Pass the same in READ_TEXT.&lt;/P&gt;&lt;P&gt;Then you will get the text related to Vendor.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Nov 2006 11:32:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/texts/m-p/1675301#M297897</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-23T11:32:48Z</dc:date>
    </item>
    <item>
      <title>Re: TEXTS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/texts/m-p/1675302#M297898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I AM TRYING TO CREATE NO. OF VENDORS,TAKING THE DATA FROM THE FLAT FILE..................FOR EACH VENDOR I HAV DIFFERENT TEXT.HOW DO V GO ABOUT IT??WAT SHOULD B THE STRUCTURE OF THE FLATFILE AND HOW THE TEXT IS PUT IN TO THE FLATFILE...........N CONVENTIONALLY HOW IS IT DONE??AS IN ACCORDING TO NORMAL STANDARDS??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Nov 2006 12:13:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/texts/m-p/1675302#M297898</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-23T12:13:30Z</dc:date>
    </item>
  </channel>
</rss>

