<?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: TEXT EDIT SCREEN IN DISLAY MODE USING &amp;quot; EDIT_TEXT&amp;quot; functionmodule in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/text-edit-screen-in-dislay-mode-using-quot-edit-text-quot-functionmodule/m-p/5743500#M1302004</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;I dont remember the exact syntax code, but u can do it by "check authorisation activity",search with these words in sdn or help...this will solve.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sajid&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 29 May 2009 09:58:36 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-05-29T09:58:36Z</dc:date>
    <item>
      <title>TEXT EDIT SCREEN IN DISLAY MODE USING " EDIT_TEXT" functionmodule</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/text-edit-screen-in-dislay-mode-using-quot-edit-text-quot-functionmodule/m-p/5743499#M1302003</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;I have one special requirement ,&lt;/P&gt;&lt;P&gt;i have one "Edit" buton it will edit text using "Edit_text" functionmodule.&lt;/P&gt;&lt;P&gt;If the user dont have autherization it should be in "Displaymode" not in "Editmode" with same text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how can we do it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sample code here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data:l_textname type stxh-l_textname.&lt;/P&gt;&lt;P&gt;data: l_langname type t002-spras.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; SELECT SINGLE * FROM stxh&lt;/P&gt;&lt;P&gt;               INTO lw_text_name&lt;/P&gt;&lt;P&gt;               WHERE tdname   =  l_text_name&lt;/P&gt;&lt;P&gt;                        AND tdspras = l_langname&lt;/P&gt;&lt;P&gt;                        AND tdid = 'ST'&lt;/P&gt;&lt;P&gt;                                 AND tdobject = 'TEXT' .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Moving data from work area to internal table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  gt_text_name-mandt    =  lw_text_name-mandt.&lt;/P&gt;&lt;P&gt;  gt_text_name-tdobject =  lw_text_name-tdobject.&lt;/P&gt;&lt;P&gt;  gt_text_name-tdname   =  lw_text_name-tdname.&lt;/P&gt;&lt;P&gt;  gt_text_name-tdid     =  lw_text_name-tdid.&lt;/P&gt;&lt;P&gt;  APPEND gt_text_name.&lt;/P&gt;&lt;P&gt;  CLEAR lw_text_name.&lt;/P&gt;&lt;P&gt;&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;P&gt;            client   = gt_text_name-mandt&lt;/P&gt;&lt;P&gt;            object   = gt_text_name-tdobject&lt;/P&gt;&lt;P&gt;            name     = gt_text_name-tdname&lt;/P&gt;&lt;P&gt;            id       = gt_text_name-tdid&lt;/P&gt;&lt;P&gt;            language = l_langname&lt;/P&gt;&lt;P&gt;       IMPORTING&lt;/P&gt;&lt;P&gt;            header   = gs_thead&lt;/P&gt;&lt;P&gt;       TABLES&lt;/P&gt;&lt;P&gt;            lines    = gt_lines&lt;/P&gt;&lt;P&gt;       EXCEPTIONS&lt;/P&gt;&lt;P&gt;            OTHERS   = 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; CALL FUNCTION 'EDIT_TEXT'&lt;/P&gt;&lt;P&gt;         EXPORTING&lt;/P&gt;&lt;P&gt;              display       = g_c_x&lt;/P&gt;&lt;P&gt;              header        = gs_thead&lt;/P&gt;&lt;P&gt;         TABLES&lt;/P&gt;&lt;P&gt;              lines         = gt_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;              linesize      = 3&lt;/P&gt;&lt;P&gt;              name          = 4&lt;/P&gt;&lt;P&gt;              object        = 5&lt;/P&gt;&lt;P&gt;              textformat    = 6&lt;/P&gt;&lt;P&gt;              communication = 7&lt;/P&gt;&lt;P&gt;              OTHERS        = 8.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check the autherization here.&lt;/P&gt;&lt;P&gt;if user have authrization&lt;/P&gt;&lt;P&gt;display text with "edit"screen with "editmode".&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;display text with "edit"screen " with "dispalymode".&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;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 May 2009 08:39:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/text-edit-screen-in-dislay-mode-using-quot-edit-text-quot-functionmodule/m-p/5743499#M1302003</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-29T08:39:24Z</dc:date>
    </item>
    <item>
      <title>Re: TEXT EDIT SCREEN IN DISLAY MODE USING " EDIT_TEXT" functionmodule</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/text-edit-screen-in-dislay-mode-using-quot-edit-text-quot-functionmodule/m-p/5743500#M1302004</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;I dont remember the exact syntax code, but u can do it by "check authorisation activity",search with these words in sdn or help...this will solve.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sajid&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 May 2009 09:58:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/text-edit-screen-in-dislay-mode-using-quot-edit-text-quot-functionmodule/m-p/5743500#M1302004</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-29T09:58:36Z</dc:date>
    </item>
    <item>
      <title>Re: TEXT EDIT SCREEN IN DISLAY MODE USING " EDIT_TEXT" functionmodule</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/text-edit-screen-in-dislay-mode-using-quot-edit-text-quot-functionmodule/m-p/5743501#M1302005</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;you need to check the authorization syntax, check the below example,&lt;/P&gt;&lt;P&gt; AUTHORITY-CHECK OBJECT 'Z_AUGRU_2'&lt;/P&gt;&lt;P&gt;    ID 'Z_AUGRU2' FIELD XVBAK-AUGRU.&lt;/P&gt;&lt;P&gt;you need to create an object and id just consult your basis to create an authorization object and id.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 May 2009 14:57:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/text-edit-screen-in-dislay-mode-using-quot-edit-text-quot-functionmodule/m-p/5743501#M1302005</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-29T14:57:22Z</dc:date>
    </item>
    <item>
      <title>Re: TEXT EDIT SCREEN IN DISLAY MODE USING " EDIT_TEXT" functionmodule</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/text-edit-screen-in-dislay-mode-using-quot-edit-text-quot-functionmodule/m-p/5743502#M1302006</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;check your authorisation befor edit text fm&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;like &lt;/P&gt;&lt;P&gt;define 1 variable say &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : display .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check the autherization here.&lt;/P&gt;&lt;P&gt;if user have authrization&lt;/P&gt;&lt;P&gt;display text with "edit"screen with "editmode".&lt;/P&gt;&lt;P&gt;dispay = ' '.&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;display text with "edit"screen " with "dispalymode".&lt;/P&gt;&lt;P&gt;display = 'X'.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pass this display to edit_text fm like &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'EDIT_TEXT'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;display = &lt;STRONG&gt;Display&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;header = gs_thead&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;lines = gt_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;linesize = 3&lt;/P&gt;&lt;P&gt;name = 4&lt;/P&gt;&lt;P&gt;object = 5&lt;/P&gt;&lt;P&gt;textformat = 6&lt;/P&gt;&lt;P&gt;communication = 7&lt;/P&gt;&lt;P&gt;OTHERS = 8.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 30 May 2009 07:02:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/text-edit-screen-in-dislay-mode-using-quot-edit-text-quot-functionmodule/m-p/5743502#M1302006</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-30T07:02:19Z</dc:date>
    </item>
  </channel>
</rss>

