Hi Experts
I am working on CUSTOM BIC Plain2XML Scenario in B2B COCKPIT.
I already did sample scenario in B2B CockPit - Plain to XML Convertor Issue
Now am working on actual Complex structure.
Here in my structure all segments nodes are optional. At runtime it may or maynot come.
For example:
<BODY_1>
<FIELD_1>
<FIELD_2>
<FIELD_3>
<RECORD_1>
<NAME>
<EMP_ID>
</RECORD_1>
<RECORD_1>
<NAME>
<EMP_ID>
</RECORD_1>
</BODY_1>
<BODY_2>
<FIELD_1>
<FIELD_2>
<FIELD_3>
<RECORD_2>
<NAME>
<EMP_ID>
</RECORD_2>
</BODY_2>
May I know how to close a TAG because I cannot keep END TAG before starting next Tag.
1. How to end any XML tag?
2. Also am able to generate XML but for file why "EOF" is coming how to avoid this segment at last?
TABLE:: B2B_PLA_CTRL_MSG
<BODY_2>
<FIELD_1>EOF</FIELD_1>
</BODY_2>
SAMPLE FILE 1
BODY_19999911112222
AMAR101
SRINIVAS202
BODY_29999911112222
AMAR302
SAMPLE FILE 2
BODY_19999911112222
AMAR101
SRINIVAS202
SAMPLE FILE 3
BODY_29999911112222
AMAR302
Kindly help me and do the needful.