<?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: Function Module To Check and Make changes in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-check-and-make-changes/m-p/7851385#M1592010</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello GURU&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I read you text but it is not working in my  Function Module Please set some another code to make changes in AEDAT field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to update that field now......&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 May 2011 07:32:10 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-05-19T07:32:10Z</dc:date>
    <item>
      <title>Function Module To Check and Make changes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-check-and-make-changes/m-p/7851374#M1591999</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt; i have created a FM which have following code , i have created that one for updating header data of Notification &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the Fm module are as following code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Import&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Notif      Type    qmnum      (check box pass value)  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Export&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TT_data  type   zNotif_data    (where ZNotif_data is a table type which having fields qmnum qmart priok etc....)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;source code:---&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select qmnum&lt;/P&gt;&lt;P&gt;       qmart&lt;/P&gt;&lt;P&gt;       priok&lt;/P&gt;&lt;P&gt;       ernam&lt;/P&gt;&lt;P&gt;       qmdat&lt;/P&gt;&lt;P&gt;       from qmel&lt;/P&gt;&lt;P&gt;       into table tt_data&lt;/P&gt;&lt;P&gt;       up to 1000 rows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : it_tlines like tline occurs 0 with header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : it_text1 like thead occurs 0 with header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : x_header type thead.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      x_header-tdobject = 'feature'.&lt;/P&gt;&lt;P&gt;      x_header-tdname  = '99999996020000'.&lt;/P&gt;&lt;P&gt;      x_header-tdid    = 'head'.&lt;/P&gt;&lt;P&gt;      x_header-tdspras = 'D'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      loop at it_tlines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      it_tlines-tdformat = '*'.&lt;/P&gt;&lt;P&gt;      it_tlines-tdline = it_text1-tdtxtlines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      append it_tlines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      endloop.&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;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;          HEADER                = x_header&lt;/P&gt;&lt;P&gt;         INSERT                = ' '&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;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;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;&lt;/P&gt;&lt;P&gt;      commit work and wait.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      update stxh set tdobject = 'D'&lt;/P&gt;&lt;P&gt;      where tdobject = notif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&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;ENDFUNCTION. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I M rtying it but it is not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if any one have idea please help me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Thomas Zloch on Apr 25, 2011 10:50 PM - &lt;STRONG&gt;please cut it down with the exclamation marks&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Apr 2011 09:09:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-check-and-make-changes/m-p/7851374#M1591999</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-04-25T09:09:56Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module To Check and Make changes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-check-and-make-changes/m-p/7851375#M1592000</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;Check whether the data in x_header-tdobject , x_header-tdname, x_header-tdid and x_header-tdspras are given correctly. If these values are correct and if there is no error returned by the function module "SAVE_TEXT  ", then try with the below mentioned update statement also. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UPDATE qmel SET indtx = 'X' WHERE qmnum = QMNUM. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards, &lt;/P&gt;&lt;P&gt;Harish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Apr 2011 09:27:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-check-and-make-changes/m-p/7851375#M1592000</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-04-25T09:27:36Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module To Check and Make changes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-check-and-make-changes/m-p/7851376#M1592001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes the annswer was helpful but my problem has not been resolved yet &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i want to update the header data of a notification&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if You have the system please chk this code in your system and help me please&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Apr 2011 09:45:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-check-and-make-changes/m-p/7851376#M1592001</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-04-25T09:45:09Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module To Check and Make changes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-check-and-make-changes/m-p/7851377#M1592002</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 am unable to analyze the code provided by you. So kindly use the following code for your reference and try by doing the necessary changes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   Edit Text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;          HEADER-TDOBJECT   = 'QMEL'.&lt;/P&gt;&lt;P&gt;          HEADER-TDNAME     = gfl_notif-QMNUM.&lt;/P&gt;&lt;P&gt;          HEADER-TDSPRAS    = 'E'.&lt;/P&gt;&lt;P&gt;          HEADER-TDID       = 'LTXT'.&lt;/P&gt;&lt;P&gt;          header-tdlinesize = '072'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="---" /&gt;&lt;P&gt;&amp;gt;Text1&lt;/P&gt;&lt;P&gt;          lines-TDFORMAT = '*'.&lt;/P&gt;&lt;P&gt;          lines-TDLINE         = 'Text1'.&lt;/P&gt;&lt;P&gt;          APPEND lines to git_lines.&lt;/P&gt;&lt;P&gt;          CLEAR lines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="----" /&gt;&lt;P&gt;&amp;gt;Text2&lt;/P&gt;&lt;P&gt;          lines-TDFORMAT = '*'.&lt;/P&gt;&lt;P&gt;          lines-tdline = 'Text2'.&lt;/P&gt;&lt;P&gt;          APPEND LINES to git_lines.&lt;/P&gt;&lt;P&gt;          CLEAR lines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="----" /&gt;&lt;P&gt;&amp;gt;Text3&lt;/P&gt;&lt;P&gt;          lines-TDFORMAT = '*'.&lt;/P&gt;&lt;P&gt;          lines-tdline = 'Text3'.&lt;/P&gt;&lt;P&gt;          APPEND LINES to git_lines.&lt;/P&gt;&lt;P&gt;          CLEAR lines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'CREATE_TEXT'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    FID                         = HEADER-TDID&lt;/P&gt;&lt;P&gt;    FLANGUAGE         = HEADER-TDSPRAS&lt;/P&gt;&lt;P&gt;    FNAME                   = HEADER-TDNAME&lt;/P&gt;&lt;P&gt;    FOBJECT                = HEADER-TDOBJECT&lt;/P&gt;&lt;P&gt;    SAVE_DIRECT       = 'X'&lt;/P&gt;&lt;P&gt;    FFORMAT              = '*'&lt;/P&gt;&lt;P&gt;  TABLES&lt;/P&gt;&lt;P&gt;    FLINES                   = GIT_LINES&lt;/P&gt;&lt;P&gt; EXCEPTIONS&lt;/P&gt;&lt;P&gt;   NO_INIT               = 1&lt;/P&gt;&lt;P&gt;   NO_SAVE           = 2&lt;/P&gt;&lt;P&gt;   OTHERS              = 3&lt;/P&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;    CALL FUNCTION 'COMMIT_TEXT'&lt;/P&gt;&lt;P&gt;       EXPORTING&lt;/P&gt;&lt;P&gt;            OBJECT   = header-tdobject&lt;/P&gt;&lt;P&gt;            NAME       = header-tdname.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;set long text flag because create text does not do it&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;SELECT SINGLE indtx INTO long_text_ind FROM qmel WHERE qmnum = gfl_notif-QMNUM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF long_text_ind IS INITIAL.&lt;/P&gt;&lt;P&gt;UPDATE qmel SET indtx = 'X' WHERE qmnum = gfl_notif-QMNUM.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Apr 2011 10:06:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-check-and-make-changes/m-p/7851377#M1592002</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-04-25T10:06:21Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module To Check and Make changes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-check-and-make-changes/m-p/7851378#M1592003</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I used that code but still my problem not resolved &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please help me on my issue or create a Function Module and send me full code which have import export and source code also &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please reply&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Apr 2011 10:21:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-check-and-make-changes/m-p/7851378#M1592003</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-04-25T10:21:41Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module To Check and Make changes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-check-and-make-changes/m-p/7851379#M1592004</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;Could you please explain your exact requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Harish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Apr 2011 10:38:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-check-and-make-changes/m-p/7851379#M1592004</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-04-25T10:38:33Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module To Check and Make changes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-check-and-make-changes/m-p/7851380#M1592005</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actually I want to Update the Header data (long Text) of a notification for this i m creating  that Function module this moduel is giving me the value from QMEL table as you can see this but i want to know how can i update the Header data (long Text) of a notification.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have sent you all code and detail please help me in this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope now you have got my requirment also&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Apr 2011 10:45:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-check-and-make-changes/m-p/7851380#M1592005</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-04-25T10:45:41Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module To Check and Make changes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-check-and-make-changes/m-p/7851381#M1592006</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;Please find a piece of working code for your requirement as mentioned below. This code is working fine in my system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Edit Text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;HEADER-TDOBJECT = 'QMEL'.	  "Should be given as QMEL in capital letters&lt;/P&gt;&lt;P&gt;HEADER-TDNAME = gfl_notif-QMNUM.     "Should pass the Notification number with leading zeros.&lt;/P&gt;&lt;P&gt;HEADER-TDSPRAS = 'E'.                          "Should be given as E in capital letters&lt;/P&gt;&lt;P&gt;HEADER-TDID = 'LTXT'.                             "Should be given as LTXT in capital letters&lt;/P&gt;&lt;P&gt;header-tdlinesize = '072'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="---" /&gt;&lt;P&gt;&amp;gt;Text1&lt;/P&gt;&lt;P&gt;lines-TDFORMAT = '*'.&lt;/P&gt;&lt;P&gt;lines-TDLINE = 'Text1'.		  "Pass the Header text values one by one.&lt;/P&gt;&lt;P&gt;APPEND lines to git_lines.&lt;/P&gt;&lt;P&gt;CLEAR lines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="----" /&gt;&lt;P&gt;&amp;gt;Text2&lt;/P&gt;&lt;P&gt;lines-TDFORMAT = '*'.&lt;/P&gt;&lt;P&gt;lines-tdline = 'Text2'.		  "Pass the Header text values one by one.&lt;/P&gt;&lt;P&gt;APPEND LINES to git_lines.&lt;/P&gt;&lt;P&gt;CLEAR lines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="----" /&gt;&lt;P&gt;&amp;gt;Text3&lt;/P&gt;&lt;P&gt;lines-TDFORMAT = '*'.&lt;/P&gt;&lt;P&gt;lines-tdline = 'Text3'.		  "Pass the Header text values one by one.&lt;/P&gt;&lt;P&gt;APPEND LINES to git_lines.&lt;/P&gt;&lt;P&gt;CLEAR lines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here call function CREATE_TEXT ior SAVE_TEXT&lt;/P&gt;&lt;P&gt;********************************************&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'CREATE_TEXT'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;FID = HEADER-TDID&lt;/P&gt;&lt;P&gt;FLANGUAGE = HEADER-TDSPRAS&lt;/P&gt;&lt;P&gt;FNAME = HEADER-TDNAME&lt;/P&gt;&lt;P&gt;FOBJECT = HEADER-TDOBJECT&lt;/P&gt;&lt;P&gt;SAVE_DIRECT = 'X'&lt;/P&gt;&lt;P&gt;FFORMAT = '*'&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;FLINES = GIT_LINES&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;NO_INIT = 1&lt;/P&gt;&lt;P&gt;NO_SAVE = 2&lt;/P&gt;&lt;P&gt;OTHERS = 3&lt;/P&gt;&lt;P&gt;. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OR&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;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;HEADER = HEADER&lt;/P&gt;&lt;P&gt;INSERT = ' '&lt;/P&gt;&lt;P&gt;SAVEMODE_DIRECT = 'X'&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;LINES = GIT_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;OBJECT = 4&lt;/P&gt;&lt;P&gt;OTHERS = 5&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;********************************************&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------------------------------------------------------" /&gt;&lt;P&gt;HERE PUT A BREAK POINT AND SEE WHETHER SY-SUBRC IS EQUAL TO ZERO OR NOT. IF NOT EQUAL TO ZERO, THEN CHECK WHAT IS THE ERROR MESSAGE AND CORRECT THE SAME.&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------------------------------------------------------" /&gt;&lt;P&gt;IF SY-SUBRC 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;CALL FUNCTION 'COMMIT_TEXT'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;OBJECT = header-tdobject&lt;/P&gt;&lt;P&gt;NAME = header-tdname.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;set long text flag because create text does not do it&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;SELECT SINGLE indtx INTO long_text_ind FROM qmel WHERE qmnum = gfl_notif-QMNUM.	"PROVIDE THE NOTIFICATION NUMBER WITH LEADING ZEROS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF long_text_ind IS INITIAL.&lt;/P&gt;&lt;P&gt;UPDATE qmel SET indtx = 'X' WHERE qmnum = gfl_notif-QMNUM.  "PROVIDE THE NOTIFICATION NUMBER WITH LEADING ZEROS.&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 &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Harish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Apr 2011 11:13:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-check-and-make-changes/m-p/7851381#M1592006</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-04-25T11:13:51Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module To Check and Make changes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-check-and-make-changes/m-p/7851382#M1592007</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN __default_attr="red" __jive_macro_name="color"&gt;&amp;lt;&amp;lt; Moderator message - Please do not ask for personal information&amp;gt;&amp;gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Rob Burbank on Apr 25, 2011 12:43 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Apr 2011 11:23:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-check-and-make-changes/m-p/7851382#M1592007</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-04-25T11:23:39Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module To Check and Make changes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-check-and-make-changes/m-p/7851383#M1592008</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That doesn't look like "real" text.  These types of texts have to be configured in SAP.  Use correct TDID, TDOBJECT, TDNAME and TDSPRAS.   To easily see these values, edit a text that is of the correct type via transaction, then read table STXH for your changes made today.  The values you see in STXH are precisely how you need to populate values for your text save.  BTW, does the text already exist?  If so, you'll need delete before save, if I remember correctly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Apr 2011 11:54:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-check-and-make-changes/m-p/7851383#M1592008</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-04-25T11:54:50Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module To Check and Make changes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-check-and-make-changes/m-p/7851384#M1592009</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i tried but not get any useful solution&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Apr 2011 12:18:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-check-and-make-changes/m-p/7851384#M1592009</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-04-25T12:18:56Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module To Check and Make changes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-check-and-make-changes/m-p/7851385#M1592010</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello GURU&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I read you text but it is not working in my  Function Module Please set some another code to make changes in AEDAT field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to update that field now......&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 May 2011 07:32:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-check-and-make-changes/m-p/7851385#M1592010</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-05-19T07:32:10Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module To Check and Make changes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-check-and-make-changes/m-p/7851386#M1592011</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thnx Help Full Answer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 May 2011 04:46:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-check-and-make-changes/m-p/7851386#M1592011</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-05-25T04:46:51Z</dc:date>
    </item>
  </channel>
</rss>

