<?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: Change Texts with EDIT_TEXT function module in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-texts-with-edit-text-function-module/m-p/1362789#M179899</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;here you have to GIVE the below fields&lt;/P&gt;&lt;P&gt;1) text name : &amp;lt;doc number&amp;gt; (in our case)&lt;/P&gt;&lt;P&gt;2)Language : EN&lt;/P&gt;&lt;P&gt;3) text id : A01&lt;/P&gt;&lt;P&gt;4) text Object : EKKO&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;note down these fields &amp;amp; values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in your program you can use either READ_TEXT &amp;amp; SAVE_TEXT for this purpose.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;READ_TEXT : IF any header text available,it will be downloaded to your program in TDLINES. you have to pass above parameters for this func module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;save_Text : first you populate all values in LINES * fill all HEADER details with the above mentioned values &amp;amp; then call this Func module.&lt;/P&gt;&lt;P&gt;this will create header text&lt;/P&gt;&lt;P&gt; X_HEADER-TDOBJECT = 'VBBK'.&lt;/P&gt;&lt;P&gt;  X_HEADER-TDNAME   = &amp;lt;YOUR PO NO&amp;gt;.&lt;/P&gt;&lt;P&gt;  X_HEADER-TDID     = 'ZMAN'.&lt;/P&gt;&lt;P&gt;  X_HEADER-TDSPRAS  = 'E'.&lt;/P&gt;&lt;P&gt;you read the existing text by using READ_TEXT function module &amp;amp; the text comes to IT_TDLINES internal table. modify/add new entries to that table &amp;amp; finally call the function module SAVE_TEXT to save the text.&lt;/P&gt;&lt;P&gt;&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                = X_HEADER&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      INSERT                = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&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;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;      FUNCTION              =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      NEWHEADER             =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      LINES                 = IT_TLINES&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;       OBJECT                = 4&lt;/P&gt;&lt;P&gt;       OTHERS                = 5&lt;/P&gt;&lt;P&gt;            .&lt;/P&gt;&lt;P&gt;  IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IT_TLINES : is the internal table with the Text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this gives you clear picture .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;srikanth&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Srikanth Kidambi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 19 May 2006 09:31:36 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-05-19T09:31:36Z</dc:date>
    <item>
      <title>Change Texts with EDIT_TEXT function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-texts-with-edit-text-function-module/m-p/1362787#M179897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; somebody knows how to change an additional text in a sales order using the EDIT_TEXT function module ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thxs&lt;/P&gt;&lt;P&gt;Antonio.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="4" type="ul"&gt;&lt;P&gt;THANKS!!****&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;very thanks for your help!!&lt;/P&gt;&lt;P&gt;They have been very useful and have solved my problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thxs again,&lt;/P&gt;&lt;P&gt;Antonio.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Antonio Castro&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 May 2006 09:24:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-texts-with-edit-text-function-module/m-p/1362787#M179897</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-19T09:24:04Z</dc:date>
    </item>
    <item>
      <title>Re: Change Texts with EDIT_TEXT function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-texts-with-edit-text-function-module/m-p/1362788#M179898</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;Which your problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That function open the text editor to change a text, so you need to transfer the header data e the text lines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use the fm READ_TEXT to get the text data and then transfer them to fm EDIT_TEXT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 May 2006 09:29:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-texts-with-edit-text-function-module/m-p/1362788#M179898</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-19T09:29:03Z</dc:date>
    </item>
    <item>
      <title>Re: Change Texts with EDIT_TEXT function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-texts-with-edit-text-function-module/m-p/1362789#M179899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;here you have to GIVE the below fields&lt;/P&gt;&lt;P&gt;1) text name : &amp;lt;doc number&amp;gt; (in our case)&lt;/P&gt;&lt;P&gt;2)Language : EN&lt;/P&gt;&lt;P&gt;3) text id : A01&lt;/P&gt;&lt;P&gt;4) text Object : EKKO&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;note down these fields &amp;amp; values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in your program you can use either READ_TEXT &amp;amp; SAVE_TEXT for this purpose.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;READ_TEXT : IF any header text available,it will be downloaded to your program in TDLINES. you have to pass above parameters for this func module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;save_Text : first you populate all values in LINES * fill all HEADER details with the above mentioned values &amp;amp; then call this Func module.&lt;/P&gt;&lt;P&gt;this will create header text&lt;/P&gt;&lt;P&gt; X_HEADER-TDOBJECT = 'VBBK'.&lt;/P&gt;&lt;P&gt;  X_HEADER-TDNAME   = &amp;lt;YOUR PO NO&amp;gt;.&lt;/P&gt;&lt;P&gt;  X_HEADER-TDID     = 'ZMAN'.&lt;/P&gt;&lt;P&gt;  X_HEADER-TDSPRAS  = 'E'.&lt;/P&gt;&lt;P&gt;you read the existing text by using READ_TEXT function module &amp;amp; the text comes to IT_TDLINES internal table. modify/add new entries to that table &amp;amp; finally call the function module SAVE_TEXT to save the text.&lt;/P&gt;&lt;P&gt;&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                = X_HEADER&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      INSERT                = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&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;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;      FUNCTION              =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      NEWHEADER             =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      LINES                 = IT_TLINES&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;       OBJECT                = 4&lt;/P&gt;&lt;P&gt;       OTHERS                = 5&lt;/P&gt;&lt;P&gt;            .&lt;/P&gt;&lt;P&gt;  IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IT_TLINES : is the internal table with the Text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this gives you clear picture .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;srikanth&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Srikanth Kidambi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 May 2006 09:31:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-texts-with-edit-text-function-module/m-p/1362789#M179899</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-19T09:31:36Z</dc:date>
    </item>
    <item>
      <title>Re: Change Texts with EDIT_TEXT function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-texts-with-edit-text-function-module/m-p/1362790#M179900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can do that even using SAVE_TEXT to modify the text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;only thing is to find the correct parameters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TDOBJECT  VBBK for header&lt;/P&gt;&lt;P&gt;TDID      0001 check it,based on config it varies&lt;/P&gt;&lt;P&gt;TDNAME --&amp;gt;sales order if it is header&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TDOBJECT  VBBP for item&lt;/P&gt;&lt;P&gt;TDID      0001 check it,based on config it varies&lt;/P&gt;&lt;P&gt;TDNAME --&amp;gt;sales order + item if it is item&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;along with that you need to pass the text to it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 May 2006 09:35:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-texts-with-edit-text-function-module/m-p/1362790#M179900</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-19T09:35:39Z</dc:date>
    </item>
    <item>
      <title>Re: Change Texts with EDIT_TEXT function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-texts-with-edit-text-function-module/m-p/1362791#M179901</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;Use READ_TEXT to retrieve the data, change it and then use the function module SAVE_TEXT to Save it. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Make sure you call the function module COMMIT_TEXT as texts might not get saved with the commit work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;Satya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 May 2006 10:03:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-texts-with-edit-text-function-module/m-p/1362791#M179901</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-19T10:03:58Z</dc:date>
    </item>
  </channel>
</rss>

