POP UP in WD ABAP

hi,
i m new in web dynpro ABAP. i wants to create a popup for a button displaying some message. plz try to give some dummy program name also.

WDR_TEST_POPUP_TO_CONFIRM is the standard component
see the button click event in MAIN view
  l_cmp_api = wd_comp_controller->wd_get_api( ).
  l_window_manager = l_cmp_api->get_window_manager( ).
  l_popup = l_window_manager->create_popup_to_confirm(
              text                   = l_text_table
              button_kind            = l_conf_context-button_kind
              message_type           = l_conf_context-message_type
              close_button           = l_conf_context-close_button
              window_title           = l_conf_context-window_title
              window_left_position   = l_conf_context-window_left_position
              window_top_position    = l_conf_context-window_top_position
              window_position        = l_conf_context-window_position
              window_width           = l_conf_context-window_width
              window_height          = l_conf_context-window_height ).
Abhi

Similar Messages

  • Tell me about pop up window in abap

    hi all,
                   i want to do a pop up message .
              when material stock is below the lower limit.
             it give the automatic message to user to take the action .
          pls  tell me how i can do this in abap.
    regards
    vikas .

    Hi,
    Use POPUP_TO_CONFIRM
    Sample code
    l_question is of type string,It contains the message that you need to pass,
    CALL FUNCTION 'POPUP_TO_CONFIRM'
      EXPORTING
       TITLEBAR                    = ' '
        TEXT_QUESTION               = l_question
       TEXT_BUTTON_1               =  text-t08
       TEXT_BUTTON_2               = text-t09
    IMPORTING
       ANSWER                      = w_reponse
    EXCEPTIONS
       TEXT_NOT_FOUND              = 1
       OTHERS                      = 2
    w_respone contains 1,2,A
    where 1 = yes
             2 =No
            A = cancel
    Reward points if useful

  • Unsolved ABAP keyword documentation failure

    Hi everybody,
    I already posted this in the other "ABAP keyword documentation" threads, but because those are solved I think nobody sees that there´s still a problem (unfortunately all those solutions didn´t work for me or I should say that "my" problem didn´t appear yet, so I thought it might be a good idea to create a new thread so people can help me). For inconvenience I´m sorry.
    Here is my problem:
    We have two sap servers here, MCC and MQA. If I log into MCC, open SE80, mark a word (for example WRITE) and press F1, I get the pop up with title "ABAP key word documentation". I doubleclick on WRITE and another pop up (session) appears. Everything works wonderful.
    Now I repeat this on server MQA. I mark a word (also WRITE, FYI: it doesn´t work on IF or ELSE), press F1 and a pop up appears (title is also "ABAP key word documentation"). I doubeclick WRITE and the pop up closes and nothing happens.
    Please help me. I absolutely don´t know how to solve this problem. Both systems are on the same level in Support Package level, Kernel level etc.
    Best regards, Dominik

    To be more specific:
    I was missing an entry in SR13 -> PlainHtmlFile.
    Well, I took the Documentation DVD and installed it.
    Still the same problem, BUT if I call transaction ABAPHELP, leave the popup for the keyword blank and confirm, the ABAP reference opens. I click on ABAP-Index and search for WRITE (just an example). If I click it I get the same information like I normally would by selecting WRITE in SE80 and pressing F1.
    So, in short: The system has the information it needs (ABAP-Index), but it can´t be opened via F1 in SE80.
    I think / hope that there´s is only one little thing left I have to do / configure.
    Any ideas / suggestions?
    Greetings, Dominik

  • A problem in hr tcode pa30

    hello experts,
    I am facing the problem with tcode that is pa30,when the user are entering the data in tcode pa30 screen and saving the data ,it is thrwing the error messsaga
    "ENTRY OUTBOUND TABLE NOT FOUND " please give me the solution for this error message
    and it is very urgent please give it as early as possible.
    ragards
    RAHUL+

    Hi Rahul,
    Although I have never experienced this sort of an error, a solution always lies in tracing the error message into the ABAP code using a where used. For the error message popping up, ask an ABAPer to read the message ID and number and from SE91 search for the point where the error message is raised. Most messages in HCM module though cannot be traced through where used since they are called dynamically. Hence ask the ABAPer to put a watchpoint on the message ID and/or message number (SY-MSGNO) and then check the table entry which is being validated and subsequently failing. IF this also fails, look up service.sap.com with the message number and ID for help notes.
    Also, please check and ensure no IDocs are being triggered in user exit processing from the infotype update(s), the error message seems to be somewhat related to partner profiles not having been maintained for an IDoc processing.
    Hope this helps somewhat.
    Regards,
    Aditya
    Message was edited by:
            Aditya Laud

  • Change text in WD ABAP work protect mode pop up

    Hi All,
    We have implemented MSS Appraisals, In appraisal document (WD ABAP application --- HAP_MAIN_DOCUMENT) in review phase, when user selects "Save and Exit " radio button and click on continue button, a pop up comes with message -
    "This application contains unsaved data which may be lost.
    Do you want to continue without saving the changes"
    How to change this text?
    I think its using FPM message manager (FPM_MESSAGE_MANAGER) application but I couldn't find above message anywhere to customize the text (its not there in T100 table).
    Any ideas? Please help.
    Thanks,
    Pradeep

    Hi Kai,
    Thank you for the response...
    I am not sure of the location of the text you suggested, but I found that
    text is maintained in CL_FPM_CONFIRMATION_REQUEST abap class. this text is divided in to two text 1) This application contains unsaved data which may be lost. and 2) Do you want to continue without saving the changes? And append this is the class constructor.
    We can change the text here... But thought changing the text is not a solution for my issue, so I need to address the root cause....
    I contacted SAP (raised an OSS message) and working with them on this, as of now we modified our logic in Value Determination BADI and it is working fine 90%
    Update: modified Value determination BAdi and V_T77SP_2 table entry to solve this issue!
    Thanks,
    Pradeep

  • Pop up view in Web Dynpro for ABAP

    Hi,
    I am new in web dynpro for ABAP. Now I am facing a problem of how to make a view pop up.
    Since I had already create some table in this view. I just want to make it pop up after I click a button. But I had no idea to do it, could anyone tell me how to do it?
    Thanks!
    Edmond

    Hi Ho,
    For POp up view please follow the below steps.
    1. Create one view [Ex:popup_view] and design it as per your requirement.
    2. Create one window [Ex:popup_win] and embed the popview_view into pop up window.
    3. Then write the below code when ever you need a pop up window.
    data: l_cmp_api           type ref to if_wd_component,
            l_window_manager    type ref to if_wd_window_manager.
    l_cmp_api           = wd_comp_controller->wd_get_api( ).
      l_window_manager    = l_cmp_api->get_window_manager( ).
      if wd_this->m_popup1_1 is initial.
        wd_this->m_popup1_1 = l_window_manager->create_window(
                 window_name  = 'POPUP_WINDOW'
                 button_kind  = if_wd_window=>co_buttons_ok
                 message_type = if_wd_window=>CO_MSG_TYPE_STOPP ).
      endif.
      wd_this->m_popup1_1->open( ).
    Thanks.

  • WebDynpro ABAP Pop-Ups don't pick up the theme

    Hi everyone,
    I've developed a WebDynpro ABAP component that makes use of a Freely Programmed Input Help.
    This input help is shown in a pop-up which doesn't inherit the portal theme. Actually it inherits only parts of it and not the whole look and feel (for instance labels are rendered fine but page background is the standard blue colour).
    Unfortunately I cannot use the parameter:
    WDFORCEEXTERNALSTYLESHEET=X&sap-cssurl=
    because I have no control on the window (free style Input Value Help Windows are opened automatically by the framework and I parameters can't be added to the URL).
    Any ideas?
    Thank you.

    Hi,
    Refer Portal Theme in Webdynpro ABAP
    This might give you some idea.
    Thanks,
    Chandra

  • How to create pop ups  in abap !

    When  a particular action will be done or a button eill be pressed a pop up will be created ...please help me with code...any standard function module ?????

    and how to get the fields in the pop-up window? if any func. module is there , what are the parameters to be passed?
    USE THIS fm POPUP_TO_DECIDE_INFO .
    Parameters required for this FM is the Text you require to display on the popup window.
    Two buttons automatically comes on this window a Tick and a x sign if you click tick the output varaible ANSWER is J else it is A .
    check this [link|http://sap-img.com/abap/abap-pop-up-window.htm]

  • Resizing pop-up window in webdynpro abap

    Hi,
    I am a newbie to abap webdynpro.I would like to know how to resize
    a pop-up window.
    I have used the method 'SET_WINDOW_POSITION'
    from interface 'IF_WD_WINDOW'
    Below seen is my coding, but this is not working. Can anybody  clarify!
    L_FINAL_WINDOW->SET_WINDOW_POSITION(
    LEFT = 200
    TOP = 200
    *position =  ).
    L_FINAL_WINDOW->SET_WINDOW_SIZE(
    WIDTH = '3000px'
    HEIGHT = '3000px' ).
    Regards,
    Sathish kumar

    L_FINAL_WINDOW->SET_WINDOW_POSITION(
    LEFT = 200
    TOP = 200
    L_FINAL_WINDOW->SET_WINDOW_SIZE(
    WIDTH = '30em'
    HEIGHT = '10em' ).
    L_FINAL_WINDOW->open( ).
    also you can use pixels.
    don't use 3000px, use less.
    L_FINAL_WINDOW->set_window_size( width = '300px' height = '' ).

  • Login pop-up when launching Webdynpro ABAP application from SAP Inbox

    Hello All,
    We have configured our workflow to trigger WD ABAP application from SAP Inbox.
    However when we launch the workitem from SAP Inbox, we are getting a login pop-up screen in IE which prompts us to enter SAP password.
    Can you please help how can we avoid getting that login screen and how the WD ABAP application can single sign on from SAP GUI to IE for that user-id.
    Appreciate all your help.
    Regards,
    Samta.

    Hi Samta,
    You can configure User(RFC) and password for your webdynpro appl'n using SICF tcode.
    Path : /default_host/sap/bc/webdynpro/sap/(your wdp appln)
    Thanks
    Katrice

  • SSL (https) set up in ABAP - pop-up Request Client Certificate

    Hi,
    We just configured SSL in ABAP. Accessing the website that the certificate is assigned to results in a pop-up appearing in IE7 that states:
    The website you want to view requests identification. Please choose a certificate, with a blank screen.
    Can the server be set so that it does not prompt for the client certificate?
    Thanks, Neeta

    You will have to check the specific service (probably in SICF) to see if the Logon Procedure is set to 'Required with Client Certificate (SSL).' Is this for a BSP page?
    Hope that helps.
    J. Haynes

  • Show Web Dynpro as a Pop up on CRM Web-gui from ABAP Call

    Hello Everybody,
    i have a created a Web Dynpro Application in Z'* naming Space and want to show this WD as a POP up on the CRM Business Partner.
    Step by Step Description of what I have done.
    1) Want to change the Business Partner Addresse on CRM page ( Change Addresse and Press Enter).
    2) A User-Exit 'EXIT_SAPLSZAR_001' has been Implemented to do Addresse Validation and select the Addresse which match the Addresse Search and show the data as a Pop-UP ( this Functionality work on SAP Gui perfectly).
    3) When the User comes from Web gui then naturally shows an Error, so i have created a Web Dynpro and try to call  it with  Function Module 'PRGN_GENER_EXECUTE_URL'.(Error: Frontned Error).
    Question: How can I call my Z* Web Dynpro as a Pop up from my User Exit without closing the CRM gui.
    Thank you very much.
    Regards
    Ravi

    I think you try something unsupoprted.
    http://technet.microsoft.com/en-us/library/ff393653%28v=ws.10%29.aspx
    Unsupported Scenarios:
    - Use of external links in Navigation Bar resources and Search Scopes
    Henry

  • POP UP window resize in web dynpro ABAP

    Hi All,
    I have created a pop up window by using method create_window of interface  if_wd_window . The pop up window is Resizable by default . If user Resizes the pop up window , Screen is uncooperative . As a solution we decided not to allow Resizable option for pop up window but by default the pop up window is resizable . Please let me know how to disable this default  Resizable option .
    Our SAP system is of version 700 ( SAP_BASIS 700 ) . I checked other system where SAP_BASIS version is 701 , here the pop up window is not resizable by default . Is there any way ( OSS note ) to disable the default Resize option in SAP_BASIS 700 ?
    I tried to adjust the pop up window size by using SET_WINDOW_SIZE but it is not  working in SAP_BASIS 700 .
    Please let me know if there is any solution for this .
    Thanks in advance ,
    Kiran.

    Hi,
    I am not sure if you would be able to solve this with some note (i doubt if it exists of 7.00 ). Try to see once again if_wd_window has any method or attribute which would help you otherwise (I think you have done that already ).
    Why not upgrade to 7.01 ?

  • Help needed :How to Supress Standard pop-up messages in an ABAP program ???

    Hi All,
    A particular function module i use in my program gives pop ups with information messages when the program runs.  There is not returning parameter which throws this message.This is not desirable.  Is there a way to supress these pop ups?
    Regards,
    Venkat.

    try adding IN BACKGROUND TASK to the FM
    i want to give an example as well...
    see
    CALL FUNCTION 'POPUP_TO_INFORM' IN BACKGROUND TASK
      exporting
        titel         = '123123'
        txt1          = 'here'
        txt2          = 'there'.
    This FM actually show give an popup.. but it runs in bg mode so wont give an popup....
    hope this helps.
    Vinod,
    i dint see ur post before i posted..
    Edited by: Soumyaprakash Mishra on Dec 24, 2009 6:36 PM

  • How to block ABAP Debugger Controls Session 1 (Exclusive) pop-up ?

    Hello dear experts,
    Whenever I save my report after my first debugging, the program automatically pops-up open a debugger window of controls session 1.  I tried to delete all the breakpoints but it still kept coming.
    Kindly, help me with this issue, it's actually obstructing a lot of work.
    Thanks and regards,
    Ambareesh J.

    Go to breakpoints tab of debugger, and delete all breakpoints.
    Repeat steps for watchpoints tab.
    Then Go to Menu > Settings, Change debugger profile/settings. Uncheck system and update debugging if they are already checked.
    Then click on Save, and come out of debugger.
    Logout, Login, and Retry.

