Skip to Content
author's profile photo Former Member
Former Member

message class

hi friends,

i need to print the information message of long text of say 90 characters is it possible? how? r else if so is there any FM for pop-up a window to have the text of 98 characters...

reply soon urgent.

advance thanks.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

5 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jun 11, 2007 at 10:42 AM

    Hi Purna ,

    You can use the FM , but you will have to split the text into 2 parts and pass it to the parameters TEXTLINE1 and TEXTLINE2 of the FM.

    Regadrs

    Arun

    *Assign point if helpful

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 11, 2007 at 10:39 AM

    hi, try this

    TYPES: BEGIN OF LT_SVAL.

    INCLUDE STRUCTURE SVAL.

    TYPES: END OF LT_SVAL.

    TYPES: T_IT_SVAL TYPE STANDARD TABLE OF LT_SVAL.

    DATA: LIT_SVAL TYPE T_IT_SVAL.

    DATA: LWA_SVAL TYPE LT_SVAL.

    CALL FUNCTION 'POPUP_GET_VALUES'

    EXPORTING

    • NO_VALUE_CHECK = ' '

    POPUP_TITLE = 'RETURN VALUES FROM EAI'

    • START_COLUMN = '5'

    • START_ROW = '5'

    • IMPORTING

    • RETURNCODE =

    TABLES

    FIELDS = LIT_SVAL

    EXCEPTIONS

    ERROR_IN_FIELDS = 1

    OTHERS = 2

    .

    reward points if helpful

    regards,

    venkatesh

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jun 11, 2007 at 10:40 AM

    Hi,

    You can use the following FMs

    BAPI_MESSAGE_GETDETAIL

    WRITE_MESSAGE_NEW

    MESSAGE_TEXT_BUILD

    K_MESSAGE_TRANSFORM

    or even easier to use the following statement:

    message .. into.

    then you can move the long text to a text98 field....of course it will be truncated.

    Best regards,

    Peter

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      yes,

      you can do this using message clas.

      just create a class using se91 and specify it in your program.

      in message class for messages maximum length could be 132 chars.........

      regards,

      ruchika

      Reward if useful.........................

  • Posted on Jun 11, 2007 at 10:41 AM

    HI

    U CAN CREATE A MESSAGE CLASS AnD In DAT CLICK LONG TEXT BUTTO AD GIVE UR TEXT IN THAT.

    RGDS

    Message was edited by:

    abapuser

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 11, 2007 at 10:42 AM

    Hi,

    you can simply write s001.

    if you will double click it will ask to create a text elemnt. you can create here maximum of 132 chars.

    direct path is goto-text element-text symbols.

    s is message type, like this you can also use e for error and i for information.

    regards,

    Ruchika

    reward if useful...........

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.