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: 

delivery schedules in purchase order ?

Former Member
0 Kudos

i have 3 delivery schedules against a material(with Quantity 4), in a purchase order.

One of the delievry schedule has the same number of SL Qty and GR Qty i.e 1 and 1.

Upon displaying the purchase order, this delivery schedule isnt displayed. i.e those delievery schedules arnt displayed whose audiy quantity is equal to the delivered quantity..

why and how to display it ?

Thanks..

2 REPLIES 2

Former Member
0 Kudos

Hi,

You must be using FOR ALL ENTRIES in ... clause while selecting the records from database.

Whenever we use this clause, SAP returns only those records who make a unique record for the selected fields. To avoid this, add the COUNTER field for the delivery schedule (ex: VBEP-ETENR) in other words, we HAVE TO select all the fields which make PRIMARY KEY of the table. Add those fields into your selection and you will get all the records.

Regds,

Sandip

0 Kudos

can u demonstrate with a query..

thanks..