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 » how to populate IDocs from a text string?

Post new topic  Reply to topic
 how to populate IDocs from a text string? « View previous topic :: View next topic » 
Author Message
redcherry
PostPosted: Wed Sep 17, 2014 1:13 am    Post subject: how to populate IDocs from a text string? Reply with quote

Newbie

Joined: 25 Jul 2014
Posts: 4

Env- Linux
Ver- 9.0.0.2

An external application sends a message to a queue .
This message contains a SAP Idoc as a text string (EDI_DC40...userdefined segments etc).


Requirement is to read this message(IDoc) and map required fields to a XML structure.


We have downloaded the IDoc definations( *.xsd) from SAP using EIS Adapter Connector.

Question:
How should we populate the SAP Idoc from the MQ Message(containng Idoc), as it does not belong to required Dataobject domain?

Thanks in advance for your replies.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed Sep 17, 2014 4:24 am    Post subject: Reply with quote

Grand High Poobah

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

what you seem to have is a raw IDOC. It may be in "IDOC" format or in "FILE" format (truncating the trailing spaces and with a NL at the end of each EDI_DD40).

To transform into the DataObject format you may well need to have the SAP adapter defined to your flow...

Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
redcherry
PostPosted: Wed Sep 17, 2014 7:06 am    Post subject: Reply with quote

Newbie

Joined: 25 Jul 2014
Posts: 4

Hi fjb_saper,

Thanks for the reply.

IDOC looks like this
EDI_DC40 0100000000535621404701 3014 DELFOR02 /ABC/STD_DELFOR02 /ABC/STD_DELINS SAPABC LS PABC010 ACTIS01 LILF0010253310 20130112031509 20130112031509 E2EDK09003 0100000000535621404000001000000010006403985

I don't think the spaces are truncated.


This Interface is not directly connected to SAP so we cannot use the SAP connector.

We are receiving the Idoc as MQ Message and now we have to somehow populate the IDoc structure from this raw idoc (string) and map the fields to other xml structure.
Is there any way to do this in WMB?
We are receiving many idocs types and creating a DFDL Structure for Idocs with many segments will be time consuming.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Wed Sep 17, 2014 7:07 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

If you read the message as a BLOB, you *might* be able to use CREATE ... PARSE to build a DataObject message.
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 » how to populate IDocs from a text string?
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.