cancel
Showing results for 
Search instead for 
Did you mean: 

how to handle "Exception CX_SY_NO_HANDLER triggered"

Former Member
0 Kudos

Hi,

I am developing header level workflow In SRM 5.0. To meet one of the requirements the FM "BBP_CHANGE_DOC_GET_NEW" is called in the "BBP_WFL_SECUR_BADI". This FM is get the changes in the SC when the approver changes cost object, price etc...

As soon as the call is made to this FM in the badi, the following error is coming,

Exception CX_SY_NO_HANDLER triggered.

Individually i was able to test the FM but not from badi due to the above error.

Can anyone help me how to handle this exception.

Thanks

Martin

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Martin,

this looks like a class bases exception. Perhaps you could catch the exception with following code:

data OREF type ref to CX_SY_FILE_OPEN_MODE.
data TEXT type STRING.

try.
*       calling of  BBP_CHANGE_DOC_GET_NEW
    catch CX_SY_NO_HANDLER into OREF.
      TEXT = OREF->GET_TEXT( ).
endtry.

Regards

Bernd

Former Member
0 Kudos

Hi

Please paste your code for analysis in your next reply.

What's the detailed requirement ?

Do let me know.

Regards

- Atul

khan_voyalpadusman
Active Contributor
0 Kudos

hi,

are you providing any input parameter to the BADI which is not defined in the BADI parameters?