How to display the variable content in message?

Hi anybody
please let me know How to display the variable content in message?
please send few lines of sample code to understand that
thanks in advance

Hi,
Check out the link
http://help.sap.com/saphelp_nw70/helpdata/en/2c/840b42202cce6ce10000000a155106/content.htm
REPORT Y9020027 LINE-SIZE 130.    "Release 3.1G, 4.5A                  
BREAK-POINT.
MOVE: 'TESTREPORT for    "ASSIGN  FFeld+o(l)  TO  "        '     
        TO SY-TITLE.
      Declaration of variables    **********************
FIELD-SYMBOLS <FS1>.
DATA: FFELD8(8)   TYPE F VALUE '1022333'.   "Unusual: Explicit 8 bytes
*DATA: ZFELD1(2)    TYPE N.            "Here slack bytes are (DW border)
                                     "necessary                      
              "If you like computing error, please uncomment the above
DATA: FFELDX(8)   TYPE F VALUE '7777777'.
DATA: FFELDA(8)   TYPE F VALUE '7333213'.
DATA: NFELDX(400) TYPE N.
DATA: OFFX(4) TYPE I VALUE 160.
DATA: LENX(4) TYPE I VALUE 8.
              Main Section             *******************
    SKIP.
    WRITE: /5  'Example 1   **** inadmissible ASSIGN ***' COLOR 6.
    WRITE: /10 'Inadmissible ASSIGN: ''ASSIGN FFELD4+1(3) TO <FS1>'' '.
  ASSIGN FFELD4+1(3) TO <FS1>.
    ULINE.
    SKIP 2.
    SKIP.
ASSIGN FFELD8+8(8) TO <FS1>.     "<-- Assigning of variable  FFELDX  !!
    BREAK-POINT.
    WRITE: / 'ASSIGN command with FFELD8, but FFELDX will be assigned'
              COLOR 3.
    WRITE: /5 'Example 2'.
    PERFORM DISPLAY-FFELD USING FFELD8 'FFELD8'.
    WRITE: /10 'Content of   FFELDX      :', FFELDX.
    ULINE. SKIP 2.
    SKIP.
ASSIGN FFELD8+16(8) TO <FS1>.    "<-- Assiging a few FFELDA to <FS1>  
    BREAK-POINT.
    WRITE: / 'ASSIGN with FFELD8, but instead FFELDA is assigned'
              COLOR 3.
    WRITE: /5 'Example 3'.
    WRITE: /10 'Content of   FFELDA      :', FFELDA.
    PERFORM DISPLAY-FFELD USING FFELD8 'FFELD8'.
    WRITE: /10 'Content of   FFELDA      :', FFELDA.
    ULINE. SKIP 2.
BREAK-POINT.
   DO 4 TIMES.
     ASSIGN FFELD8+OFFX(LENX) TO <FS1>.     "Zuordnung auf OFFX zu <FS1>
        WRITE: / 'ASSIGN command with FFELD8, es wird NFELDX zugeordnet'
                  COLOR 5.
         WRITE: /5 'Example 4', 'DO-Schleife Nr.:', SY-INDEX.
         PERFORM DISPLAY-FFELD USING FFELD8 'FFELD8'.
         WRITE: /10 'Content of NFELDX145(40)  :', NFELDX145(40).
         ULINE. SKIP 2.
         ADD 8 TO OFFX.
   ENDDO.
               Subroutines             *******************
           Display of data fields and field symbols                  *
FORM DISPLAY-FFELD USING FFELD FNAME.
WRITE: /10 'Content of', FNAME, ':', FFELD.
PERFORM FELDEIGENSCHAFTEN USING FFELD.
WRITE: /10 'Content of <FS1> :', <FS1>.
PERFORM FELDEIGENSCHAFTEN USING <FS1>.
ADD   111    TO <FS1>.               "<-- Das Feldsybmol wird verwendet
WRITE: /10 'ADD 111 TO <FS1>'.
ULINE.
WRITE: /10 'Content of', FNAME, 35 ':', FFELD.
WRITE: /10 'Content of <FS1>',  35 ':', <FS1>.
ENDFORM.
   Determination of field properties (only for information)          *
