04-20-2011 11:37 AM
Dear All,
I am working in a module pool report and this report is working properly for only one date and i give date from standard table IMRG-IDATE.
User requirment is that :
Add date range in this report ( Like use select-opton in ALV )
when i create other input field same as Date type then show error " Field Name IMRG-IDATE already exist ( Name not change ) "
So,
how can do this, date range as a input field (from -to) in the dialog programming.
please guide me..............
04-20-2011 11:43 AM
you can create a subscreen and manage the date parameter from the code (select-options: xxxx for yyy)
04-20-2011 11:44 AM
You can't create select-options on module pool screen directly (by adding new field). You need to use subscreen for that. Simply search term [select-options in module pool|http://www.sdn.sap.com/irj/scn/advancedsearch?query=select-optionsinmodule+pool] this was discussed multiple times.
Regards
Marcin
04-20-2011 11:53 AM
Hi ,
Create From_dt , To_dt variable type date in Driving Program get that that varaible in dialog layout using get dictionary field
use those as parameter to pass in query
Regards
Deepak.