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.

Similar Messages

  • How to use data from standard view in Web dynpro for ABAP

    Hello:
    I have to create an Abap Web Dynpro, and I must use data from a standard view in the new one. Does anybody know what do I have to do?
    Thank you and have a happy new year.

    Hi Rodrigo,
    Firstly, list the Standard component under Component Usage of the Component which you are creating in your View.
    Second, In the Custom Component, view, goto context, and try to add the node from the Standard component in to your view.
    NOTE: The second step requires a Node in component controller of the Standard Component.
    Finally, Now in your view, get the data from that and map the data.
    NOTE: To do this, I think you need to call your Standard WDA first and then only your node contains data and it will be passed.
    I hope it is helpful.
    Regards,
    Shashikanth. D

  • External URL in a Window of Web Dynpro for ABAP

    I have two windows 1 and 2 in web dynpro for ABAP application.
    In the view 1 which is embedded to window 1, I choose search engine. How do I navigate to window 2 which displays the external web page such as Google, Yahoo or Bing in the second window. I don't want it open new  browser window or pop-up window. The browser must stay in the same.
    Thanks,
    Anthony

    Exit Plug: If you want to navigate in the same browser
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/48/ca3351508f04e7e10000000a42189c/frameset.htm

  • N4S: Web Dynpro for ABAP layout editor not working

    Have problem in Layout editor in Web Dynpro for ABAP
    I have installed NW04S Testdrive on 64bit Linux and able to login.
    SE80 is working alright.
    Next I create a Web Dynpro Comp. / Intf. and create a component.
    I double click on the View name "V_Default" . The Layout editor opens on the right side. Change into Edit Mode.
    The "View Elements" panel on the left side of layout editor is missing. This is where we select the various elements like "Textview" etc.
    Even the right click on the "ROOTUIELEMENTCONTAINER" to insert elements using context menu does not work.
    In summary I am not able to add any element in WD4A Layout screen.
    Is there any special plugin required to be installed?
    How to solve this problem?

    you cannot develope Webdynpro for ABAP using ECC5
    This is available with netweaver 2004s (WAS7.0) for which ramp up is going on right now and the general availability is expected sometime around 1st quarter for 2006.
    Regards
    Raja

  • How to confirm program version in Web Dynpro for ABAP

    Hello expert
    I would like to know how to confirm the program version for Web Dynpro for ABAP.
    For ABAP we can confirm version using SE38.
    Best regards,
    Ichimura

    everything has a version
    View has a version.
    controllers have versions
    WD component also has version
    so double click on what you need and the follow the path

  • Offline Interactive Forms (Web Dynpro for ABAP)

    Hi Everyone.
    Please help me!!!
    Upload Offline PDF file to xstring context attribute by file upload in Web Dynpro parts.
    Set Offline PDF file uploaded via xstring context attribute in 'pdfSource' property of interactive form.
    I wish to view Offline PDF file and get data to context in 'dataSource' property of interactive form.
    Below restriction.
    - Web Dynpro for ABAP
    - Offline Interactive Forms
    - Zero Client Installation
    - ABAP Dictionary-Based Interface
    NetWeaver 7.0 (NW 7.0) SPS16

    Hi Daisuke,
    As per your requirement, to get done your work you need to create two Adobe Forms , one is for Offline Interactive Form and other is Online Interactive Form.
    In offline Interactive you design your form and define the Layout type as zci layout and Abap Dictionary Based interface. And by executing the form you can save the form to your desktop.
    Now in online Interactive Form you create the context similar to the one which has been created in the Offline Interactive Form. Now in one view you define the file upload functionality and in other view you define the adobe interactive form, for this the interface is automatically as it asks for the context and its of type XML based interface, also do maintain the context variable something like "PDFDATASTRING" with type XSTRING in the Component Controller and now in adobe view you give the property pdfstring as "PDFDATASTRING" and dont forget to provide the navigation of these two view, and set the File Upload View as default view.
    The above functionality can help you in some way or the other.
    Regards
    Pradeep Goli

  • Framesets in Web Dynpro for Abap

    Hi all,
    I have a question concerning framesets in Web Dynpro for Abap. Today we have a BSP application with 3 framesets: a header-view, a navigation-view and a main view. We'd like to create the same application in Web Dynpro for Abap. I know this is possible in Web Dynpro for Java; is it also possible in WD for Abap or does someone know an alternative?
    Many thanks in advance!
    Siegfried

    The idea of creating viewsets withing WDA was removed.  Instead just create a view to control your layout.  Create viewcontaineruielements to withing this layout view to control the arrangement and positioning of the inner views.

  • Web Dynpro for ABAP  Documentation

    Hi Guys,
    Basically Iam an ABAP consultant. Now I have to start working on ABAP WEB DYNPRO.
    Could some one suggest me the best Document to start with or if any one has one available Could you pls pls share it with me. My email ID is [email protected]
    I promise that I will definitely award points.
    Thank You,
    Gajendra.

    Hi Gajendra,
    Welcome to Web Dynpro ABAP !
    In web dynpro ABAP we follow MVC(Model View Controller) architecture.
    In this object oriented ABAP is used to provide background functionality. Here, your ABAP skills can be utilized to the fullest. Programming in web dynpro ABAP is different than conventional ABAP programming. Here we strictly follow MVC architecture in terms of controller interface. Also there are many wizards available so that we can directly pick the code from wizards.
    e.g We can call BAPI through a service call in web dynpro application. Thus automatically backgroud code for BAPI execution will be generated.
    To start with Web dynpro ABAP you can try following tutorial:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a282c952-0801-0010-1eb5-87953e036712
    You can start with tutorials and all. There are around six tutorials in SDN library.
    Web Dynpro for ABAP
    http://help.sap.com/saphelp_erp2005/helpdata/en/a5/1a1e3e7181b60ae10000000a114084/frameset.htm
    best tutorials in wbdynpro for ABAP to start with :
    https://www.sdn.sap.com/irj/sdn/developerareas/webdynpro?rid=/webcontent/uuid/fed073e5-0901-0010-4eb4-c9882aac7b11 [original link is broken]
    Cheers,
    Darshna.

  • Web Dynpro For ABAP Question

    Hi all,
    I'm creating Adobe Interactive forms in Web Dynpro for ABAP.
    <b>Problem:</b>
    <b>Context defined in the created "View" is not displayed in the 'templates' (Adobe Interactive Form in the "Data View" tab.</b>
    I'm following the exact steps used in the following e-learning class:
    <b>https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/media/uuid/c766e918-0b01-0010-99b1-c2b78cd059b3</b>
    Except I'm creating 'string' fields instead of numeric fields like in the above e-learning class and creating my forms in Adobe Livecycle designer first then importing them to the web dynpro for abap - 'templates'.
    The 1st form I created went well and works fine.
    <b>Question:</b>
    For my second and third form I'm unable to map my context fields they are not displayed in the "Data View" anyone know why this is not possible?
    Cheers,
    Dharm

    Hello,
    are you creating the form via forward navigation from webdynpro abap?
    When you do that the context of the form should be created automaticaly.
    What Basis SP level are you using?
    Best regards,
    Dezso

  • What SAP component support Flash Island in Web Dynpro for ABAP?

    Hi  Experts,
    What SAP component support Flash Island in Web Dynpro for ABAP? I don't find flash island control to place it in the view.
    Thanks,
    Duy

    FlashIsland is a native UI element like table or image - not a reusable component like ALV.  What release level is your system?  FlashIsland is only available on NetWeaver 7.0 Enhancement Package 1 and higher.
    Also the FlashIsland UI element must be a root UI element. Therefore it has be created in its own view.  Right mouse click on the ROOTUIELMENT in the UI element hierarchy and choose Swap UI Element Definition.
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/47/b907cd77eb2d66e10000000a42189c/frameset.htm

  • Web Dynpro for ABAP Naming Convension & Guide line

    Hi, everyone.
    I have a plan to implement Web Application as WDA(Web Dynpro for ABAP). but I don't know how can I give a name to Windows or Views or Custom controllers.
    If you have a naming convension or guid line document,
    Could you share the document with me? ^^

    As Rich said, there are no official naming conventions. Nonetheless, a few things have become quite popular, such as:
    - adding wnd_ in front of window names as they share the same namespace with views
    - adding m_ in front of member variables of controllers
    - adding s_ in front of supply methods and using the name of the node afterwards
    - adding lbl_ in front of labels and using the name of the labelled ui element afterwards like "lbl_customer" and "customer"
    Some developers also add certain prefixes to view elements to distinguish between them.
    Regarding the names of components, there is one thing that you should not do: Start them with WD_ or WDR_ as both are somehow preserved. The same is true for entities within a component, although there checks in place that prevent you from doing that.
    Best regards,
    Thomas

  • Web DynPro for ABAP Basics

    Hello Seniors,
    I am new to Web DynPro for ABAP. Could you please give me some information or send some basic documents for Web DynPro for ABAP. Please send some basic scenarios also.
    Thank you,
    Chaitanya.C.N

    Hi Chaitanya,
    Here is some information about Webdynpro for ABAP.
    1) This is basic Info of WD ABAP
    As the name suggests Web Dynpro for ABAP uses exactly the same meta model as its cousin Web Dynpro for Java. A Web Dynpro component, a Web Dynpro view, a Web Dynpro model, a Web Dynpro controller have the same semantics both for ABAP and Java. The main difference is the designtime environment, the development infrastructure and the runtime environment.
    The designtime environment is properly embedded in the ABAP Workbench where Web Dynpro artifacts are simply a new category like BSP applications or classical dynpro based applications before. Also no surprises regarding the development infrastructure. The correction and transport system keeps track on all changes that are done, versions them and helps to propagate the Web Dynpro application from development to production like you would do with ordinary BSP or dynpro-based applications.
    Last not least the execution platform is the ABAP server that produces application content ready to be integrated in the NetWeaver Portal seamlessly. Features like portal eventing can be used between applications written in ABAP or applications developed with Java.
    2 ) I can give you links that can help you a lot.
    First of all start doing SAP SDN tutorials .
    Create some compenents with BAPI , Component usage and ALV .
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/02e1fa45-0801-0010-10a0-f1cf47e8c943
    /people/marilyn.pratt/blog/2005/12/20/web-dynpro-for-abap
    Try to Download demo tutorials from SDN library & Try to search WebDynpro ABAP WebLogs .
    Also, SAP has provided you with ample demo example of WD ABAP already bundled with SAP . Just Try out Components starting with WDR . I can tell you few like WDR_TEST_EVENTS ( It shows how every UI elments to use )
    See packages like SWDP_DEMO , SALV_WD_DEMO
    there are many more .
    We can call BAPI through a service call in web dynpro application. Thus automatically backgroud code for BAPI execution will be generated.
    To start with Web dynpro ABAP you can try following tutorial:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a282c952-0801-0010-1eb5-87953e036712
    You can start with tutorials and all. There are around six tutorials in SDN library.
    Web Dynpro for ABAP
    http://help.sap.com/saphelp_erp2005/helpdata/en/a5/1a1e3e7181b60ae10000000a114084/frameset.htm
    best tutorials in wbdynpro for ABAP to start with :
    https://www.sdn.sap.com/irj/sdn/developerareas/webdynpro?rid=/webcontent/uuid/fed073e5-0901-0010-4eb4-c9882aac7b11 [original link is broken] [original link is broken]
    Have a look at the following SDN WDA Wiki . There you can find all relevant information.
    https://wiki.sdn.sap.com/wiki/display/WDABAP/Main
    Also you can search weblogs on web dynpro ABAP.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/45/19bf8c16f25d7ae10000000a11466f/frameset.htm
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/02e1fa45-0801-0010-10a0-f1cf47e8c943
    /people/marilyn.pratt/blog/2005/12/20/web-dynpro-for-abap
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/02e1fa45-0801-0010-10a0-f1cf47e8c943
    http://help.sap.com/saphelp_nw04s/helpdata/en/77/3545415ea6f523e10000000a155106/frameset.htm
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/wdabap/main&
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a282c952-0801-0010-1eb5-87953e036712
    You can start with tutorials and all. There are around six tutorials in SDN library.
    Web Dynpro for ABAP
    http://help.sap.com/saphelp_erp2005/helpdata/en/a5/1a1e3e7181b60ae10000000a114084/frameset.htm
    best tutorials in wbdynpro for ABAP to start with :
    https://www.sdn.sap.com/irj/sdn/developerareas/webdynpro?rid=/webcontent/uuid/fed073e5-0901-0010-4eb4-c9882aac7b11 [original link is broken] [original link is broken]
    http://www.****************/Tutorials/WebDynproABAP/TextRadioButton/page1.htm
    reward points for helpful answers.
    Thanks,
    Raghava Vakada.

  • Web Dynpro for ABAP @ SDN Wiki

    Dear users and developers of Web Dynpro for ABAP!
    I'd like to invite you to Web Dynpro page in SDN Wiki launched recently.
    <a href="https://wiki.sdn.sap.com/wiki/display/WDABAP">Wiki page for Web Dynpro ABAP</a>
    It's really great place for all WD Forum FAQ, HowTo and other frequently referenced materials, useful links, tips, hints etc.
    Never again bother with answering the same question twice - put it the Wiki!
    I'd like to thank SAP Network team who finally came up with this great tool for knowledge transfer!
    Regards,
    Serguei

    premkumarwow wrote:
    Hello,
    >
    > I am new to webdynpro and am sorry if i am re-posting the same question or if asking a basic question. I did go through the  link Web Dynpro for ABAP @ SDN Wiki and am atleast confident of how to start a development .
    >
    > I have couple of queries. We are implementing webdynpro first time for our client. The client want to know if :
    > 1. The user must log in to SAP each time to view the output
    > 2. Or can they view the output via browser without having to login to SAP at all,
    >
    > After going through few posts, am aware that output can be viewed via browser but the client says none of their users will type in user id and password while logging in ( Meaning it will be an automatic login).
    >
    > Can they view the output in a browser without opening SAP and can it be set so that they do not type in User id and password( I am not aware how but currently for logggin into SAP, they do not have to type in their id information).
    >
    > Your replies will be of great help to start with.
    >
    > Regards,
    > Prem
    Adding to what sanasrinivas wrote above...user will have to login the again  if your application opens in a GUI interface and from that GUI screen you are opening some report in Browser.
    Remember that T-codes made for wda can execute both in GUI and Browser, If you execute them in Browser you wont have to login again and again but yes, if you execute 1 application in GUI and open some other t-code in browser , you will have to enter the login details again...so if you want to have hassle free execution you will have to open the reports in browser always.
    regards,
    Sahai.S

  • Floor Plan Manager Technique in Web Dynpro for ABAP

    Hi Experts,
    Road map technique and Floor Plan Manager Technique, both are same or different.
    I need to develop a web dynpro application based on Floor Plan Manager Technique. can I develop this application in WebDynpro for ABAP. If so please help me how to use Floor Plan Manager Technique in Web Dynpro for ABAP.
    I don't have knowledge in java, so i cann't develop this application in web dypro for java.
    Please help me.
    Thanks & Regards
    Sridhar

    >Road map technique and Floor Plan Manager Technique, both are same or different.
    They are different. The FloorPlan Manager is a tool for constructing WD applications with a similar layout and user interface.  There are two different floor plans currently - the OIF - Object Instance Floorplan and the GAF - Guided Activity Floorplan.  The OIF is for the editing of a single business object. It allows for things like the nesting of header and item details.  The GAF, on the other hand, uses a road map to walk you through an activity - much like a Guided Procedure.  The FloorPlan Manager is very powerful because it can be configured using component and application configuration - allowing you to plug in different UI Building Blocks (UIBB) as Web Dynpro Components or Views.  You can change the roadmap, for instance, adding a new step by just chaning this configuration and not having to touch the code.  Consistency between applications is also a major stregth of the FloorPlan Manager. 
    The Road Map is just a UI element in WD.  It can be used to create your own custom applications.
    >can I develop this application in WebDynpro for ABAP
    Sure.  The Floorplan manager has been available for WDA since SPS13.  Have a look at the packages APB_FPM_DEMO and ABP_FPM_TEST for examples of how to build components designed for the FloorPlan Manager.
    Admittedly there aren't a whole lot of documents available on the subject yet. Some eLearning is being worked on now.  There are going to be some workshops at TechEd on the subject:
    https://wiki.sdn.sap.com/wiki/display/Community/BringitallTogetherwithFPM%28FloorplanManager%29forWebDynpro+ABAP
    The best thing to do right now is to study the demo applications SAP provides.

  • Web Dynpro for ABAP Adobe Forms

    We have created a table with fields.
    How can we create a Web Dynpro for ABAP applicaton to populate these fields into an Adobe Form?

    hi,
    Refer this: /people/bhawanidutt.dabral/blog/2007/11/15/how-to133-integrate-adobe-form-on-webdynpro-for-abap-and-deploy-it-on-portal
    If you have created Fields or Table in Adobe form then you can populate those fields in Adobe form.
    When you give the name of Adobe form in the Template Source Property of Interactive UI then screen will pop up asking to make contexts for the fields in adobe form.
    If you click on yes, then you will have automatically created context corresponding to Fields or Table in your WD application.
    Write the suitable logic to populate the Contexts in Wd Do init or using supply funciton
    This way your Adobe form will be populated with values.
    I hope it helps.
    Thanx.
    Saurav.

