|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
input xml payload to idoc transformation |
« View previous topic :: View next topic » |
Author |
Message
|
Halloween |
Posted: Wed Oct 28, 2015 7:26 am Post subject: input xml payload to idoc transformation |
|
|
Acolyte
Joined: 11 Mar 2015 Posts: 60
|
Here is my approach.
I am creating message set from Input xml message.
Now i am creating SAP adapter connection for outbound ALE
I am using mapping nodes to map the input xml element with the idoc structure.
After transformation, in the mapping node would send the transformed payload to SAPRequest node. I am expecting IDOC the other end.
It give me error 3450.
The output parser to the mapping node is set to DataObject which is fed to the input of SAPRequest.
Also, how can i address null or empty values coming from input payload. SAP does not accept null values.
Last, but not the least there is controlrecord and datarecord complex type in output IDOC structure.
WHat is significance of it? do i have to assign values in it as well.
I am sorry, i am new to SAP and this is the requirement in my project and i am supposed to use it to deliver in my first interface! |
|
Back to top |
|
 |
fjb_saper |
Posted: Wed Oct 28, 2015 1:45 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Talk to your SAP folks and ask them how the XML input to the SAP ADAPTER should look like.
Typically you will have to cater for the DC information as it defines the IDOC control record and determines message type, partner and some other vital SAP information. The data record is made up of a fixed (control) part idoc #, record#, segment type, segment hierarchy... and a variable (segment data) part.
The segment data structure is fixed and referenced by the segment type field in the data record. The SDATA field will then contain the segment data.
Hope this helps  _________________ MQ & Broker admin |
|
Back to top |
|
 |
Halloween |
Posted: Thu Oct 29, 2015 6:40 am Post subject: |
|
|
Acolyte
Joined: 11 Mar 2015 Posts: 60
|
So i am given the mapping document. That has the information on what exactly is the input XML field being mapped to IDOC object.
So how should i proceed hard coding in esql? |
|
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
|
|
|
|