‎2008 Dec 09 4:45 AM
Hi all,
I have a requirement where I need to access the VBAK table and get some values out of it based on a query on some of it fields. I would like to know how this can be done via a Java program by utilising the SAP JCo library. Has anyone done this before? A sample program would be very helpful.
Thanks in advance!
‎2008 Dec 09 7:05 AM
Hi,
Yes, u should RFC function module to invoke the table entries.
Use the following RFM, this is apt for ur requirement
RFC_GET_TABLE_ENTRIES
thanks
Mahesh
‎2008 Dec 09 4:52 AM
‎2008 Dec 09 6:15 AM
Hi Nikita,
I see that the PDF has info abt invoking BAPIs via java. Do you mean to say that I need to invoke a RFC to access any table? Or is there some other method?
‎2008 Dec 09 4:53 AM
‎2008 Dec 09 4:55 AM
Hi SAM,
Welcome to SDN!!!!!!
Chk this help doc.
http://help.sap.com/saphelp_nw04/helpdata/en/35/42e13d82fcfb34e10000000a114084/frameset.htm
Also chk these thread.
Regards.
Maha
‎2008 Dec 09 7:05 AM
Hi,
Yes, u should RFC function module to invoke the table entries.
Use the following RFM, this is apt for ur requirement
RFC_GET_TABLE_ENTRIES
thanks
Mahesh
‎2008 Dec 10 8:38 AM
HI all,
Thanks much for the replies. I am now using RFC_READ_TABLE for my requirement. Appreciate the help! The other option could be to use RFC_GET_TABLE_ENTRIES as Mahesh rightly pointed out.