on 02-22-2007 3:45 PM
hi guys,
i am using bapi via jco
i am retrieving data,appending data on standard funtional modules , ok, fine
how can i insert data into custom tables using bapi via jco...
plz give me some steps...............
thanks,
tony
Dear Tony,
Sorry for late reply.
Can you please let me know in which table you want to insert data into.
There are few default BAPI's like BAPI_FLIGHT_SAVEREPLICA which is used to update the data in SFLIGHT.
You can take your own input feilds depending upon the requirement to update the data.
Anil Dichpally
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Just to clarify (again) as far as I know yuo cannot directly access SAP tables via JCo calls from Java. JCo only allows you to call function modules on teh SAP system. Any database interaction (Select, Insert, etc.) has to be coded in ABAP inside the function module. You then call the function module (which must be RFC enabled) via JCo in your Java.
You can use standard function modules or you can create custom function modules if you need to acces custom tables or perform custom logic.
Hope this helps,
Gareth.
i would like to have an complete examples both on server side and client side using abapa and jco, can any body help me in this and i would like to know the libraries used in jco.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi tony,
To do that you will have to write a custom BAPI module in SE37 that does the database updates on the SAP system for you. Then call that from JCo as before. If you don't know ABAP you will need to get an ABAP developer to write this BAPI for you.
Gareth.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
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.