Maybe you are looking for

  • SEEBURGER AS2: AS2 Adapter failure -- CryptoApiException: Access Denied.

    Hi, I am trying to send AS2 message to my partner by using Certificates and I am getting the following error at AS2 receiver adapter.Looks like it doesn't have User Credentials to access the certificates.But we provided all the details.We are not sur

  • Read file with nio and flush with servlet

    Can I read file, by using java.nio (for example by FileInputStream.getChannel()) and then flush the file content thru the servlet? I kwow about reading without java.nio, get a byte array and then flush it by httpservletresponse writer or outputstream

  • Unicode conversion on Informix

    Hello All, We are doing unicode conversion on SAP ECC 5.0 system running on Informix database. We want to use the table split method. In the table split preparation step, we give the file with the large tables and the number of splits the file is as

  • BI Scheduler Authentication Failed

    Hi Gurus, I have configured my BI Scheduler and was able to schedule a report. After that i changed the Administrator user password. I dint check my ibot for a couple of days after that. now when i try to save the ibot i'm getting the below error. Or

  • Jdbc oracle connection

    ADVERTISEMENT hi , i can connect to oracle database. also can retrieve a row (as many elements in a row) into an object. however wen i retrieve many rows into an array of objects i get an error "ResultSet has no more data". However i can retrive many