Skip to Content
avatar image
Former Member

BAPI explorer functions with java

I am a newbie in SAP.

I have tested out some sample JCO programs. Then worked fine.

Now I want to go for some more.

Is it possible to implement applications like BAPI explorer with JCo ?

Basically I want to be able to list all the BAPIs with JCo ?

I have tried "RFC_FUNCTION_SEARCH" with "*" entry for all input values and

the output was null.

How do I list all the BAPIs with JCo (Java Program)

Thanks !!!!

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Aug 03, 2007 at 02:22 AM

    I was asking so obvious question with simple answer.

    I have figured it out and it worked great. It's been a week since I started JCo program.

    Anyway my problem was RFC_FUNCTION_SEARCH returns output in a table.

    So I had to look up the table for result message.

    Now I am asking another ? I have searched the forum already and couldn't find the answer.

    How do I create the hierarchical view of BAPI with JCo ?

    Basically I want to implement something like BAPI explorer (tree navigator) with Java.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      JCo download package has all the examples you need.

      To be able to invoke BAPI function from java,

      you have to use it's rfc function module name assigned.

      (You can check it out with BAPI explorer of object's detail screen(right pane)

      If you want to invoke something from Java, that function has to be "remotely

      enabled" module - SE37 to confirm)

      However, getting output is different for each function since the result

      message structure is various. (just like input parameters)