<?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: Script in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/script/m-p/4088296#M977531</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hosmath,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think it is not necessary.&lt;/P&gt;&lt;P&gt;You have four parameters in READ_TEXT function module .&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;ID
LANGUAGE
NAME
OBJECT&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You get these parameters from the text of the particulat transaction.&lt;/P&gt;&lt;P&gt;For Example in Transaction VA01.&lt;/P&gt;&lt;P&gt;&lt;U&gt;Menu path&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Goto ---&amp;gt; Header ---&amp;gt; Texts&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we maintain the texts related to transaction here.&lt;/P&gt;&lt;P&gt;Here double click on the Text, now u can see the text editor.&lt;/P&gt;&lt;P&gt;here &lt;U&gt;Menu Path&lt;/U&gt;&lt;/P&gt;&lt;P&gt;Goto ---&amp;gt; Header&lt;/P&gt;&lt;P&gt;Here you can find four fields. You need to pass these fields to the READ_TEXT function module..&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Text Name
Language
Text ID
Text Object&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;raam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Jul 2008 11:10:28 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-07-10T11:10:28Z</dc:date>
    <item>
      <title>Script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/script/m-p/4088293#M977528</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;If I want to display item text maintained in tcode,Whether it is mandatory to concatenate Item no &amp;amp; document no and passing it into FM READ_TEXT?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly reply.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2008 11:00:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/script/m-p/4088293#M977528</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-10T11:00:08Z</dc:date>
    </item>
    <item>
      <title>Re: Script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/script/m-p/4088294#M977529</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; Yes you need to pass document number and item no.&lt;/P&gt;&lt;P&gt;See the below example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  dl_id = 'F03'.&lt;/P&gt;&lt;P&gt;  dl_object = 'EKPO'.&lt;/P&gt;&lt;P&gt;  dl_langu = sy-langu.&lt;/P&gt;&lt;P&gt;  concatenate i_ebeln i_ebelp into dl_name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'READ_TEXT'&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      CLIENT                        = SY-MANDT&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;        ID                            = dl_id&lt;/P&gt;&lt;P&gt;        LANGUAGE                      = dl_langu&lt;/P&gt;&lt;P&gt;        NAME                          = dl_name&lt;/P&gt;&lt;P&gt;        OBJECT                        = dl_object&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      ARCHIVE_HANDLE                = 0&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;LI level="1" type="ul"&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      HEADER                        =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      TABLES&lt;/P&gt;&lt;P&gt;        LINES                         = dt_lines&lt;/P&gt;&lt;P&gt;     EXCEPTIONS&lt;/P&gt;&lt;P&gt;       ID                            = 1&lt;/P&gt;&lt;P&gt;       LANGUAGE                      = 2&lt;/P&gt;&lt;P&gt;       NAME                          = 3&lt;/P&gt;&lt;P&gt;       NOT_FOUND                     = 4&lt;/P&gt;&lt;P&gt;       OBJECT                        = 5&lt;/P&gt;&lt;P&gt;       REFERENCE_CHECK               = 6&lt;/P&gt;&lt;P&gt;       WRONG_ACCESS_TO_ARCHIVE       = 7&lt;/P&gt;&lt;P&gt;       OTHERS                        = 8.&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;      raise not_found.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Keerthi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2008 11:03:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/script/m-p/4088294#M977529</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-10T11:03:01Z</dc:date>
    </item>
    <item>
      <title>Re: Script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/script/m-p/4088295#M977530</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;Yes Both are Mandatory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Please use the link below it will help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-basis-abap.com/sapac002.htm" target="test_blank"&gt;http://www.sap-basis-abap.com/sapac002.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With Regards,&lt;/P&gt;&lt;P&gt;Venkatesh.H.N&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Please reward points if helpful&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2008 11:10:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/script/m-p/4088295#M977530</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-10T11:10:20Z</dc:date>
    </item>
    <item>
      <title>Re: Script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/script/m-p/4088296#M977531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hosmath,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think it is not necessary.&lt;/P&gt;&lt;P&gt;You have four parameters in READ_TEXT function module .&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;ID
LANGUAGE
NAME
OBJECT&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You get these parameters from the text of the particulat transaction.&lt;/P&gt;&lt;P&gt;For Example in Transaction VA01.&lt;/P&gt;&lt;P&gt;&lt;U&gt;Menu path&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Goto ---&amp;gt; Header ---&amp;gt; Texts&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we maintain the texts related to transaction here.&lt;/P&gt;&lt;P&gt;Here double click on the Text, now u can see the text editor.&lt;/P&gt;&lt;P&gt;here &lt;U&gt;Menu Path&lt;/U&gt;&lt;/P&gt;&lt;P&gt;Goto ---&amp;gt; Header&lt;/P&gt;&lt;P&gt;Here you can find four fields. You need to pass these fields to the READ_TEXT function module..&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Text Name
Language
Text ID
Text Object&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;raam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2008 11:10:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/script/m-p/4088296#M977531</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-10T11:10:28Z</dc:date>
    </item>
    <item>
      <title>Re: Script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/script/m-p/4088297#M977532</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;     Yes,  because the textname is nothing but the combination of fields   item No and document no.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2008 11:16:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/script/m-p/4088297#M977532</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-10T11:16:38Z</dc:date>
    </item>
    <item>
      <title>Re: Script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/script/m-p/4088298#M977533</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;in the  script layout, inthe element where u want to print the text - write the code as given below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INCLUDE &amp;lt;TDNAME&amp;gt; OBJECT &amp;lt;TDOBJECT&amp;gt; ID &amp;lt;TDID&amp;gt; language &amp;lt;&amp;amp;NAST-SPRAS&amp;amp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using thsi u can print the text directly without using READ_TEXT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Snehi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2008 11:31:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/script/m-p/4088298#M977533</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-10T11:31:52Z</dc:date>
    </item>
    <item>
      <title>Re: Script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/script/m-p/4088299#M977534</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Yes it is mendatory to concatenate those things and pass this number to the 'READ_TEXT' Function module than you will get the text in your internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Khushbu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2008 11:37:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/script/m-p/4088299#M977534</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-10T11:37:26Z</dc:date>
    </item>
  </channel>
</rss>

