Posted: Tue Feb 25, 2003 9:58 am Post subject: removing RFH2 - some problems
Apprentice
Joined: 27 Jun 2002 Posts: 39 Location: New York
Hello,
I I ran into some problems when removing RFH2 from my incoming message.
My incoming msg is MRM CWF and it is in MQHRF2 format and my outgoing msg is in MQSAPH (idoc) format.
I use following lines to strip off RFH2 in my compute node:
set Environment.Variables.usr = InputRoot.MQRFH2.usr;
set OutputRoot.MQRFH2 = NULL;
set OutputRoot.MQMD.Format = 'MQSAPH';
Here is the problem i ran into:
-When removing RFH2 header within same compute node that does transformation from incoming MRM to IDOC it looks like MQMD format is changed to MQSAPH but RFH2 NameValueData stays in the msg. I see this data before my idoc data.
-When I remove RFH2 in preceiding compute node that only strips the header everything works fine and RFH2 format and data are gone. In this compute node I checked 'Copy entire message' and included these 2 lines:
set Environment.Variables.usr = InputRoot.MQRFH2.usr;
set OutputRoot.MQRFH2 = NULL;
set OutputRoot.MQMD.Format = MQFMT_NONE;
Has anybody noticed some similar behaviour or it is something that I did wrong?
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum