<?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: Message in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/message/m-p/1048454#M88542</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; SY-MSGID  =&amp;gt; It is the message class name. &lt;/P&gt;&lt;P&gt;             The class name that was defined using SE91.&lt;/P&gt;&lt;P&gt; SY-MSGTYP =&amp;gt; It defines the types of messages like&lt;/P&gt;&lt;P&gt;              W -&amp;gt; Warning message,&lt;/P&gt;&lt;P&gt;              E -&amp;gt; Error Message,&lt;/P&gt;&lt;P&gt;              I -&amp;gt; Information Message&lt;/P&gt;&lt;P&gt;              A -&amp;gt; Abort message etc&lt;/P&gt;&lt;P&gt; SY-MSGNO  =&amp;gt; It is the message number that was defined&lt;/P&gt;&lt;P&gt;              in the message class above created.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; SY-MSGV1,MSGV2,MSGV3 =&amp;gt; These are the variables from program point and Place holders that are defined in the SY-MSGNO. These variables information can be generated dynamically. Instead of those MSGV1,MSGV2... you can consider STATXT,STAPA1,STAPA2,STAPA3. But the Message Number(MSGNO) should have those many place holders.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  gv_msgtext =&amp;gt; the above content of values are passed into a text(gv_msgtext) as string with a meaning ful &lt;/P&gt;&lt;P&gt;sentence.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I hope it clears you .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gopinath Addepalli.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Dec 2005 14:38:00 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-12-14T14:38:00Z</dc:date>
    <item>
      <title>Message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/message/m-p/1048450#M88538</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to do something like the thing below but want to use an other table (EDIDS) with the fields STATXT, STAPA1, STAPA2, STAPA3, STAPA3. I am not really sure what the program below does and how to use it in my case. Can anyone please explain the code below and how I can use it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno &lt;/P&gt;&lt;P&gt;WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4&lt;/P&gt;&lt;P&gt;INTO gv_msgtext.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Dec 2005 14:24:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/message/m-p/1048450#M88538</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-14T14:24:00Z</dc:date>
    </item>
    <item>
      <title>Re: Message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/message/m-p/1048451#M88539</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;[code]    CLEAR IT_MESG.REFRESH IT_MESG.&lt;/P&gt;&lt;P&gt;    DATA: T100 TYPE T100,&lt;/P&gt;&lt;P&gt;          BUFFER(273).&lt;/P&gt;&lt;P&gt;    LOOP AT IT_EDIDS INTO X_EDIDS WHERE STATUS = C_51.&lt;/P&gt;&lt;P&gt;      SELECT SINGLE * FROM T100 INTO T100&lt;/P&gt;&lt;P&gt;                                WHERE SPRSL = SY-LANGU&lt;/P&gt;&lt;P&gt;                                AND   ARBGB = X_EDIDS-STAMID&lt;/P&gt;&lt;P&gt;                                AND   MSGNR = X_EDIDS-STAMNO.&lt;/P&gt;&lt;P&gt;      IF SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;        BUFFER = T100-TEXT.&lt;/P&gt;&lt;P&gt;      ELSE.&lt;/P&gt;&lt;P&gt;        BUFFER = TEXT-M00.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;at first &amp;amp;1/&amp;amp;2/&amp;amp;3/&amp;amp;4 or. $1/$2/$3/$4 replace&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      IF T100-TEXT CA '$1'.&lt;/P&gt;&lt;P&gt;        REPLACE '$1' WITH X_EDIDS-STAPA1 INTO BUFFER.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;      IF T100-TEXT CA '$2'.&lt;/P&gt;&lt;P&gt;        REPLACE '$2' WITH X_EDIDS-STAPA2 INTO BUFFER.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;      IF T100-TEXT CA '$3'.&lt;/P&gt;&lt;P&gt;        REPLACE '$3' WITH X_EDIDS-STAPA3 INTO BUFFER.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;      IF T100-TEXT CA '$4'.&lt;/P&gt;&lt;P&gt;        REPLACE '$4' WITH X_EDIDS-STAPA4 INTO BUFFER.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;      IF T100-TEXT CA '&amp;amp;1'.&lt;/P&gt;&lt;P&gt;        REPLACE '&amp;amp;1' WITH X_EDIDS-STAPA1 INTO BUFFER.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;      IF T100-TEXT CA '&amp;amp;2'.&lt;/P&gt;&lt;P&gt;        REPLACE '&amp;amp;2' WITH X_EDIDS-STAPA2 INTO BUFFER.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;      IF T100-TEXT CA '&amp;amp;3'.&lt;/P&gt;&lt;P&gt;        REPLACE '&amp;amp;3' WITH X_EDIDS-STAPA3 INTO BUFFER.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;      IF T100-TEXT CA '&amp;amp;4'.&lt;/P&gt;&lt;P&gt;        REPLACE '&amp;amp;4' WITH X_EDIDS-STAPA4 INTO BUFFER.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;      IF T100-TEXT CA '$'.&lt;/P&gt;&lt;P&gt;        REPLACE '$' WITH X_EDIDS-STAPA1 INTO BUFFER.&lt;/P&gt;&lt;P&gt;        REPLACE '$' WITH X_EDIDS-STAPA2 INTO BUFFER.&lt;/P&gt;&lt;P&gt;        REPLACE '$' WITH X_EDIDS-STAPA3 INTO BUFFER.&lt;/P&gt;&lt;P&gt;        REPLACE '$' WITH X_EDIDS-STAPA4 INTO BUFFER.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;      IF T100-TEXT CA '&amp;amp;'.&lt;/P&gt;&lt;P&gt;        REPLACE '&amp;amp;' WITH X_EDIDS-STAPA1 INTO BUFFER.&lt;/P&gt;&lt;P&gt;        REPLACE '&amp;amp;' WITH X_EDIDS-STAPA2 INTO BUFFER.&lt;/P&gt;&lt;P&gt;        REPLACE '&amp;amp;' WITH X_EDIDS-STAPA3 INTO BUFFER.&lt;/P&gt;&lt;P&gt;        REPLACE '&amp;amp;' WITH X_EDIDS-STAPA4 INTO BUFFER.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;      CONDENSE BUFFER.&lt;/P&gt;&lt;P&gt;      MOVE BUFFER TO X_MESG.&lt;/P&gt;&lt;P&gt;      APPEND X_MESG TO IT_MESG.&lt;/P&gt;&lt;P&gt;      CLEAR X_MESG.&lt;/P&gt;&lt;P&gt;    ENDLOOP.[/code]&lt;/P&gt;&lt;P&gt;please reward if it helps....&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>Wed, 14 Dec 2005 14:27:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/message/m-p/1048451#M88539</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-14T14:27:18Z</dc:date>
    </item>
    <item>
      <title>Re: Message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/message/m-p/1048452#M88540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is a little bit too complicated for me. Do you think you can begin to explain what the code I write mean?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Dec 2005 14:29:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/message/m-p/1048452#M88540</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-14T14:29:55Z</dc:date>
    </item>
    <item>
      <title>Re: Message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/message/m-p/1048453#M88541</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In some cases, programs fill those SY- fields with values and the message is issued.  In you case, I would suggest using the function module MESSAGE_PREPARE to build you message text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can substitute your fields in the following function module.   This will fill all of the variables in your message and give it back in the MESSAGE field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

