Quantcast
Channel: SCN : Unanswered Discussions - B2B Integration with SAP Process Orchestration
Viewing all articles
Browse latest Browse all 499

Plain XML - Every Optional Record with End Tag Issue

$
0
0

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

B2B_PLA_CTRL_MSG_BODY.png

      <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.


Viewing all articles
Browse latest Browse all 499

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>