cancel
Showing results for 
Search instead for 
Did you mean: 

re-use message mapping from within java mapping?

Former Member
0 Kudos

Hi there,

I have a question regarding java mapping. What I would like to do is to re-use an existing message mapping from within java mapping.

Technicaly, message mapping is perfomed by com.sap.aii.mappingtool.tf3.AMappingProgram.execute, right? I would like to call that mapping program for a specifc message mapping from within my java mapping.

Pseudo java code would look like this:

public void execute(InputStream in, OutputStream out)

throws StreamTransformationException {

com.sap.aii.mappingtool.tf3.AMappingProgram.execute(in,out,'SomeMessageMapping');

}

SomeMessageMapping is a message mapping that is defined in the integration repository.

Is it possible? If so, could you provide me with some details?

Thank you and best regards,

Wolfgang

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Wolfgang,

very interesting idea?

I would activa a dummy message mapping. than I would have a look in the file directory of the java-stack and try to find out the name of the *.class or *.jar file.

On the other hand you could generate a tpz-transport-file an unpack this file, to explore the name of the *.class or *.jar

Unfortunately I do not have access to the file system. So I can't explore the name.

Regards Mario