Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

XML issue in ABAP

Former Member
0 Likes
762

Hi Experts,

I am using the method create_simple_element to generate XML start and end tag. But for one tag both start and end tag is coming but for the other tag it is not coming. Can you please help.

For eg

<EMPLOYEE>

<EMPNAME Name = "XYZ">

</EMPNAME>

<EMPAGE Age = "45"/>

</EMPLOYEE>

Like above <EMPAGE> end tag is not coming. Please help

2 REPLIES 2
Read only

ArthurParisius
Contributor
0 Likes
667

From what your showing <EMPAGE> is self closing since it ends with />. So nothing needs to be done.

Read only

TMSingh_SAP
Participant
0 Likes
667

Hi

Pls check this link

XML

Thanks