cancel
Showing results for 
Search instead for 
Did you mean: 

Calling a BAPI

Former Member
0 Kudos

Hi

We are trying to call the BAPI BAPI_EMPLOYEE_GETDATA from within a webservice written within the CAF. When we import the BAPI and test it, it seems to work and brings back most of the information, however two of the tables in the BAPI don't come back at all. We've tested the BAPI within SE37 and it brings back a table called Communication which holds the information that we want to use within our custom service, but this table does not come back when it is called via the CAF. We've also tested the BAPI via VC and the Communication table does not come back there either.

Can anyone help?

Accepted Solutions (0)

Answers (2)

Answers (2)

PradeepBondla
Active Contributor
0 Kudos

Hi King,

Try to right click on BAPI inside VC model and select "Redefined Ports". If you declare them as tables in your bapi then those must present in redefined ports pop up as ports.

Select required ports and click ok

Thanks

Pradeep

Former Member
0 Kudos

Did you mean to say that you tried drag and drop the RFC on to your VC model. On the Define ports pop-up, do you get to select the CAF table?

Thanks,

Kiran