on 08-02-2007 12:13 PM
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 !!!!
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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)
User | Count |
---|---|
84 | |
25 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.