data: message(100) type c.

  call function 'MESSAGE_PREPARE'
       exporting
            language = sy-langu
            msg_id   = iEDIDS-STAMID   
            msg_no   = iEDIDS-STAMNO
            msg_var1 = iedids-STAPA1
            msg_var2 = iedids-STAPA2
            msg_var3 = iedids-STAPA3
            msg_var4 = iedids-STAPA4
       importing
            msg_text = message.


&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REgards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Dec 2005 14:31:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/message/m-p/1048453#M88541</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2005-12-14T14:31:05Z</dc:date>
    </item>
    <item>
      <title>Re: Message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/message/m-p/1048454#M88542</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; SY-MSGID  =&amp;gt; It is the message class name. &lt;/P&gt;&lt;P&gt;             The class name that was defined using SE91.&lt;/P&gt;&lt;P&gt; SY-MSGTYP =&amp;gt; It defines the types of messages like&lt;/P&gt;&lt;P&gt;              W -&amp;gt; Warning message,&lt;/P&gt;&lt;P&gt;              E -&amp;gt; Error Message,&lt;/P&gt;&lt;P&gt;              I -&amp;gt; Information Message&lt;/P&gt;&lt;P&gt;              A -&amp;gt; Abort message etc&lt;/P&gt;&lt;P&gt; SY-MSGNO  =&amp;gt; It is the message number that was defined&lt;/P&gt;&lt;P&gt;              in the message class above created.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; SY-MSGV1,MSGV2,MSGV3 =&amp;gt; These are the variables from program point and Place holders that are defined in the SY-MSGNO. These variables information can be generated dynamically. Instead of those MSGV1,MSGV2... you can consider STATXT,STAPA1,STAPA2,STAPA3. But the Message Number(MSGNO) should have those many place holders.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  gv_msgtext =&amp;gt; the above content of values are passed into a text(gv_msgtext) as string with a meaning ful &lt;/P&gt;&lt;P&gt;sentence.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I hope it clears you .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gopinath Addepalli.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Dec 2005 14:38:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/message/m-p/1048454#M88542</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-14T14:38:00Z</dc:date>
    </item>
    <item>
      <title>Re: Message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/message/m-p/1048455#M88543</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi &lt;/P&gt;&lt;P&gt;what i did is i am displaying 51 status messages.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am not able to capture the messages, i saw in table t100 all are $, &amp;amp;, palce holders..&lt;/P&gt;&lt;P&gt;sso i found this logic and replaced with the messages..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;first loop the status table, and then select the record from t100 passing language,id,number and i will get the text, but in different format, to convert that i used 273 chars field and replaced it and concatenated the data to message table...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if any thing you just let me know...&lt;/P&gt;&lt;P&gt;i used for my requirement to capture all messages(with status 51)&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>Wed, 14 Dec 2005 14:39:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/message/m-p/1048455#M88543</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-14T14:39:47Z</dc:date>
    </item>
    <item>
      <title>Re: Message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/message/m-p/1048456#M88544</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Since you are also using to display IDoc messages this is the best possible solution...&lt;/P&gt;&lt;P&gt;using that you can get the messages....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check it once..&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>Wed, 14 Dec 2005 14:41:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/message/m-p/1048456#M88544</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-14T14:41:53Z</dc:date>
    </item>
    <item>
      <title>Re: Message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/message/m-p/1048457#M88545</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Very good answear. But I really do not understand how I should do. Must I create a new message class or something or define anything?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Dec 2005 14:43:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/message/m-p/1048457#M88545</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-14T14:43:27Z</dc:date>
    </item>
    <item>
      <title>Re: Message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/message/m-p/1048458#M88546</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;nothing needed,&lt;/P&gt;&lt;P&gt;select the records from edids which satisfies your condition.(in my case 51).&lt;/P&gt;&lt;P&gt;loop that table and&lt;/P&gt;&lt;P&gt;for each record select from t100&lt;/P&gt;&lt;P&gt;                      by passing lang,id,messageno from satus table and get the placeholders and replace the place holders and populate the messages to one message table.&lt;/P&gt;&lt;P&gt;if you want to know  any thing please let me know...&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>Wed, 14 Dec 2005 14:50:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/message/m-p/1048458#M88546</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-14T14:50:19Z</dc:date>
    </item>
    <item>
      <title>Re: Message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/message/m-p/1048459#M88547</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Am I missing something here, wouldn't it be easier to call the function module MESSAGE_PREPARE to build the message with variables?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Dec 2005 14:52:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/message/m-p/1048459#M88547</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2005-12-14T14:52:40Z</dc:date>
    </item>
    <item>
      <title>Re: Message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/message/m-p/1048460#M88548</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I really want to use the code I wrote but on my case. I do not know what is the best way, but that is the way I should do it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Dec 2005 15:00:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/message/m-p/1048460#M88548</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-14T15:00:53Z</dc:date>
    </item>
    <item>
      <title>Re: Message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/message/m-p/1048461#M88549</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have a message class, message number, and 4 variables.  You problem is that you want to get the text of the message and put the variables into the message itself?  Is this right?  If so, then use MESSAGE_PREPARE, it does it all for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Dec 2005 15:03:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/message/m-p/1048461#M88549</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2005-12-14T15:03:32Z</dc:date>
    </item>
    <item>
      <title>Re: Message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/message/m-p/1048462#M88550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think the best way for you is the tip of Rich. FM MESSAGE_PREPARE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alexandre Nogueira.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Dec 2005 15:04:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/message/m-p/1048462#M88550</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-14T15:04:12Z</dc:date>
    </item>
    <item>
      <title>Re: Message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/message/m-p/1048463#M88551</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i feel this is simpler.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;LOOP AT IT_EDIDS INTO X_EDIDS WHERE STATUS = C_51.
      SELECT SINGLE * FROM T100 INTO T100
                                WHERE SPRSL = SY-LANGU
                                AND   ARBGB = X_EDIDS-STAMID
                                AND   MSGNR = X_EDIDS-STAMNO.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;upto this any way you need to do, and after that any way the same logic will be executed by the FM MESSAGE_PREPARE.&lt;/P&gt;&lt;P&gt;so choose the code/fm any one will do..&lt;/P&gt;&lt;P&gt;choosing fm look will be good, but inside logic is the one which i mentioned..&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>Wed, 14 Dec 2005 15:10:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/message/m-p/1048463#M88551</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-14T15:10:07Z</dc:date>
    </item>
  </channel>
</rss>

