Messages in long text

Hello Everyone,
How to pass the dynamic values in the long text.

hi usha,
welcome to sdn,
first of all your question is not clear,
u can define one local variable with data type string then u can pass into that.
ex: data: l_text type string.
reward points if helpful,
regards,
seshu.

Similar Messages

  • Message area long text

    Hello guys,
    Just one question,
    How can i put one long text in TWO lines in the message area..?
    I am showing a messager error too longer, so i would like to take off the scroll bar and split the text in two lines.
    thx..

    You cannot do this with message manager reporting messages. You can use the message class long text or place holders to achieve this.
    Refer this thread.
    [Line break in messages|Line break in messages]

  • Error message for long text

    Hello gurus,
       I want to display long error
    message like
    "A BBD is missing on the semi-finished batches to be consumed. This data is required to calculate the BBD of the manufactured product. Check the SF batches before releasing the order again.."
    so can you please tell me the procedure for displaying in pop up window.
    i have tried.
    message gv_mesg type 'E' DISPLAY LIKE 'I'.
    but it gives up pop  window heading error but information icon but i want error red icon.

    hi,
    Thanks for your help. but can you please tell me that what can i give for message class
    CALL FUNCTION 'AQ_INT_SHOW_MESSAGE_AS_POPUP'
      EXPORTING
      POPUP_POS_X                  = 5
      POPUP_POS_Y                  = 5
        message_class                =
        message_number               =
        message_type                 =
        MESSAGE_VAR1                 =
      MESSAGE_VAR2                 =
      MESSAGE_VAR3                 =
      MESSAGE_VAR4                 =
    EXCEPTIONS
      INTERNAL_ERROR               = 1
      MESSAGE_DOES_NOT_EXIST       = 2
      OTHERS                       = 3
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    here can you tell me values

  • Extracting long text of a message

    Hi,
    I have a message in a message class with a long text.I want to extract this longtext in my program. Is there any method to access/extract lontext of a message of a mesasge class? i.e if i can give the message class and message id as input?

    Function module DOCU_GET_FOR_F1HELP will get you the message's long text.  You'll need to set the ID to NA, and the rest of the parameters are the language and your message id and number.
    The long text is returned in a table.
    Regards,
    Nick

  • Long text of status message

    Hello experts,
    I have a scenario wherein I need to display a warning status message at the bottom of the screen. When the user clicks on that message, the long text of the message should contain certain extra information.
    For example: I give the warning status message like: "Some entries are invalid".
    Once the user clicks this message, a new window opens up, which says:
    Entry 1 is invalid.
    Entry 2 is invalid.
    Entry 3 is invalid.
    Entry 4 is invalid.
    How can I achieve this result?
    Thanks,
    Ajay.

    Hello Ajay.
    goto the message class in se91 -> here message class is ZARP -- > select the particular message number like '001' click on long text ( CTRL + F7 ) , write the appropriate text u want , and in program while you write the message like
    REPORT      ZABY message-id ZARP.
    message W001. " if user double clicks on that message, the long text of the message displays
    Regards,
    Aby

  • Message long text variable replacement

    Hi,
    I hope this question is not considered too basic, but the documentation I found does not provide a solution:
    We created a message where we want to display quite a lot of information.
    So we concatenated some information and altogether gave a text quite short so that the whole message fits in the status bar area.
    In the long text, I would like to explain the information given in the for message variables in more detail.
    According to documentation, we can use & & & & or &1 &2 &3 &4 in the short text but &V1& &V2& &V3& &V4& in the long text.
    When clicking the message, The long text display pops up and shows the short text with message variable values but in the explanatory long text &V1& &V2& &V3& &V4& is not replaced.
    I.e.
    Mat/Plt/Sto 1234567/1000/12
    should be extended in long text to
    Material / Plant / Storage location 1234567/1000/12 ...
    but is displayed as
    Material / Plant / Storage location &V1& ...
    Can I use the message variables only once, either in short or in long text?
    I tried various variations without success.
    Hopefully someone with experience can give me some information on what I missed.
    Regards,
    Clemens

    Arrgh!
    Thanks Thomas and Brad.
    For my user, still the word editor was configured. With this, you definitely have to use the edit insert symbol technique otherwise &V1& results in garbage.
    Just do it as suggested, or better switch to classic text editor: Not what you see is what you get but what you type is stored as is.
    Hope I won't forget too soon.
    Regards,
    Clemens

  • Pop up message unable to display the long text

    hi i have here a situation where in my pop up message does not display the compelete text of my variable
    for example if lv_message = my name is john.
    the pop up message only displays " my name"
    MESSAGE i000 WITH lv_message. -> using this syntax, what might cause thie error?
    thanks

    Hi,
    The message variables are a maximum of 50 characters long (you can see them defined in table SYST), whereas the output from FORMAT_MESSAGE can be longer than this.  This is why the output from the function module is getting truncated when you pass it to a message variable.
    Vinod's suggestion will work, but I'm curious, why are you (presumably) passing all the details for a message (ID, Class, Type, variables) passing them to FORMAT_MESSAGE to turn them into a text string then passing this to a generic message.  Why not just issue the message directly, instead of using the function module?  If the message has long text you will lose this the way you are processing it now.
    Regards,
    Nick

  • How to generate long text of the message during run time?

    Hi guys,
    I have a question like in the subject. Someone could help me with that? I need to put some kind of log after transaction execution into message's long text, so that the short text displays only some short information and long text contains detailed description of the problem, but returned by program. And the log can be long, so it is not enough to put there only some parameter.
    Thanks and kind regards,
    Marcin

    Hi,
    Do you want to change the label of the parameter??
    Check this example..
    PARAMETERS: p_check AS CHECKBOX USER-COMMAND usr.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 1(15) v_text FOR FIELD p_land1.
    PARAMETERS: p_land1 TYPE t005-land1.
    SELECTION-SCREEN END OF LINE.
    AT SELECTION-SCREEN OUTPUT.
    IF p_check = 'X'.
    v_text = 'From country'.
    ELSE.
    v_text = 'To country'.
    ENDIF.
    Regards,
    Ramesh.

  • Long Text not Trasporting in QS41

    When I created code entries for a code group using transacation QS41, I filled in the short text but I also added long text to further clarify which code should be chosen.  When I test this option in our developement system, I can click on "Display Long Text" icon and read the extended text when I am choosing a particular code.
    When I transport these catalog entries up to our staging system, the code groups, codes, short text and long text icons transport great but when I click on the long text icon I get a message "No long text exists".
    Has anyone run into this or can you offer a solution?
    thanks

    Hi
    BAPI_DOCUMENT_CHANGE/CHANGE2/CREATE/CREATE2 (structure BAPI_DOC_TEXT)
    check following
    Re: reg how to retrieve long text
    Re: LSMW long text
    for additional info
    How to transfer long text to excel sheet?
    check wheather it is useful...
    Sujit

  • Database Table where modifications to message long text are stored (log)

    Hi,
    As per manual correction mentioned in SAP note 1144291,
    we have changed the long text for message XC092 by modification of the long text.
    This note 1144291 is a pre-requisite for SAP Note 1310808.
    After the notes were implemented, it is noticed that message CURTO1055 has incorrect information in its long text. This is because, the variable in the long text are not correctly defined in the long text.
    Both the messages XC-092 and CURTO1-055 are SAP standard.
    The error for CURTO1-055 can be rectified by modification of the long text and maintenance of the correct variables.
    However, my question is:
    Where do we check the log for document modifcation for a message long text.
    I have found the logs relevant to my modification in table DOKHL and DOKIL.
    But in which table do we get all of the foll. data:
    - Message class
    - Message number
    - Modification name
    - Modification created by
    - Modification done on
    - Last changed by
    - Last changed on
    Kindly help. A <removed by moderator> solution would be really helpful.
    Best Regards,
    Smruthi
    Edited by: Thomas Zloch on May 5, 2011 12:07 PM - urgency reduced

    Hi Smruthi,
    The modification changes would be in the SMODILOG table. Please note this is a core basis table and should not be changed, however to best find your changes search under the TRKORR field with the relevant tp request.
    Best regards,
    Derrick Hurley
    Development Workench

  • Error when generating the report (see long text), Message no. AQ_AD_HOC221

    Hi All,
    I am facing a peculiar problem while executing an infoset query.I have created 2 customized fields Compa-ratio and PIR in infotype 0008 in an infoset.I have coded in these additional fields.
    When I execute a query using 1 of these customized fields the report is generated correctly.But when I put both the fields in the output the report shows an error "Error when generating the report (see long text)". The message# associated with this errAQ_AD_HOC221.
    I have also checked the data types and the references. Nothing seems to be wrong here.
    Does anybody has any clue about this ?
    Kajal

    Hi Bernd,
    I had a look at those notes. But the information provided did'nt prove to be helpful. I found out the problem. I was using the same local variable for both the fields in their code. This generated the error. This error is a very generic one and does'nt help in finding out what exactly is the problem.
    I changed the other local variable and it started working. When I was using the same variable that time I did'nt forget to clear the values but the query still generated the error.
    Anyways thanks a lot for the reply.
    Kajal

  • Can no longer send long text messages to an android device

    In the last month, whenever I send a relatively long text message to a non iPhone user (Galaxy s5), that person will not receive the message at all. On my screen it says that the message was sent, but they are not receiving it. I used to never have this problem before. After a while, I went into my settings and put on the character count option to see if it would help me.  I realized all my messages over 160 characters would not be received, and all messages with an emoji that have over 70 characters would not be received. This is really frustrating and I would love if someone could help me see why this is and if there's any way to fixing it.

        This is really strange behavior, Edgar08. I want to make sure those messages reach their destination. Have you noticed if this is affecting a specific contact or multiple contacts? What iOS is your phone on? Settings>General>About>Version.
    AndreaS_VZW
    Follow us on Twitter @VZWSupport

  • Why can I no longer text message on the larger format by turning my phone?

    Why can I no longer text message on the larger format by turning my phone on its side?

    Hi,
    Since iChat 6 the SMS option in the Menus has disappeared.
    However if you add the number to a Buddy List as if it were  Screen Name but with the leading +1 (as in +1234567890) it will work over AIM.
    It only works to US phones on some Carriers.
    9:44 pm      Wednesday; January 8, 2014
      iMac 2.5Ghz 5i 2011 (Mavericks 10.9)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad

  • Since I downloaded the new update on my iphone 4s I no longer see the delivered message under my text when sent.  Also the message is green instead of blue.  Does anybody know how to fix this?

    Since I downloaded the new update on my iphone 4s I no longer see the delivered message under my text when sent.  Also the message is green instead of blue.  Does anybody know how to fix this?

    You are sending SMS messages. iMessages are blue. Go to Settings>>Messages>>iMessage ON.

  • Display of long text message

    Helllo Expert,
         I want to display a long message, In module pool program . I have maintain the other message of the program in message class but the long message is not fitting into the message class. the message which I want to display is *"Data saved. Market group (&) and market super group (&) saved. Market (&), market (&) and market super group (&) saved" I have tried using text-xxx but it's not allowing after WITH only 4 field allowed.
    Thanks .

    You can use the function module
    HELPSCREEN_NA_CREATE
    to display the long text of the message!
    Regards
    Naren

Maybe you are looking for