Maybe you are looking for

  • How to Load Master Data Text  from Multiple Source Systems

    Situation:  Loading vendor master (text) from two systems.  Some of the vendor keys/number are the same and so is the description.  I understand that if I was loading Attributes, I could create another attribute such a source system id and compound i

  • I need a duplicate of the chit, what i have to do ?

    I need a duplicate of the chit, what i have to do ?  I do not know how to contact the store, because i am from Brazil and the store that i bought the iphone is in Miami at The falls malls. I need halp because my phone don't turn on

  • Enhancement spots available for IDOC (PREQCR)

    Hi Friends, It’s a file to IDOC (PREQCR) interface, a field enhancement is required for this Inbound IDOC. I got the EXIT (SAPLMEWQ) for this IDOC (PREQCR), but want to proceed through the Enhancement spots. Could any one let me know the Enhancement

  • Java.lang.reflect.InvocationTargetException.... Please Help!!

    I am reading a .dbf file and then...parse it and insert the parsed data into MYSQL Database.After inserting 50 records..iam calling the sleep method on the class...to give time for the jrun to release the ports for further..inserts.The code inserts t

  • Adobe Access iOS

    Hello, I am an Adobe Access user. On page 4 of this document: http://www.adobe.com/support/adobeaccess/pdfs/client/ios_readme.pdf it is said: In the Adobe Access 4.0 DVD, the Xcode sample project is located at Reference Implementation\Sample Video Pl