cancel
Showing results for 
Search instead for 
Did you mean: 

Handling Fault Message in RFC

Former Member
0 Kudos

Hi All,

<br>

I am using a File to RFC scenario (File as a Sender and RFC as a Receiver )

In which for a standard function module "SXMS_START_JOB_AT_ONCE" (Since standard Function module is not RFC enabled) created a wrapper function module and used in the RFC <B>(RFC in the Same XI system ) </B>.

<br>

Standard Function Module "SXMS_START_JOB_AT_ONCE" has exceptions "CX_XMS_SYSTEM_ERROR " I need this Exepction trap back to XI.

<br>

Can any one help this Please

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Your RFC function can also throw that Exception. In case of error you can find full exception message in message monitoring (SXMB_MONI)

Former Member
0 Kudos

Hi,

When I created Exception in RFC Function module "it is not activated"

Exception class can not be used for RFC right.... if I return it in the Export Parameter how to set it in Fault message

former_member189558
Contributor
0 Kudos

Ramamurthy,

Use the exception tab... FOr that.. while creating the RFC check the Pass by value checkboxes... u can create n number of exceptions...

These expections needs to be raised from the RFC using Raise Exception id ..

Thanks,

HImadri