cancel
Showing results for 
Search instead for 
Did you mean: 

How to use a new class in SAP XI

Former Member
0 Kudos

Hi @,

I have created one new class for the purpose of exception and error handling .I dont know as to where and how i should use this class within SAP XI .How can i include this class so that the effect can be viewed during runtime

Regards

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

once u import class, u need to choose abap class (for abap class file) or Java class (java class file) in Interface mapping.

once u choose the class, u can select or insert ur classs here.

Former Member
0 Kudos

Hi,

In general we will create the package and import under archieves and create USDF in mapping there , you can mention as undr import that package , in code , in UDF , you can use package.class

see the below link for more details

/people/alessandro.guarneri/blog/2006/01/26/throwing-smart-exceptions-in-xi-graphical-mapping

Regards

Chilla

<i>reward points if it is useful..</i>