cancel
Showing results for 
Search instead for 
Did you mean: 

how to call xslt mapping in message transformbean

former_member191435
Contributor
0 Kudos

Hi Folks,

I have written a simple xslt mapping to convert 2 fields into different fields. That is working fine from me.

I want to use this xslt mapping in message transformbean adapter module. I dont want to use this in operation mapping. Can you please tell me how would I do this.

How would I configure this.

Thanks,

Rohini

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

XSLT mapping and message transformbean adapter module are different identities.

If you are using bean in sender channel then mapping would hit after it else for receiver, mapping will execute first.

Also can you pl tell me specific reason for using it in adapter module.

former_member191435
Contributor
0 Kudos

I read in help.sap.com that we can use xslt mapping in message transform bean..... I tried it but doesnt succeed . I want to know how to use this one.

Thanks,

Rohini

stefan_grube
Active Contributor
0 Kudos

For XSLT mapping you set two parameters:

Transform.Class = com.sap.aii.af.sdk.xi.adapter.XSLTConversion

XSLTConversion.XSLTFileName = full path of xslt file

You have to put the xslt file on PI server file system.

former_member191435
Contributor
0 Kudos

Hi Stefan,

What do you mean by full path?

Is it local path or something else?

could you explain this?

Regards

Sreenivas

stefan_grube
Active Contributor
0 Kudos

You have to store the file on PI server.

Then you put the file name with full path like this:

/usr/sap/whatever/filename.xslt on Unix or

D:\usr\sap\whatever\filename.xslt on Windows

Former Member
0 Kudos

Hi,

According to me, we cannot call the xslt program/map from adapter module.

Why we can't call is in adapter module we can use java EJBs, but what ever you suppose to call is not an EJB application.

FYI

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3bdc14e1-0901-0010-b5a9-a01...

Regards,

Venkata Ramesh