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: 

How to get the number of vbap records in VOFM-RV50B901

Former Member
0 Kudos

Hi Experts,

Please help me to find out the  number of records of VBAP  when i run  VL01N.

Details:


Task: I  have to do some   validations  based on the number of line items in VBAP.

As is Process


a.) I run VL01N with Item from 10 to 20 for a  VBELN = 10000561.


b). Now in the RV50B901,i am by validating the number of CVBAP records against the database VBAP records

CVBAP has  4 records with posnr = 10,11,12,20

VBAP has 6  records with posnr = 10,11,12,20,21,22

d.) To get the all line items,I am  using a select on VBAP table using VBELN  = 10000561.

To-be Process Replace the select query ,if you get the number of records from any global variable/table

Thanks in advance

Lakshmi

1 ACCEPTED SOLUTION

eduardo_hinojosa
Active Contributor
0 Kudos

Hi

Check if the items (are they subitems for 20?) 21 and 22 are relevants for delivery. Check it in tcode VOV7. Check also the ATP or the schedules with a SD consultant (table VBEP)

Regards

Eduardo

1 REPLY 1

eduardo_hinojosa
Active Contributor
0 Kudos

Hi

Check if the items (are they subitems for 20?) 21 and 22 are relevants for delivery. Check it in tcode VOV7. Check also the ATP or the schedules with a SD consultant (table VBEP)

Regards

Eduardo