Interaction ABAP Web Dynpro popup with Windows

Hello,
I have made a view ‘Z_Y’ in Web dynpro for ABAP. In this view I call a standard external window with the statement:
  lo_window = lo_window_manager->create_external_window( url = lf_url ).
  lo_window->open( ).
The lf_url field is a location on the Windows(XP) network. It could happen that the file doesn’t exist. In this case I get a standard Windows error message in a popup that the directory can’t be found with a ‘OK’ button. When I click ‘OK’ the popup is closed and I can use other functionality of the ABAP dynpro view.
I integrate view ‘Z_Y’ in another dynpro window (W_WINDOW) that is called as a popup using the following statement:
create popup window **********************************************************************
  DATA: l_window_manager          TYPE REF TO if_wd_window_manager.
  DATA: l_api_componentcontroller TYPE REF TO if_wd_component.
  l_api_componentcontroller = wd_comp_controller->wd_get_api( ).
  l_window_manager          = l_api_componentcontroller->get_window_manager( ).
  wd_this->m_popup_window = l_window_manager->create_window(
                                  close_button = abap_false
                                  button_kind  = '2'
                                  modal        = 'X'
                                  window_name  = 'W_WINDOW'
                                  title        = 'Popup' ). "#EC NOTEXT
  wd_this->m_popup_window->open( ).
Then I call from view ‘Z_Y’ the external window using this statement again:
  lo_window = lo_window_manager->create_external_window( url = lf_url ).
  lo_window->open( ).
If the directory doesn’t exist I get the same standard Windows error message in a popup that the directory can’t be found with an ‘OK’ button. But when I click ‘OK’ I can’t get back to the web dynpro application. I get a throbber/popup “please wait” and I have no interaction anymore with the button ‘close’ of the dynpro popup. The buttoner size still works.
Can someone help me?
Kind regards,
Yan Cazarelly

Hi
You ca use this function to Create a new window..
  CALL METHOD wd_window->create_window
      EXPORTING
        modal             = abap_true
        window_name       = 'MMPUR_CPPR_RFQ_WDW'
        title             = lv_otr_text
        close_button      = abap_true
        button_kind       = 3
        close_in_any_case = abap_true
      RECEIVING
        window            = wd_comp_controller->window.
    wd_comp_controller->window->open( ).
here you acn impliment buttons, if you want to subcribe window button please use this window subcribe method.
    CALL METHOD wd_comp_controller->window->subscribe_to_button_event
      EXPORTING
        button            = if_wd_window=>co_button_ok
        action_name       = 'RFQ_WT_VENDOR'
        action_view       = l_api
        is_default_button = abap_false
        button_text       = lv_otr_text
        tooltip           = lv_otr_text.
    wd_comp_controller->window->open( ).
Please let me know if you have any issue. Please reword if its solve your problem.
Regards
Satrajit

