on ‎2008 Aug 19 9:16 AM
Hi,
Does anyone know how to add a comment line in outgoing XML message from XI? Using graphical mapping or java or adapter module?
Something like .....
<?xml version='1.0' encoding='UTF-8' ?>
<! this is a comment>
<record>
Thanks
Pushpinder
Request clarification before answering.
Hi Pushpinder,
depends on the kind of mapping you process:
1) graphical mapping: not possible
2) xsl-mapping: use <xsl:comment>
3) JAVA-Mapping: Insert a comment-node to the target structure
3) ABAP-Mapping: Insert a comment-node to the target structure
Regards Mario
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I have to add a comment line in the target xml like:
<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE RMS_MODEL SYSTEM 'RMS_Model.dtd'>
<RMS_MODEL>
<DIVISION Value="2"/>
<RMS_RANGE Value="0801"/>
<WORKING_NO Value="S8153219"/>
<MODEL_NO/>
<MODEL_NAME/>
<CARRY_OVER/>
i am able to achieve the above.
But in my message mapping I am using multi mapping, so after the message mapping the target structure looks something like:
<?xml version='1.0' encoding='UTF-8' ?>
<ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge"><ns0:Message1>
<!DOCTYPE RMS_MODEL SYSTEM 'RMS_Model.dtd'>
<RMS_MODEL>
<DIVISION Value="2"/>
<RMS_RANGE Value="0801"/>
<WORKING_NO Value="S8153219"/>
<MODEL_NO/>
<MODEL_NAME/>
<CARRY_OVER/>
now, is it possible to add a comment line as shown in this example?Or is it preferable to use an adapter module?
Thanks
Pushpinder
| User | Count |
|---|---|
| 15 | |
| 9 | |
| 6 | |
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.