Application Development 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 the values of an internal table without loop

Former Member
0 Kudos
412

Hii together,

I will read an internal table from type bapiret. I will check, if my internal table has error values or info values without to define explicit a structur from type bapiret and check my table step by step with a loop statement.

I don't know if there is a possibility to check an internal table.

Has somebody some advices or experience how to check the values of an internal table without loop?

Thanks and regards,

John

3 REPLIES 3

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos
99
read table lt_bapi_return transporting no fields where TYPE = 'E'.
if sy-subrc = 0.
* there was an error.
endif.

Regards,

Rich Heilman

Former Member
0 Kudos
99

'Read Table' is the alternative for loop____endloop , and also Read Table wont check the table step by step....

so u know first how to use read table in the program...

check this links...

http://help.sap.com/saphelp_470/helpdata/en/fc/eb35f8358411d1829f0000e829fbfe/content.htm

http://help.sap.com/saphelp_NW70EHP1core/helpdata/en/fc/eb35f8358411d1829f0000e829fbfe/content.htm

0 Kudos
99

Hii,

@ Heilmann and sudeeshboddu

thank you very much for helping, solved !