How to fetch data from BAPI Tables via WM Java API

Hi All,

Thanks a lot for all of your previous replies related to the Tomcat with Webemthods IS4.6.Infact now i am able to
understand the WM Java API using that we can call from our own client.

But now i got some doubt.

Actually i created the Service called getPRInfo.(By calling SAP BC to SAP Look up option via SAP Integration Server).
The BAPI which i used is BAPI_REQUISITION_GETDETAIL.

What is the Class that i can use to get the individual table details…

( i.e ) BAPI_REQUISITION_GETDETAIL is having the following table details.

REQUISITION_ITEMS
REQUISITION_ACCOUNT_ASSIGNMENT
REQUISITION_TEXT
REQUISITION_LIMITS
RETURN
+
etc

How do i fetch the Details of those tables via Service , if i am writing my own client code to fetch that.
(Eventhogh WM Developer can generate the Client Cource code for us i want to know which class can be
used to fetch the data from the Tables.)

Thanks and looking forward your reply.,

Its easy. Wm has its own Java API . Use the package com.wm.b2b.client and connect to the b2b server from then on use com.wm.data or com.wm.util packages to get Idata and parse through each of the rows in Idata. I am working on it and I have succeeded to a certain level.

You can also download the SAP Java connector (it’s at the heart of the SAP adapter). It has all the classes pretty well documented and some example java code.

I DON’T write code and I got it running easily.