cancel
Showing results for 
Search instead for 
Did you mean: 

reading table but000 using jco

Former Member
0 Kudos

hi all,

I am trying to read but000 table(some particular fields like first name,last name,partner) using jco.

what rfc function should i use?

rfc_read_table should be used?

I am working on crm sap 5.2.

Regards

Shilpi

Accepted Solutions (1)

Accepted Solutions (1)

Sm1tje
Active Contributor
0 Kudos

that's the (generic) one I would use, else someone would have to write an new RFC to be used just for this one table.

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

My personal preference is to either call a standard SAP BAPI (I'm sure there must be one to retrieve CRM business partner data but I can't access a CRM system right now to find out what it is called) or write a custom RFC module in ABAP. It's easier to maintain the data selection on the ABAP side whilst making the JCo call a bit clearer as well. Ongoing maintenance can typically be easier too.

Most of the time I end up creating a "wrapper" RFC module around a standard SAP BAPI to either add or remove data and/or logic.

Gareth.

Former Member
0 Kudos

Just do it, This is the standard way to get table content genericly, or you have to wrap your sql logic by some function moulde.

Best Regards,

William

Former Member
0 Kudos

hi,

This is my code.

Do i need to add a sql query to options?

If yes please give me an example.

I would be really grateful for any help.

Regards

Shilpi

Former Member