cancel
Showing results for 
Search instead for 
Did you mean: 

From JCO calling BAPI and want to get the list

Former Member
0 Kudos

Friends,

Using JCO i connected to SAP server and want the list of profitcenter and all creditors.

For Creditors : BAPI_CREDITOR_GETDETAIL

For Profit center: BAPI_PROFITCENTER_GETLIST

I am using both the bapi's but i am not getting the list of it. Basically this two bapi will return table so..will u pls. help me out to solve this problem.

Thanks

Hitz

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

probably you work wiht wrong data (if is something wrong with connection to SAP, some exception will erased).

First connect to SAP with SAP gui, go to transaction se37 and try run BAPI_CREDITOR_GETDETAIL. That is a test do you work wiht correct data (in BAPI_CREDITOR_GETDETAIL creditorid is mandatory).

Other you can do is: get bapi's return table (also export table) and read message.