Pass a table from my webdynpro JAVA application to an RFC in R/3

Hi All,
I need to Pass a table from my webdynpro JAVA application to an RFC in R/3. How can I do that?
Regards
Sarath

Hi,
Please have a look at this thread,
Pass Table as Input to Adaptive RFC
Regards,
Saravanan K

Similar Messages

  • Http post to a url from a WebDynpro (Java) application

    Hi,
    I want to send http post parameters to a url from a WebDynpro (Java) component. I need to do this to send OCI catalog data back to SAP SRM.
    I found this thread:
    HTTP Post
    which suggests to use the the Suspend plug for this purpose.
    <quote>
    Sending POST parameters with Web Dynpro Suspend Plugs
    1) Define a an additional Suspend Plug parameter (besides 'Url' of type String) with name 'postParams' and of type Map
    </quote>
    After adding the postParams parameter of type java.util.Map to the Suspend-plug the WebDynpro gives the following error during build:
    Outbound plug (of type 'Suspend') 'suspend_plug' may have at most two parameters: 'url' of type 'string' and 'postParams' of type 'Map'.
    I use SAP NetWeaver Developer Studio version 7.0.16.
    Does someone know a solution? I would highly appreciate it.
    Thanks in advance.
    Eric

    Hi,
    Please have a look at this thread,
    Pass Table as Input to Adaptive RFC
    Regards,
    Saravanan K

  • Calling Portal application from current webdynpro java application

    Hi Experts,
    We are having Portal 7.4 SP6 framework.
    Application-A -> Web-dynpro java program pushing data into R/3 using BAPI.
    Application-B -> Std. WD-ABAP iView template.
    Currently, I am working in web-dynpro java program, where I am pushing some data into R/3 using BAPI in Application-A. And this BAPI data is getting displayed in another z-Tcode and displayed in portal using web-dynpro Abap iView template, which is Application-B
    Now I want to align this application, so that Application- A should call Application-B from within the WD-Java framework. And here Application-A should get closed and open application-B.
    Is there any standard process using Web-dynpro Java to handle such scenario.
    Regards,
    Hanif

    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>

  • Calling Webdynpro Java Application from Webdynpro ABAP Application.

    Hi,
    We have developed one Application using Webdynpro Java and I m in need to call the Webdynpro Java application from Webdynpro ABAP.
    Require Suggestions to acheive this.
    Thanks In advance.
    Reg,
    Ajay.

    Dear Ajay,
    Assuming that both your applications WDA & WDJ are in the portal & you don't have to pass any parameters to the WDJ application.
    Write the following code on the action  where you would call the WDJ application.
      DATA:
            lr_compcontroller TYPE REF TO ig_componentcontroller,
            l_component TYPE REF TO if_wd_component ,
            lr_port_manager TYPE REF TO if_wd_portal_integration ,
            wa_navigation TYPE navigation.
      lr_compcontroller =   wd_this->get_componentcontroller_ctr( ).
      l_component = lr_compcontroller->wd_get_api( ).
      lr_port_manager = l_component->get_portal_manager( ) .
    * The value inserted into the navigation-target field can be found in the Portal
    * content administration tab of your portal. It is the ID or PCD Location field
      wa_navigation-target = pcd. " Please provide the PCD Location of the WDJ Application here.
      wa_navigation-mode   = '0'.  "0 = INTERNAL(same page) and 1 = EXTERNAL(new page).
      CALL METHOD lr_port_manager->navigate_absolute
        EXPORTING
          navigation_target = wa_navigation-target
          navigation_mode   = wa_navigation-mode.
    You can get the PCD from the Page properties of the WDJ application page in the Portal.
    Hope it helps!
    Warm regards,
    Upendra Agrawal

  • Providing sorting filters for a table in webdynpro java application

    ho to provide sorting  , filters , for a table in webdynpro java application .

    Hi Pradeep,
    Please go through the following article on implementation of filtering and sorting:
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f024364b-3086-2b10-b2be-c0ed7d33fe65
    The article contains a link to a sample application using the TableSorter and TableFilter Class.
    The same classes can be used by any other web dynpro application. Download the sample application and copy the classes. In case of a specific requirement, modify the TableSorter and TableFilter classes.
    Regards,
    Kartikaye

  • Access ABAP table in Webdynpro Java application

    Hi All
    Is it possible to access ABAP table in Webdynpro Java application
    Please provide your input
    Thanks
    Karthi D.

    Hi you will connect to the remote SAP system, the
    backend, using an Adaptive RFC MOdel. To access database tables, you can make use of existing functions in terms of RFC function modules. For each function module you need, the system generates a corresponding Java proxy class. All the generated proxy classes and interface are bundled together in the RFC model and treated as part
    of your Web Dynpro project
    In WebDynpro java you RFC by using Model :
    Adaptive RFC Model
    1. automatically adapts to changes in function module signature
    2 provides support for data types and extensibility
    3.support for different structure definitions in different backend
    systems (release dependent structures, custom adaptation)
    Basic principles and guidelines
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/11c3b051-0401-0010-fe9a-9eabd9c216de
    See this blog
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/wdjava/faq%2b-%2bmodels%2b-%2badaptive%2brfc
    http://help.sap.com/saphelp_nw04s/helpdata/en/6a/11f1f29526944e8580c5e59333d96d/frameset.htm
    Thanks,
    Tulasi

  • Lauching webdynpro java application

    hi gurus
    our scenario is like this..
    when employee fills the educational assistance form (customized webdynpro java application) and clicks on the submit button , it should go for approval..while manager opens the workitem it should lauch the same WD form in display mode with approve and reject button. and when he approves ..it should update the data base & it should sends a intimation mail to the employee that his application has been approved...
    MY QUESTIONS :
    1) how to trigger a event from WD java application to start this workflow ...
    2)  how the values can be passed from WD application container to workflow container .i got some ideas by reading some forums for this i want to use SAP_WAPI_READ_CONTAINER , where i want to use this function module
    3) it is better to use the user decision step for the approval process ? . if i am using this then i want to send the form as a attachment in user decision step,  how it can be achieved ?
    4)what all r the other settings i want to maintain .

    3) it is better to use the user decision step for the approval process ? . if i am using this then i want to send the form as a attachment in user decision step, how it can be achieved ?
    I would definitely prefer to open a form with "Approve" and "Reject" buttons instead of having it as an attachment in a user decision step. Especially if it is a application where a user never approves without opening the attachment. For example i may not prefer to approve a leave requisition without viewing it! In that case it will just be an overhead for the user to open the form manually everytime before approving. So make a decision on this based on the use of your application.
    Moreover it is not that tough either (atleast from a workflow perspective) to launch the webdynpro from UWL. Create a custom task and create appropriate entries in transaction SWFVISU (hope you are on or above ECC 5.0) to link your task and WD application. Thats it your application should be ready and shud be launched from UWL.
    But definitely in a custom application your webdynpro developers need to do a lot of work (as we did one in our previous projects) irrespective of whether it is launched directly as a task or as an attachment.
    Performacewise providing "Approve" and "Reject" will just increase one RFC call from your application (to complete your workitem).
    Thanks,
    Prasath N

  • When deploying the webdynpro java application , showing error message

    Hi Masters,
    when deploying the webdynpro java application , showing error message. Please reply why this problem showing and what is the solution
    But Iogin to sdm tool ( remote gui .sh) with same password, which password  i am using for deploy the webdynpro java application.here in sdm tool i am able to login. and i restart the sdm , and again trying to deploy the same problem it showing.
    URL to deploy : file:/C:/DOCUME1/ppuser/LOCALS1/Temp/temp30925rupa.com~sales.ear
    Result
    => deployment aborted : file:/C:/DOCUME1/ppuser/LOCALS1/Temp/temp30925rupa.com~sales.ear
    Aborted: development component 'sales'/'rupa.com'/'LOKAL'/'0.2010.02.13.14.32.39':Caught exception during application deployment from SAP J2EE Engine's deploy API:com.sap.engine.deploy.manager.DeployManagerException: ERROR: Cannot connect to Host: [devsap] with user name: [J2EE_ADMIN]                     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: No login module succeeded.] (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).DMEXC)
    Deployment exception : The deployment of at least one item aborted
    Edited by: sujana mullapudi on Feb 13, 2010 2:52 PM

    Hi Sujana,
    For deploying Web Dynpro for Java application, J2EE_admin correct password must be stored in the scured area of config tool.
    Your error show that J2EE_admin information is not correct.
    So, Please ask your basis team to update new J2EE_ADMIN password or you can do it in scured area of config tool.
    Hope this will helps you.
    Thanks
    Arun Jaiswal

  • How to track session in Webdynpro Java application

    Hi All,
    How to get the session reference of any Webdynpro Java Application . My purpose is that thr is one WD application is getting launched , now if suppose user didn't perform any action on it and session for that application got expired . After the session got expired i have to update the table with the status . So to track that i need the session reference of WD application which i m looking for .
    How could i get the same . Kindly help me on this .
    Thanks & Regards,
    Mitul.

    Hi ,
    HttpSession session = request.getSession(false); //get the current session, if there is no session yet, return null
    if (session == null) //forward to first page
    else //do normal work
    Then u can update ur session right ,
    Regards ,
    Venkat

  • How  to  copy  the  table1selected  records into table 2 in webdynpro java.

    Hi 
           how  to  copy  the  table1selected  records into table 2 in webdynpro java.
    venkat
    Edited by: venkatpvr on Sep 23, 2011 11:53 AM

    Hi Venkat,
    You have 2 Value Nodes one for Table1 and second for Table2.
    Table1 node having one more Value Attribute i.e check Box data type is Boolean. Now you are requirement are select records from Table1 Node and click on One Method that records will moves to Second Table2 Node.
    Create One Method for getting the Records from 1-Table to 2-Table
    CopytoTable2 ()
    In this method you have to write code like this
    If (wdContext.nodeTable1.Checkbox(true))
    If(1. Check the Table1 Value Node Size()>0)
    Get the Table1 records and set to table2 Value node.
    Else
    Please select check box// Error message
    Hope this helps!!
    Regards
    Vijay K

  • 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'.

  • Iview Template missing for Webdynpro-Java application

    Hi All,
                I wanted to create an iview out of my webdynpro component . I followed
    the steps given in  the following document ---
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/0c7b2f25-0c01-0010-f2a2-f8a65a9dcad9
       But unfortunately i couldn't find any template to create iview from webdynpro-java
    application . Can any one help me out ? Is there any customization for the same or
    this feature is not available for CE7.1--Sneak Preview version ? Any suggestion will
    be of great help to me.
    Thanks and Regards
    Ashis

    Hi Ashis,
    please refer to thread
    Has anybody created Iview from "Webdynpro Java" component in CE7.1 ?
    and by the way...there is a portal included under ../irj
    greetings jens

  • Template missing for webdynpro-java application  in Iview Creation

    Hi All,
    I wanted to create an iview out of my webdynpro component . I followed
    the steps given in the following document ---
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/0c7b2f25-0c01-0010-f2a2-f8a65a9dcad9
    But unfortunately i couldn't find any template to create iview from webdynpro-java
    application . Can any one help me out ? Is there any customization for the same or
    this feature is not available for CE7.1--Sneak Preview version ? Any suggestion will
    be of great help to me.
    Thanks and Regards
    Ashis

    Hi,
    Did u deployed ur webdynpro application into portal. If not, u cant to create iview based on ur component..
    Regards,
    Senthil K.

  • MSS ECM - how to retrieve custom OADP column in Webdynpro java application

    Great day to all,
    We have created custom OADP column for MSS ECM planning in SPRO.
    In Portal, ECM Plan Table, the column is visible. User enters values into that and toggles the tabstrip.
    Before submitting, i need to capture that value in Webdynpro java.
    My Question is,
    How can i make use of that column in my ECM Application using webdynpro java??
    or how can i retrieve the custom OADP columns in webdynpro java with out using RFC??
    Need ur great help... thanks alot in advance...
    Thanks
    Malla

    In OADP ,there are two types of columns , functional column which cannot be edited in web dynpro java application and another type is application column which can be edited in application and the value of this column is handled in application using rfc enabled function module. MSS ECM comes with certain application column whose values are handled in MSS-ECM application . If you are trying to add custom application column you will have to handle that column value in your Z function module and also at OADP level you should not configure supply function for that column.
    In order to call custom Z function module to handle custom application column I would suggest to create a seperate Software component and development component  and in that handle the logic for calling Z Function module. Also you will have to define the usage of custom Development component in the MES-ECM standard component.

  • Reading Excel sheet data in WebDynpro Java Application

    Hi,
    I need to read an excel file which is stored locally in my computer. How to use upload UI element (in WebDynpro Java) ?
    After reading the excel file the data is displayed in table structure in WD Java application. After doing some calculations on click of generate excel button the table data is translated into excel sheet. How to achieve this?
    Thanks,
    Anmol

    Hi,
       Hope the below links helps...
    Re: upload & download files 
    https://wiki.sdn.sap.com/wiki/display/WDJava/Uploading%20excel%20file%20using%20WebDynpro%20for%20Java
    http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3417600)ID0729285250DB01215080400348251106End?blog=/pub/wlg/6603
    Thanks,
    Prakash

