12-22-2007 6:46 AM
URGENT!!!!!!!!!!!!!!
create a simple alv tree to display list of purchase orders created only on saturdays and sundays.during the perticular period..please send the appropriate code..
Thsanks@regards,
venks,,,
12-22-2007 7:08 AM
When the date range is given first create a range table to store the dates of staurday & sunday.
u can get day of a date by using DATE_COMPUTE_DAY FM.
first compute the day of the low value. if u get it monday add 4 to this date(it's saturday). insert this to the range.
make a loop to put all the saturdays & sundays to the range table.
then use this range in the select statement.
Reward if useful
Regards
ANUPAM
12-22-2007 8:52 AM
thanks anupam.
can u send me the samlpe code using alv tree or which tables are effected.
venk
12-22-2007 9:04 AM
12-22-2007 9:44 AM
12-23-2007 4:58 AM
Hi Venkat,
Purchase order header table contains the creation date, EKKO-ERDAT,
other necessary fields are EBELN, EKGRP, LIFNR, AEDAT.
EKPO contains the details of the PO line items. necessary fields are
EBELN, EBELP, AEDAT, TXZ01, MATNR, WERKS, LGORT ,MENGE, MEINS, NETPR, PEINH, NETWR, NTGEW.
Reward if useful
Regards
ANUPAM