Posted: Mon May 27, 2002 1:20 pm Post subject: MQSeries R/3 Link Error - SMQ4172
Novice
Joined: 26 Mar 2002 Posts: 20
Hi all,
When testing for inbound Idocs Im getting these errors.
05/27/02 16:59:42 SMQ4172: The length of the inbound message is invalid for an IDoc.
EXPLANATION: The inbound message data length is not compatible with the IDoc format. The message should be comprised of: The Saplink header structure; followed by an IDoc control structure and IDoc data records for each IDoc in the message. file.
ACTION: Ensure that IDocs have the correct format.
-------------------------------------------------------------------------------
05/27/02 16:59:42 SMQ4191: A message was put to the bad message queue. Bad message type 1, reason 4109.
EXPLANATION: The message was not in a valid IDoc format. The bad message type is 1 and the bad message reason is 4109.
ACTION: Check the bad message reason code in the bad message header of the message. Attempt to correct the error and send the message again.
-------------------------------------------------------------------------------
I have defined the SAP Link header according to the documentation as follows:
Field Length R/O Value
StrucId 4 R SAPH
Version 4 R 1
StrucLength 4 O
Encoding 4 O
CodedCharSetId 4 O
Format 8 O ?????????? - what should be here?
Flags 4 O
Client 3 O 120
Language 1 O en
Hostname 48 O l17asp02
UserId 12 O r3link
Password 8 O testmq
SystemNumber 2 O
Reserved 2 O
My MQServer and the external application are on NT . SAP is on UNIX.
Now am I missing something in the above configuration?
Any help is appreciated.
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