Web Dynpro ABAP call transaction in the foreground

In Screen Painter/SAP ALV, we can create a screen where for example if you double click on a sales order field it can take you a VA03 transaction by :
call transaction VA03 ... and skip first screen.
I am creating Web Dynpro ABAP application that needs to do the same thing where if we click on the field, it will take to VA03 transaction or other transactions.
Has anyone done this in Web Dynpro ABAP? I have done some research and determine that we cannot call transaction in the foreground? I hope I am wrong.  Any help/insights will be greatly appreciated.

Hi Phong,
WDA is generic client to Netweaver connection based on HTTP/S.
At this stage on a few clients are supported. WEB dynpro client and Browsers...
SAPGUI connects to SAP using a different protocol.
No SAPGUI connection is implied by a WDA client connection.
Therefore  abap statements that invoke screens and otherwise assume SAPGUI
is connected are not supported in WDA.   eg call screen, call transaction
You can either
                     a) build your own WDC to front end calls to BAPIs to get the Sales order data.
                    b) open/ exit to the new WDC for Sales Orders in ERP2005
                          see LORD_MAINTAIN_COMP
                       c) exit to the INTERNAL ITS URL for transaction VA03 
                           eg http://<host>:<port>/sap/bc/gui/sap/its/webgui?~Transaction=VA03
                          but getting the skip first screen may require you to call custom tran ZVA03
                           which calls VA03 to skip first screen setting the PID appropriately.
Hopefully you opt for option a) or b).
c) can work... I have used it from BSPs but it not pretty.
regards
Phil

