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

Similar Messages

  • Get long text of a message

    I have created message class in tran. se91 and i want to get the long text of a particular message
    in these message class.
    how can i get the long text of the message dynamiclly in the program code?
    thanks in advance,
    Noa

    Hi,
    you can use Function Module MESSAGE_TEXT_BUILD  as:
      CALL FUNCTION 'MESSAGE_TEXT_BUILD'
        EXPORTING
          msgid               = g_msgid
          msgnr               = g_msgno
          msgv1               = g_msgv1
        IMPORTING
          message_text_output = g_message.
    Message text will be in g_message.
    regards,
    Neha

  • 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 in a message

    hello All,
    I created a new message in the message class ME.  I also created a long text for that particular message. But when i use the message in a program long text is not dispalayed properly. Pls give some inputs.
    Thnaks
    Durai

    The<b> long texts</b> of a document are stored in a encrypted format in the STXH and STXL tables, where STXH stores the header information of the long text like <b>TDOBJECT,</b> which indicates which text object the long text belongs to, TDID which indicates the Text <b>ID and TDNAME</b> which is the actual name of the long text.
    As these texts are stored in a encrypted format, the text cannot be read using a SELECT statement. You will have to use the function <b>READ_TEXT.</b> The easiest way of getting to know the parameter values is to go to a document, open the long text in a full screen mode. For example, when you wan to see the long text for a Purchase order, go to transaction ME23n. Assume, you want to see the parameters for the Header Text. In the first Tab Strip Control, click on the Texts tab and select the Header Text node on the left hand side, which will display the text on the right hand side. Now, double click on the text editor on the right hand side. This will open the text in the full screen mode. In the menu<b> Go To --> Header, you</b> should be able to see the values for all the three parameters we discussed above. We will have to do the same thing for whichever text parameters we want to see.
    CALL FUNCTION 'READ_TEXT'
      EXPORTING
    *   CLIENT                        = SY-MANDT
        ID                            =
        LANGUAGE                      =
        NAME                          =
        OBJECT                        =
    *   ARCHIVE_HANDLE                = 0
    *   LOCAL_CAT                     = ' '
    * IMPORTING
    *   HEADER                        =
      TABLES
        LINES                         =
    * EXCEPTIONS
    *   ID                            = 1
    *   LANGUAGE                      = 2
    *   NAME                          = 3
    *   NOT_FOUND                     = 4
    *   OBJECT                        = 5
    *   REFERENCE_CHECK               = 6
    *   WRONG_ACCESS_TO_ARCHIVE       = 7
    *   OTHERS                        = 8
    IF SY-SUBRC <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    reward points if it is usefull ....
    Girish

  • 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.

  • 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

  • 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

  • Dynamic text in Long text of message

    Hi All
    Can you please guide me that how dynamic text are maintained in long text of the messages.
    I have used variable name between 2 ampersands 1.e. &var&..but its nt working. Where could be the mistake ?
    Regards,
    Shreya

    The problem is... I want to show an error message. and when user double clicks on that message, a pop up screen should come showing the detailed description of that message which also contains some dynamic text...eg:
    The message is "Please maintain ABC field for Company Code &1".
    To this short text i want to give a long text description eg:
    "For the Combination of Compay Code &2 and Account &3, ABC field should not be blank".
    Dynamic text element in short text is working fine,  but in long text it is showing &2 and &3..,, ie these are not populated with values.
    Where could be the mistake ?

  • Long text message

    Hi,
    Please help.
    I had to change long text  message which I did using SE91 transaction. A popup window appeared asking for modification name. I gave the message class name as modification name. The long text message is maintained in EN lang.
    I have to translate this message into DE which I tried to do with SE63 transaction
    (Long Text->Other Documentation-> Message Documentation) . But the changes done in SE91 does not appear in SE63 screen. The old long text message (both source and target )appears with some Docu comments .
    But when I execute the program by logging in EN lang, the long text message appears with the recent changes . But in DE the long text message is blanks.
    Please do let me know why discrepancy exists in the long text message  shown in SE91 and SE63 transaction. Please advise what must be done to make the changes appear in SE63 transaction and Text translation.
    Thank You.

    hi,
    If you are looking for the translations for the text-symbols and selection texts used in your program, you need not require to use Transaction SE63. Instead you can do this in SE38 (or SE80)itself.
    For getting the translations in DE version, you need to maintain the corresponding DE version of text-symbols and selection texts in the EN version of the program.
    for example, to maintain text elements in both versions, you can follow the steps mentioned below:
    STEP1: in EN version, from the ABAP editor, GOTO->SELECTION TEXTS->TEXT ELEMENTS navigating from the menu bar.
    STEP2: Select a particular text element and navigate as GOTO->TRANSLATION
    STEP3: Now you get a popup, asking for source language and target language
    STEP4: Choose DE as target lang and EN as source lang; press enter
    STEP5: Now you are in a new screen, where you need to enter the DE text just below the EN Text appears
    STEP6: Save and comeback; activate the program
    STEP7: login in DE lang and see the difference
    You can follow the above steps, for any selection texts, list headings or
    text symbols in the program
    regards,
    keerthi

  • Long text for Messages

    Hi,
    I am trying to display warning message W899(V1).
    For this message, Long text is not maintained in SE91.
    Can we display Long text for such messages? My Long text content will be generated in program. So it will not be fixed always.
    Thanks in Advance
    Umesh

    Umesh,
    899(V1) cannot have a long text as it is dynamically assigned. It takes four text variables and displays them as the message. Because of the dynamic nature of the message, you cannot create one long text explaination for it. Look at the following to illustrate what I am talking about.
    MESSAGE W899(V1) WITH 'I am First Message'
                          'I am Second Message'
                          'I am Third Message'
                          'I am Fourth Message'.
    Your popup will be displayed as 'I am First Message I am Second Message I am Third Message I am Fourth Message'. Now what long text do you think is suitable for this vs. another message displayed as follows.
    MESSAGE W899(V1) WITH 'You have Entered wrong values.'
                          'See long text for an explanation.'
                          'Correct the value'
                          'and rerun'.
    Now here it makes sense to have some long text, but since you are using a message id, you cannot do. If you add long text based on the second message, then it will be applicable to first one also, where it will not make sense.
    Use function module HELP_OBJECT_SHOW. See program DEMO_DYNPRO_F1_HELP for the usage of this function module.

  • Custom Messages Long Text not appearing

    Hi Everybody!
    We are having a problem displaying the long text of custom messages.
    After we click on the "More Information" link beside the message short text, we should get a pop-up message with the long text.
    Instead, we get a pop-up message showing an internet explorer 400 error.
    We are OK displaying long text of standard messages. Should we do something extra to display long text of custom messages?
    Thanks
    Gabriel

    Hi Atul,
    Regarding the long-text option, yes, I have marked: The "Self-Explanatory" checkbox is not checked.
    Here is the source code!
    ** VARIABLES **
      DATA: t_partner          TYPE TABLE OF bbp_pds_partner,
            x_partner          TYPE bbp_pds_partner,
            u_vendor_set       TYPE TABLE OF bbp_vendor_getlist_s,
            x_vendor_set       TYPE bbp_vendor_getlist_s,
            w_xfeld            TYPE xfeld,
            e_message          TYPE bbp_smessages_badi,
            w_guid_crmt_object TYPE crmt_object_guid,
            w_guid_bbp_guid    TYPE bbp_guid,
            w_partner_no       TYPE  bu_partner_guid,
            w_nombre           TYPE bdl_logfun,
            w_process          TYPE bbp_proc_type,
            w_status           TYPE xfeld,
            w_header           TYPE bbp_pds_po_header_d.
        CALL FUNCTION 'BBP_PD_PO_GETDETAIL'
          EXPORTING
            i_guid          = iv_doc_guid
            i_with_itemdata = 'X'
          IMPORTING
            e_header        = w_header
          TABLES
            e_partner       = t_partner.
        IF iv_cv_updated_active_doc = space.
          w_guid_bbp_guid   = iv_doc_guid.
          w_guid_crmt_object = w_guid_bbp_guid .
          LOOP AT t_partner INTO x_partner WHERE partner_fct = '00000019'.
            w_partner_no = x_partner-partner_no.
    *     This function check if the partner is valid.
            CALL FUNCTION 'Z_BC_BLOQ_GET'
              EXPORTING
                iv_bu_partner_guid = w_partner_no
              IMPORTING
                ev_xfeld           = w_xfeld.
            IF w_xfeld IS NOT INITIAL.
    *  Get the name of the vendor.
              CALL FUNCTION 'BBP_VENDOR_GETINFO'
                EXPORTING
                  partner_guid       = w_partner_no
                  x_with_name        = 'X'
                  x_show_inv_parties = 'X'
                  purch_pd_org_type  = 'O'
                TABLES
                  vendor_set         = u_vendor_set.
              READ TABLE u_vendor_set INTO x_vendor_set INDEX 1.
              CLEAR e_message.
              e_message-msgty   = 'A'.
              e_message-msgid   = 'ZSRM_ERRORES'.
              e_message-msgno   = '005'.
              e_message-msgv1   =  x_vendor_set-partner.
              e_message-msgv2   =  x_vendor_set-vendor_name.
              e_message-msgv3   =  x_vendor_set-vendor_no.
              APPEND e_message TO et_messages.
            ENDIF.
            CLEAR x_partner.
          ENDLOOP.
      ENDIF.
    ENDMETHOD.

  • Status long text

    Hello,
    Due to restriction of the characters in status management short text i want to use long text.
    Now, i have created status profile>created stauses>maintained the long text for statuses  but the long text which i have maintained neither appears in gui or webclient.
    Please help me with this issue...how can i have a text for status which is longer than the short text
    Regards

    In the code of the method GET_V_ACT_STATUS, here is the portion of the code where you need to pass the text in txt30 instead of status. Then you will be able to see the long text.:
    CALL METHOD cl_crm_uiu_status_info=>get_status_info
          EXPORTING
            iv_object_guid = lv_object_guid
            iv_object_kind = lv_object_kind
          RECEIVING
            rt_status_ui   = lt_status_ui
          EXCEPTIONS
            error_occurred = 1
            OTHERS         = 2.
        LOOP AT lt_status_ui ASSIGNING <status_ui>.
          ls_ddlb-key   = <status_ui>-status.
          ls_ddlb-value = <status_ui>-txt30.
          INSERT ls_ddlb INTO TABLE lt_ddlb.
        ENDLOOP.
    Hope this helps.
    JD

  • Re:Long Text

    Hi,
           When i tried to create the delivery through BDC getting a message as "Order Can not be delivered (see long text)". Same message i am displaying in my ALV output also.Is there any FM to link to that long text documentation?
    Please let me know,If any body have idea on this.
    Regards,
    Skumar.

    Hi
    SAVE_TEXT writes a text module back to the text file or the text memory, depending on the storage mode of the corresponding text object.
    You can use this module either to change existing texts or to create new texts. If you know for sure that the text is new, use the parameter INSERT to indicate this. The system then does not have to read the text first, which improves the performance of the function module.
    If the lines table passed with the function module is empty, the system deletes the text from the text file.
    http://help.sap.com/saphelp_40b/helpdata/en/d6/0db8ef494511d182b70000e829fbfe/content.htm
    Assuming your falt file will have the asset number and text.
    DATA: BEGIN OF ITAB1 OCCURS 0,
    NUMBER(12),
    TEXT(132),
    END OF ITAB1.
    CALL FUNCTION 'GUI_UPLOAD'
    EXPORTING
    FILENAME = FILE
    FILETYPE = 'ASC'
    WRITE_FIELD_SEPARATOR = ' '
    * IMPORTING
    * FILELENGTH =
    TABLES
    DATA_TAB = ITAB1
    EXCEPTIONS
    FILE_WRITE_ERROR = 1
    NO_BATCH = 2
    GUI_REFUSE_FILETRANSFER = 3
    INVALID_TYPE = 4
    NO_AUTHORITY = 5
    UNKNOWN_ERROR = 6
    HEADER_NOT_ALLOWED = 7
    SEPARATOR_NOT_ALLOWED = 8
    FILESIZE_NOT_ALLOWED = 9
    HEADER_TOO_LONG = 10
    DP_ERROR_CREATE = 11
    DP_ERROR_SEND = 12
    DP_ERROR_WRITE = 13
    UNKNOWN_DP_ERROR = 14
    ACCESS_DENIED = 15
    DP_OUT_OF_MEMORY = 16
    DISK_FULL = 17
    DP_TIMEOUT = 18
    FILE_NOT_FOUND = 19
    DATAPROVIDER_EXCEPTION = 20
    CONTROL_FLUSH_ERROR = 21
    OTHERS = 22.
    IF SY-SUBRC <> 0.
    ENDIF.
    DATA: HEADER LIKE THEAD.
    DATA: LINES TYPE STANDARD TABLE OF TLINE WITH HEADER LINE.
    LOOP AT ITAB1.
    AT NEW NUMBER.
    HEADER-TDOBJECT = <OBJECT>.
    HEADER-TDID = <ID>.
    HEADER-NAME = <NAME>.
    ENDAT.
    move itab1-text to lines-tdline.
    append lines.
    AT END OF NUMBER.
    CALL FUNCTION 'SAVE_TEXT'
    EXPORTING
    HEADER = HEADER
    * INSERT = ' '
    SAVEMODE_DIRECT = 'X'
    TABLES
    LINES = LINES
    EXCEPTIONS
    ID = 1
    LANGUAGE = 2
    NAME = 3
    OBJECT = 4
    OTHERS = 5.
    IF SY-SUBRC <> 0.
    * text update succesful
    ENDIF.
    clear lines.
    refresh lines.
    ENDAT.
    <b>Reward if usefull</b>

  • How to pass variables to a program called from long text of an error msg ?

    Hi,
    The aim is the following: in the long text of an error message, there should be a link; this link must call a program or a transaction and pass to this program or transaction the four variables of the error message. Is it possible to insert such a link with parameters in the long text of the error message ? If yes, what is the syntax for this ?
    (I searched in the forum and found the way to insert a link to a transaction, but I found nothing about parameters).

    Thank you for the answer.
    Unfortunately, this solution is not applicable in my case. I'm using the application log and the scenario is the following:
    - the user displays the application log in transaction SLG1
    - he sees a lot of error and succes messages
    - by dubble-clicking on these messages, he displays the long text of the messages
    - I want a link in these long texts to a transaction using the variables of the messages. I tried inserting a link to a transaction, and the transaction is well called, but with a breakpoint I checked variables SY-MSGV1 to MSGV4 and they are empty.

  • Mulitple language in Long text

    HI all,
    Is it possible to mainitan multiple languages in long text?
    I have a message maintained in SE91 transaction in English and i have used translation for this message into French. I also want to maintain long text for this. It is allowing me to maintain long text for this message in English but i do not see an option to maintain n french as well. Can someone help?
    Thanks,
    Venkat

    Hi Pawan,
    That is how i have maintained for the short text. I created a message in SE91 (in english) and using GOTO->Translation , i have maintained the french translation for the same. This GOTO->TRANSLATION is only for short texts. I want to maintain long text for this message in both English and french. I am able to see the longf text in english but just clueless as to how to maintain the long text in french as well.
    Regards,
    Venkat

Maybe you are looking for