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

Validating in nested itab

Former Member
0 Likes
463

Hi Folks!

I have read a XML-File into an internal table. Now I need to validate some of the data. Can somebody please explain me how I can display only a single column of a deep structured itab?

Thanks

Johann

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
444

hi

data: iflag type i value 0.

read table itab index ..

if iflag eq 0.

move itab-field to <table of type structure>

loop at <table of type structure> into <wa_area of type structure>

write : wa_area-fields.

endloop

iflag = 1.

end if.

regards

ravish

reward if useful

3 REPLIES 3
Read only

Former Member
0 Likes
444

Hi

Can you give your internal table structure and which field you need?

Regards

Raj

Read only

0 Likes
444

Hi Raj!

I have declared a lot of structures and table types in the DDIC to fill an internal table with data from service-catalogues. Now I need to read the content in a column of the 4th level of depth in my strucuture...

Read only

Former Member
0 Likes
445

hi

data: iflag type i value 0.

read table itab index ..

if iflag eq 0.

move itab-field to <table of type structure>

loop at <table of type structure> into <wa_area of type structure>

write : wa_area-fields.

endloop

iflag = 1.

end if.

regards

ravish

reward if useful