Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Message ID

Hi All,

I am doing File to File , my requirement is to get message id of the message transformed in the target file,

i target a special field design to store the message id , How to map that eild to which field, any functions present in Xi.

regards,

radhika

replied

Hi radhika,

Use UDF to get the message ID

getMessageId

public void getMessageId(ResultList result,Container container){

String headerField;

java.util.Map map;

// get runtime constant map

map = container.getTransformationParameters();

// get value of header field by using variable key

headerField = (String)map.get(StreamTransformationConstants.MESSAGE_ID);

result.addValue(headerField);

Regards,

Jayasimha jangam

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question