Similar Messages

  • Web Dynpro ABAP calling another ABAP program

    I have a question and just want to know if it's possible or not.
    Is it possible to write a Web Dynpro ABAP program that calls another ABAP program which happens to be an ALV report?
    Rather than re-write the ABAP ALV report, I was wondering if it's possible to call the ABAP ALV report within a Web Dynpro ABAP program and display the results within the Web Dynpro program.
    If it's not possible, then I assume it would be better to re-write the code from the ABAP ALV report in the Web Dynpro ABAP program.
    Thanks
    John

    The ALV report in your classic program is coded to be displayed in the GUI only.
    Your best bet would be to create a Function Module or Method that will return the data to be used in your ALV.  Simply call the Function/Method from your Web Dynpro and then bind the table to the DATA context node of the ALV INTERFACE CONTROLLER.

  • [Integration] Web Dynpro ABAP calling Flex in Popup (without Flash Islands)

    Hi,
    We do not intend to install Enhancement Package 1 in a near future.
    Nevertheless, we do have requirements where Flex should be integrated with Web Dynpro ABAP (Flex components embedded or 'attached' to Web Dynpro ABAP applications).
    I would like to open a popup showing a Flex component. Then, the user validates and the Web DYnpro ABAP application is resumed. All this integrated within EP 7.0.
    What, according to you, would be the most effective combination : 
    - Suspend / Resume plug
    - Server-side cookies
    - iFrame (although it is deprecated)
    Given what I have read so far, it seems encapsulating the .swf within a BSP application would be the best shot. Could it be possible to get rid of this 'additional layer' ?
    Thanks in advance.
    Best regards,
    Guillaume

    Web Dynpro ABAP
    Define a suspend and a resume plug.
    BSP
    Retrieve the parameters sent by WDA either by AUTO attributes or the following code
    CONSTANTS: c_resume_name          TYPE string  VALUE `sap-wd-resumeurl`.
    DATA: lt_tihttpnvp                TYPE tihttpnvp.
    FIELD-SYMBOLS: <fs_httpnvp>       LIKE LINE OF lt_tihttpnvp,
                   <fs_dept_magasin>  LIKE LINE OF t_dept_magasins.
    ** Lecture des paramètres envoyés (par le WD ABAP)
    CALL METHOD request->get_form_fields
      CHANGING
        fields = lt_tihttpnvp.
    READ TABLE lt_tihttpnvp ASSIGNING <fs_httpnvp> WITH KEY name = c_resume_name.
    IF sy-subrc = 0.
      e_url = <fs_httpnvp>-value.
    ENDIF.
    Flex
    To return to the Web DYnpro ABAP, call a Javascript function within the BSP using this kind of code :
    jsReturn = ExternalInterface.call("sendBackToSAP", selectedDepartmentsParam, orderParam);
    BSP
    First, to react to the user action in the Flex component, define a Javascript function in the
          function sendBackToSAP(departements, ordre) {
             fireServerEvent(departements, ordre);
             return("Done");
    To fire a server-event (in order for BSP to call the WDA resume plug), I use this declaration :
    <!--  Event used by the Javascript to trigger OnInputProcessing so as to create
                  the server-side cookie -->
           <bsp:htmlbEvent name= "fireServerEvent"
                           id  = "flexAction"
                           p1  = "departements"
                           p2  = "ordre"></bsp:htmlbEvent>
    Last, I simply call the URL that the WDA gives me first :
    navigation->goto_page( e_url ).
    If people are interested in a more detailed presentation, feel free to reply to this post, and I will write a blog about this. Nevertheless, it should become pretty obsolete with the Flash Islands release... 
    Edited by: Guillaume Garcia on Oct 11, 2008 11:13 AM

  • Web Dynpro ABAP: How to access the content of a mime object?

    Hi everyone,
    does anybody know how to access the content of a mime object of a Web Dynpro component? I added a XML file as mime object to a web dynpro component. Now I want to read the content of this xml file within a method of the component controller. The code would look something like:
    DATA: xml_content type xstring.
    xml_content = read_mime_object("test_123.xml").
    Any ideas?
    Regards,
    Nils

    dude here's the modification that i've done but I can't still access the content of the properties...
               Mail mail = new Mail();
               String message2 = sqlException.getMessage();
               File file = new File("Add.properties");
               Properties props = new Properties();
               props.load(new FileInputStream(file));
               String[] emailadd = {props.getProperty("emailadd","defaultValue")};
               mail.postMail(emailadd,"An error has occurred, Auto-archive was unsuccessful.", message2,"[email protected]");
               Message was edited by:
    ryshi1264

  • Web Dynpro Abap - Calling URL in same window

    I've created a new ESS type application but in WD ABAP and in the application I'd like to have an Exit button on each view to the ESS overview page and also put in a link on my confirmation page to go back to the ESS overview page.
    I've found the link I need and tried a couple of methods to call it, either with an exit plug or using the method
    lo_window_manager -> Create_external_window.
    but whatever I do, although it opens up a new page to the correct URL,  it leaves the page I was working on open.  I'd like it to basically go back to the ESS overview page (using my URL), but close the window that is currently running, so that only one window is open at a time.  Does anyone know if this is possible.
    Thanks,
    Pam Laverty

    Yes, I had also found some documents on that and set it up to use an exit plug, and while now although it does not open up a new session in the portal,  when the new page comes up it still has the masthead from the original screen as well as the new one.
    Meaning you still see the portal header and all tabs on the screen from the original screen and then again on the screen just below we again have the portal header and all tabs showing the new page (from URL)  just below.
    Something is still not closing right.  We have portal 7.0.  I see there are come close_window options, but those are only good with 7.1 as far as I read.
    Are there anything special that needs to go in the exit plug method so that it simply closes the old screen and brings up the new URL?
    Thanks for your help.
    Pam

  • Web dynpro abap : Call an application from another with parameters

    Hi ,
    Could you please tell me how to call an application from another with parameters?
    Thanks a lot
    Karim

    * Construct the URL
          call method cl_wd_utilities=>construct_wd_url
            exporting
            application_name              = 'APPLICATIION_NAME'
          importing
            out_absolute_url              = g_url.
    * Append parameters to URL
      data: g_par1 = lv_value. " value of your parameter
      call method cl_http_server=>append_field_url
        exporting
          name  = 'PAR1' " Parameter name
          value = g_par1
        changing
          url   = g_url.
    * Call the Application
      DATA lo_window_manager TYPE REF TO if_wd_window_manager.
      DATA lo_api_component  TYPE REF TO if_wd_component.
      DATA lo_window         TYPE REF TO if_wd_window.
      lo_api_component  = wd_comp_controller->wd_get_api( ).
      lo_window_manager = lo_api_component->get_window_manager( ).
      lo_window         = lo_window_manager->create_external_window(
                       url = g_url ).
      lo_window->open( ).

  • Authorization objects in web dynpro ABAP and SU24 transaction

    Hi,
    I have created a new authorization object to check a storage location for certain activities. I have added the authorization object in a specific web dynpro ABAP and I have created a new role in PFCG for my web dynpro ABAP.
    The organization level for storage location is not recognized in PFCG. Someone told me I have to maintain my authorization object in SU24 as it is done for transaction.
    I wanted to maintain my web dynpro in SU24 but I found no way to do that.
    It seems that we can maintain authorization for TADIR service and in those services there is R3TR WDYA but when I use the search help for  OBJ_NAME I don't find may web dynpro ABAP. I suppose I have to create a TADIR service for my web dynpro ABAP or something like that but I don't know how to do ?
    Does anybody  know how to deal with specific authorization in web dynpro ABAP and t ohave the organizational level recognized in PFCG.
    Thanks for your help,
    Emmanuel

    Hi,
    Please RUN the function module as "AUTH_TRACE_WRITE_USOBHASH" with following parameter
    R3TR
    "custom webdynpro application"
    SERVICE TYPE and Service can be kept blank
    after this try  SU24 it will be available in SU24 list.
    Thanks & regards

  • SAP GUI call from Web Dynpro Abap

    Hi all,
    I heard about the possibility to call the SAP GUI directly from my Web Dynpro Abap Application, so that the GUI is integrated in my web browser. But i could not find any information about that.
    Maybe you can help me.
    Thanks,
    Johannes

    Hi Johannes,
    Its not possible to directly call your R/3 GUI from your WDA. You can try the "Screen Design Time Conversion" tool in SAP. You can go through this [link|http://help.sap.com/saphelp_nw70ehp1/helpdata/en/30/f2156a26fb4b4d86c5b0ce9f86bfb3/frameset.htm] for further details regarding it.
    But please also pay heed to Thomas's advise in [here|Is there a converter for classic dynpros?;.
    Regards,
    Uday

  • Issues regarding the testing of the web dynpro abap service

    Hi all,
    I am working on web dynpro (ABAP). After activating the whole object. When I test the web dynpro service. The browser gives me the following error.
    The server <server_name> is taking too long to respond.
    I am new to Web Dynpro ABAP, can anyone please help me telling, whether i have to configure system for testing the web dypro object. If yes then how to configure it.
    also in the view the layout is not showing the elements to be included in the service.
    Thanks & Regards
    Ekta

    hi ekta.....
               include your domain and port name in the host file that is present in the c:/.
      these are the configurations that has to be done.
    [link|help.sap.com/saphelp_nw04s/helpdata/en/43/e86de5008b4d9ae10000000a155369/content.htm]
    ---regards,
       alex b justin

  • Web dynpro Abap not inheriting the Portal theme

    Hi,
    My Web Dynpro Abap is not inheriting the Portal theme. My understanding is that for NW2004, EP7, Web Dynpro Abaps would automatically inherit the Portla theme. Is there some coding required or pre-config of some sort that I have missed to allow the Portal theme inheritance?
    thanks
    C

    Hi,
    see also the [documentation|http://help.sap.com/saphelp_nw70/helpdata/en/46/89af7fbe4d429ee10000000a1553f7/frameset.htm]
    Regards, Heidi

  • Issue While printing / Previewing a Adobe form in Web Dynpro ABAP application

    Dear All,
    We have designed 4 different adobe forms using SFP transaction for 4 different countries in SAP system.
    Every country have different terms and conditions and therefore we have placed static texts (Hardcoded text) with text in different styles. Some text is in bold, some in different font (Bold, Italic). Font and Paragraph settings of the text was done as per expected. All the forms have same font and paragraph settings.
    When we Launch Web Dynpro ABAP application to open the form in Print preview or to take print, form is not getting displayed / printed as it is designed in SFP. But if you open the form in SFP, everything looks fine.
    It is working fine for 3 different forms but problem with only 1 form.
    Kindly guide what is the reason for this strange issue when previewed or taken print. It is very urgent.
    Thanks,
    Bharath.K

    Dear All,
    Thanks for your responses.
    We had identified the reason.
    Customer has provided terms and conditions for all 4 countries in PDF document. Along with PDF, for 3 out of 4 countries customer has shared pre-prepared word document with pre aligned and justified terms and conditions as per expected outcome. We copied this text from word to Adobe form layout. It worked fine. For 1 country, customer have not shared terms and conditions in word document. Therefore we had copied text directly from adobe PDF document in to Form layout. Then this issue happened.
    Solution for this issue is to, prepared a word document with expected alignment and justification of terms and conditions text . Then copied from word to adobe livecycle designer form layout. It worked fine.
    Thanks,
    Bharath.

  • Web Dynpro ABAP Material

    I am new to web Dynpro ABAP.
    Please send the regarding sites to work out this concept.
    Please send me materials or pdfs regatrding this topic
    My Mail ID is <b>[email protected]</b>
    Please help me.
    I am requiring it a lot.
    Please send me .
    With Regards,
    lokesh@EDS

    Web Dynpro for ABAP in SDN
    https://www.sdn.sap.com/irj/sdn/developerareas/webdynpro?rid=/webcontent/uuid/512040e1-0901-0010-769c-c238c6ca35d9 [original link is broken]
    Developing ABAP Applications Using Web Dynpro
    http://help.sap.com/saphelp_nw2004s/helpdata/en/42/d41b25d2216babe10000000a1553f6/frameset.htm
    Web Dynpro ABAP: Development in Detail
    http://help.sap.com/saphelp_nw2004s/helpdata/en/03/0048413e466e24e10000000a155106/frameset.htm
    WDA Sample programs & tutorials
    https://www.sdn.sap.com/irj/sdn/developerareas/webdynpro?rid=/library/uuid/49f2ea90-0201-0010-ce8e-de18b94aee2d
    Web Dynpro ABAP Demonstration Videos
    /people/thomas.jung/blog/2006/06/20/web-dynpro-abap-demonstration-videos
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/webcontent/uuid/28113de9-0601-0010-71a3-c87806865f26?rid=/webcontent/uuid/fed073e5-0901-0010-4eb4-c9882aac7b11 [original link is broken]
    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.
    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 .
    Wait not just that 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 .
    /people/marilyn.pratt/blog/2005/12/20/web-dynpro-for-abap
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a282c952-0801-0010-1eb5-87953e036712
    The specified item was not found.
    If you need some standard examples then do WDR* and you'll get a big list in se80 transaction. Also SWDP_DEMO is a good package to refer to. Check for WDR_TEST_UI_ELEMENTS and WDR_TEST_EVENTS for UI operations and their various events.
    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 .
    Wait not just that 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 .

  • How to Remove Web Dynpro ABAP - Starting Application white banner

    Hi everyone,
    When I call the Web Dynpro ABAP applicaion, it shows the Login screen, after proper authentication, it shows a SAP NetWeaver Web Dynpro ABAP white screen/banner stating "Starting Application... ", and after sometime it launches the Web Dynpro application. I want to remove the white screen. How can we do that?
    Thanks in advance,
    Amber
    Message was edited by: Amber Gupta

    Hi Amber,
    Just as a quick note: There is no artificial delay when displaying the splash screen. During that time the application loads itself. The screen is removed as soon as everything will have been initialized including calling all application hooks such as wdDoInit on all the different controllers. This means, that by removing the splash screen you will only get a blank white screen with a "Application is being loaded.." message that will stay as long as the splash screen would have done. Hence, disabling or enabling it is more a matter of taste, not of performance.
    Best regards,
    Thomas

  • EREC: theme for Web Dynpro ABAP pages (external candidate)

    Hello,
    I have created a custom theme in the SAP Netweaver Portal for my customer and now I have the requirement to use the same theme for my stand-alone Web Dynpro ABAP applications (pages for the external candidate). Is it possible to use the same stylesheet as in the portal, without having to recreate a theme?
    I tried several options, but none of them did work:
    A. Downloading the portal theme as a ZIP file and then uploading it in ERP using the report BSP_UPDATE_MIMEREPOS (after unzipping) to a location /SAP/PUBLIC/BC/UR/nw5/themes/CUSTOM_THEME. After that, I call my application with the additional URL parameter sap-wd-themeroot=/SAP/PUBLIC/BC/UR/nw5/themes/CUSTOM_THEME but it does not work (the app is displayed with the default sap_tradeshow stylesheet)
    B. I also tried calling my app using the URL parameter sap-cssurl=/SAP/PUBLIC/BC/UR/nw5/themes/CUSTOM_THEME but here again, it does not work (the app is displayed with the default sap_tradeshow stylesheet)
    C. Downloading the portal theme as a ZIP file and then uploading it (zipped) using the report WD_THEMES, but here I receive the error "no themes found in the ZIP file". I have the same error if I upload only the ur.zip I receive from the portal (instead of uploading the whole *.zip file)
    I checked the UR versions both in portal & ERP, and we had a lower version in the portal than in the ERP, so we upgraded the portal version according to SAP note 1446099. Now we have a higher version in the portal than in the ERP. We regenrated the portal theme and downloaded it again, but with the same result.
    Does anyone have an idea what could be the solution to our problem?
    Thanks in advance!

    I would recommend to try another way. If it is possible to access any SAP Portal from outside you can use two URL Parameters to integrate the Portal style sheets in a standalone WDA application. The parameter sap-cssurl contains the absolute URL address to the style sheet and parameter sap-cssversion the current SAP Portal style sheet version. For all external facing scenarios it is important to use the whitelist mechanism to block unknown URLs.
    Example
    ?sap-cssurl=http://myportal.myserver.com:50000/irj/portalapps/com.sap.portal.design.urdesigndata/themes/portal/mytheme/ur/ur_ie6.css
    &sap-cssversion=7.11.5.20.0
    I canu2019t recommend to raise manually the version number. You will not get an consistent system this way. The meta data (project.zip) are outdated and of course you will get an outdated theme.

  • About configuration web dynpro abap

    we have ecc5.0 and we cant use web dynpro there. can anyone please tell me how can we use web dynpro there? is it related any sap license related issue? please help me about giving me some knowledge about web dynpro installation and use.
    From web every user should need one sap id or one common id can be use for login through web.

    >please help me about giving me some knowledge about web dynpro installation and use.
    There simply is not option to install or configure Web Dynpro ABAP on ECC 5.0 or earlier. Web Dynpro ABAP is part of the SAP_BASIS Software Component.  The versions of ECC 5.0 and earlier simply didn't contain Web Dynpro ABAP.  It was new in ECC 6.0. 
    If you want to create Web Dynpro applications, consider building a standalone ABAP or Java Application Server as a separate instance.  You can then do Web Dynpro ABAP or Java development on this standalone instance and make RFC and Web Service calls to your older ECC 5.0 system.

Maybe you are looking for