Problem in Closing a web dynpro application

Hi experts,
I wanted to close the application when the user clicks on the close button.
I created a out bound plug "EXIT" of type 'EXIT' in my window.
I also created a parameter "CLOSE_WINDOW" of type "WDY_BOOLEAN" for the outbound plug
Now in action of the close button i have done the below code:
DATA: l_ref_ywd_maintain_catalog TYPE REF TO ig_ywd_maintain_catalog .
l_ref_ywd_maintain_catalog = wd_this->get_ywd_maintain_catalog( ).
  l_ref_ywd_maintain_catalog->fire_exit_plg( CLOSE_WINDOW = 'X'
where ywd_maintain_catalog  is my window name.
when i check the program i am getting the below error:
get_ywd_maintain_catalog_ctr is unknown or protected or private.
I refered the standard web dynpro component "WDR_TEST_EXIT_PLUG" to implement the logic
Pls help
Regards,
Vinod

Hi all,
This is my requirement when i click on a close button the application should close.
i refered to a web dynpro component "WDR_TEST_EXIT_PLUG" where they have explained the way to use exit plug.
They have created a outbound plug in the window called "EXIT" of type exit. and in the action of the button they have used the below code to fire the outbound plug.
method onactionfire_exit .
  data: l_ref_wdr_test_exit_plug type ref to ig_wdr_test_exit_plug .
  l_ref_wdr_test_exit_plug =   wd_this->get_wdr_test_exit_plug_ctr( ).
  l_ref_wdr_test_exit_plug->fire_exit_plg(
    url = 'http://www.google.de/'
endmethod.
I followed the similiar approach in my code:
I created a out bound plug "EXIT" of type exit in my window.
then in the action of the close button i have done the below code:
  DATA: l_ref_ywd_maintain_catalog TYPE REF TO ig_ywd_maintain_catalog .
l_ref_ywd_maintain_catalog =wd_this->get_ywd_maintain_catalog_ctr( ).
  l_ref_ywd_maintain_catalog->fire_exit_plg( CLOSE_WINDOW = 'X'
The problem i am facing is i am getting the error  "method get_ywd_maintain_catalog_ctr is unknown or public or private"
I am referred to the below URL to do it :
link: [Exiting a Web Dynpro Application by pressing a button on a Web Dynpro View]
Regards,
Vinod

Similar Messages

  • Problem with starting the Web Dynpro Application

    Hello,
    I have a problem with my web dynpro application, which is in our SAP Portal. We have three different systems (development, test, production). In production always the follewing error message occurs:
    The URL https://zsil2401.servers.wacker.corp:9004/sap/bc/webdynpro/sap/ZPLM_EN_FORM_300MM/ was not called due to an error.
    Note
    The following error text was processed in the system P1A : is not a valid attribute type.
    The error occurred on the application server zsil2401_P1A_04 and in the work process 0 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Method: GETATTRIBUTE_RTTI of program CL_WDR_CONTEXT_NODE_INFO======CP
    Method: INIT_ATTRIBUTES of program CL_WDR_CONTEXT_NODE_INFO======CP
    Method: CREATE_FROM_STRUCT of program CL_WDR_CONTEXT_NODE_INFO======CP
    Method: IFWDR_RG_CTRL_HANDLE~INIT_CONTEXT of program SAPLWDR_RG_GENERATED_SRC_API
    Method: IFWDR_INTERNAL_API~INIT_CONTEXT of program SAPLWDR_RG_PROXY_FACTORY
    Method: CONSTRUCTOR of program /1BCWDY/35DSOWFU6YQV6I81U8VG==CP
    Method: IF_WDR_CLASSLOADER~GET_COMPONENT_CONTROLLER of program /1BCWDY/35DSOWFU6YQV6I81U8VG==CP
    Method: CONSTRUCTOR of program CL_WDR_DELEGATING_COMPONENT===CP
    Method: CONSTRUCTOR of program CL_WDR_CLIENT_COMPONENT=======CP
    Method: CONSTRUCTOR of program CL_WDR_CLIENT_APPLICATION=====CP
    Some User get this message also in test an development. What could be the reason?
    Note: Nothing has changed in coding or context.....this error occurs without any changements
    Thanks for your help
    Best Regards
    Martin

    Hi,
      May be you can put an external breakpoint in the method "_get_attribute_rtti"(of class CL_WDR_CONTEXT_NODE_INFO).
    From that you can find out which attribute is causing the dump , and try to solve the issue . May be some data dictionary object is not transported to production.(Assuming that you have permission to put breakpoints in production system..:))
    Aditya.

  • Problem of Creating a web dynpro application based on a car rental web serv

    Based original SAP developer studio examples shipped with the developer studio, I first create J2EE application “QuickCarRental”. It works at http://192.168.254.4:50300/QuickCarRental.
    A web service “QuickCarRentalWebService” is defined in J2EE application “QuickCarRental”. My web dynpro application “TutWD_CarRental” is web service consumer invoking “QuickCarRentalWebService”.
    When I deploy “TutWD_CarRental” on SAP J2EE engine and  run the application at http://192.168.254.4:50300/webdynpro/dispatcher/local/TutWD_CarRental/CarRentalApp, i can see the web dynpro web application interface right.
    however, I get the following error when I input some data and Click button rent a car.
    Service call exception; nested exception is: com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (404) Not Found.
    when i click Display all bookings, the error is:
    Service call exception; nested exception is: com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (404) Not Found.
    I install SAP developer studio on my winXP desktop, and the SAP developer studio version is 2.0.10.
    I have my SAP Web application server and J2EE engine Version 6.40 run on a different machine. the SAP server IP address is 192.168.254.4
    could anybody give me some clue on this. is that because i miss some configurations on SAP server for enabling web services of “QuickCarRentalWebService”?
    Thanks!
    Thomas

    HI
    Find here.
    https://www.sdn.sap.com/irj/sdn/downloaditem?rid=/library/uuid/9fc0e990-0201-0010-199c-e38fc6dafb5d
    Thanks
    Lohi.

  • Problem in creating a web dynpro application in netweaver developer studio.

    Hi,
    I have installed Netweaver developer studio. while creating a webdynpro project by selecting File->new->project, It doesn't display "web dynpro" option in the project wizard dailogue box.
    Please suggest how to resolve this issue.
    Thanks.

    Hi Babu,
    Make sure following plugin folder
    "com.sap.ide.webdynpro.ui_xx.yy.zz(for ex:com.sap.ide.webdynpro.ui_2.0.0)"
    exists in your ecclipse root folder (for ex:C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\)
    It is responsible for the UI selection elements in File->New Project->WebDynpro selection.
    If it's not there you will have to copy it. check also other webdypro plugins installed correctly. these plugins comes with default installation of SAP WEBAS.
    if all plugins not installed then redo the whole installation but at the same time make sure all plugins installed correctly.
    reward points if usefull
    Thanks
    Praveen

  • Errors in While trying to Deopy Web Dynpro Application

    Hi,
      I have NetWeaver 2004S in My local System. I am facing one problem while deploying that Web Dynpro Application from NWDS. Error is pasted below. But i can deploy EP Application. I am facing the same problem when i tried to Deploy from Remote GUI.
      Can anyone help me in fixing this problem.
    Thanks,
    Sridhar
    <u>Exception i got while deploying.</u>
    Starting Deployment of SampleWD
    Aborted: development component 'SampleWD'/'local'/'LOKAL'/'0.2006.06.05.11.29.10':
    Caught exception while checking the login credentials for SAP J2EE Engine. Check whether the SAP J2EE Engine is up and running.
    com.sap.engine.deploy.manager.DeployManagerException: ERROR: Cannot connect to Host: [H1B-2F241-HMY] with user name: [Administrator]                     Check your login information.                     Exception is: com.sap.engine.services.jndi.persistent.exceptions.NamingException: Exception while trying to get InitialContext. [Root exception is com.sap.engine.services.security.exceptions.BaseLoginException: Cannot authenticate the user.]
    (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.checkLoginCredentials.DMEXC)
    Deployment of SampleWD finished with Error (Duration 2473 ms)

    Hi Sridhar,
    Please follow the steps below:
    1. Open ConfigTool ( drive:\usr\sap\J2E (your instance)\JC01\j2ee\configtool
    2. Go to Secure Store and change the password for the property admin/password/J2E (This password should same as the one you are trying to login to portal)
    3. Click Add
    4. Click Save and restart your server.
    Should be able to deploy your components.
    Happy deploying
    Best Regards,
    Shiva

  • Reg: Closing and Opening Web Dynpro Application in same browser

    Dear Experts
    In my webdynpro application when i click a button another web dynpro application is opened in another window(another browser) .
    But i want to open the second web dynpro application inside the same browser in which closing the first applicaiton and opening the second web application in same browser window .
    Please guide me to do this.
    Regards
    Arun

    hi ,
    Exit plugs have the special property that they use the defined URL parameter. After you have created the URL parameter in the parameter list on the Outbound Plugs tab page in the window editor, you can specify a value for this parameter in the method that calls the exit plug.
    ref
    link:[http://help.sap.com/saphelp_nw70ehp1/helpdata/en/48/ca3351508f04e7e10000000a42189c/content.htm]
    it would help u
    regards,
    amit

  • Problem with HowTo guide - Use the BI Java SDK in a Web Dynpro Application

    Hello,
    I am following the HowTo guide - Use the BI Java SDK in a Web Dynpro Application
    at <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e49be590-0201-0010-0c83-fc20e5da124f">this link</a>.
    I have configured the connector on the WAS as needed.
    The problem is that when I run the application I receive an Unauthorized error on the connector URL.
    If I open this URL on a browser I receive a pop-up for UID and PWD and when I enter the same UID and PWD I used to configure the connector I am able to login and see the WSDL.
    Any ideas?

    I've never tried using BI in WebDynpro !!!
    But i foond one posting on the connection problem https://forums.sdn.sap.com/click.jspa?searchID=955524&messageID=2133396
    Regards,Anilkumar

  • Value hep problem in web dynpro application

    Hi All,
    I have a requirement where I need to add a field for alternate payee to the web dynpro application and the field name is BSEG-EMPFB. I have written the following code to get the values of it based on the vendor number:
    SELECT SINGLE * FROM  lfb1 INTO f4lfb1_z
                      WHERE lifnr = lv_lifnr
                      AND   bukrs = '001'."bseg-bukrs'.
      CALL FUNCTION 'FI_VENDOR_ALTERN_PAYERS_READ'
        EXPORTING
          i_lifnr            = lv_lifnr
          i_filkd            = filkd
          i_bukrs            = '001'
          i_lfb1_head_office = f4lfb1_z
        TABLES
          t_zemtab           = t_zemtab.
      LOOP AT t_zemtab INTO w_zemtab.
        ls_value_set-text = w_zemtab-empfb.
        ls_value_set-value = w_zemtab-empfb.
    append ls_value_set to lt_value_set.
    DATA lo_nd_alt_payee_info TYPE REF TO if_wd_context_node_info.
    DATA lo_nd_alt_payee TYPE REF TO if_wd_context_node.
    lo_nd_alt_payee = wd_context->get_child_node( name = wd_this->wdctx_alt_payee ).
    lo_nd_alt_payee_info = lo_nd_alt_payee->get_node_info( ).
             lo_nd_alt_payee_info->set_attribute_value_set(
                name =  `ALTERNATE_PAYEE`
                value_set = lt_value_set )
    Now the problem is user wants the details of the alternate payee as F4 help and when I debugged the standard FV60 functionality this how the F4 help is being build therE:
    REFRESH fldtab.
      CLEAR fldtab.
      fldtab-tabname    = 'IZEMTAB'.
      fldtab-fieldname  = 'EMPFB'.
      fldtab-selectflag = 'X'.
      APPEND fldtab.
      CLEAR fldtab.
      fldtab-tabname    = 'IZEMTAB'.
      fldtab-fieldname  = 'NAME1'.
      APPEND fldtab.
      CLEAR fldtab.
      fldtab-tabname    = 'IZEMTAB'.
      fldtab-fieldname  = 'ORT01'.
      APPEND fldtab.
      CLEAR fldtab.
      fldtab-tabname    = 'IZEMTAB'.
      fldtab-fieldname  = 'STRAS'.
      APPEND fldtab.
    *------- Fill Values for Function Module Call --------------------------
      REFRESH valtab.
      LOOP AT zemtab.
        valtab-feld = zemtab-empfb.
        APPEND valtab.
        valtab-feld = zemtab-name1.
        APPEND valtab.
        valtab-feld = zemtab-ort01.
        APPEND valtab.
        IF zemtab-stras NE space.
          valtab-feld = zemtab-stras.
        ELSEIF zemtab-pfach NE space.
          CONCATENATE 'Postfach:'(019) zemtab-pfach INTO valtab-feld.
        ELSE.
          valtab-feld = space.
        ENDIF.
        APPEND valtab.
      ENDLOOP.
    *------- F4 Dialog -----------------------------------------------------
      CALL FUNCTION 'HELP_VALUES_GET_WITH_TABLE'
        EXPORTING
          display      = space
          fieldname    = 'EMPFB'
          tabname      = 'INVFO'
        IMPORTING
          select_value = empfb
        TABLES
          fields       = fldtab
          valuetab     = valtab.
      IF NOT empfb IS INITIAL.
        invfo-empfb = empfb.
      ENDIF.
    can you please tell me how can I accomdate this in the web dynpro application?
    Thnaks,
    Edited by: rajatg on Jul 13, 2011 6:41 PM
    Edited by: rajatg on Jul 13, 2011 6:42 PM

    Hi Raja,
    Search help is availble at dictinary level you get F4 help automatically.
    Otherwise create OVS help for alternate payee. use WDR_OVS.
    check this..
    http://wiki.sdn.sap.com/wiki/display/WDABAP/InputhelpofObjectValueSelectioninWDABAP
    /people/shruti.rathour/blog/2008/05/05/ovs-help-in-web-dynpro-abap
    Cheers,
    Kris.

  • Problems using remote debugging for Web Dynpro applications

    Hello All,
      Have anyone ever encounter the above mentioned problem ? I am not able to step through my codes nor break @ my breakpoints using the debugging features despite many attempts following the tutorial on "Debuggng Web Dynpro applications". The problem always occur when I click on the Run -> Debug -> "Click on Debug". The debug perspective will show the threads running but my application window dows not appear. Should attempts  be made to "Terminate All" threads and relaunch my apllication again, I will get an error message   saying "Deployment of archive file already running : XXX.ear" Then I will need to wait some 15 mnutes or so before I can try again. Any suggestions ? Thank you.
    The status of my J2EE engine is as stated in the tutorial:
    1) State = "Debugging"
    2) Debug Mode = "On"
    3) Restricted Load Balancing = "Yes"
    4) Productive Use = "No"
      I have posted similar queries under "JDI" and "Web AS General" but did not receive and sugestions.
    from
    Kwok Wei

    Hi
    You should Create and Deploy if you want to reflect the code changes that you just did. However if you just want debug to an existing code then you need not Create and Deploy.
    This can also be done as a two step process where you first deploy from NDS and launch Debug without create and deploy.
    Is the issue that after you launch debug that it does not launch the application window.
    Regards
    Pran

  • ABAP Web Dynpro: Application Configuration vs Admin Personalization problem

    Hi,
    I created an application configuration for the application MT_ORDER_APP with a component configuration on RPLM_MT_ORDER_COMP.  I changed several Labels and UI Element visibility... and saved.
    When I test this application config for viewing an order of type ZX99, I don't see my changes.  If I right-click on the page, I see that the configuration Id used is MT_ORDER_ZX99.
    Why my Z config is overrided by this one???
    By testing in Admin mode, I discovered that I can personalize this MT_ORDER_ZX99 Config.... But then, the changes are visible to all users viewing ZX99 type orders.
    How to manage to make my Application Config highest in priority?

    Hi,
    how did  you  open in administrative mode?
    to open in adminstrative mode do as follows:
    In se80 ,i.e in the menu bar:
    Web Dynpro Application->Test->Test in Administation mode.
    i hope u can see the option "Settings for surrent config" .
    you can refer the thread.
    [Re: ABAP Web Dynpro Application changes in Administation mode]
    Priya.

  • A problem when start web dynpro application....

    each time I start  web dynpro application, I always be asked to provide username and password,
    but one of  my colleague was only ased that for the first time.......
    it puzzled me very much, anybody helps me out?

    the box is checked by default , isn't it.......
    but it seems that the checkbox is not work.....i still have to asked to provide username/password
    thanks for your answer..

  • Problem deploying Web Dynpro Application Definition

    Hi,
    I have written a Web Dynpro and then deployed it to an EP6 NW04 server without first defining the Web Dynpro Application (silly me, I know - how could I do such a thing?). Anyway, afterwards, I created the Web Dynpro Application definition, but no matter how many times I redeploy, it does not add it to the Web Dynpro now sitting on the server.
    Können Sie mir bitte helfen?
    Martin

    Hi
    Martin,
    Although server is being maintained by third part(one option is though visual admin since you can't access it) other option is use youe web browser with url http://your server IP address:50000/index.html u will find webdynpro link as mentioned below
    <b><u>Web Dynpro</u></b>
    Web Dynpro is a User Interface technology available within the SAP NetWeaver Developer Studio.
    Various Web Dynpro tools provide administrators and application developers with performance measurement and application administration capabilities. The Web Dynpro runtime is already deployed.
    Now Click on <b><u>Web Dynpro </u></b> link
    you will find Content administrato and web Dynpro administrator u will b directed to login page after entering with UID and passwd u can see all deployed applications ( u can check ur application) and details...
    I hope this may help u..
    RK

  • Problem while navigating the different portal Web Dynpro application

    Hi .
    while navigating from one application to another.
    my IE browser stuck with the error.
    Can't execute the code from the freed script.
    it occurs:
    when i navigate from tree structure 's child to another web dynpro application.
    what to do ...
    Regards

    Hi John,
    How have you added the required jar files. For DC projects you cannot use project properties and add the jar files to the build path (In case you have followed this method).
    You will have to add the public part (i believe it is ejbclient.jar and is generated automatically when you create an EJB DC) of the EJB DC as used dc.
    Regards
    Sidharth

  • Error while deploying the Web Dynpro application

    HI All,
    I have developed a Web dynpro application. Now when I am deploying the application I am getting an error.
    Description
    Jan 8, 2008 2:14:12 PM /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] ERROR:
    [002]Deployment aborted
    Deployment exception : Cannot determine sdm host (is empty). Please configure your engine/sdm correctly !
    Can any one please help me regarding this.
    Regards
    Neha

    Hi Neha,
    It seems that there is problem with your SDM server. It seems that during J2EE engine configuration SDM server is not configured. Actually this configuration is done by Basis Team.
    By the way try out your Server setting:
    Go To:: Windows -> Preferences -> SAP J2EE Engine
    [Mention the required details over there]
    And Check whether you are getting Active SDM Server under J2EE Engine.
    Regards,
    Nittin Garg

  • Cannot deploy Web dynpro application from NWDS

    Hi,
    I am new to EP. I created a web dynpro application in nwds and tried to deploy it. But it gives the following error .
    Settings
    SDM host : nw04
    SDM port : 50118
    URL to deploy : file:/E:/WINDOWS/TEMP/temp12188WelcomeWebDynproprj.ear
    Result
    => deployment aborted : file:/E:/WINDOWS/TEMP/temp12188WelcomeWebDynproprj.ear
    Aborted: development component 'WelcomeWebDynproprj'/'local'/'LOKAL'/'0.2007.05.02.19.35.01'/'0':
    <b>Cannot login to the SAP J2EE Engine using user and password as provided in the Filesystem Secure Store. Enter valid login information in the Filesystem Secure Store using the SAP J2EE Engine Config Tool</b>. For more information, see SAP note 701654.
    com.sap.sdm.serverext.servertype.inqmy.extern.DeployManagerAuthExceptionWrapper: Wrong security credentials detected while trying to obtain connection to the J2EE Engine.
    (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.checkLoginCredentials.DMAUTHEXC)
    I have even configured J2EE server in the nwds through preferences. I have used the default passwords during installing sneak preview.
    What should i do to deploy my application  successfully??????

    My Server settings are fine in preferences of NWDS. Every thing is showing green
    I get the same problem even when i delpoy through SDM.
    This is the error when i deploy through SDM
    Deployment started Thu May 03 06:27:27 PDT 2007
    ===========================================================================
    Starting Deployment of MyFirstWebDynProPrj
    Aborted: development component 'MyFirstWebDynProPrj'/'local'/'LOKAL'/'0.2007.04.14.22.37.46'/'0':
    <b>Cannot login to the SAP J2EE Engine using user and password as provided in the Filesystem Secure Store. Enter valid login information in the Filesystem Secure Store using the SAP J2EE Engine Config Tool.</b> For more information, see SAP note 701654.
    com.sap.sdm.serverext.servertype.inqmy.extern.DeployManagerAuthExceptionWrapper: <b>Wrong security credentials detected while trying to obtain connection to the J2EE Engine.</b>
    (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.checkLoginCredentials.DMAUTHEXC)
    Deployment of MyFirstWebDynProPrj finished with Error (Duration 6656 ms)
    It seems like a configuration issue in SAP J2EE Engine Config Tool.What should i do.
    Highest points will be awarded if some one can help me in this

Maybe you are looking for

  • Cant syncronize! Threads problem

    Hello everybody, recently i posted a question(im new to threads) and it was asked immediately but now i have another type of problem. Please read here the initial post and the answer and please give me any ideas.. Initial Post Hi everybody,i have thi

  • I am having problem when I am installing magic bullet look 1.4 please help

    Hi, I am having an issue with my Red giant magic bullet look 1.4 When I am installing this plug ins I receive a message saying: your graphic card did not meet the minimum requirement but actually my graphic card did meet the requirement and I was loo

  • Keyevent used for setMnemonic show in editable jtextarea

    I don't know if this has been fix. I notice that if I used the setMnemonic to access a editable jtextarea, that the key I used is inserted into the jtextarea. After searching the web, I found nothing about this problem. So, I took the program from th

  • HP officejet wireless not printing black ink

    It just stopped printing black ink, colors print fine. New HP cartridge, and cleaned printheads. Please help!

  • Recorded HDR, Want to Export 4:3

    Hi I am setting up a project for the first time, doing a corporate video for a relative's company. Shot the footage using a Sony Handycam HDR Footage is mt2s format, (no prob importing into Premiere, got codec) 1920x1080x32 I have done a test import