How to display a variable in the message

Hi all,
I am developing an application where I am parking a document, can anyone please tell me how can I display the document number on the web dynpro screen with the message once the document has been parked. So far I have written the following code but this is just for displaying a message only and not the number:
DATA lo_api_controller     TYPE REF TO if_wd_controller.
    DATA lo_message_manager    TYPE REF TO if_wd_message_manager.
lo_api_controller ?= wd_this->wd_get_api( ).
    CALL METHOD lo_api_controller->get_message_manager
      RECEIVING
        message_manager = lo_message_manager.
    CALL METHOD lo_message_manager->report_success
      EXPORTING
        message_text = 'Document has been parked.'

DATA lo_api_controller     TYPE REF TO if_wd_controller.
DATA lo_message_manager    TYPE REF TO if_wd_message_manager.
data lv_document_number    type        string.
data lv_message_string        type        string.
lo_api_controller ?= wd_this->wd_get_api( ).
    CALL METHOD lo_api_controller->get_message_manager
      RECEIVING
        message_manager = lo_message_manager.
*** get document number in lv_document_number
lv_document_number = .....
*** form message string
concatenate 'Document has been parked : Document No :' lv_document_number into lv_message_string.
    CALL METHOD lo_message_manager->report_success
      EXPORTING
        message_text = lv_message_string.

