Web Dynpro popup & popup with table

Hi forum,
need an example of a web dynpro popup & popup with table.
Thanks!
Edited by: Stanley Marsh on Nov 10, 2008 4:21 PM

Try to use if_wd_window_manager
Please check this link
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/9e242bf5-0901-0010-c99c-83c180163c73

Similar Messages

  • Interaction ABAP Web Dynpro popup with Windows

    Hello,
    I have made a view ‘Z_Y’ in Web dynpro for ABAP. In this view I call a standard external window with the statement:
      lo_window = lo_window_manager->create_external_window( url = lf_url ).
      lo_window->open( ).
    The lf_url field is a location on the Windows(XP) network. It could happen that the file doesn’t exist. In this case I get a standard Windows error message in a popup that the directory can’t be found with a ‘OK’ button. When I click ‘OK’ the popup is closed and I can use other functionality of the ABAP dynpro view.
    I integrate view ‘Z_Y’ in another dynpro window (W_WINDOW) that is called as a popup using the following statement:
    create popup window **********************************************************************
      DATA: l_window_manager          TYPE REF TO if_wd_window_manager.
      DATA: l_api_componentcontroller TYPE REF TO if_wd_component.
      l_api_componentcontroller = wd_comp_controller->wd_get_api( ).
      l_window_manager          = l_api_componentcontroller->get_window_manager( ).
      wd_this->m_popup_window = l_window_manager->create_window(
                                      close_button = abap_false
                                      button_kind  = '2'
                                      modal        = 'X'
                                      window_name  = 'W_WINDOW'
                                      title        = 'Popup' ). "#EC NOTEXT
      wd_this->m_popup_window->open( ).
    Then I call from view ‘Z_Y’ the external window using this statement again:
      lo_window = lo_window_manager->create_external_window( url = lf_url ).
      lo_window->open( ).
    If the directory doesn’t exist I get the same standard Windows error message in a popup that the directory can’t be found with an ‘OK’ button. But when I click ‘OK’ I can’t get back to the web dynpro application. I get a throbber/popup “please wait” and I have no interaction anymore with the button ‘close’ of the dynpro popup. The buttoner size still works.
    Can someone help me?
    Kind regards,
    Yan Cazarelly

    Hi
    You ca use this function to Create a new window..
      CALL METHOD wd_window->create_window
          EXPORTING
            modal             = abap_true
            window_name       = 'MMPUR_CPPR_RFQ_WDW'
            title             = lv_otr_text
            close_button      = abap_true
            button_kind       = 3
            close_in_any_case = abap_true
          RECEIVING
            window            = wd_comp_controller->window.
        wd_comp_controller->window->open( ).
    here you acn impliment buttons, if you want to subcribe window button please use this window subcribe method.
        CALL METHOD wd_comp_controller->window->subscribe_to_button_event
          EXPORTING
            button            = if_wd_window=>co_button_ok
            action_name       = 'RFQ_WT_VENDOR'
            action_view       = l_api
            is_default_button = abap_false
            button_text       = lv_otr_text
            tooltip           = lv_otr_text.
        wd_comp_controller->window->open( ).
    Please let me know if you have any issue. Please reword if its solve your problem.
    Regards
    Satrajit

  • How to call an web dynpro abap application with an particular theme

    Dear friends,
    i have created one web dynpro abap application. i created one theme XYZ in portal with required font size. when i applied this theme on portal all web dynpro application use this theme.
    i want to use current theme for one application not for all.
    is it poosible to call an web dynpro abap appl with the particular theme where as others should not be temper with this theme.
    please guide me by some useful steps.
    regards
    sunil

    Sunil,
    Check if this helps.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/7015b1f9-535c-2910-c8b7-e681fe75aaf8?QuickLink=index&overridelayout=true
    Cheers!
    Sandeep Tudumu

  • Web Dynpro Popup Closure

    Hi all,
    i have the following problem:
    on a standard BSP by customizing, I've added a button, that opens a popup when clicked .
    The popup is developed as a Web Dynpro java and it works fine. But when I fire an event inside the web dynpro I need to close the browser popup and notify the standard BSP of the popup closure.
    can anyone help me?
    Best Regards,
    Raffaele.

    Hi Raffaele,
    You can well on action of a button in the Web Dynpro Project trigger a portal event using EPCF for the BSP application and then navigate the flow to a static html page within the WD development component and in turn write javascript in HTML to the close the window. This way, even the HTML page would not be visible to the user but would carry the flow to close the window.
    Or without using the HTML Page, directly you can trigger EPCF for the BSP by writing the code in wdDoExit() of the Component Controller. And even any button wont be required on WD screen asking the user to click to close the window.
    Regards,
    Tushar Sinha

  • Popup with table entries

    hello,
    I am looking for a popup with data in internal tabkle  and with options continue and cancel.I tried with 
    'POPUP_WITH_TABLE_DISPLAY' but its no help for my requirement. please advise.
    Thanks
    Edited by: BrightSide on Jul 14, 2009 12:29 PM

    u can use the FM u have mentioned for ur case...
    giving u refrence code:
    concatenate 'Select the Contract for the material' ls_mepoitem-matnr into lv_titletext
                    separated by space.
                    CALL FUNCTION 'POPUP_WITH_TABLE_DISPLAY'
                      EXPORTING
                        ENDPOS_COL   = 136
                        ENDPOS_ROW   = 10
                        STARTPOS_COL = 50
                        STARTPOS_ROW = 4
                        TITLETEXT    = lv_titletext
                      IMPORTING
                        CHOISE       = lv_counts
                      TABLES
                        VALUETAB     = lt_ekpo
                      EXCEPTIONS
                        BREAK_OFF    = 1
                        OTHERS       = 2.
                    clear : lv_titletext.
                    IF lv_counts NE 0.
                      READ TABLE lt_ekpo assigning <ft_ekpo> INDEX lv_counts.
                      move <ft_ekpo>-ebeln to ls_mepoitem-konnr.
                      move <ft_ekpo>-ebelp to ls_mepoitem-ktpnr.
                      move <ft_ekpo>-lifnr to ls_mepoheader-lifnr.
                    else.
                      lv_message1 = 'Select atleast one of the available Contracts'.
                      gv_error_exists = 'X'.
                      mmpur_metafield mmmfd_cust_01.
                      mmpur_message_forced 'E' 'YMM' '000' lv_message1 '' '' ''..
                    endif.
                  else.
                    READ TABLE lt_ekpo assigning <ft_ekpo> INDEX 1.
                    move <ft_ekpo>-ebeln to ls_mepoitem-konnr.
                    move <ft_ekpo>-ebelp to ls_mepoitem-ktpnr.
                    move <ft_ekpo>-lifnr to ls_mepoheader-lifnr.
                  endif.

  • Calling Batch input from Web Dynpro - any alternatives for table updates?

    Hi!
    I am asked to create a screen in Web Dynpro for the GJ30 transaction (JV Cutback mapping of WBS' elements). I created a remote enabled function module which call batch input for GJ30 . Testing the Function modules direclty goes fine, but not calling the function module from WD. then I get the same error message as when I once tried to call SAP GUI from Web Dynpro ( Call transaction /submit program).
    My next step is to try to create a batch input session (instead of call transaction) and run it using rsbdcsub, and then check the result of the run. But maybe this will fail of the same reason as well, and I suppose this will make the user waiting longer for the response .
    I read somewhere that Web Dynpro does not support batch Input. But what can you do when there are no standard BAPI's for the update you want to do in SAP ?  We are not supposed to do direct table updates.  
    Anyone who have struggled with the same issues and found a solution??
    regards, Tine

    Hi,
    as BDC is calling screens and in Webdynpro ABAP you cannot use SAP GUI sceeen, you are getting short dump.
    Refer CNTL_SYSTEM_ERROR in webservices from r/3 system
    Thanks,
    Chandra

  • Web dynpro ALV requirement with search help

    Hello Experts,
    I developed a custom transaction in Web dynpro. It has an ALV display in editable mode where the user can enter Material number, plant, quantity and Batch as input fields for Production confirmation.
    There is a requirement to add a search-help to BATCH field similar to the one that appears in std. MFBF transaction. Basically what it means is that I will have to capture the material, plant of that line in ALV table and get the stock and batch details from MCHB table and provide them in search help.
    I created a dictionary search help with a search-help exit FM that will extract the details from MCHB table. I am having trouble in extracting the line index to get the material number and plant values from the view to export.
    Please help me as to how to extract the line index of an ALV table for which the F4 help was clicked.
    Also it would be great if I could find a much simpler and better approach to handle the requirement.
    Regards
    Pratyusha

    Hi,
    If you have set the help mode as dictionary search help in your context, and if you have defined your search help to have these importing and exporting parameters, then it will work without you doing anything else. Provided you have mentioned the name of the search help in the structure definition itself. You do not have to write explicit event handlers for dictionary search helps.
    Or else, you can use an OVS search help. In that case, in the OVS event handler, you will have a parameter ovs_callback_object. Ovs_callback_object->context_element will give you the element on which the F4 was clicked. If you do a get_static_attributes on that, you will get the values of each attribute. Then you can call your function module to get the Batch field. I think OVS will suit your requirement. You can see examples of OVS in the component demo_value_help in the package swdp_demo.
    Hope this helps.
    Regards,
    Nithya

  • Trying to run a Web Dynpro Simple Sample with no luck??

    Hi I have downloaded a Web Dynpro and BPM simple sample application from this location: The problem is after configuring the CE instance and setting everything up, when i Deploy and Run this app i get the following error displayed can some one please help?? 500 Internal Server Error SAP NetWeaver Application Server/Java AS The initial exception that caused the request to fail, was: java.net.ConnectException: Connection timed out: connect at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) ... 115 more See full exception chain for details. Failed to process request. Please contact your system administrator. While processing the current request, an exception occured which could not be handled by the application or the framework. If the information contained on this page doesn't help you to find and correct the cause of the problem, please contact your system administrator. To facilitate analysis of the problem, keep a copy of this error page. Hint: Most browsers allow to select all content, copy it and then paste it into an empty document (e.g. email or simple text file). For further information about the Web Dynpro error page, error analysis and a description of well-known error situations, see SAP note 1113811. Correction Hints Exception could be caused by the development component: tcwdwebdynpro Note: The above hints are only a guess. They are automatically derived from the exception that occurred and therefore can't be guaranteed to address the original problem in all cases. System Environment Client Web Dynpro Client Type AJAX Client User agent Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; LLY-EMA-EN; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; InfoPath.2; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; LLY-EMA-EN; LLY-EMA-EN) Client Type msie7 Client Type Profile ie6 ActiveX enabled Java Applets enabled Accessibility mode disabled Inline CSS false Validate by rendering true Server Web Dynpro Runtime vendor: 'sap.com', name: 'tc/wd/webdynpro', location: 'SAP AG', counter: '7.2001.20091210105536.0000', change number: '79724', codeline: NW720_01_REL J2EE Engine 7.20.3710.69682.20090922144234 System ID (SID) CE1 Server Node ID |3191650|31916|Server 00 00_31916|YHP30964.ema.lilly.com/40.205.138.181|SERVER|RUNNING Java VM SAP Java Server VM, version:6.1.007, vendor: SAP AG Operating system Windows XP, version: 5.1, architecture: x86 Application Java EE Application (deployable object) ides.com/soacmpssc~salsord Web Dynpro Application CreateSalesOrderApp Request URI /webdynpro/resources/ides.com/soacmpssc~salsord/CreateSalesOrderApp Version vendor: 'ides.com', name: 'soa/cmp/ssc/salsord', location: 'localDevelopment', counter: '20100329143545', change number: 'null' Session & Other Session Locale en_GB Session Timezone Greenwich Mean Time Time of Failure Mon Mar 29 15:38:53 BST 2010 (Java Time: 1269873533200) Session User ClientUser(id=USER.PRIVATE_DATASOURCE.un:Administrator, name=Administrator) Http Session Id tCJhFjXUItrW3M0cACKdKt9MDaBiM0upJwFiszAA_SAP Client Window Id Application Session Id b2a8d9023b4011dfb81f001b7889332c Web Dynpro Code Generation Infos ides.com/soacmpssc~salsord WD web module webdynpro/resources/ides.com/soacmpssc~salsord: SapDictionaryGenerationCore 7.2001.20091202163157.0000 (release=NW720_01_REL, buildtime=2009-12-12T18:31:05+0000, changelist=69541, host=pwdfm222, is-central=true) WD web module webdynpro/resources/ides.com/soacmpssc~salsord: SapDictionaryGenerationTemplates 7.2001.20091202163157.0000 (release=NW720_01_REL, buildtime=2009-12-12T18:31:22+0000, changelist=69541, host=pwdfm222, is-central=true) WD web module webdynpro/resources/ides.com/soacmpssc~salsord: SapGenerationFrameworkCore 7.2001.20091202163157.0000 (release=NW720_01_REL, buildtime=2009-12-12T18:18:18+0000, changelist=63859, host=pwdfm222, is-central=true) WD web module webdynpro/resources/ides.com/soacmpssc~salsord: SapIdeWebDynproCheckLayer 7.2001.20091202163157.0000 (release=NW720_01_REL, buildtime=2009-12-12T18:52:50+0000, changelist=69852, host=pwdfm222, is-central=true) WD web module webdynpro/resources/ides.com/soacmpssc~salsord: SapMetamodelCommon 7.2001.20091202163157.0000 (release=NW720_01_REL, buildtime=2009-12-12T18:22:47+0000, changelist=69781, host=pwdfm222, is-central=true) WD web module webdynpro/resources/ides.com/soacmpssc~salsord: SapMetamodelCore 7.2001.20091202163157.0000 (release=NW720_01_REL, buildtime=2009-12-12T18:19:24+0000, changelist=69781, host=pwdfm222, is-central=true) WD web module webdynpro/resources/ides.com/soacmpssc~salsord: SapMetamodelDictionary 7.2001.20091202163157.0000 (release=NW720_01_REL, buildtime=2009-12-12T18:26:44+0000, changelist=69542, host=pwdfm222, is-central=true) WD web module webdynpro/resources/ides.com/soacmpssc~salsord: SapMetamodelWebDynpro 7.2001.20091202163157.0000 (release=NW720_01_REL, buildtime=2009-12-12T18:34:20+0000, changelist=69853, host=pwdfm222, is-central=true) WD web module webdynpro/resources/ides.com/soacmpssc~salsord: SapWebDynproGenerationCore 7.2001.20091202163157.0000 (release=NW720_01_REL, buildtime=2009-12-12T18:53:23+0000, changelist=69852, host=pwdfm222, is-central=true) WD web module webdynpro/resources/ides.com/soacmpssc~salsord: SapWebDynproGenerationTemplates 7.2001.20091202163157.0000 (release=NW720_01_REL, buildtime=2009-12-12T18:52:22+0000, changelist=69852, host=pwdfm222, is-central=true) WD web module webdynpro/resources/ides.com/soacmpssc~salsord: SapWebDynproRuntimeGen 7.2001.20091202163157.0000 (release=NW720_01_REL, buildtime=2009-12-12T18:48:47+0000, changelist=64407, host=pwdfm222, is-central=true) sap.com/tcwdapi WD web module webdynpro/resources/sap.com/tcwdapi: SapDictionaryGenerationCore 7.2001.20091202163157.0000 (release=NW720_01_REL, buildtime=2009-12-12T18:31:05+0000, changelist=69541, host=pwdfm222, is-central=true) WD web module webdynpro/resources/sap.com/tcwdapi: SapDictionaryGenerationTemplates 7.2001.20091202163157.0000 (release=NW720_01_REL, buildtime=2009-12-12T18:31:32+0000, changelist=69541, host=pwdfm222, is-central=true) WD web module webdynpro/resources/sap.com/tcwdapi: SapGenerationFrameworkCore 7.2001.20091202163157.0000 (release=NW720_01_REL, buildtime=2009-12-12T18:18:18+0000, changelist=63859, host=pwdfm222, is-central=true) WD web module webdynpro/resources/sap.com/tcwdapi: SapIdeWebDynproCheckLayer 7.2001.20091202163157.0000 (release=NW720_01_REL, buildtime=2009-12-12T18:52:50+0000, changelist=69852, host=pwdfm222, is-central=true) WD web module webdynpro/resources/sap.com/tcwdapi: SapMetamodelCommon 7.2001.20091202163157.0000 (release=NW720_01_REL, buildtime=2009-12-12T18:22:47+0000, changelist=69781, host=pwdfm222, is-central=true) WD web module webdynpro/resources/sap.com/tcwdapi: SapMetamodelCore 7.2001.20091202163157.0000 (release=NW720_01_REL, buildtime=2009-12-12T18:19:24+0000, changelist=69781, host=pwdfm222, is-central=true) WD web module webdynpro/resources/sap.com/tcwdapi: SapMetamodelDictionary 7.2001.20091202163157.0000 (release=NW720_01_REL, buildtime=2009-12-12T18:26:44+0000, changelist=69542, host=pwdfm222, is-central=true) WD web module webdynpro/resources/sap.com/tcwdapi: SapMetamodelWebDynpro 7.2001.20091202163157.0000 (release=NW720_01_REL, buildtime=2009-12-12T18:34:20+0000, changelist=69853, host=pwdfm222, is-central=true) WD web module webdynpro/resources/sap.com/tcwdapi: SapWebDynproGenerationCore 7.2001.20091202163157.0000 (release=NW720_01_REL, buildtime=2009-12-12T18:53:23+0000, changelist=69852, host=pwdfm222, is-central=true) WD web module webdynpro/resources/sap.com/tcwdapi: SapWebDynproGenerationTemplates 7.2001.20091202163157.0000 (release=NW720_01_REL, buildtime=2009-12-12T18:53:55+0000, changelist=69852, host=pwdfm222, is-central=true) WD web module webdynpro/resources/sap.com/tcwdapi: SapWebDynproRuntimeGen 7.2001.20091202163157.0000 (release=NW720_01_REL, buildtime=2009-12-12T18:48:47+0000, changelist=64407, host=pwdfm222, is-central=true) Detailed Error Information Detailed Exception Chain com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Exception was thrown in preprocessing phase of application session b2a8d9023b4011dfb81f001b7889332c. The causing exception is nested. RID=b2a8d9003b4011dfbdb7001b7889332c at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doPreprocessing(ApplicationSession.java:606) at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:335) at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:315) at com.sap.tc.webdynpro.serverimpl.core.AbstractDispatcherServlet.doContent(AbstractDispatcherServlet.java:87) at com.sap.tc.webdynpro.serverimpl.wdc.DispatcherServlet.doContent(DispatcherServlet.java:76) at com.sap.tc.webdynpro.serverimpl.core.AbstractDispatcherServlet.doGet(AbstractDispatcherServlet.java:55) at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:152) at com.sap.engine.services.httpserver.server.Processor.chainedRequest(Processor.java:447) at com.sap.engine.services.httpserver.server.Processor$FCAProcessorThread.process(Processor.java:264) at com.sap.engine.services.httpserver.server.rcm.RequestProcessorThread.run(RequestProcessorThread.java:56) at com.sap.engine.core.thread.execution.Executable.run(Executable.java:115) at com.sap.engine.core.thread.execution.Executable.run(Executable.java:96) at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:315) Caused by: com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Failed to create delegate for component com.ides.soa.cmp.ssc.salsord.createsalesord.CreateSalesOrd. (Hint: Is the corresponding DC deployed correctly? Does the DC contain the component?) at com.sap.tc.webdynpro.progmodel.generation.ControllerHelper.createDelegate(ControllerHelper.java:98) at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.<init>(DelegatingComponent.java:79) at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.init(ClientComponent.java:381) at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:566) at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.doPreprocessing(ClientApplication.java:1438) at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doPreprocessing(ApplicationSession.java:603) ... 43 more Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at com.sap.tc.webdynpro.progmodel.generation.ControllerHelper.createDelegate(ControllerHelper.java:71) ... 48 more Caused by: com.sap.tc.webdynpro.model.webservice.exception.WSModelRuntimeException: Exception on creation of service metadata for WS metadata destination 'ERP_META' and WS interface 'SalesOrderBasicDataByBuyerAndBasicDataQueryResponse_In'. One possible reason is that the metadata destination 'ERP_META' has not been properly configured; check configuration. at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.getOrCreateWsrService(WSModelInfo.java:558) at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.readOperationsFromWSDL(WSModelInfo.java:457) at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.importMetadataInternal(WSModelInfo.java:425) at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.importMetadata(WSModelInfo.java:399) at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.getOrCreateModelInfo(WSModelInfo.java:334) at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.getOrCreateModelInfo(WSModelInfo.java:307) at com.sap.tc.webdynpro.model.webservice.gci.WSTypedModel.<init>(WSTypedModel.java:93) at com.ides.soa.cmp.ssc.salsord.findsomodel.FindSOModel.<init>(FindSOModel.java:114) at com.ides.soa.cmp.ssc.salsord.createsalesord.CreateSalesOrd.<init>(CreateSalesOrd.java:732) at com.ides.soa.cmp.ssc.salsord.createsalesord.wdp.InternalCreateSalesOrd.<init>(InternalCreateSalesOrd.java:8892) ... 53 more

    Hi Anixan
    Please update the SAP AS Java at windows >> Preference >> SAP AS Java >> Add new SAP >> Put instance Hostname like 'CE1' and Instance Number like '00'. Then please verify that is connected or not in NWDS at windows >> show view >> Others >> Server >> Servers
    **Also update the Update your server IP address and host name in host file entry at (Start > RUN > drivers > etc > host file)
    and update JAVA_HOME system enviromental variable in my computer (My computer > Priperties >> Advance >> Startup and Recovery >> Enviromental Variable >> System Variables >> Add new JAVA_HOME parameter with path for installed Java JDK)
    Please check here http://help.sap.com/saphelp_nw70/helpdata/EN/43/3976df43b33575e10000000a11466f/content.htm
    Hope it helps
    Regards
    Arun

  • Append Data from Java Web Dynpro to an Internal Table in ECC

    Hi,
    Currently I am using AdaptiveRFCModels to creating/updating records from Java Web Dynbpro to FM in R/3. Users can add few records before they save the changes. The current design is Java Web Dynpro call RFC FM when user add/edit one record. The record will store in an global internal table in the Function Group. For example, I have added 3 records before I save the changes. It means that global internal table should have 3 records that I added before I save it. But in fact, the global internal table only store one record while I adding the third record. The global internal table not able to keep the previous records. The code below is how I code to execute the FM from Java Webdynpro. Is the code can work as I expected? Anything missing in the codes? Please advice. Thanks.
    wdContext.nodeZhr_abc_Input().bind((Zhr_abc_Input) model.createModelObject(Zhr_abc_Input.class));
    Zhr_abc_Input objReq = new Zhr_abc_Input();
    Zhr_Pad31 insUpdVer = new Zhr_Pad31();
    insUpdVer.setQ_Id(wdContext.currentContextElement().getQ_Id());
    insUpdVer.setZ_ce(wdContext.currentZhr_Detail_OutputElement().getZ_ce());
    objReq.addLt_Pad88(insUpdVer);
    wdContext.nodeZhr_abc_Input().bind(objReq);
    wdContext.currentZhr_abc_InputElement().modelObject().execute();

    According to your code you are setting only one record.
    You have to create 3 elements for each record and add all the three to the nodeZhr_abc_Input node.
    If I understand correctly, node currentZhr_Detail_Output is the one which is containing all the three records. Loop through this node, pick each record and set to the input node.
    wdContext.nodeZhr_abc_Input().bind((Zhr_abc_Input) model.createModelObject(Zhr_abc_Input.class));
    for(int i=0;i<wdContext.nodeZhr_Detail_Output().size();i++)
    Zhr_abc_Input objReq = new Zhr_abc_Input();
    Zhr_Pad31 insUpdVer = new Zhr_Pad31();
    insUpdVer.setQ_Id(wdContext.currentContextElement().getQ_Id());
    insUpdVer.setZ_ce(wdContext.nodeZhr_Detail_Output().getElementAt(i).getZ_ce());
    objReq.addLt_Pad88(insUpdVer);
    wdContext.nodeZhr_abc_Input().addElement(objReq); // Changed from bind to addElement
    }//for end
    wdContext.currentZhr_abc_InputElement().modelObject().execute();
    Note: I just typed the code. Syntax might be wrong here and there. Please correct it while coding.
    Regards,
    Jaya.

  • Problem show web dynpro in EP, with iViews

    Hi all,
    I'm working with Sap Netweaver Developer Studio Version: 2.0.4 and with Web AS j2ee 6.30.
    I have make an Email web service in Web dynpro with Netweaver Developer Studio and the deploy is good. I can show in the navigator of internet in:
    "http://sap470:50100/webdynpro/dispatcher/local/WebDynpro_EmailWS/EmailWSApp"
    I have make the application in the host "sap470" but my EP 60 SR1 i have in another machine(Netweaver).
    In the portal i have created a system for Web Dynpro, but i don't know sure if i have put the WAS where the application web dynpro run or where run the portal.
    I have put the WAS of application web dynpro where it run, but i am not sure that put in the path, i have put /webdynpro/dispatcher. I have created the iView in the EP, a page and rool, and i have assiciated the web dynpro to this iView.
    In the propieties of iView, i have put:
    Name of application: Name of the application web dynpro.
    System: System that i have create before.
    Name of Area: This option i'm not sure that put. Any idea?
    Type of Web dynpro: Java
    When i go to presentation get a error.
    Any idea?
    Thanks in advance

    Did you take a look at this?
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/how to create web dynpro based iview.pdf
    based on your url, you need
    App Name : EmailWSApp
    Namespace : local/WebDynpro_EmailWS
    System: sap470

  • Web Dynpro ALV vs. Table

    Hello,
    can u please describe the main differences between Web Dynpro ALV and Web Dynpro Table ?
    When do I choose which component for my applications ?
    Thanks in adavance
    Best regards
    hermannh

    Hi,
    SAP List Viewer (ALV) is a  tool which is used to display lists and tabular structures and provides a lot of flexibilty for report generation.
    Flexible in the sense , it has a lot of inbuilt functionalities which are used in general in a reporting and thus helps in reducing a large amount of coding.
    for eg: <code> CALL METHOD alv_grid->set_table_for_first_display
       EXPORTING
         I_STRUCTURE_NAME              = 'YCLII_CUST_STRU'
       CHANGING
         it_outtab                     = CUST_TAB
    <code>
    The above method is used for table generation. Mny more funtionalities such as sorting and re-arranging of result output is also available.
    for further info check this link.
    http://www.sap-img.com/abap/what-is-alv-programming.htm
    http://www.sdn.sap.com/irj/sdn/index?rid=/webcontent/uuid/f0b107e4-dc72-2c10-08a7-b822c9abf0e2
    Thanks

  • Web dynpro developement works with SAPGUI?

    Hi,
    I am a developer working most of my time in 4.6C. Recently i started to upgrade myself. I have studied about web dynpro and came to know that All of business suite developement is done in Web dynpro, be it java or abap.
    My question here is once a web dynpro is developed independent of whether it is developed in ABAP or JAVA, will work in all defferent forms of ui : sapgui, webgui, etc?
    Put in other words, does business suite developed in web dynpro be accessable via a normal SAPgui?
    Regards,
    harikrishna.
    Edited by: harikrishna indugu on Feb 24, 2009 4:04 PM
    Edited by: harikrishna indugu on Feb 24, 2009 4:04 PM

    >
    harikrishna indugu wrote:
    > Hi,
    >
    > This leads me to a fundamental question:
    >
    > For a client running ERP 6.0 for his application, a business user should have both sapgui ( For ECC applications like PP/MM/SD ) and portal/business client for SCM/CRM/SRM/HCM etc? Isn't it ridiculous business user need to know how to use both???
    >
    > Thanks,
    > Harikrishna Indugu.
    This is where the NetWeaver Business Client has its best use case - when combining legacy SAPGUI transactions with newer Web Dynrpo ones.  Like the portal, the two types of transactions are ran within the same navigation frame.  However because the NWBC is a desktop application, the technical integration of the SAPGUI is much more efficient.  You get easy navigation between SAPGUI and Web Dynpro screens.

  • Web dynpro Abap - Adobe Form Table Dynamic

    hi Friends ,
    I created one table in ADOBE interactive form  and i kept two button for row add and row delete in table
    it is working fine in Adobe fomr Preview form
    but i deployed in Web dynpro abap this functionality is not working is there any reason
    Pls give suggestion
    Regards
    Krishnan R.

    Krishnan,
    Check if the form is Interactive and also  have you installed Adobe Reader Rights on the server. If not please check note 736902 and ask BASIS to apply them.
    Chintan

  • STAD + Getting Web Dynpro program names with FM SAPWL_READ_STATISTIC_FILES

    Hi, does anyone knows why I can't seem to get the report-names of a web dynrpo app with this FM?
    Is there maybe an other FM with which I can get the results of transaction STAD?

    Hi,
    they use different fields for web dynpro applications. Check note 1261535.
    Cheers

  • Web Dynpro URL-Invocation with umlauts (like %FC) in the url

    Hi
    My Web Dynpro Application is invoked by an url with a parameter "H_name", e. g.: http://:/webdynpro/dispatcher/../myApp?H_name=SomeName.
    If the parameter H_name equals Müller, the Web Dynpro view will display it as M?ller, which is of course not what I want.
    I tried to use the following code snippet:
    IWDProtocolAdapter adapter= WDProtocolAdapter.getProtocolAdapter();
    String name= adapter.getRequestObject().getParameter("H_name");
    ..but the "ü" is still missing.
    What can I do???? Do I have to configure URL decoding somewhere?
    Please help me with this issue!
    Thanks a lot in advance
    Kind regards
    Bettina

    Hi  Ayyapparaj
    thanks for your help. In class URLEncoder it says:
    static String encode(String s, String enc)
              Translates a string into application/x-www-form-urlencoded format using a specific encoding scheme.
    What kind of encoding format should I choose?
    I tried:
                   String name_decoded= URLDecoder.decode(H_name, "UTF-8");
                   System.out.println("name decoded " + name_decoded);
    ..but it's not working. Do you have an example?
    Kind regards
    Bettina