Maybe you are looking for

  • Task Filtering in UWL based on Classification in R3

    Hi All, I trying to find out if there is any option in UWL to filter the Task list by the Task classification given at the R3 side. I am refering to the classification which specify at the task level in PFTC -> Addtional Data-> Classification. By sta

  • CRM Interactive Reports Activation

    Hi All We need to activate de Interactive Reports in CRM But we don't know what to do with the BI Client. BI Cliente is a BI product Installed in the Same Sever, but in different Client? Or we just have to customize the the Analytics part in CRM? Our

  • [ESS] Line break in service description ??

    Hi, Strangely, even though I put line break in the description of services in view V_T7XSSSERSRV(C), it is not showing up in the Portal. A workaround is that I replace '.' with cl_abap_char_utilities=>newline in the proxy class I am using but this so

  • Apps issue after OS upgrade BB 9800 Torch

    Hi, I upgraded today OS of my Blackberry Torch 9800 to v. 6.0 subv. 9249. Unfortunately right now two apps disappeared from MyWorld - Fuel Economy Calculator and Quick Slide. Both were purchased by me in 2011. Could you explain why were these apps re

  • Invoice no change

    Dear Experts By mistake I had mention wrong invoice number  in migo and UD was cleared.I want to change  Invoice number In Migo. Pls give me solution. Regards Dishant