FORM FELDEIGENSCHAFTEN USING ALLG.
DATA: FLAENGE(2) TYPE N.
DATA: FTYP(1) TYPE C.
DATA: FOUT(2) TYPE N.
DATA: FDEZ(2) TYPE N.
  ULINE.
  DESCRIBE FIELD ALLG LENGTH FLAENGE.
  WRITE: /10 'Field length  :', FLAENGE.
  DESCRIBE FIELD ALLG TYPE FTYP.
  WRITE: /10 'Field type    :', FTYP.
  DESCRIBE FIELD ALLG OUTPUT-LENGTH FOUT.
  WRITE: /10 'Output length :', FOUT.
  DESCRIBE FIELD ALLG DECIMALS FDEZ.
  WRITE: /10 'Decimals      :', FDEZ.
  SKIP 1.
ENDFORM.
END OF PROGRAM *************************************

Similar Messages

  • How to display the same content in the two different main windows?

    Hi experts,
    How to display the same content in the two different main windows?
    Thanks in advance.
    sarath

    Hi
    Sorry but you can't have two main windows in sapscripts.
    Regards
    Gregory

  • How to display the file contents???

    Hi all,
    I have a JSP page which is suppose to display resource contents on clicking of href like this:
    <td><a href="">Click here</td>But the problem is, these contents are stored some where on the hard disk of the system inside the folder \\LMS\Resources\doc\knowledge.doc.
    some other file I have like:
    \\LMS\Resources\pdf\display.pdf
    It can be any file (PDF,DOC,SOUND AUDIO).
    Can anyone please tell me how to open the contents of the file directly from href???
    Or I should use some other way to display those files.??I just want a way to start with.......
    Thanks in advance
    Namrata

    Hello Namrata,
    There are millions of ways to do this.
    1. You can create a shared drive in your server as "\\LMS\Resources" pointing to K Drive etc... You can write a simple servlet which picks up the relative path from "\\LMS\Resources" which is "pdf\display.pdf" and it can read the file and then based on the file extension it can resend the response mime type for the browser to pick it up. This can be done in both Windows and Unix environments.
    2. Have a Content Management System like Lotus Domino, Fatwire, etc and upload all contents and point the href to the Content Management System URL.
    3. You can upload the documents into a database as BLOB data and then use it to render content.
    4. You can also have a regular program which synchronizes the data from \\LMS into the Server hardware in a particular location.
    In Options 1, 3, 4 you need the servlet to render the content out to the Client browser.
    All this can be done based on the Technology environment, cost available to spend, Skill sets available and other factors.
    Do let me know if you need any more information
    Thanks,
    Pazhanikanthan. P

  • How to display the xml content into my datagrid

    Hi Experts,
                     i have created a webservice for sales quotation through DI-Server.iam able to add a new sales quotation through my coding & iam able to get the sales quotation based on the DOcEntry in an *XML file*.
              The xml file that i got using DOCENTRY is in this way:--
    <?xml version="1.0" encoding="utf-8" ?>
    - <BOM>
    - <BO>
    - <AdmInfo>
      <Object>oRecordset</Object>
      </AdmInfo>
    - <OQUT>
    - <row>
      <DocEntry>8</DocEntry>
      <DocNum>8</DocNum>
      <DocDate>20080715</DocDate>
      <DocDueDate>20080815</DocDueDate>
      <CardCode>C0003</CardCode>
      <CardName>HP India</CardName>
      <DocTotal>14500.000000</DocTotal>
      <ItemCode>A00006</ItemCode>
      <Dscription>HP Officejet 7310 All-in-One</Dscription>
      <Quantity>1.000000</Quantity>
       <Price>14500.000000</Price>
      <Currency>INR</Currency>
       <DiscPrcnt>10.000000</DiscPrcnt>
      <LineTotal>14500.000000</LineTotal>
       </row>
      </OQUT>
      </BO>
      </BOM>
    Now the problem is from this xml content i should display the values in my datagrid like:
    DocEntryCardCodeDocDueDateItemCodeDscriptionQtyTotal
         8--C000320081116--A00006-HP-off jet-2 ---                     1000
    can anybody suggest me some ideas that how to get the SPECIFIED values into my datagrid...........
    regards,
    shangai.

    hi vincent,
                    Thanks for your reply.iam unable to understand these lines in your code..iam working in vb.net
    public static DataSet GetDataSetFromXML(XmlNode XMLNode)
    grid.DataSource = GetDataSetFromXML(Result.SelectSingleNode(xpath_string));
    this is my coding....it's throwing an error when i declare like this
    Public Sub GetDataSetFromXML(ByVal XmlNode)
            Dim ds As New DataSet
            Dim reader As XmlNodeReader
            reader = New XmlNodeReader(XmlNode)
            ds.ReadXml(reader)
            reader.Close()
            'Return ds --->(error with syntax)
        End Sub
    DataGrid1.DataSource = GetDataSetFromXML(oXmlReply.SelectSingleNode("//DocDueDate"))
                DataGrid1.DataBind()
    regards,
    shangai

  • How to display the variable screen with report in the same page together

    our customers want to design a web application use BEx
    they want the variable screen can be displayed with the report result in the same web page together
    so they can modify the variable filters any time and refresh the report with new variable filter
    i have tried the navigation area,but it seems only use new filter to the data athough get,we can't change the filter we input in the variable screen.
    is there any way to display these together?
    even I can use BSP.

    I think to display var screen with the report is not possible.(At least it will not be static). You need to refresh the report and choose the varibale at that time.
    Other option could be to bring all the possible value in the report and provide your user with the filter value. But this will make your report slow as you may have to bring more data in the filter.
    Thanks...
    Shambhu

  • How to display the variables in the specified manner?

    We need to display some variables in an array in the horizontal order with backslash between the variables using a For loop in XML
    For Example
    Variable 1 / Variable 2 / Variable 3
    Could someone provide valuable suggestions on the same.
    Regards,
    Sudeep.

    Not sure if I understood the question, do you mean you want to display variables as output, where in the logic runs in a loop while reading the XML data and creates an array of data separated by backslash? You can always concatenate the variables similar to string concatenation.

  • How to display the error and success message in ALV

    Hi expert,
    i am doing recording through call transaction,from the output list of a ALV,now my requirement is after recordig how many record get success and how many get failed ,i need to display in Another ALV .please any one help me in this .
    Regards
    Swaraj

    HI ,
                 Use this following Perform form statment to display error message.
    FORM format_message .
      g_row = g_row + 1.
      LOOP AT t_bdcmsgcoll.
        CALL FUNCTION 'FORMAT_MESSAGE'
          EXPORTING
            id        = t_bdcmsgcoll-msgid
            lang      = '-D'
            no        = t_bdcmsgcoll-msgnr
            v1        = t_bdcmsgcoll-msgv1
            v2        = t_bdcmsgcoll-msgv2
            v3        = t_bdcmsgcoll-msgv3
            v4        = t_bdcmsgcoll-msgv4
          IMPORTING
            msg       = G_MSG
          EXCEPTIONS
            not_found = 1
            OTHERS    = 2.
        IF sy-subrc = 0.
          CASE T_BDCmsgCOLL-msgtyp.
            WHEN 'E'.
              FORMAT COLOR 6 ON.
              WRITE:/  g_row,
                    /  T_BDCmsgCOLL-msgtyp, g_msg.
              FORMAT COLOR OFF.
            WHEN 'W'.
              FORMAT COLOR 3 ON.
              WRITE:/  g_row,
                    /  T_BDCmsgCOLL-msgtyp, g_msg.
              FORMAT COLOR OFF.
            WHEN 'I'.
              FORMAT COLOR 4 ON.
              WRITE:/ g_row,
                    / T_BDCmsgCOLL-msgtyp, g_msg.
              FORMAT COLOR OFF.
            WHEN 'S'.
              FORMAT COLOR 5 ON.
              WRITE:/ g_row,
                    / T_BDCmsgCOLL-msgtyp, g_msg.
              FORMAT COLOR OFF.
          ENDCASE.
        ENDIF.
      ENDLOOP.
    ENDFORM.                    " FORMAT_MESSAGE
    *&      Form  success
          text
    FORM success .
      LOOP AT i_message.
        CALL FUNCTION 'FORMAT_MESSAGE'
          EXPORTING
            id        = i_message-msgid
            lang      = sy-langu
            no        = i_message-msgnr
            v1        = i_message-msgv1
            v2        = i_message-msgv2
            v3        = i_message-msgv3
            v4        = i_message-msgv4
          IMPORTING
            msg       = g_msg
          EXCEPTIONS
            not_found = 1
            OTHERS    = 2.
        IF sy-subrc <> 0.
          MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                  WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        ENDIF.
        WRITE : /2 g_msg COLOR 1.
        CLEAR G_MSG.
      ENDLOOP.
    ENDFORM.                    " success
    *&      Form  error
    FORM error .
      DATA g_msg(255).
      LOOP AT i_message.
        CALL FUNCTION 'FORMAT_MESSAGE'
          EXPORTING
            id        = i_message-msgid
            lang      = sy-langu
            no        = i_message-msgnr
            v1        = i_message-msgv1
            v2        = i_message-msgv2
            v3        = i_message-msgv3
            v4        = i_message-msgv4
          IMPORTING
            msg       = g_msg
          EXCEPTIONS
            not_found = 1
            OTHERS    = 2.
        IF sy-subrc <> 0.
          MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                  WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        ENDIF.
        WRITE : /2 g_msg COLOR 6.
      ENDLOOP.
    ENDFORM.                    "error

  • How to display the variable name in right side of the graph

    Hi All,
    i have defined a scatter chart. my requirement is to show the values of the Z-axis or level axis beside the scatter chart. this is already present for the OBIEE pie chart. can we configure the same for the scatter chart.
    thanks in advance.

    Hi Paul,
    Following customized code displays Full Names on my portal:
    private String GetWelcomeMsg(IPortalComponentRequest request, String welcomeClause)
        IUserContext userContext = request.getUser();
        if (userContext != null)
              String firstName = userContext.getFirstName();
              String lastName = userContext.getLastName();
              String displayName = userContext.getDisplayName();
              String salutation = userContext.getSalutation();
              if (displayName != null)
                   if(salutation != null)
                        return java.text.MessageFormat.format(welcomeClause, new Object[] {displayName, salutation, " "}).toString();
                   else
                        return java.text.MessageFormat.format(welcomeClause, new Object[] {displayName, " ", " "}).toString();
              else if ((firstName != null) && (lastName != null))
                   if(salutation != null)
                        return java.text.MessageFormat.format(welcomeClause, new Object[] {firstName, lastName, salutation}).toString();
                   else
                        return java.text.MessageFormat.format(welcomeClause, new Object[] {firstName, lastName, " "}).toString();
              else
                   return java.text.MessageFormat.format(welcomeClause, new Object[] {userContext.getUniqueName()," ", " "}).toString();          
        return "";
    Regards,
    Sergei

  • How to display a variable in the report?

    hi all
    i want to use one complex sql statement which will return only one value and i need to display it in report. i'm new to OBIEE. i thought of creating a repository variable to hold that value. but im not sure of how to display the variable in the report.
    Any idea?
    Your help is appreciated

    Hi where do you want to show that value in answers i mean in which part of answers, you want to show that?
    see this
    http://bischool.wordpress.com/2009/05/05/presentation-variable-values-in-report-titles-or-using-presentation-variable-in-dashboard-text-object-and-narrative-view-directly/
    also see this to where and how to use variables in answers
    http://shivabizint.wordpress.com/2008/10/02/oracle-bi-ee-variables-overview/

  • How to display the eror message in the iView

    Hi
    I want to check the user input in the client side and display an error message in the iView instead of displaying the error message as an alert
    it is ok when I tried to do it as an alert
    alert('ERROR MESSAGE');
    but the problem is how to display the error message as a text in the iView ...
    I wrote the below code..
    any one can see it and has any sugestion?
    Thanks
    =============
    <%@ taglib uri="tagLib" prefix="hbj" %>
    <%
    String compid = "";
    String message = "";
    %>
    <hbj:content id="MyContent">
    <hbj:page title = "Selection Screen">
    <hbj:form id = "myForm">
    <br>
    <br>
    <br>
    <center>
    <H3>Benefits Statement </H3>
    <H4>Selection Screen</H4>
    <hbj:gridLayout
    id="FSSLayout"
    debugMode="False"
    width="40%"
    cellSpacing="5"
    >
    <hbj:gridLayoutCell
    rowIndex="1"
    columnIndex="1"
    width="10%"
    horizontalAlignment="LEFT"
    style="WildStyle"
    >
    <hbj:label
    id="label_inputPernr"
    required="TRUE"
    text="Personal Number:"
    design="LABEL"
    labelFor="inputPernr"
    />
    </hbj:gridLayoutCell>
    <hbj:gridLayoutCell
    rowIndex="1"
    columnIndex="2"
    width="40%"
    horizontalAlignment="LEFT"
    >
    <hbj:inputField id = "inputPernr"
    >
    <%
    compid=MyContent.getParamIdForComponent(inputPernr);
    %>
    </hbj:inputField>
    </hbj:gridLayoutCell>
    <hbj:gridLayoutCell
    rowIndex="10"
    columnIndex="1"
    width="40%"
    horizontalAlignment="CENTER"
    colSpan="2"
    >
    <hbj:button id = "myButton" text="Submit.." design="EMPHASIZED"
    tooltip="Click me to submit this form" onClick="ClickEvent" onClientClick="validRequired()">
    </hbj:button>
    </hbj:gridLayoutCell>
    </hbj:gridLayout>
    </center>
    <p font="Arial" size=20><%= message%></p>
    </hbj:form>
    <SCRIPT LANGUAGE="Javascript">
    function validRequired()
    var myvar = document.getElementById('<%=compid%>').value;
    var ivID='<%=componentRequest.getComponentContext().getContextName()%>';
    if (myvar = " ")
    message = "Enter Employee Number";
    ivuRefresh(ivID);
    htmlbevent.cancelSubmit=true;
    </SCRIPT>
    </hbj:page>
    </hbj:content>

    No problem, here is an example of some html code and javascript that you can adapt to your needs. You can display this standalone to see how it works.
    I hope this helps
    <html>
         <head>
              <script language="JavaScript">
                   function validateForm(){
                        if(document.getElementById("nameField").value == "")
                             document.getElementById("errormessage").innerHTML = "Please enter the Name";
                        else if(document.getElementById("ageField").value == "")
                             document.getElementById("errormessage").innerHTML = "Please enter the Age";
                        else if(document.getElementById("idField").value == "")
                             document.getElementById("errormessage").innerHTML = "Please enter the id";                         
                        else
                             document.getElementById("errormessage").innerHTML = "";
              </script>
         </head>
         <body>
              <table border="0" cellpadding="0" cellspacing="0">
                   <tr>
                     <td>Name</td>
                     <td><input type="input" id="nameField" name="nameField"></td>
                   </tr>
                   <tr>
                     <td>Age</td>
                     <td><input type="input" id="ageField" name="ageField"></td>
                   </tr>
                   <tr>
                     <td>Id</td>
                     <td><input type="input" id="idField" name="idField"></td>
                   </tr>
                   <tr><td><font color="red"><span id="errormessage"></span></font></td></tr>
                   <tr><td><input type="button" name="validate" onClick="validateForm()" value="Click to validate"/></td></tr>
              </table>
         </body>
    </html>

  • How to display the message along with a value using BBP_CHECK_BADI

    Hi Gurus,
    I need to display a message dynamically when the user create's a shopping cart. I am using Check_badi for this. i.e., I need to display the buyer number and amount left for him dynamically. I am storing both of them in variables and don't know how to display the messages laong with some message " the amount left for <XXXXXX> is <$$$$$$$$>". Can you help me out.
    Thanks,
    Neelima

    Hi,
    you can use the function module 'BBP_PD_MSG_ADD'. This is the function module normally used for the displaying the error messages in SRM.
    See wether you can use already available error messages , use the transaction SE91 , and the message class being BBP_PD

  • How to use the variables used in the message mapping

    Hi ,
    In the message mapping we can declare variables in the JAVA section , these variables could be used across the mapping .
    I have tried using it but I am unable to retrieve the values assigned to the variables in one UDF into the another UDF .
    Please guide me how to use the variables declared in the JAVA section in the message mapping .
    Thanks
    Anita Yadav

    Anita,
    I have worked on the Global variables and i found no issues. Make sure that the variable is declared in the Declaration Section and then initlaized in the Initialization section.
    If you declare a variable in the Declaration Section ,
    int i;
    then in any udf you can use if directly. No need to re declare  the variable in the UDF. If you do this, then it becomes a local variable.
    Regards,
    Bhavesh

  • How to display the content of a region on a different page

    Hello,
    Does anyone knows how to display the content of a region on an other page. I try to make page that displays content that resides somewhere else in my portal, so I can give a summarization of some hot topics. I really want to display the whole content of some regions (not a display with custom search).
    Thanks a lot,
    Hans

    Set that page as portlet, include it in a region in another page and in the edit defaults decide which regions you want to display.
    Mere.

  • How to display the content of a BLOB column in a ADF/BC pages ?

    How to display the content of a BLOB column in a ADF/BC pages ?
    There is some image in database table blog column. And we want to display image on the screeen.
    There is some example about upload and dowload blog columns.
    (steve not yet document example page etc...)
    But We want to display blog picture in a image component...
    is there any basic way to do it ?
    Thanks a lot...

    Ali,
    You could just download the sample app... but... here is the servlet code from the demo (look at it just for technique - you'll obviously have to change it for your needs)...
    John
    package oracle.fodemo.storefront.servlet;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.OutputStream;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import oracle.jbo.ApplicationModule;
    import oracle.jbo.Key;
    import oracle.jbo.Row;
    import oracle.jbo.ViewObject;
    import oracle.jbo.client.Configuration;
    import oracle.jbo.domain.BlobDomain;
    import oracle.jbo.domain.DBSequence;
    import oracle.jbo.domain.Number;
    import oracle.jbo.server.ViewObjectImpl;
    public class ImageServlet
      extends HttpServlet
      private static final String CONTENT_TYPE =
        "image/jpg; charset=windows-1252";
      public void init(ServletConfig config)
        throws ServletException
        super.init(config);
      public void doGet(HttpServletRequest request,
                        HttpServletResponse response)
        throws ServletException, IOException
        response.setContentType(CONTENT_TYPE);
        response.setContentType(CONTENT_TYPE);
        String detailProductId = request.getParameter("detail");
        String thumbnailProductId = request.getParameter("thumbnail");
        boolean thumbnail = true;
        String productId = null;
        OutputStream os = response.getOutputStream();
        String amDef = "oracle.fodemo.storefront.store.service.StoreServiceAM";
        String config = "StoreServiceAMLocal";
        ApplicationModule am =
          Configuration.createRootApplicationModule(amDef, config);
        ViewObjectImpl vo =
          (ViewObjectImpl) am.findViewObject("ProductImages"); // get view object (the same as used in the table)
        if (detailProductId != null)
          productId = detailProductId;
          thumbnail = false;
        else
          productId = thumbnailProductId;
        vo.defineNamedWhereClauseParam("paramThumbnail", null, null);
        vo.defineNamedWhereClauseParam("paramProductId", null, null);
        vo.setWhereClause("DEFAULT_VIEW_FLAG = :paramThumbnail AND PRODUCT_ID = :paramProductId");
        vo.setNamedWhereClauseParam("paramThumbnail", (thumbnail? "Y": "N"));
        vo.setNamedWhereClauseParam("paramProductId", productId);
        vo.executeQuery();
        Row product = vo.first();
        BlobDomain image = (BlobDomain) product.getAttribute("Image");
        InputStream is = image.getInputStream();
        // copy blob to output
        byte[] buffer = new byte[10 * 1024];
        int nread;
        while ((nread = is.read(buffer)) != -1)
          os.write(buffer, 0, nread);
        os.close();
        vo.setWhereClause(null);
        vo.removeNamedWhereClauseParam("paramProductId");
        vo.removeNamedWhereClauseParam("paramThumbnail");
        Configuration.releaseRootApplicationModule(am, false);
    }

  • How to display the Message Pool Messages in CE 7.2

    Hi Experts,
    Please let me know how to display the Message Pool Messages in CE 7.2.
    I have tried with reportContextAttributeMessage, but it is deprecated in CE 7.2.
    Please do the needful.Its Urgent.
    Thanks & Regards,
    SatheshKumar R

    Hi Sathesh,
    Do the following steps:
    1.) After creating a component, under it you will see Message Pools. Double click and open it.
    2).Click "Add Message" and add a new message. (Give a message key, type of message (either warning, error etc ) and message text).
    3). Save the metadata.
    4). Raise this message where all you want by using following code(For example, on click of a button) :
          IWDMessageManager msgnr = wdThis.wdGetAPI().getComponent().getMessageManager();
          msgnr.reportMessage(IMessage<component name>.<message>,null,true);
    For example, I have a component name TestAppComp and under message pool I have message called message1, then use lik this:
            IWDMessageManager msgnr = wdThis.wdGetAPI().getComponent().getMessageManager();
            msgnr.reportMessage(IMessageTestAppComp.MESSAGE1,null,true);
    Reply me if you any doubt.
    Regards,
    Jithin

