cancel
Showing results for 
Search instead for 
Did you mean: 

Not getting value in RFC function module importing parameter by calling web services in abap

former_member757757
Discoverer
0 Kudos

Hi,

My requirement is to get the value from CPI system to sap, process the data and send to other system. in SAP i have created created a webservice via RFC enabled FM and created a binding in SOAMANAGER for that WS. Now data has reach to SAP that we can see in SRT_MONI tcode. here the doubt is how we can bring this data to FM importing parameter to proceed the logic?

SRT_MONI tcode

Please tell me any additional steps need to be followed. Urgent...!

Thanks,

Kalpana

FredericGirod
Active Contributor

I don't understand, you have created a RFC and convert it to WebService. OK.

But, you would like to retrieve information from an external system : CPI. Does it means, this CPI system will access your webservice to push data ?

Before starting anything, you should know, what system will do what action. Does SAP push / retrieve data ? Does CPI push / retrieve data ? based on what ?

Sandra_Rossi
Active Contributor

I don't understand the question too, you didn't give enough details. I feel that your question is about how to configure PI to pass a value to a SOAP Web service, but that's already answered in blog posts in SAP community, or questions/answers. Please clarify and focus more on what is your exact issue/question.

Sijin_Chandran
Active Contributor
0 Kudos

Hi Kalpana,

If my understanding is correct, you have exposed a RFC FM as a Web Service which would be getting consumed by PI/CPI.

Now you have mentioned that you can see the incoming requests in SRT_MONI and also the parameters being passed there. But the same you are not getting passed to the IMPORT Parameters of RFC ?

If my above understanding is correct, then please check what is the error message being returned at SRT_MONI Level. Also test your service using External Tool like SOAPUI and check whether the code is getting executed or not. If it is working using SOAPUI then it should work at CPI level as well, until and unless you are not required to make some security and authorization related settings.

Please check on debugging the RFC FM of your SOAP Service.

Thanks,

Sijin

former_member757757
Discoverer
0 Kudos

Hi Frederic,

CPI has push the data to SAP that we can confirm through SRT_MONI transaction screenshot. SAP has to receive the data via RFC function module import parameter. we are not getting the data into function module importing parameter.

SRT_MONI

Sijin_Chandran
Active Contributor
0 Kudos

Hi Kalpana,

Place a External Breakpoint to your RFC FM and try to trigger the service using SRT_MONI itself.

Am sure this Parameter would be getting passed as IMPORT parameter.

And also I hope the parameter is declared as 'Pass by Value' option.

Thanks,

Sijin

former_member757757
Discoverer
0 Kudos

Hi Sijin,

Yes I have placed a External Breakpoint in my RFC and triggered, its not stopping to debug mode.

Yes the parameter is declared as 'Pass by Value' option.

FredericGirod
Active Contributor
0 Kudos

for break point in RFC, you have to specify a dialog user in the connection between the systems & to set in your ABAP option, you would like to debug it

If you want to check if something is done, you could make a trace with trans. ST01

Sijin_Chandran
Active Contributor
0 Kudos

Just adding further to Frederic's comments, do check below point as well. That RZ11 thing!

https://answers.sap.com/questions/13029852/external-break-point-not-triggering-for-odata.html

Accepted Solutions (0)

Answers (0)