Messages: replacing &V1& and &V2& in long text

Hello,
I have defined a message with short and long text.
In the short text, I use &1 and &2, in the long text I use &V1& and &V2& as described in the ABAP help.
I call the message like this:
MESSAGE w050(zmessclass) WITH i_mess1 i_mess2
I get replaced &1 and &2 in the short text but no replacement of &V1& and &V2&. How is it working in long text?
Thanks
Stephan.

Hi,
Instead of typing the &V1& and &V2& directly into the long text editor yourself, choose the "Insert Command" function (Ctrl-F9) instead.  In the popup for this function you will see several types of commands.  Within the "Symbols" section type in &V1& and press enter.  Repeat this for &V2&. 
You will now see that &V1& and &V2& are highlighted (gray).  Activate your text and try again.  Your long text should now show the variables in place of &V1& and &V2&.
Regards,
Jamie

Similar Messages

  • HT3529 i cannot open my messages app due to a ridiculously long text i sent, it goes to a white screen then just goes back to the home screen, what can i do ?

    i cannot open my messages app due to a ridiculously long text i sent, it goes to a white screen then just goes back to the home screen, what can i do ?

    OK, just remembered that someone had posted a solution for this "login loop" issue.
    If you follow the directions here and be sure to enter all of this EXACTLY as it appears here, you may be able to solve this problem.
    You will first need to boot into single user mode, which will bring you to a scary looking text only screen. Don't be frightened.
    To do this, startup holding the Cmd-S keys together. At the entry which shows root# enter the following exactly. Write it down now, since you won't be able to copy/paste. Pay attention to case and spaces. Everything is lower case. The only spaces are between /sbin/mount and -uw, between -uw and / and between rm and /var/audit/current
    Type in
    /sbin/mount -uw /
    Hit return and then at the next root# prompt, type in
    rm /var/audit/current
    Then hit return and at the next root# prompt type in "reboot" no quotes. Don't type in anything new until you get the root# prompt after entering each command.
    If after entering rm /var/audit/current, you get a message back saying "no such file," then just type in "reboot" at the prompt.

  • I cannot update adobe cc application, message is always and since a long time "erreur de téléchargement" - réessayez ou contactez le service client

    I cannot update adobe cc application, message is always and since a long time "erreur de téléchargement" - réessayez ou contactez le service client
    and I didn't see application in the apps windows
    what is the way to work simply and to update application ?
    applications are on my computer and run well
    thanks for your hepl
    olivier

    sign out and then back in to your cc app.
    if that fails, you can update directly, All the Adobe CC Updates: The Direct Download Links for Mac OS | ProDesignTools

  • How to display field values in long text of messages....

    Hi,
      Currently iam doing an userexit. In that i want to display error messages. and if we click on message it will display the long text. My question is i want to display field values in the long text. Under the long text's &system_response& i want  to display a field value.
    Regards
    chinna

    Hi Chinna,
    Within short and long texts, you can use placeholders, which can be replaced with the content of data objects using the MESSAGE statement. A maximum of four character-type placeholders are permitted; they are indicated by #&i# in short texts, and by #&Vi&# in long texts, where i = [1, 4]. If #&# itself is to be displayed as part of the text, it must be specified as #&&# in short texts and as "&" in long texts.
    To add some detail on how to create variables in Long text, you have to go to 'commands' and in symbol option provide the variables like
    &V1&  &V2&  and so on.
    Hope this helps you.
    revert for further clarification.
    <b>Alwyas reward Points to useful suggestions.</b>
    Regards,
    Vikas
    Message was edited by:
            Vikas Taneja

  • 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

  • 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

  • Creation of short text and long text?

    Hi,
    We create short text by using oe_fnd_attachments_pub.create_short_text_document and oe_fnd_attachments_pub.add_attachment API and to create long text we use fnd_documents_pkg.insert_row .
    Why is it that we have different approaches for creation of short text and long text?
    I know that oe_fnd_attachments_pub.add_attachment is used to attach a short text to some entity,but then why we dont do the same for long text?
    Please lemme knw urgently ...
    Thanks and Regards
    Amar

    Thanks for the help,
    I looked into the document and i got to know few things as to how short and long text are created, but can u tell when the records are inserted into fnd_attached_documents, because i can see that records are inserted into fnd_attached_short_text and fnd_attached_long_text, fnd_documents but i dont see any insertion into fnd_attached_documents, can u lemme knw how and when it is done?

  • PC-UI : long text of messages

    On clicking the details of the messages we get only the static long text but not the messages which are collected in from other sytems say R/3.

    This is a limition with PC-UI framework. It is worked upon for the forthcoming realeases.

  • Creating a long text using ABAP code.. fm SAVE_TEXT

    When you create an order via IW31 one of the options is to click on the text button and create a long text. I am basically trying to mimic this action from within my ABAP code.
    The text id details are as follows:
    Text Name       500000015000046  which is (5000000 + order number)
    Language        EN
    Text ID            KOPF         Order header text
    Text Object      AUFK       Order text
    If i manually create the text within the transaction i am then able to view and update it via function modules READ_TEXT and SAVE_TEXT. But if the text has not already been created READ_TEXT obviously returns nothing as it does not exist and SAVE_TEXT does not seem to created it!
    Anyone know how i would go about creating this text using ABAP code?
    Hope this make a bit of sense
    Thanks in advance
    Mart

    I have implemented the code as i think it should be. See below, can any see what is wrong. If i add init_text it makes no difference and adding the commit_text just makes it hang
    DATA: IT_TEXTS type standard table of TLINE,
           wa_texts like line of it_texts,
           wa_txtheader type THEAD.
    wa_txtheader-TDID     = 'KOPF'.
    wa_txtheader-TDSPRAS  = 'EN'.
    wa_txtheader-TDNAME   = '500000015000056'.
    wa_txtheader-TDOBJECT = 'AUFK'.
    wa_texts-tdformat = '*'.
    wa_texts-tdline = 'hello'.
    append wa_texts to it_texts.
    wa_texts-tdformat = '*'.
    wa_texts-tdline = 'hello'.
    append wa_texts to it_texts.
      wa_texts-tdformat = '*'.
    wa_texts-tdline = 'hello'.
    append wa_texts to it_texts.
    wa_texts-tdformat = '*'.
    wa_texts-tdline = 'hello'.
    append wa_texts to it_texts.
    wa_texts-tdformat = '*'.
    wa_texts-tdline = 'hello'.
    append wa_texts to it_texts.
      wa_texts-tdformat = '*'.
    wa_texts-tdline = 'hello'.
    append wa_texts to it_texts.
    CALL FUNCTION 'SAVE_TEXT'
      EXPORTING
        CLIENT                = SY-MANDT
        HEADER                = wa_txtheader
        INSERT                = 'X'
       SAVEMODE_DIRECT       = ' '
       OWNER_SPECIFIED       = 'X'
      LOCAL_CAT             = ' '
    IMPORTING
      FUNCTION              =
      NEWHEADER             =
      TABLES
        LINES                 = IT_TEXTS
    EXCEPTIONS
       ID                    = 1
       LANGUAGE              = 2
       NAME                  = 3
       OBJECT                = 4
       OTHERS                = 5
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.

  • Alert Long Text

    Hi all!
    I have a problem when a BPM throws an alert with dynamic text from a control step:
    - If the control step have the next text: &var_container&
      The long text in the alert inbox is filled with the content of the var_container.
    - If the control step have the next text: Message with id &var_container& failed
      The long text in the alert inbox is empty...
    Thanks in advance,
    Roberto

    Message ID is not accessible inside a BPM and hence the problem.
    Why is not accessible -> Look at this really interesting thread.
    Re: Message id in BPM
    What is the solution - workaround from Michal
    /people/michal.krawczyk2/blog/2005/06/11/xi-how-to-retrieve-messageid-from-a-bpm
    Regards
    Bhavesh

  • Could not start Layout Designer (see long text)

    Dear All,
    Could not start Layout Designer (see long text)
    Message no. FPUIFB086
    Diagnosis
    The forms design tool for developing the form layout could not be started; either it is not installed or there are errors in the installation.
    Procedure
    Make sure that you have the forms design tool installed on your desktop (the tool is part of the SAPGUI installation).
    Refer also to SAP Note 1121176.
    Note : I have already checked forums and also the long text file , i have installed SAP gui 720 with latest patch  even though , we are getting the same error . or i have to installed ADOBE LIFE CYCLE DESIGNER to user PC ?
    Note :
    One of the forum is mentioned ,we can also download and install the newest SAP GUI (what is 7.2 i believe) which has LCD as a part of installation.
    but still i am getting error .
    SAP gui Details :
    SAP PC VERSION INFORMATION: saplogon.exe
    MAIN MODULE INFORMATION:
       saplogon.exe
       SAP Logon for Windows
       720 Final Release
       7200.3.9.1071
       1286983
    SYSTEM INFORMATION:
       Operating system: Microsoft Windows XP 5.1 (2600)
                         Service Pack 3
    Kindly advise.

    Please let me know the path and it  can be used permanent ?  or it will ne expired ?
    Thanks
    Edited by: satheesh0812 on Nov 29, 2011 12:17 PM

  • Performance Assistant Long text Corrupt in NW04s BI

    Hi all,
    after installing SAP Netweaver 2004s SP08, I have experienced problems in displaying message longtexts. in all the place
    One example for the characters that get displayed instead of the correct longtext:
    This is Unicode code BI ABAP + JAVA system. Please help in this
    †&#8192;&#15475;&#29817;&#27749;&#8308;&#31088;&#25917;&#8820;&#25976;&#29743;&#25459;&#29474;&#15904;&#15393;&#11565;&#8290;&#28516;&#31020;&#8308;&#24930;&#27749;&#11296;&#29796;&#11296;&#29810;&#8315;&#8290;&#24931;&#27495;&#29295;&#30062;&#25645;&#25455;&#27759;&#29242;††&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192; †&#8192;&#9062;&#25958;&#25957;&#25915;&#8294;&#28526;&#29741;&#26209;&#28009;&#27769;&#14945;&#29289;&#24940;&#15136;&#26223;&#28276;&#11635;&#29817;&#27749;&#14958;&#28530;&#28001;&#27707;&#8294;&#28526;&#29741;&#29545;&#31333;&#14905;&#28788;&#15136;†††††&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192; †&#8192;&#25455;&#27759;&#29242;&#9008;&#12336;&#12336;&#12347;&#8317;&#8296;&#12588;&#8296;&#12844;&#8296;&#13100;&#8296;&#13356;&#8296;&#13600;&#31520;&#25455;&#27759;&#29242;&#8227;&#12336;&#12336;&#14384;&#15136;&#32032;&#24890;&#27753;&#28267;&#8315;††††&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192; †&#8192;&#25455;&#27759;&#29242;&#9008;&#12342;&#13121;&#13371;&#8308;&#25976;&#29741;&#25701;&#25455;&#29281;&#29801;&#28526;&#14958;&#28526;&#25915;&#8317;&#8289;&#14966;&#26995;&#26996;&#25956;&#8315;&#8291;&#28524;&#28530;&#14883;&#14384;&#14182;&#14133;&#15136;†††&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192; †&#8192;&#29797;&#30836;&#11620;&#25955;&#28530;&#24948;&#26991;&#28218;&#28271;&#28261;&#15136;&#32032;&#24890;&#24931;&#29801;&#30309;&#8315;&#8291;&#28524;&#28530;&#14883;&#14384;&#14182;&#14133;&#15136;&#29797;&#30836;&#11620;&#25955;&#28530;&#24948;&#26991;&#28218;&#28271;&#28261;&#15136;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192; †&#8192;&#32032;&#24890;&#26735;&#30309;&#29216;&#31520;&#25455;&#27759;&#29242;&#9062;&#12336;&#12336;&#12347;&#8308;&#25976;&#29741;&#25701;&#25455;&#29281;&#29801;&#28526;&#14958;&#28526;&#25915;&#8317;&#8238;&#25205;&#29812;&#28526;†††††††
    TH&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;

    the Messages are usually maintined via SE91. Create a Message.
    Select the Message and navigate to
    Goto->Documentation->Long Text.
    and maintain the long Text there
    use BAPI_MESSAGE_GETDETAIL to retrive the msg
    A

  • Long text not visible

    Hi
    I have configured Service Desk for Solution managter. Wen the user create a support message it appears in the solution Manager but i am unable to see the long text that the user has written. How can i cross check it and where the long text appears. How can I resolve it

    Hi ,
    Then this is something to do with the text determination procedure for your transaction type SLFN.
    Check what are all the text ID's in that text field(e.g Description , Log , reply.... etc). Whether for all the text ID's it is blank?
    Check what is the text determination procedure assigned to SLFN? In standard SLFN0001 is used.
    Then check in the configuration in the path
    SAP Solution Manager -> Scenrario Specific Settings ->Service Desk -> Text determination procedure-> Text object -CRM_ORDERH ->procedure (SLFN0001)-> definition of procedure and check the changes column of the texd id's.
    If the changes column is selected as 'P' it is an editable field in support message, if it is 'R' then it will be display.
    Check for your text determination procedure.
    Hope this resolves your problem,
    Thanks,
    regards,
    Srinivas.
    You can view the text entered by the person in the trasnaction data tab -> overview. you can verify the data in this field with the data entered from help-> create support message
    Edited by: Srini24 on Apr 29, 2010 2:31 PM
    Hi Muhammad,
    +Also please check if the text determination procedure is defined in your transaction type SLFN. Even if it is left as blank you willhave the field as 'grey'+  in the path
    solution manager-> scenario specific settings ->service desk -> general settings->define transaction type->SLFN
    please check and confirm.
    Award points if issue is resolved.
    regards,
    Srinivas
    Edited by: Srini24 on Apr 30, 2010 1:37 PM

  • How to display long text in smartforms

    Hi experts,
    Iam trying to display long text into smartforms.I got the long text into ITAB frm database
    in the abap program.In the form interface how to define the variable?In the long text i have 6 lines.
    points guaranteed
    cheers
    kaki

    Kaki,
    Delcare a table and getting the LONG TEXT is not the right way of doing this.
    You create a TEXT object and change the TYPE to INCLUDE TEXT. Once that is done all you have to do specify the parameters of your long text - TEXT ID, TEXT OBJECT and TEXT NAME. These are the same parameters that you use for READ_TEXT funciton. You don't have to fetch the text manually, it happens automatically.
    Make sure this is a part of the main window as this might run into multiple pages.
    Regards,
    Ravi
    Note : Please reward the posts that help you.

  • How to display long text in Arabic quickly Flash Builder ?

    Hi,
    I have prepared an application for Android in Adobe Flash Builder. In application there are prayers in Arabic as a list. In app , short prayers are displaying quickly, but long prayers are displaying  after a long time. This is my problem.
    I share my project file in addition.Can  anybody help me, please?
    Note: I used SQLite database in my project as you can see and  I used a font to view prayers in Arabic.
    Prayers.zip - Google Drive

    Kaki,
    Delcare a table and getting the LONG TEXT is not the right way of doing this.
    You create a TEXT object and change the TYPE to INCLUDE TEXT. Once that is done all you have to do specify the parameters of your long text - TEXT ID, TEXT OBJECT and TEXT NAME. These are the same parameters that you use for READ_TEXT funciton. You don't have to fetch the text manually, it happens automatically.
    Make sure this is a part of the main window as this might run into multiple pages.
    Regards,
    Ravi
    Note : Please reward the posts that help you.

Maybe you are looking for

  • Sharing between itunes accounts and computer/iphone

    My husband and I each have our own itunes accounts. I want to put some of his music (from his itunes library on the computer) into my iphone music library. We can't figure it out. Homesharing doesn't appear to be working and drag/drop doesn't work ei

  • Splitting MIDI?

    Is it possible to split a MIDI file, to 2 arrays: one with the notes, and one with the duration of the notes? We have a project on school, we need to load in a MIDI file, then get the note that the player is playing, and match it with an image. Anyon

  • Store boolean array as text file

    Hi there I'm having some trouble storinge a 25x25 2D array of booleans in a text file. First I make the 2D array a 1D array, and then I change it to a number, but here something already goes wrong, not the full number is stored, presumably because th

  • Status text error

    Hi all,     I need help in resolving this issue. When viewing a production order status in COOIS transaction, I am getting a popup information message " Status text for object ORXXXXXXXX in order XXXXXXXXXX could not be determined". After that in the

  • How do you clear or delete app update history?

    hi everyone, and apple, how do you delete or clear the app update history in the appstore? its a highly annoying 'feature' to list by date all updated apps....