ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Value for sdatatag blank

Post new topic  Reply to topic
 Value for sdatatag blank « View previous topic :: View next topic » 
Author Message
Gibbs00
PostPosted: Wed Sep 12, 2007 12:52 am    Post subject: Value for sdatatag blank Reply with quote

Novice

Joined: 06 Sep 2007
Posts: 14

Hi there,

I am writing a test flow to send IDOCS into SAP using the built in IDOC definition.
I have specified a length of 1000 to the sdatatag's restricted type and I assign a value directly to the sdatatag field.

SET OutputRoot.IDOC.DD.sdatatag = InputRoot.XML.ShaunMsg.SHeader.SLine;

When I send test data to the flow I can see that the field sdatatag gets the value.
When I send the output of the flow to a queue I see all specified values for the fields in DC and DD except for the sdatatag field which is blank.

Can anyone help me?

Thank you,
Shaun
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed Sep 12, 2007 9:16 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Unless you follow the structure you cannot assign a value to sdatatag which is considered a group header.

You would need to change the IDOC definition to allow for a DD40 where sdata is the tag you want to fill.

Enjoy
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Gibbs00
PostPosted: Wed Sep 12, 2007 10:41 pm    Post subject: Reply with quote

Novice

Joined: 06 Sep 2007
Posts: 14

Thanks for the reply -

I changed the IDoc Definition by adding a new element under the sdatatag called sdata with a length of 1000.

I also changed my code to

SET "OutputRoot"."IDOC"."DD"."sdatatag"."MRM"."sdata" = 'XXXXXXXXXXXXXX';

The problem I have now is that I get an exception that says the following:

RM Dictionary Not Found.

I should use the IDOC runtime parser right?

In one of the posts I read that this happens when you have not deployed the message set or that
the MessageSet ID is incorrect - I have checked all of this...

Thank you,
Gibbs00
Back to top
View user's profile Send private message
Gibbs00
PostPosted: Wed Sep 12, 2007 10:52 pm    Post subject: Reply with quote

Novice

Joined: 06 Sep 2007
Posts: 14

I have managed to resolve the error

RM Dictionary Not Found

It now throws the exception that says

Message Id not in CWF File
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Value for sdatatag blank
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.