Report Varaint in ABAP web dynpro

Hello All,
I am currently working on an ABAP Web dynpro development.
I am developing a Report, where the requirement is to have Variants (same as that of GUI reports).
The user can select the particular variant, which will populate the selection screen.
I am new to ABAP Web dynpro and am unaware whether Standard functionality of Variants is available for Web dynpro?
Can you please tell me whether Variants is available for Web dynpro?
Thanks and Regards,
Pratik

Hi Pratik.
You could define the select options in a table per variant.
Depending on the selected variant you read the corresponding selection fields
from that table and populate the select options fields in wddoinit.
Then just call submit report afterwards.
AFAIK there is no standard functionality for that.
Cheers,
Sascha

Similar Messages

  • Use ZBEX Anonymous Login Service in BIApplicationFrame in ABAP Web Dynpro

    Hello,
    We created a ZBEX Service as an alias of the BEX Service as per SAP OSS Note 516884 to allow users to anonymously access BW reports.
    Now we want to embed the BI Web Application in an ABAP Webdynpro as a BIApplicationFrame.
    Note that the ABAP Web Dynpro is on the SAP R/3 ERP side while BI is a separate BW instance.
    The problem we are facing is the standard BIApplicationFrame element uses the SAP standard BEX service when it forms the URL and we do not seem to have a way to make it use the ZBEX Anonymous login service. Hence it always asks for the logon screen defeating our purpose.
    Has anybody done been able to make the BIApplicationFrame use ZBEX service and if yes, what is the solution to this problem?
    Thanks and regards,
    Atul Kulkarni

    Hi Ankur,
    Someone will somewhere call the EJB (not: "Java Bean"!). As an EJB isn't part of a request/response cycle but mainly thought for business logic, it is of course the task of the calling component to deliver the user (his logonID for example) to the EJB.  There is not other way!
    Hope it helps
    Detlev

  • How to pass field symbol or table from one view to another view in abap web dynpro?

    I am creating an Inbound Outbound ALV report in ABAP Web Dynpro. However at selection-screen I have select options and fetching is done at view2. Problem is we can pass parameter using inbound outbound parameters but how to pass internal table or field-symbols from one view to another view? I made use of Assistance Class too but its not very clear to me. Please give me some example or code to sort this problem out.

    I am creating an Inbound Outbound ALV report in ABAP Web Dynpro. However at selection-screen I have select options and fetching is done at view2. Problem is we can pass parameter using inbound outbound parameters but how to pass internal table or field-symbols from one view to another view? I made use of Assistance Class too but its not very clear to me. Please give me some example or code to sort this problem out.

  • Incorporating web service in an ABAP web dynpro view

    Hi,
    I am trying to call an external web service to have its results displayed in an ABAP web dynpro view. I've seen various threads that are dealing with the same issue, but none of them seemed to have helped me (I am quite new at this so maybe I'm just having a slow beginning, please bear with me)
    I'm interested in extracting information from a simple web service online. To this end, I went on www.xmethods.net and found a "quote of the day" service, which is practical because it doesn't even need input.
    I am writing down all the steps I've taken, even if they seem trivial, because maybe my problem is the result of a silly mistake I'm not yet capable of noticing...
    I am mostly following the instruction from here:
    <a href="/people/thomas.jung3/blog/2004/11/17/bsp-a-developers-journal-part-xiv--consuming-webservices-with-abap:///people/thomas.jung3/blog/2004/11/17/bsp-a-developers-journal-part-xiv--consuming-webservices-with-abap
    The SAP I use is the one on the SC7 system, seems to be ECC 6.0
    After I created my package, I go on to create a Proxy Object, and when prompted for a WSDL source, I give the URL destination I got from xmethods.net: <a href="http://www.swanandmokashi.com/HomePage/WebServices/QuoteOfTheDay.asmx?WSDL">http://www.swanandmokashi.com/HomePage/WebServices/QuoteOfTheDay.asmx?WSDL</a>
    Doing this I get an HTTP error (return code 400, message "ICM_HTTP_CONNECTION_FAILED") (others have had this problem, e.g. Calling Web Services from ABAP, but the answers offered haven't been much help to me)
    and having no idea what to change or not change in SICF and other settings, I decided to save the file locally, and so I then created a Proxy Object by choosing the WSDL source as the local file I saved.
    Telling me that multiple port types exist (SOAP, httpGet and httpPost) I picked SOAP. I can then see the properties of my Client Proxy Object, its structure with the classes and methods etc.
    Then, following Thomas Jung's procedure, I went to create a logial port which I named QUOTE_PORT. When I do the F8 test he suggests to do, I get an error: SRT: Processing error in Internet Communication Framework: ("ICF Error when receiving the response: ICM_HTTP_CONNECTION_FAILED") which was predictable since I still haven't resolved that same problem above.
    I then proceed to create a Web Dynpro Component. In that component, in the component controller's context, I created a simple node into which I added attributes which I created using the wizard -> Attributes from components of structure, and there I picked the structures that had just been created in my proxy object, each in its own node
    I have three proxy structures generated: GET_QUOTE_SOAP_IN, GET_QUOTE_SOAP_OUT and QUOTES. This last one has two attributes which are STRINGs, the quote of the day and its author.
    I then create a rather trivial view, whose context I have mapped to the component controller's context so as to have access to those "quote" and "author" attributes I just mentioned. The layout is simplistic at best, containing only two textviews, each one bound to its respective attribute.
    Once the application has been done and tested, the output is a blank page. I'm hoping that this is only because of that ICM_HTTP_CONNECTION_FAILED error. Has anyone else had these problems when calling external web services? Is this the right procedure for displaying output?
    Thanks and Regards,
    Micol

    Hi, sorry for the long reply time.
    from work I do have proxy settings:
        automatic configuration script: http://proxy:8083
        proxy server for LAN: proxy / 8080
    from home it's a proxy free connection.
    In both cases I tried changing the settings in the SICF transaction, but it hasn't changed much.
    With the HTTP error that I get, I get a long text on how to maybe solve it,
    <b>No connection to Integration Builder (only generic data visible)
    Message no. SPRX081</b>
    In this long text, I have four tests to do in order to check the connection (as far as I can understand)
    1. The address of the Integration Builder must be stored in the SAP system
    =>Check/maintain with report SPROX_CHECK_IFR_ADDRESS
    2. The HTTP connection of the ERP application server must function correctly
    =>Check with report SPROX_CHECK_HTTP_COMMUNICATION
    3. The Integration Builder server must be running correctly
    =>Check with report SPROX_CHECK_IFR_RESPONSE
    4. Proxy generation must interpret the data of the Integration Builder correctly
    ==>Check with report SPROX_CHECK_IFR_CONNECTION
    The checks for 1&2 work okay, but I get errors for checks 3&4
    "Integration Builder data not understood"
    How can I go on from here?
    Thx

  • Error while accesing ABAP web dynpro application

    Hi Experts,
    We are getting warning symbol on web page status bar, when we are accessing the ABAP web dynpro application
    only first page of application is getting loaded and when we click on page it is showing error on status bar and we can perform any thing.
    once we double click on warning icon,
    below details are coming:
    Line: 1491
    Char: 3
    Error: Object Expected
    Code: 0
    URL: url of the ABAP web dynpro application
    This scenario is occuring for many ABAP WD application for a client.
    Please guide how to solve this issue?
    Thanks!
    Piyush

    Hi
    First try a very simple application with nothing in it just one text saying Hello World
    Run it and see what happens.
    Also check if your url uses FQDN name. something like https:
    company.name.co:50000\.......
    If you do not use the FQDN it will always show a script error on the bottom and some functions will not work e.g
    dropdowns.
    regards
    Yuval.

  • ABAP Web Dynpro iView error

    My ABAP Web Dynpro iView encouters errors:
    The URL http://sp06:8004/sap/bc/webdynpro/sap/z_jgo_demo// was not called due to an error.
    Note
    The following error text was processed in the system SB2 : WebDynpro Exception: Error in UCF Template POPUP_PAGE ($).
    The error occurred on the application server sw06_SB2_04 and in the work process 0 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Method: RAISE of program CX_WD_GENERAL=================CP
    Method: RENDER_TEMPLATE of program CL_WDR_UCF====================CP
    Method: HANDLE_TEMPLATE of program CL_WDR_UCF====================CP
    Method: HANDLE_REQUEST of program CL_WDR_CLIENT_ABSTRACT_HTTP===CP
    Method: IF_HTTP_EXTENSION~HANDLE_REQUEST of program CL_WDR_MAIN_TASK==============CP
    Method: EXECUTE_REQUEST of program CL_HTTP_SERVER================CP
    Function: HTTP_DISPATCH_REQUEST of program SAPLHTTP_RUNTIME
    Module: %_HTTP_START of program SAPMHTTP
    I was able to run the ABAP web dynpro application outside of portal by using the url: http://sp06:8004/sap/bc/webdynpro/sap/z_jgo_demo/. But with the extra / at the end, I get the same error.
    Can anyone point me to how to remove that extra / at the end?
    Thanks
    Ben

    Hi Gurus ,
    We have upgraded the SAP HR system from ECC6.3 to ECC6.4 and netweaver from 7.0 to 7.1 .
    Following are the list of error in EHP4 system ,
    1) Layout of ABAP Webdynpro Component are not displayed .
    2) Any ABAP WEBDYNPRO Application is not displayed by tesing in SAP-R3 and also in ESS .
    error are as follows while trying to view layout in abap webdynpro application :
    http://dv.hr.co.in:4567/sap/bc/wdvd/painting.html?_vdrespkey=4IS29CT7NDRIOI511AFI0R1E3&_vdframe=painting&sap-client=435
    If any one have information for this kindly let me know .
    Thanks :
    Vishwas

  • IView not found error when excuting ABAP Web Dynpro iView

    Hi Experts,
    I have created one ABAP Web Dynpro iView for an existing Application.
    Parameters I have passed for iView creation.
    Namespace : sap
    Application Name: SampleApp
    System Name: R3_SYS.
    Can any one please pass on me the details what are the mandatory parameters need to be passed.
    Thanks in Advance,
    Chinna.

    Hi Chinna,
    You need to check the following parameters like
    Namespace - should be 'sap' as this is root node in SICF
    Application Name: - check name of WD application in se80
    Please refer to below thread for creating WD ABAP iview.
    Re: Webdynpro ABAP iView Blank Page
    Web Dynpro for ABAP iVIew's Namespace parameter
    how to create iview from webdynpro application  abap
    Hope it helps
    Regards
    Arun

  • Can the role info be passed from portal to ABAP web dynpro application

    Hi,
    We have some roles in the portal. We call the ABAP web dynpro applications from the portal. Is it possible to pass on the role from the portal to the Web dynpro ABAP application so that we can use this role information in the application.
    Thanks,
    Pooja

    Hi,
    you can try to add the expression
      role=<IView.PCDUnit>
    as part of the Application Parameters in the iView. This will be the role in 99%. However not all iViews started in the Portal must belong to a role. You can start iViews using page navigation that are not part of a role. Therefore the PCD does not talk about roles but about "units" which is the superordinate term.
    the value will be the PCD path of the role - e.g:
      portal_content/myFolder/roles/myRole

  • Calling an interface METHOD of another abap web dynpro application

    Hi Experts,
    Can u plz tell how we can Call an interface METHOD of another abap web dynpro application in main WD Component.
    Thanks
    Mahesh

    Hi ,,
       Example ALV interface method calling   GET_MODEL interface method
       View attribute   declaration   :    M_WD_ALV  type      IWCI_SALV_WD_TABLE
         DATA lo_INTERFACECONTROLLER TYPE REF TO IWCI_SALV_WD_TABLE .
          wd_this->M_WD_ALV =   wd_this->wd_cpifc_alv( ).   "ALV is the usage name
         DATA lv_value TYPE ref to cl_salv_wd_config_table.
          lv_value = wd_this->M_WD_ALV->get_model(  ).   " interface method calling in ALV component usage.....
    Regards,
    Devi

  • Creating 'Z' views for Standard ABAP Web dynpro Application

    Hi Experts,
    I am totaly new to ABAP web dynpro objects.
    In our project there were some client requirements which required us to change the properties of the Views related to the Webdynpro. The Client now has said that he needs to apply some  enhancement pathces on his system. Due to this, the changes made to the Views i.e all the changes done in standard code are  lost.
    The client now wants a long term solution where all the changes need to be done in 'Z' implimentataion so that changes are not lost every time the pathces are applied.
    Is it possible to create an entire new 'Z' Views for the standard Webdynpro instead of standrad ones?
    If Yes how does one link them to the Webdynpro application ?

    Hi
    Have a look at following article about enhancing webdynpro applications.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/700317da-bd79-2c10-368e-8f18bf5d8b81?quicklink=index&overridelayout=true
    Regards
    Manas Dua

  • Convert JAVA Web Dynpro to ABAP Web Dynpro application

    Hi,
    I was hoping someone could tell me if there is a way to port a JAVA Web Dynpro application to ABAP Web Dynpro. We have some JAVA WD apps that would now make more sense to have running on our ABAP system so we would like to convert them to ABAP WD apps.
    I know the theory is that WD is metadata/XML based so it should be possible to port the WD definition to ABAP and have the ABAP runtime generate the application again in ABAP. I expect that any custom code that is written in JAVA would need to be manually rewritten in ABAP - but it would be great if there was tool or method to at least port the majority of the application.
    Thanks in advance for your help,
    Simon

    Hi Simon
    You are correct in thinking that all WD apps are based on metadata, but unfortunately, the similarity between WD Java and WD ABAP is just a conceptual one, and no such tool exists to convert one to the other.
    In addition to this, there are certain implementation differences between ABAP and Java that mean you could not convert one to the other.  For instance, the whole concept of model objects does not exist in WD ABAP. Therefore, structural entities used in WD Java such as model components could not be tranlsated into anything that exists in ABAP, because the concept is redundant in the target language.
    Sorry about that, but Java and ABAP are sufficiently different beasts that such a tool is not possible.
    Regards
    Chris W

  • Adding an ABAP Web Dynpro application to a Java Web Dynpro screen

    Hey fellow SAPers
    This is an interesting one .........
    We have developed a bespoke ABAP Web Dynpro screen that we want to include into a tabstrip in a Java Web Wynpro application. We have managed to do this by inserting an iFrame into the tabstrip, and then passing the UWL of the ABAP Web Dynpro app. This works. However, life is never that easy and of course whenever the screen is refreshed, the ABAP WD app is called again and so any changes to the data on the ABAP screen are lost as the data in the ABAP app is re-selected and the data returns to it's original state.
    Does anyone know:
    - of another way to incorporate an ABAP WD screen into a Java WD screen (as a tabstrip)
    - how to de-activate a Java view so that the view containing the ABAP WD app is refreshed (i.e. the window is refreshed), the view is not refreshed and the ABAP app is not re-called .....
    - any other ideas ....
    of course, we could re-develop the same screen in Javam, but that would be too easy
    Looking forward to your responses
    Jon

    >
    > Hi Jon,
    >
    > First of all Iframe is not officially supported until 7.01 version.
    I believe it is deprecated in 7.01 and re-supported in 7.02
    [7.01 IFrame Help|http://help.sap.com/saphelp_nw70ehp1/helpdata/en/15/c07941601b1d09e10000000a155106/frameset.htm]
    [7.02 IFrame help|http://help.sap.com/saphelp_nw70ehp2/helpdata/en/15/c07941601b1d09e10000000a155106/frameset.htm]
    >
    > Would you not use Portal for that and incorporate two iViews in a Page?
    I'm guessing you want to show this within the WDJ app not above, below to the left, right...
    This is a very very difficult thing to do - I'm guessing that you are not actively passing data into the URL of the WDJ IFrame, but just have "decorated" the WDJ app with the a statically linked IFrame. In this case the only thing you have to tie the two together is the user id that you are using - and potentially the time the app was launched. You could in theory use a shared memory area (watch out for multi app server environments) to store the state of the app in case it got refreshed... but this is not a simple thing to do...
    Consider if it is absolutely necessary to enhance the WDJ in place - hopefully you can just replace it with a WDA when you install EhP5
    Good luck,
    Chris

  • Call a ABAP Web-Dynpro-application via a BSP-Application

    We have a BSP-Framework, that call several applications among other things other BSP-Applications, ITS-Application and other systems. Now I want to integrate a ABAP Web Dynpro-Application.
    For the moment I can call the ABAP Web Dynpro-Application from our application.
    This application runs in the same session as the Framework (verify in transaction sm04).
    When I want to call another application in the Framework, the session will be killed (no more sessions in sm04). This happens also, when I want to call the ABAP Web Dynpro-Application a second time.
    I guess, that the ABAP-Framework thinks I want to go outside the system (for example www.google.de) and close the session. I found out, that this wouldn't happen, if the application were suspended. But I found no way to tell the application via a url-parameter to suspend.
    Can someone help me?

    Thx for the tip,
    but I can't firea suspend plug. Because I'm in BSP. I understand the docu so, that you have the option to call a other apllication like BSP from a ABAP Web Dynpro.
    I want to call the ABAP Web Dynpro form BSP like this way.
    1. Start BSP-Framework
    2. Call ABAP Web-Dynpro-Application from BSP
    3. Call another Application from BSP without automatically logout by unload ABAP Web Dynpro. (I have a chance to call the ABAP Web Dynpro again via url to suspend before I call the other app.)
    Regards Stefanie

  • Exiting from ABAP Web Dynpro application

    Hi,
    In ESS portal we have one tab Personal info, there I have created one link and integrated my ABAP web dynpro application.
    I want to exit from the application and go back to the Personal info sub area. created one exit button in my application on press of that i need take this action.
    Please guide me with this
    Thanks!
    Piyush

    Piyush,
    I am not sure whether it works or not just get the navigation url of personalinfo subarea and using portal APIs navigate to that url when you click on exit button
    Thanks
    Bala Duvvuri

  • 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,

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

Maybe you are looking for