on 08-19-2010 7:37 AM
HI gurus,
I am new to JCO Please help me...
I am trying to connect SAP through JCO, I have created a CUSTOM BAPI which shows the entries in the table. But when I trigger the custom BAPI in my Java program I am getting an error " No results found".. I can see the entries in the created custom BAPI's.
Import parameter in the custom bapi is Cus_No_from, Cus_No_To and CUS_NAME..
Export parameter is RETURN
TABLES is an internal table I_CUST..
I am trying to get the values stored in I_CUST in my java program
Help me..
Please post actual code sample to remove the clairvoyance requirement.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ilan
Thanks for the reply.
The code is simple
select * from ZCUSTOM into table I_CUST WHERE cus_no between CUST_NO_FROM and CUST_NO_TO.
where Zcustom is a custom table and CUST_NO_FROM and CUST_NO_TO are import parameters..
I_CUST is also mentioned in TABLE parameters.
The data I am trying to fetch in JAVA is in I_CUST table, which is an internal table
(Custom BAPI is successfully generated in SWO1 and I am able to see the entries in I_CUST).
Please let me know if any details are required.
Hi.
I meant the Java code. You already said the ABAP was working correctly. (I assume you remote enabled it.)
Are you logging errors? (Even System.out to the console is good enough)
Are you stepping through the java code with a debugger. (Even jdb is good enough)
But you need to share the code that is not working! (Not the code that is
--
ilAn
User | Count |
---|---|
95 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
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.