Similar Messages

  • How to display a window in clicking a button in abap web dynpro(popup wind)

    Hi i am using a button 'click'  in view1 ,
    if i click the button then a new window should be popup.

    Hi
    You ca use this function to Create a new window..
      CALL METHOD wd_window->create_window
          EXPORTING
            modal             = abap_true
            window_name       = 'MMPUR_CPPR_RFQ_WDW'
            title             = lv_otr_text
            close_button      = abap_true
            button_kind       = 3
            close_in_any_case = abap_true
          RECEIVING
            window            = wd_comp_controller->window.
        wd_comp_controller->window->open( ).
    here you acn impliment buttons, if you want to subcribe window button please use this window subcribe method.
        CALL METHOD wd_comp_controller->window->subscribe_to_button_event
          EXPORTING
            button            = if_wd_window=>co_button_ok
            action_name       = 'RFQ_WT_VENDOR'
            action_view       = l_api
            is_default_button = abap_false
            button_text       = lv_otr_text
            tooltip           = lv_otr_text.
        wd_comp_controller->window->open( ).
    Please let me know if you have any issue. Please reword if its solve your problem.
    Regards
    Satrajit

  • Using IGS in Abap web dynpro application

    Hi ,
    I would like to develop an Abap web dynpro application with complex graphs.
    There is an installation of IGS services.
    In the layout screen I see only graphic basic options.
    In thr internet I saw much more options in the graphic label. ( WD applic-> view-> layout ).
    Does anyone know how to add this options to the view layout?
    Thenks,

    עיחיחןלכלןעל

  • ABAP Web Dynpro Window Inactive After Closing Popup Window

    Hello ABAP'ers
    I have a custom ABAP Web dynpro applications that uses multiple tiers of popup windows.  This application was functioning properly in our ECC6.0, Basis release 7.00 Service level 15 environment.  However, we are currently installing EHP4 and moving or basis release to 7.01 service level 5. In this new environment, when multiple popup window tiers are closed simultaneously, the underlining window is not re-activated.
    Here's a more specific description:
    The application starts with a control panel window presenting a series of buttons.  Selecting one of these buttons activates a modal (I know... all web dynpro popups are modal) popup window for the purpose of maintaining some object.  If the user attempts to exit this window without saving the changes, another popup window appears asking if they want to save their changes.  If they say no, both the popup window asking the question and the popup maintenance window are closed, thus returning the user to the switchboard.
    The problem is that none of the functionality on the switchboard is active. the user must manually refresh the URL to "reactivate" the switchboard. 
    When only a single popup window is closed, the underlying window is properly reactivated.  The problem only occurs when multiple popups are closed together.
    Has anybody else seen this occur? Any ideas / notes around to correct it?
    Any info is greatly appreciated.
    R/
    Jim M

    Hello Jim, hello everyone,
    I am encountering the same issue.
    Is a solution known already?
    Thanks
    Johannes

  • How to use web service with ABAP Web Dynpro

    Hi.
         do you know, how to web service with ABAP Web Dynpro?

    Hi,
    If you have a webservice ready with you then you can generate a proxy from SE80 and you can use that. You just have to create a port and assign to that generated proxy(CLASS) and you are good to go.
    Let me know if you need more information.
    Thank You,
    Gajendra.

  • How to browse for a folder with ABAP WEB DYNPRO

    Hi,
    I want to browse for a folder in my local file system with ABAP
    WEB DYNPRO. I am looking for a functionality which the function module
    TMP_GUI_BROWSE_FOR_FOLDER gives.
    Regards,
    Vinay

    HI Karl
    Good evening, I am Maruti from London. I would like to paractise ABAP WebDynpro.I am not sure which Vesrion of SAP R/3 supports for ABAP WebDynpro applications. Can you please suggest me .
    Thank you
    Maruti
    [email protected]

  • Submit button in interactive adobe form in abap web dynpro

    Hi can anyone help me out to know hoe to use the submit button in adobe interactive form in abap web dynpro .
    Iam creating a adobe form abap web dynpro . There i need to use the submit button to trigger some action in the adobe interactive form .
    So i need to know how to use the submit button and coding for that in the abap web dynpro .
    Vighnesh

    Hi Michelle,
    Could you tell me how you resolved the problem - as I'm facing exactly the same issue!
    Many Thanks
    Christine

  • Dynamic selection screen with ABAP web dynpro

    Hi all.
        How can I create dynamic selection screen with ABAP web dynpro? Thank you in advance.

    hi yinglak.....
             this is possible........ all the ui elelments has the property called visible and enabled.... just assign an attribute of type wdui_visibility to the visible property....
    in the wddomodify method..... check for the radio button value and pass the value true or false to this attribute and it gets changed automatically.
    ---regards,
       alex b justin

  • Adobe Flex 4 with ABAP web dynpro

    I currently am working with Flex 3 but wanted few features of Flex 4 for my project. Is there any way that I can use Flex 4 with ABAP web dynpro. I have tried using the 'Use Flex 3 compatibility mode' with 'merged into code' but this does not work. There is no data transfer happening. I see in the forums that this is not possible but all the posts are one year old. Just wanted to check if any new method is availabe.
    Kindly help.

    Hello,
    Flex 4 versions of the Islands SWC libraries were delivered via Support Packages(See Note 1614265).
    http://scn.sap.com/thread/3186643
    Best Regards,
    Tarun

  • Can ABAP web dynpro floor plan manager integrate with adobe flex ?

    Hi All,
    Is it possible to integrate Web dynpro ABAP with adobe flex ?
    Can we integrate the standard ABAP web dynpro floor plan manager screen with adobe flex ?
    Brief about my requirement: I have refer few articals about  ABAP web dynpro is easyely integrate with adobe flex. My client is currently implementing SRM 7.0 for procure to pay process. For your information, standard SRM 7.0 are developed in ABAP Web dynpro floorplan manager. In my client,other processess such as order to cash, resource management etc screen are designed in Web dynpro Java(deployed in SAP EP) to make it more user friendly and good in resolution. My client is very much happy with SRM  7.0 business logic, however not happy with the standard SRM screen. They have asked to redesign SRM screen to make it more user friendly and good in resolution. 
    Thanks in advance. 
    Regards,
    Jennyfer

    It is possible to insert Adobe Flash islands in Web dynpro. You could take a look at the following link for more information on how to implement this:
    Adobe Flash Islands in Web Dynpro ABAP

  • Business Package 1.2 compatability with ABAP Web Dynpro (EP 2)

    Dear all,
    Could anyone let me know how compatible is ABAP Web Dynpro with Business Package 1.2 ?
    The Source is updated with Enhancement Package 2.
    Does BP 1.2 supports ABAP Web Dynpro by default ?
    Thanks!

    Dear Andy, Chris,
    Thanks for your inputs.
    I checked the SDN Port folio area but I could not find BP 1.2 for download. Could anyone help me with the place to download the same ?
    Thanks!

  • Open a new outlook  email with Abap Web Dynpro

    Hi Experts,
    I'm developing an abap web dynpro application, and at the end of a text I need to have a link that opens the outlook for sending and email, do you know how can this be done with ABap Web dynpro.
    Regards and thanks.
    Fona

    It should be noted that just relying on the browser handling for the [url mailto: reference|http://www.w3.org/TR/WD-html40-970708/htmlweb.html] does not guarantee handling by any specific email application. It is completely up to the browser implementation - The HTML 4.0 spec does not specify any handling other than:
    MAILTO URLs have the following syntax:
    mailto:email-address
    User agents may support MAILTO URL extensions that are not yet Internet standards (e.g., appending subject information to a URL with the syntax "?Subject=my%20subject" where any space characters are replaced by "%20").
    Then again - given that WDA supports so few browsers (user agents!), you could probably get around the different support in each them in a reasonably common way.
    To ensure that it is MS Outlook you are launching and potentially pass more data into that email you'll need to make use of the [ACFExecute functionality|http://help.sap.com/saphelp_nw70ehp1/helpdata/en/47/b91539878a2d67e10000000a42189c/frameset.htm] and then also the [command-line interface of Outlook.|http://www.brighthub.com/office/collaboration/articles/21840.aspx]

  • Web Dynpro popup & popup with table

    Hi forum,
    need an example of a web dynpro popup & popup with table.
    Thanks!
    Edited by: Stanley Marsh on Nov 10, 2008 4:21 PM

    Try to use if_wd_window_manager
    Please check this link
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/9e242bf5-0901-0010-c99c-83c180163c73

  • Adobe Form not getting interactive in Web Dynpro

    Hello Experts,
    I am facing a strange sort of behaviour, which has drawn my plenty of time, while making use of Interactive Adobe Form in Web Dynpro component.
    In my scenario, I have one existing Adobe Form with interface of type "ABAP Dictionary-based interface". While using this form in Interactive Form element in Web Dynpro and making it enabled, it is not giving me the expected output, that is - Interactive Form in browser window. Instead, it is showing me read only Adobe Form. Has it to do with type of interface?
    Looking forward to active replies.
    Regards,
    Harsh

    Hello Harsh,
    In webdynro adobe integration we use webdynpro native controls and the form must be in the
        ZCI layout. In SFP >layout you have to insert the webdynpro script .After going to the layout
              go to utilites and insert webdynpro script.Then you can find a variable containerfoundation_js.
    If you have changed the layout from standard layout to ZCI layout in form builder (SFP), the update the layout using program FP_ZCI_UPDATE.
    Refer to link below
    Call Adobe Form through ABAP Web Dynpro - Web Dynpro ABAP - SCN Wiki
    Regards
    Sandy

  • "Add To Browser Favorites" for ABAP Web Dynpro

    Hi All,
    In the Portal Environment, the end user has an option to "Add To Browser Favorites".  This will trigger the "Add a Favorite" window in the Internet Explorer and the user can save the favorite as needed.  Do we have a similar cabapility in ABAP Web Dynpro if the Web Dynpro is not delivered through an SAP Portal? 
    Thanks in advance for your help.
    John

    John Breen wrote:
    Hi All,
    >
    > In the Portal Environment, the end user has an option to "Add To Browser Favorites".  This will trigger the "Add a Favorite" window in the Internet Explorer and the user can save the favorite as needed.  Do we have a similar cabapility in ABAP Web Dynpro if the Web Dynpro is not delivered through an SAP Portal? 
    >
    > Thanks in advance for your help.
    >
    > John
    No.  There is no similiar option in the Web Dynpro framework, nor can you access JavaScript in order to interact with the web browser and supply this feature. Browser Favorites can be maintained by the NetWeaver Portal Framework or in the NetWeaver Business Client by the surrounding frame. In the case of the NWBC, it isn't actually browser favorites but a separate set of favorites merged with Easy Access Menu favorites.

Maybe you are looking for

  • How can I delete all files not authorized for this computer?

    Hi there, first off, I promise right here and now, that I will never buy a DRMed song or video again... And here is my probelm: I'm using my Mac and iTunes for ages and all things were perfectly fine. I used to have a girlfriend and both of us had ou

  • Upgrade mac os 10.5.6 without disk

    How can I upgrade mac os 10.5.8 to 10.6 over the internet.

  • Issue at runtime with Mapping in orchestration.

    Hi All, I am getting the below issue at runtime in the orchestration. Exception thrown from: segment 1, progress 16 Inner exception: Error encountered while executing the transform C_BT.Orchestrations.CheckInvalidRecords. Error:Invalid input/output d

  • Legend placement in Excel

    Hi, I'm trying to control the placement of a chart legend in Excel from Labview using active X. The VBA lines I need to perform in Labview are as follows: ActiveChart.Legend.Select Selection.Position = xlBottom The problem I'm having is that I can't

  • Opening pdfs using a CD based application

    Hi: I am heartily sick of Adobe Acrobat and would like my users to open pdfs with the Foxit application. Currently I scan the users system for acrobat and, if it isn't there, prompt them to install the reader. However, I'd like to give this approach