Similar Messages

  • How to display a variable in the report?

    hi all
    i want to use one complex sql statement which will return only one value and i need to display it in report. i'm new to OBIEE. i thought of creating a repository variable to hold that value. but im not sure of how to display the variable in the report.
    Any idea?
    Your help is appreciated

    Hi where do you want to show that value in answers i mean in which part of answers, you want to show that?
    see this
    http://bischool.wordpress.com/2009/05/05/presentation-variable-values-in-report-titles-or-using-presentation-variable-in-dashboard-text-object-and-narrative-view-directly/
    also see this to where and how to use variables in answers
    http://shivabizint.wordpress.com/2008/10/02/oracle-bi-ee-variables-overview/

  • How to display your email and a message to finder on the lock screen of an iPhone?

    Hi,
    I loose things, including phones and keys...
    To prevent a worst case scenario: How to display your email and a message to finder on the lock screen of an iPhone? (6 plus, current iOS)
    That is, I assume most people finding an iPhone would want to try to contact me to give it back to me, if they know how: how can leave my contact information in the phone? This needs to be on the lock screen, naturally, as this is the only view the finder can see. It would be useful to be able to add a message of sorts a la "if found please call my wife ### or email me ###".
    How can this be done other than editing the JPG of the wallpaper, or sticking a business card to the back of the phone (these are the only solutions I came up with, there must be something better).
    Cheers!

    Greetings _daniel_, 
    Thank you for contributing to the Apple Support Communities. 
    It seems like you'd like to display a message on your iPhone 6 Plus in the event it is lost. Good news--you can do this with the Find my iPhone feature of iCloud.
    Check out these links for more information:
    iCloud: Set up iCloud
    iCloud: Use Lost Mode
    If you can’t find your device, use Lost Mode right away to lock it with a passcode, display a custom message on the screen, and keep track of its location.
    Cheers, 
    Jeremy

  • Alerts with variables from the messages payload without BPM?

    Hi, experts:
    Is it possible to define a alert category with variables from the messages payload(for example:order_id ) without BPM?
    Regards
    Yu Ming

    Refer to
    http://searchsap.techtarget.com/tip/0,289483,sid21_gci1240902,00.html
    initially this also talk about BPM but you can check whether you can use the container variable in you case.
    How to define the container variable in ALRTCATDEF is mention in above link.
    **Points if answers find useful.
    Gaurav Jain

  • How to specify a variable in the path prefix of an External HTTP (RFC) connection (in transaction SM59)

    Hi There,
    Please can someone tell me how to specify a variable in the  path prefix of an External HTTP (RFC) connection in transaction SM59?
    For example if my path prefix is /invoke/test/example?input=XYZ; how do I replace "XYZ" with a variable so that I can pass in any value after "=" ?
    Thanks,
    Brendon

    Hi,
    This is SAP Business one system administration forum. Please find correct forum and repost above discussion to get quick assistance.
    Please close this thread here with helpful answer.
    Thanks & Regards,
    Nagarajan

  • How to use bind variables in the following query

    CREATE OR REPLACE PROCEDURE MMDB.test IS
    sel_qtn VARCHAR2 (10);
    CURSOR PT_QUANTITY IS select * from mmdb.product_tree WHERE QUANTITY_CHECK ='E'
    AND run_id = 100
    a PT_QUANTITY%ROWTYPE;
    BEGIN
    FOR i IN PT_QUANTITY
    loop
    sel_qtn := i.quanttity-1;
    While sel_qtn>=1
    loop
    insert into mmdb.product_tree (BILLING_ACCOUNT_NO ,S_CODE) values (i.BILLING_ACCOUNT_NO ,i.S_CODE||'E');
    sel_qtn :=sel_qtn -1;
    End loop;
    commit;
    end;

    Don't duplicate threads: How to use bind variables in the following query

  • How to display data elements in the tempalte header

    Hello friends
    i've this date_from and date_to parameters which are date parameters that user enters..
    based on these date parameters I want to display them in the header as
    day of date_from(for example if the date_from is 13-nov-2010.then I should display 13)and for date_to it should dispaly as 15 if for example the user enters
    16-nov-2010.(date-1's day)
    so it should break down to
    date_from-13-nov-2010, 13
    date_to- 16-nov-2010, 15
    I want these two values to be displayed in the header of the template how to do this
    pls help
    also let me know how to display data elements in the template header
    Edited by: erp on Dec 22, 2010 12:44 AM

    Hi Ananth..Thanks for ur timely reply
    Can I use it with <? substring(':date_from',1,2)?>
    where date_from is an input parameter which user enters at the run time of the report.
    I've to capture the date entered by the user and print it in the header..
    Pls reply

  • How can I get rid of the message that I am using a trial version of Photoshop CC even after becoming a paying member for Photoshop CC and Lightroom ?

    After having payed fo an account for one year for Photoshop CC and Lightroom 5 i keep getting the message ,that I am using a trial version of Photoshop CC.
    Lightroom on the other hand is not functioning in a trial version !
    Could anyone tell me how I can start working with Photoshop CC while not in trial mode ?
    Peter

    I Don’t know how I di dit, but when I started Photoshop this mornig all of a sudden it worked.
    I am happy now and thank you for your efforts.
    Regards
    Peter Hordijk
    Van: Rajshree 
    Verzonden: woensdag 21 mei 2014 19:04
    Aan: Peter Hordijk
    Onderwerp:  How can I get rid of the message that I am using a trial version of Photoshop CC even after becoming a paying member for Photoshop CC and Lightroom ?
    How can I get rid of the message that I am using a trial version of Photoshop CC even after becoming a paying member for Photoshop CC and Lightroom ?
    created by Rajshree <https://forums.adobe.com/people/Rajshree>  in Adobe Creative Cloud - View the full discussion <https://forums.adobe.com/message/6398343#6398343>

  • How to display link content on the the same sharepoint page on click event

    "How to display link content on the the same sharepoint page on click event"
    Detail:
    we are using a document library where all html files are stored/uploaded.  we would like to display/open the html file on the same sharepoint page where all the files are listed.
    Thanks.

    Use jQuery and set the target to self to the anchor tag
    Regards,
    Sairam Avacorp Technologies

  • Adobe Connect: how to display a picture in the WebCam pod when not sharing video

    Adobe Connect: how to display a picture in the WebCam pod when not sharing video

    The WebCam pod can pause a live video showing a static image. However, I believe that you are looking to use a Share pod, where you can upload a JPG or PNG image. Just place the share pod with the image where you would have the Camera pod.

  • How do I get rid of the message "To use this machine for downloads, enter you Apple ID and password" which I now see twice since I downloaded the latest version of iTunes? Once is enough and no checkbox exists to say "do not show this message.....".

    When I start iTunes, how do I get rid of the message "To use this machine for downloads, enter you Apple ID and password" which I now see twice since I downloaded the latest version of iTunes.  Once is enough and no checkbox exists to say "do not show this message....."

    Does this apply?
    If you're asked for the password to your previous Apple ID when signing out of iCloud - Apple Support

  • HOW TO DISPLAY A VARIABLE

    hi friends,
    I have a variable in wk_matnr value is 'MATERIAL123'.
    How to display this variable like Material No :-MATERIAL123
    How to code for this in BSP.
    Moosa

    Hi,
    To display any variable in BSP.
    you need to do this:
    <%= varibale name %>
    For your variable,
    <%= wk_matnr %>
    OR
    <htmlb:label for = "wkm"
                       text = "Material No" />
    <htmlb:text id = "wkm"
    text = "<%= wk_matnr %>" />
    Hope this is helpful.
    Regards,
    Abhinav

  • I get a message that says "this accessory is not optimized for this phone" how may I get rid of the message?

    I get a message that says "this accessory is not optimized for this phone" how may I get rid of the message?

    A lot will depend on what "accessory" the message is "not optimized". I get this message when my Mophie Juicepack is depleted, recharge it and no problems. Till the next time it is drained of course. That might give you hint of the issue. If you tell use what device you might be using when you get that message, we might have a different suggestion.

  • How do i get rid of the message "the time availiable for this call is" before every call

    How do i get rid of the message "the time availiable for this call is" before every call

        cheap.phone.owner,
    I understand you want to deactivate the message advising you of your balance every time you make a call. To obtain information about your Prepaid service, you may contact them by dialing "*611 SEND" from your wireless phone, or (888) 294-6804 from any phone, to speak with a Customer Service Representative.
    AdaS_VZW
    Follow us on Twitter at @VZWSupport

  • How doi print Any variable at the end of page in ALV report?

    Hi,
    Anyone can tell me that How do i print Any variable at the end of page in ALV report?
    Exmale: at the ende of alv report i want to print total no of employee who has taken house loan or education loan.

    Hi,
    Go through these links
    Thread in sdn regarding FOOTER IN ALV
    [ALV  FOOTER;
    Wiki in sdn regarding HEADER AND FOOTER IN ALV
    [https://wiki.sdn.sap.com/wiki/display/Snippets/ABAP%20Objects%20-%20ALV%20Model%20-%20Using%20Header%20and%20Footer]
    Header and Footer in ALV
    [http://www.sap-img.com/abap/test-alv-display-with-header-footer.htm]
    Hope this helps.
    Thank you,
    Pavan.

Maybe you are looking for

  • Adding a Tree into a datagrid column

    I have a requirement where I have to create a datagrid with one of the columns having a tree control. The problem I am trying to resolve is how to dynamically change the height of the datagrid column which has the tree when the tree is collapsed and

  • Faulting application winlogon.exe, version 0.0.0.0, faulting module ntdll.dll

    I'm having a problem where computers across the domain are getting this error and are randomly rebooting.  The computer reboots if the user is or is not logged into the system.  We have scanned for malware/spyware/rootkits/viruses with multiple produ

  • User directory-move does not run.

    I moved the user directory to a second hd. Inside the user settings (right-click on the username) i maintained the new path. OS X confirmed it and shows the standard home icon to the new directory, but every new file or directory will be saved to the

  • Muse and Typekit without Business Catalyst

    Hello! I've been watching this useful video (http://tv.adobe.com/watch/learn-muse/working-with-typekit-fonts/eng/) but I have a dobut. I'd like to know if Typekit works correctly if I don't use Adobe Business Catalyst to upload my website and I use a

  • Duplication of bands in artis lists

    I have an Ipod Classic. I have several artist that are listed multiple times, each listing even has the same songs in it. It doesn't matter what I do they will not converge into one listing. Any help would be appreciated.