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

VBAP - multiple items read

Former Member
0 Likes
394

Hi All,

I'm trying to read data from VBAP into an internal table.

For example:

If VBAP has a single item -> do_further_processing1.

If VBAP has multiple line items -> do_further_ processing2.

Will Describe statement be sufficient for my requirement or are there any other statements which I can use?

Any ideas appreciated.

Meghna

2 REPLIES 2
Read only

ThomasZloch
Active Contributor
0 Likes
367

If you need just the count for the decision (and not the VBAP data), you can use SELECT COUNT(*), otherwise use DESCRIBE or the ABAP function LINES( itab ).

Thomas

Read only

Former Member
0 Likes
367

Just use the Describe Statement.

Your problem will be solved.