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 » General IBM MQ Support » Generating IDOC messageset using SAP ODA

Post new topic  Reply to topic
 Generating IDOC messageset using SAP ODA « View previous topic :: View next topic » 
Author Message
Qadeer_824
PostPosted: Wed Dec 26, 2007 12:44 am    Post subject: Generating IDOC messageset using SAP ODA Reply with quote

Acolyte

Joined: 04 Oct 2007
Posts: 59

Hi,
I'm trying to create an idoc using SAP ODA. Following are the steps i use.
1. Start SAP ODA on SAP Server.
2. Open WBIA BO designer and connect to SAP ODA.
3. Search and select the correct IDOC.
4. BO Designer generates the BO and saves them as multiple xsd's.

Now, when i import these BO's into messageset, and create the mxsd's, they get created without any issues. but it fails during message validation. Also, there is an existing bo which works without any issues.

I can send the bo's if required to your mail id if u can find out the way it was built. Please let me know..

Regards,
Qadeer
Back to top
View user's profile Send private message Yahoo Messenger
Gaya3
PostPosted: Wed Dec 26, 2007 12:58 am    Post subject: Reply with quote

Jedi

Joined: 12 Sep 2006
Posts: 2493
Location: Boston, US

Hi

Message validation error is most common error we usually gets. check the incoming message at first and see how it transforms and verify the output message format too.

you can find out the issue from here...Sending the BO doesnt help us.
Input message format and outformat make sense here.

Mods please move this to Adapter section


Regards
Gayathri
_________________
Regards
Gayathri
-----------------------------------------------
Do Something Before you Die
Back to top
View user's profile Send private message
Qadeer_824
PostPosted: Wed Dec 26, 2007 1:23 am    Post subject: Reply with quote

Acolyte

Joined: 04 Oct 2007
Posts: 59

I have checked the source format and its correct coz i have a message set on source side as well which validates it.

For transformation, the only transformation logic that i currently have is to se the messagetype, message id , verb and the idoc number of sap_idoccontrol header. the structure i have is:
Code:

<RootElement>
   Verb (Attribute)
   <Control_record>
       <sap_idoccontrol>
            IDOCNUM
          ...various other fields..
   <Data_record>
       <acc_billing02>
          -- various other fields and elements..

when i use the code below in transformation logic, i get the error that it doesnt expect Control_record.
Code:

  SET OutputRoot.MRM.(XML.attr)verb='Create';
  SET OutputRoot.MRM.Control_record.sap_idoccontrol.IDOCNUM=000900001


I have no idea why it doesnt expect Control_record while that is what the message set is supposed to expect.

I tried multiple variations of this messageset and one of them even succeded in validation, but the idoc failed to pass thru connector saying it was not a valid bo!
Any suggestions on a concrete way to do an end to end scenario with idocs?
[/code]
Back to top
View user's profile Send private message Yahoo Messenger
jefflowrey
PostPosted: Wed Dec 26, 2007 3:59 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Qadeer_824 wrote:
Code:
SET OutputRoot.MRM.(XML.attr)verb='Create';


This is wrong.
_________________
I am *not* the model of the modern major general.
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 » General IBM MQ Support » Generating IDOC messageset using SAP ODA
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.