cancel
Showing results for 
Search instead for 
Did you mean: 

Expose search as RFC instead of web service

monika_eggers
Active Participant
0 Kudos

(Not exactly a CRM WebClient UI question, but I hope BOL- and WST-related questions also belong here.)

I have exposed searches (mostly for one-order objects) from the BOL as web services with the Web Service Tool before, it worked nicely.

But now we want to consume searches (for service contracts and for complaints, i.e. also one-order objects) with SAP NetWeaver Gateway (to display them in SAP UI5 web applications). Gateway can only consume RFCs, not web services.

I am considering these options:

- Manually code the search in ABAP (Does someone have an example code for searching for one-order objects?)

- Call the generated web service from an RFC function or call the code that the web service calls from an RFC function (copying and adjusting the code). I hope this code would be very easy.

What's the better solution? Are there examples for either of these options?

Accepted Solutions (1)

Accepted Solutions (1)

stephenjohannes
Active Contributor
0 Kudos

Have you looked at this blog:  ?

I believe that might offer a solution to what you want to do.

Take care,

Stephen

monika_eggers
Active Participant
0 Kudos

Wow, that sounds even much better than writing an RFC function! I have to try that.

Answers (0)