|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Generating IDOC messageset using SAP ODA |
« View previous topic :: View next topic » |
Author |
Message
|
Qadeer_824 |
Posted: Wed Dec 26, 2007 12:44 am Post subject: Generating IDOC messageset using SAP ODA |
|
|
 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 |
|
 |
Gaya3 |
Posted: Wed Dec 26, 2007 12:58 am Post subject: |
|
|
 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 |
|
 |
Qadeer_824 |
Posted: Wed Dec 26, 2007 1:23 am Post subject: |
|
|
 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 |
|
 |
jefflowrey |
Posted: Wed Dec 26, 2007 3:59 am Post subject: |
|
|
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 |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|