cancel
Showing results for 
Search instead for 
Did you mean: 

expression must return the interface type

Former Member
0 Kudos

<b>Dear XI experts,</b>

My scenario is ;

The input parameter for the RFC is send through a file and the response from the RFC comes into XI which is then written into a File (dummy). Finally I want to have Transformation(Message Mapping to IDoc) and send to Target system.

The diagram of the following is shown below;

http://photos1.blogger.com/blogger/3087/1595/1600/6.jpg

I am getting Error in Transformation Step, <b>EXPRESSION MUST RETURN THE INTERFACE TYPE <Target message>. </b>

<b>

Pls advice, Anybody ??</b>

Accepted Solutions (1)

Accepted Solutions (1)

bhavesh_kantilal
Active Contributor
0 Kudos

Hi,

Can you look into your INTERFACE MAPPING and check if you have defined the Interface mapping between 2 Abstract Message Interfaces?

For a file Rfc file , you can refer to this blog,

/people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit

But, the transformation step here is performd outside the BPM in this blog.

Regards,

Bhavesh

Former Member
0 Kudos

hi ,

problem is resolved.

thanks a lot Bhavesh!

problem was in interface mapping

/BA1/FIN_TR_MODIFY./BA1/FIN_TR_MODIFY01 in target interface and not

MI_MODIFY (abstract ,asynchron) !!!

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Faith,

->This error occurs when the interface mentioned in the interface mapping and in the container difference.

->Here in your case the target Message Interface in the Interface Mapping and the Interface of the container <b>modify</b> are different. Do check that.

Hope this helps.

Regards,

Jesse.

udo_martens
Active Contributor
0 Kudos

Hi Fatih,

the transformation step requires the return of the container type. Look for the interface of the response container. The same type must be given as target in the interface mapping.

Regards,

Udo