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: 

how to create screen with date range as a input field (from -to)

Former Member
0 Kudos

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..............

3 REPLIES 3

Former Member
0 Kudos

you can create a subscreen and manage the date parameter from the code (select-options: xxxx for yyy)

MarcinPciak
Active Contributor
0 Kudos

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

deepak_dhamat
Active Contributor
0 Kudos

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.