Skip to Content
avatar image
Former Member

report via WD java

Hi experts!!

I have the following requirement:

the client has 2 abap queries in the R/3 and wants to display the results of the queries in the portal.

The developement technique we are using for the portal is the WD for java.

Is there any way i can do this using RFCs??

Can i have multiple lines in the output of the RFC??(If for example i had the result of the queries in an R/3 table can i use it ??)

Thanx for your answer in advance!!!

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

3 Answers

  • Best Answer
    avatar image
    Former Member
    Sep 02, 2008 at 01:20 PM

    Hello Iria,

    If you need just to display it on the iView, you can use a Table in Web Dynpro. It is easy, and you can create it based on a wizard, referring to the node that you want to display. You will need to create a model of your RFC (it is recommended one Model for each RFC), map the nodes that you need to your component controller, and map these nodes to your view. And, of course, you will need a method to call these RFCs.

    But, if you need to print it, I recommend you to use a Interactive Form element. Basically, you include it in your view and work with repeatable subforms, to display the info that you want to.

    Regards,

    Douglas Frankenberger

    Add comment
    10|10000 characters needed characters exceeded

  • Sep 02, 2008 at 01:12 PM

    Hi,

    You can do it. you need to take a help of ABAPer.

    where ABAP guy will create a RFC and make remote enable.

    which you can use from WD java using Adaptive RFC model.

    yes you can handle multiple line of output from RFC.

    PradeeP

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 02, 2008 at 01:21 PM

    Hi Pradeep and thank you for your answer!!

    I used to be an ABAP developer, so ABAP will not be a problem.

    My problem is the way i handle the result of the RFC with java.

    So far i have only used RFCs that return an attribute node(from the WD point of view, export parameters from the ABAP point of view). Within the WD i instantiate this node, so i have the result of the RFC.

    But how can i handle the multiple lines if for instance the RFC returns a table??

    Thanx in advance!!

    Add comment
    10|10000 characters needed characters exceeded