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 format

Former Member
0 Likes
872

I have internal table with around 1000 records(it is XML format..i am writing the code in one of the BADIs),it is store of TYPE dmee_output_file...in one of the lines there is <ReqdExctnDt>2011-04-28</ReqdExctnDt>

how can i get the value in between these 2 </ReqdExctnDt>...as these 2 are constants..but the date in between them will be changing...i want the date..how to achieve it

6 REPLIES 6
Read only

Former Member
0 Likes
823

Find the end position of the first constant and the start position of the second one. Everything in between is what you want.

Rob

Read only

0 Likes
823

but in runtime...the position always changes...

Read only

0 Likes
823

Yes - it has to be done programatically.

Rob

Read only

0 Likes
823

can you pls give me some sample code...

Read only

0 Likes
823

I think you can use regular expressions for this. If not, check the documentation for CS and the other comparison operators.

Rob

Read only

0 Likes
823

can anyone send me some sample code....thanks in advance