IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.


#TechXchangePresenter
 View Only
Expand all | Collapse all

How to fetch data from BAPI Tables via WM Java API

  • 1.  How to fetch data from BAPI Tables via WM Java API

    Posted Fri May 02, 2003 10:56 AM

    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.,


    #webMethods
    #Integration-Server-and-ESB
    #Adapters-and-E-Standards


  • 2.  RE: How to fetch data from BAPI Tables via WM Java API

    Posted Fri May 30, 2003 11:12 AM

    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.


    #Adapters-and-E-Standards
    #Integration-Server-and-ESB
    #webMethods


  • 3.  RE: How to fetch data from BAPI Tables via WM Java API

    Posted Tue June 03, 2003 08:51 AM

    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.


    #webMethods
    #Adapters-and-E-Standards
    #Integration-Server-and-ESB