Skip to Content
author's profile photo
Former Member

how to make disply information messages with type error?

Hi Friends

I have disigned one custom screen. In that, for a validation i have given error message type E. while exicuting the transaction i am getting the error message in status bar but screen is becoming gray mode. I am not able to rectify my error on screen. How can i enable my screen fields by getting error message in status bar.

Please let me know.

Add comment
10|10000 characters needed characters exceeded

5 Answers

  • author's profile photo
    Former Member
    Posted on Aug 01, 2007 at 10:02 AM

    for this u have to use FIELD in flow logic

    Eg

    FIELD matnr MODULE chkmatnr.

    module chkmatnr.

    if matnr is not in mara..give error...

    endmodule.

    You can refer program DEMO_DYNPRO_FIELD for better understanding

    reward if useful

    Message was edited by:

    Arjun Puthuruthy

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Posted on Aug 02, 2007 at 01:05 AM

    hi,

    make sure that your type E message is in PAI module, for message effect you can check DEMO_MESSAGES.

    regards

    Add comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 02, 2007 at 02:33 AM

    You have to use Chain Endchain to rectify this greying off when a Error msg is triggered.

    just include the fields in between chain endchain and also the module in which the error msg is raised

      chain.
        field: <field1>,
                <field2>. " You can include all the fields which you dont want to 
                          " grey off when error being raised.
        module VALIDATE_DATA. " module in which error is raised
      endchain.
    

    Regards

    Gopi

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Posted on Aug 20, 2007 at 12:33 PM

    Hi,

    You can try it this way.

    U code a message like this.

    <b>message text-xxx type 'S' display like 'E'.

    return.</b>

    This willnt make the screen grey but the message works like an error one.

    Reward if useful

    Thanks ,

    Neeraja.C

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Posted on Aug 20, 2007 at 12:36 PM

    Hi,

    U can also try this way.

    <b>message s000(zabc) display like 'E' with text-xxx.

    return.</b>Reward if useful,

    Thanks,

    Neeraja.C

    Add comment
    10|10000 characters needed characters exceeded