05-18-2006 9:31 AM
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..
05-18-2006 12:02 PM
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
05-22-2006 5:40 AM