cancel
Showing results for 
Search instead for 
Did you mean: 

Sending response back to RFC in UDF

Former Member
0 Kudos

Hi All,

I have a Sync scenario from RFC to SOAP. I want to check the line items in RFC request. If there are no line items , then i want to stop the scenario and use UDF to send the constant (Invalid line items based on validations) back to RFC responce by using RFC lookup.

Is it possible to send response back to RFC in UDF?

Please suggest me, i want to handle exceptions without BPM.

Thanks and regards

Uma

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member192295
Active Contributor
0 Kudos

Hi,

I think we can do your requirement in RFC itself, no need UDF. In RFC if line item not found give error response to SOAP else give normal response to SOAP. From this configuration we can get only one response at a time from RFC function (either success / failure).

Former Member
0 Kudos

Hi Ranjan,

My requirement is to send the response back to RFC response (to user) like the invalid line items, 3rd party application is down, no response from 3rd party application to the RFC responseu2026 like that without BPM.

Regards,

Uma

MichalKrawczyk
Active Contributor
0 Kudos

hi,

>>Is it possible to send response back to RFC in UDF?

I don't think such an option exists in standard

but maybe you can do the check in the RFC much faster instead os checking

this in XI ?

Regards,

Michal Krawczyk

Former Member
0 Kudos

Hi Michel,

Thanks for your response.

What do you mean by checking in RFC?. Do you mean it write a user exit and check the validations? or configure the field level validations in SAP ECC?. I request you to explain in detail.

Regards,

Uma