‎2007 Jun 15 8:48 AM
Hi Friends!
This is a selection screen for sales order report.
Does it make any sense having a selection screen like this,
Coz, if users enters onley material no & Date in selection screen What can we xpect in the form of output.
c selection screen.
selection-screen : begin of block blk with frame title text-001.
select-options : s_vbeln for vbak-vbeln,
s_erdat for vbak-erdat,
s_ernam for vbak-ernam,
<b>s_vdatu for vbak-vdatu obligatory,</b> "Onley User enter this
s_BSTNK for vbak-BSTNK,
s_KUNNR for vbak-kunnr,
<b>s_matnr for vbap-matnr,</b> "Onley user enter this
s_KDMAT for vbap-KDMAT.
selection-screen : end of block blk.
Thanks Pls reply
‎2007 Jun 15 8:55 AM
Hi
I suppose the report should list some header and item data of a sale order, so if your situation it means the user need to see all items have certain materials and created in certain date.
Max
‎2007 Jun 15 8:56 AM
Well,
If you just have material and date as input, you can always select the sales orders containing that particular material(s) and created on the date supplied (or within the date range if it is a select option)
A selection-screen is based on your requirements. You can always modify the screen in case your requirements differ. Your requirement does not have to be based on the selection screen.
regards,
Priyank
‎2007 Jun 15 10:47 AM
Hi,
Yes we can display the sales orders for given inputs on the selection screen . It will dispaly all the sales orders belongs to that perticular material and date but performance wise its not good .
Thanks
Ramana