Parameters in webdynpro abap application

Hi experts,
How to catch the parameters passed in a WD application in the program or view..?
Pls help me.
Thanks
Aisurya.

Aisurya Puhan wrote:
> How to catch the parameters passed in a WD application in the program or view..?
> Aisurya.
Program ? - There are no program involved in webdynpro. I guess your primary question is about to read the URL parameters and make it available to  (Component/View) controllers.
This has been discussed many many times, easy search on this forum would bring many results like the below one.
[http://wiki.sdn.sap.com/wiki/display/WDABAP/HowtoreadURLparametersinWebDynproforABAP|http://wiki.sdn.sap.com/wiki/display/WDABAP/HowtoreadURLparametersinWebDynproforABAP]

Similar Messages

  • Issue on Creating RFx in webdynpro ABAP application - SRM Business Package

    Hi
    We are in to SRM 7.0 with the same version of Business Package in SAP Portal also.
    I am trying to create a RFx from Portal which in turn calls the webdynpro ABAP application (Strategic Purchasing->Strategic Sourcing->Create Documents->RFx)
    sap/bc/webdynpro/sapsrm/wda_l_fpm_oif.
    This Application has some button called "Tech RFx", "Permissions" etc., When I click on those buttons it throws the error as below :
    "There is no iView available for system "SAP_SRM": object "TechResp". For more information, contact your administrator."
    Please let me know where we are missing. I have checked all the Portal permissions. Even I can able to access all other iviews except this two buttons.
    Any settings or parameters required on webdynpro ABAP side.
    Regards,
    Raja.J

    Dear Raja,
    this behavior occurs if the IView com.sap.pct.srm.gp.iv_tech_resp
    is not assigned to the role which is assigned to the user.
    Please assign this IView to the desired user.
    Here are the steps to follow in your systems:
    STEP 1: Login to the Portal with Content Admin Authorization.
    STEP 2: Navigate to Portal Content -> Content Provided by SAP ->
    specialist -> SRM7.0 -> Core -> Roles -> Open the desired role and
    choose Navigation Folder.
    STEP 3: Now navigate to Portal Content -> Content Provided by SAP ->
    specialist -> SRM7.0 -> PPS -> iViews -> Tendering -> Select Tech
    Responses (Technical name is iView com.sap.pct.srm.gp.iv_tech_resp) and
    right click and choose 'Add iView to Role' -> Delta Link and save.
    STEP 4: Log off and login with the user and check the issue.
    Best regards,
    Tamas

  • How to exit from a WebDynpro ABAP application and open another url

    Hi Friends,
    How to exit from a WebDynpro ABAP application and open another url like (www.yahoo.com) in the same window of the WD4 application on click of a Button?
    Regards,
    Xavier

    Hi,
    First of all you should create outbound plug in the window you are trying to exit with plufg type "Exit"
    Then create method handler in the view with this code
            data lo_view_cntr type ref to if_wd_view_controller.
            data lo_win_cntr type ref to if_wd_window_controller.
            data: l_parameter_list type wdr_event_parameter_list,
                  l_parameter type wdr_event_parameter,
                  l_val type ref to data,
                  l_val_url type REF TO data.
            field-symbols: <fs> type any,
                           <fs_url> type any.
            lo_view_cntr  = wd_this->wd_get_api( ).
            lo_win_cntr = lo_view_cntr->get_embedding_window_ctlr( ).
            CREATE DATA l_val type c.
            CREATE DATA l_val_url type string.
            ASSIGN l_val->* to <fs>.
            ASSIGN l_val_url->* to <fs_url>.
            <fs> = 'X'.
            <fs_url> = 'http://your-link.com'.     
            l_parameter-name = 'URL'.
            l_parameter-value = l_val_url.
            INSERT l_parameter INTO TABLE l_parameter_list.
            lo_win_cntr->if_wd_view_controller~fire_plug( EXPORTING plug_name = 'EXIT_PLUG'
                                                                    parameters = l_parameter_list ).
          You can easily change this logic to exit application instead of redirecting to the site
           just changing to
           l_parameter-name = 'CLOSE_WINDOW'.

  • How to access SQL tables from WebDynPro ABAP application ?

    Hi,
    I am trying a scenario, where I need to send an user ID to SQL server table (update/modify/delete) from webDynpro ABAP application.
    Basically ,I am trying to know:---
    a>How to write a SQL Connection from ABAP code within webdynpro ABAP application
    b>What are the ways to do it.(by code or any other API/mechanism)
    I appreciate if anybody knows this.
    Thanks
    Praveen

    Hi,
    The EXEC CONNECT ... is usually used in the procedural ABAP code. For this you can refer to the ABAPDOCU.
    I dont have any sample code on the classes I listed try to check out them for the parameters and the methods they have.
    In WD for Java, we have these connection classes to connect to any databsae server.
    Or try to create an RFC with DESTINATION for this
    Pls check out this link for this -
    Pull data from another r3 server using abap dynpro
    Regards
    Lekha

  • Getting Pernr for WebDynpro ABAP application

    I am building a new WebDynpro ABAP application and I want to be able to get the PERNR for the user logged into the portal and this application.
    I have read some information on this forum about getting the URL or application parameters in order to get the userid or similiar parameters and to handle this within the Window in the HANDLEDEFAULT method of a WebDynpro ABAP application.
    I have looked into this and I don't think pulling information from the application parameters will work.  For example, I checked one of our current services for "Personal Data"  and when I go to the portal content administration,  application parameters, I don't see any reference to userid..etc.  I see Property ID, Property Category, Inheritance, End-User Personalization, and Property Description.  In addition, I do not see any information from the URL itself that I could use. 
    Here is the scenario.  The user logs into the portal using the 3 character Network id which in turn, I assume, gets their SAP userid and PERNR in order to retrieve all the HR infotype information for each service.  By the way, the service I mentioned above, "Personal Data", is written in JAVA, so I am not able to see how this particular service works or handles getting the userid and PERNR.
    Has anyone come across this scenario before and how was it handled in terms of getting the userid and PERNR?

    I was thinking that SY-UNAME would be available, but was not sure.  For some reason, I was thinking I was going to have to pass something from the applicaton parameters or some other method to my WebDynpro ABAP program..
    I am not the portal administrator so I have not yet added my WebDynpro ABAP program to the portal yet.  Once, it's added, I will check out the availablility of sy-uname.
    Thanks.

  • Putting Webdynpro ABAP application on portal

    Hi all,
    We have SAP ECC 6.0 as the ABAP system and EP 7.0 SP 6 is the portal. I want to show a Webdynpro ABAP application on the portal which I have created in the ECC system.
    I have an created an application in the back end with the following parameters :-
    Webdynpro Component name :- ZTESTWEBDYNPRO
    Webdynpro Application name :- ztestwebdynpro
    I then created a Webdynpro ABAP iview with following parameters :-
    Application name :- ztestwebdynpro
    Namespace :- sap
    System :- SAP_ECC_SERP (this has been tested and is working).
    We also have SSO configured with logon ticket to the ECC system.
    But I am getting a "Page cannot be displayed" error when I execute the application.
    Any idea why this can occur?
    Thanks,
    Hari
    Message was edited by:
            Hari
    Message was edited by:
            Hari

    Hi Hari,
    So assuming you have tested the connection to the system,
    perhaps another service, BSP, ITS , whatever
    and that it is creating WEB DYNP ABAP iviews that is the drama.
    Under EP 7.0, be sure to choose Iview type WEB Dynp ABAP.
    the properties page with application parameters is:
    SYSTEM -> As created to access system, available in dropdown
    Namespace - > sap
    Application name ->     <your WDA>    case as created in SE80
    So it looks like you have entered correctly to me.
    Perhaps the portal Forum has more info if you have continued issues.
    regards
    Phil.

  • F4 help issue with Webdynpro ABAP application

    Hi,
    I am facing a strange issue with the F4 help in my webdynpro abap application.
    I have few fields for Purchase Order and Line item on the screen and they have corresponding F4 helps associated with them.
    When i select for F4 help, sometimes the screen simply blanks out and a white screen is displayed. When i refresh the screen and try the same scenario again, i can see the value list correctly.
    This issue occurs very randomly with no specific pattern. If anyone else has faced this issue earlier, kindly let me know how to get rid of this issue.
    Any pointers to resolve this issue will be helpful.
    Note: I am using SAP version 702 SP09.
    Thanks,
    Ramanath

    Hi,
    we cannot help you from offline, you need to check the standard procedures like
    SICF->is your application node is active.
    FQDN->check fully qualified name is configured
    You can also try to execute standard SAP application, if sap application also has problem running then you may have to get the help of BASiS people to look into that and raise a support ticket.
    If sap applications are running and your custom developed applications are not running then look into this application if there is any URL parameters need to supply etc.

  • How to Pass personal number(pernr) to the ESS Webdynpro ABAP Application

    Hi,
    How to pass personal number of employee to the standard ESS webdynpro ABAP application as application parameter of iview.
    Thanks
    Srikanth

    Hi
    For WebDynpro application in iView there is a property to set Parameter for WebDynpro application.
    Handel these passed parameters in Default plug of Interface Controller.
    Note string passed as parameter in iview is case sensitive.
    Try this code to get URl of Deployed application
    String appURL = null;
    try {
         WDDeployableObjectPart currentAppPart =wdThis
                                  .wdGetAPI()
                                  .getComponent()
                                  .getApplication()
                                  .getDeployableObjectPart();
    appURL = WDURLGenerator.getApplicationURL(currentAppPart);
    } catch (final WDURLException ex) {
    wdComponentAPI.getMessageManager().reportException(
                             new WDNonFatalException(ex),
                             false);
    Mandeep Virk

  • Error in opening webdynpro abap application

    hi All,
    I am facing below issue in opening webdynpro abap application, this is first WDA application in production system, please help me in resolving this issue.
    ============================================================================
    Error when processing your request
    What has happened?
    The URL http://grp.mysap.pg.com:9500/sap/bc/webdynpro/sap/zgpuvstapp/~ucfLOADING was not called due to an error.
    Note
    The following error text was processed in the system GRP : A request for server adln5412 has been sent to server adln5411; see Note 1364846
    The error occurred on the application server adln5411_GRP_10 and in the work process 3 .
    The termination type was: ERROR_MESSAGE_STATE
    The ABAP call stack was:
    Method: PREPROCESS_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
    What can I do?
    If the termination type was RABAX_STATE, then you can find more information on the cause of the termination in the system GRP in transaction ST22.
    If the termination type was ABORT_MESSAGE_STATE, then you can find more information on the cause of the termination on the application server adln5411_GRP_10 in transaction SM21.
    If the termination type was ERROR_MESSAGE_STATE, then you can search for more information in the trace file for the work process 3 in transaction ST11 on the application server adln5411_GRP_10 . In some situations, you may also need to analyze the trace files of other work processes.
    If you do not yet have a user ID, contact your system administrator.
    Error code: ICF-IE-http -c: 400 -u: BS6402 -l: E -s: GRP -i: adln5411_GRP_10 -w: 3 -d: 20100929 -t: 140306 -v: ERROR_MESSAGE_STATE -e: A request for server adln5412 has been sent to server adln5411; see Note 1364846
    HTTP 500 - Internal Server Error
    Your SAP Internet Communication Framework Team
    ============================================================================
    Edited by: brahmanandam ausali on Sep 30, 2010 4:11 AM

    Hi Shibli,
    I'm facing the same issue with the POWL only if called from a part of the network outside our country (Italy) so I think it would be a network configuration problem as you suppose. Can you explain us the configuration of the balancer and dispatcher to solve the issue?
    Thanks
    Mattia

  • Calling Portal iView from a WebdynPro ABAP application

    Hi ,
    I have a requirement where I need to call an iView in my portal from the Webdynpro application also existing in the portal.
    Can anyone provide me the method with source code( if possible ) to call an iView existing in the portal from the WebDynPro ABAP application.
    Best Regards
    Sid

    Hi Siddharth,
    Well, I think you can go for Portal Navigation concept.
    Please check the required source code in WDR_TEST_PORTAL_NAV Web Dynpro component. That will illustrate both Page based Navigation and Object based Navigation.
    Hope that should solve your problem.
    Regards
    <i><b>Raja Sekhar</b></i>

  • How to Call the RFC in Webdynpro abap application

    Dear Experts,
    Good Evening to all...
    I have to add two numbers using RFC in webdynpro abap application. If we give the numbers in the input screen then the RFC should add it and give it in the output screen. This is the application for that I have created the RFC.
    But the problem is i don't know how to call the RFC in that Webdynpro abap application and how to link the input view and output view with that RFC...? I am new to Webdynpro abap. Please kindly help me on this... I am struggled here... I need your help in this....
    Thank You.

    Hi Jaga,
    You asked the same question again.
    Without closing the [previous one|Re: Where SAP store the uploaded files?].
    I think Abhi has answered your question.
    If not please elaborate on the problem.
    The solution btw is to create a Service Call.
    Sumit

  • Error in webdynpro(ABAP) application development

    Hi,
           I am very new in webdynpro (ABAP) application development. I want to create some application based on webdynpro ABAP for few Z- Report. What is the prerequisite to develop a application based  on webdynpro( ABAP ) .Because when I am trying to create application in se80 and giving the related functional model name in wedynpro component field , I am getting the error like Web Dynpro Comp./Intf. ZOS_xxx_FM does not exist. How to proceed further?
    Thanks,
    Kundan

    Hi,
    Can you be more clear...
    Please refer this link  for Personalization-
    http://help.sap.com/saphelp_nw2004s/helpdata/en/22/719f42f2ff7e5fe10000000a155106/content.htm
    Regards,
    Lekha.

  • Call WebDynpro Abap application with trasaction

    Hello Experts,
    can I call my WebDynpro Abap application with a trasaction ?
    Regards
    sas

    hi,
    Go through this link
    [****************/Tutorials/WebDynproABAP/TransactionCode/Create.htm]
    Hope it will help you.
    Regards,
    Rohit

  • Getting prob while creating view in webdynpro ABAP application

    Hi Guys,
    I am facing a problem while creating a view for webdynpro ABAP application. It is giving an error as "ICF service "/sap/public/bc/WebDynpro/ViewDesigner" inactive".
    can anybody let me know how to solve this problem.
                   Thanks In Advance
    Regards
    Ravikumar

    I think check Internet explorer Tools ->Internet Options ->Connections.>Lan Connections> if the proxy or anyting checkbox is clicked coz it doesn't work with Internet on .
    Please reward if useful.

  • WebDynpro ABAP application issue from Portal after ECC 6 upgrade to SP14

    Hi,
       We have recently upgraded the Kernel, ABAP and Java stack of ECC 6.0 system to SP14. After the upgrade most of the WebDynpro ABAP applications doesn't load and just flickers when run from Portal as a WebDynpro iView, but they run perfectly fine when accessed directly using URL. These were running fine prior to the upgrade. Can someone suggest what can be going wrong.
       Will reward points for helpful answer.
    Regards
    Mukesh

    Hi Mukesh,
    As Gajendra said, restarting the service in SICF sometimes works for us, but not always.  We have also had to deactivate the entire Webdynpro node, and then reactivate it and all of the services below it.
    Obviously something changed in the SP, given that we now have to do this every time we create a new WDA application.
    Cheers,
    John

Maybe you are looking for

  • I have an HP PSC 1410v All in one - Windows 7 Prof. w XP compatabilty : worse: I can't save anything

    In trying to salvage the editing  program "Image Zone" express and HP Solution Center to do scanning and editing, I upgraded to Windows 7 professional with XP compatability as I had read online, but it's a complete nightmare. The XP program cannot sc

  • Windows 7 with 11g ODBC install confusion...

    Hi all, Ok, I am just a little confused. All I need to do is get ODBC running under Windows 7. I figured this would be easy, but apparently not. I am trying to install Oracle 11g 64 bit on a new Win 7 computer. This is to set up a "typical" end user

  • CS4 Exporting media Loosing Focus

    Hi When exporting media to the media encoder I am finding that I am loosing focus of the rendered file in flash. the original size of footage is 1920 X 1080 I have croped this to an area of the footage that I require 720 x 640 and changed the out put

  • T61 wi-fi adapter driver

    My T61 adapater is the Intel Pro/Wireless 3945ABG; the driver is Version 11.1.1.11 [probably the same driver as the day when I bought it]. I recently got a ThinkVantage message saying that it couldn't connect to a wireless network and that I "may nee

  • Amazon print guidelines specify one page per sheet

    Amazon print guidelines specify one page per sheet I am setting up a new book and not sure I understand Amazon guidlines "one page per sheet". I am pretty sure this setup is one page per sheet when Exported to PDF -- can any one please confirm this?