Maybe you are looking for

  • 'Read' FileAdapter to 'Update' DBAdapter query

    In Soa Suite 11g, I've set up a composite consisting of a 'read' file adapter which is wired to a mediator which then connects to an 'update' DB Adapter. I've gone through the DB Adapter wizard to set it up so that it performs an 'Update Only' and ha

  • Error -50 when opening a jpeg

    Try to open a jpeg saved in Image Capture and or Preview , or a .mov file and I get "error -50" with QT 7.0.3. I also get an "error -30" message at the same time, saying it can't open a different .mov file..a file I've never seen, heard of and neithe

  • Remote Desktop on 10.4 computer with 10.5 server problem

    Hi we have 10.5 server but all our workstations are 10.4. Doesn't seem like an issue but when I use Remote desktop on the 10.4 workstation and add the 10.5 server it tells me access denied. I've tried several different logins but nothing works. Doubl

  • What & where to get version of disk utility to use for mac os x 10.6.3?

    i recently installed snow leopard to my macbook 13 inch and wanted to reformat my usb flash drive and external buffalo mini station. the disk utility cannot be used. the computer said i cant use this version of disk utility with mac os x snow leopard

  • Can you use 5.1 speakers with a macbook

    I want to buy some 5.1 speakers and use them for my macbook. Can this be done or will only 2 speakers work?