Maybe you are looking for

  • AJUDA URGENTE E IMEDIATAAA!

    Opa galera,preciso de ajuda urgente e imediata.Eu estou desenvolvendo um logo para o meu grupo de desenvolvedores(na verdade sou level designer 0.0 ) consegui fazer certa parte, mas estou travado em outra etapa.É o seguinte: No logo há listras(cerca

  • VGA out: block KDE handling?

    I have always had trouble disconnecting from VGA and have often had to hard shutdown. However, until last week VGA connecting almost always worked flawlessly. KDE recognised the addition of the screen and asked to configure it. Usually, it asked if I

  • How do i get rid of unwanted free new u2 album?

    How do I get rid of unwanted free new U2 album?

  • MOVE REPLICATION DATABASE TO NEW SERVER

    WE HAVE A PRODUCTION DATABASE THAT WORK'S AS REPLICATION FROM 9 DATABASES, WE ARE GOING TO MOVE DATABASE TO NEW SERVER. AS DATABASE IS PRODUCTION, WE CAN NOT STOP SERVICES. WE THINK TO CREATE A NEW DATABASE ON NEW SERVER, IMPORT DATA FROM PROD. DATAB

  • XL Repoter Error

    Hi All,           When i select saved xl report from XL Organizer which is composed by XL Composer the following error it shows as:            "A Required COM add-in program for XL Reporter has not been loaded & prohibits Microsoft Excel from running