‎2006 Dec 20 11:56 AM
hi experts,
i need ur help guys,i m coding simple module pool program in which i hv to show vendor code as a selection screen but the user wants the multiple ranges of vendor code,i know how to show the single value of vendor but abt multiple ...........
plz help me .
looking forward to an early reply.
ravi gupta
the requirement is like this...vendor ______to ______.
‎2006 Dec 20 12:03 PM
‎2006 Dec 20 12:01 PM
Hi Ravi,
Just Create two fields for the vendor (vendor_f and vendor_t). then based on the selection create a range and use that in the select.
Regards,
Satya.
‎2006 Dec 20 12:01 PM
Hi Ravi,
Create another field in the screen by using Input field.
Regards,
Balavardhan
‎2006 Dec 20 12:03 PM
‎2006 Dec 20 12:04 PM
Hi. Try to create a selection screen, and then call it in you screen:
Try like this:
SELECTION-SCREEN BEGIN OF SCREEN numb [TITLE tit] [AS WINDOW].
...
SELECTION-SCREEN END OF SCREEN numb.
define a user-defined selection screen with screen number numb. All PARAMETERS, SELECT-OPTIONS, and SELECTION-SCREEN statements that occur between these two statements define the input fields and the formatting of this selection screen. Screen number numb can be any four-digit number apart from 1000, which is the number of the standard selection screen. You must also ensure that you do not accidentally assign a number to a selection screen which is already in use for another screen of the program.
From your screen program in which selection screens are defined, you can call these screens at any point of the program flow using the following statement:
CALL SELECTION-SCREEN <numb> [STARTING AT <x1> <y 1>]
[ENDING AT <x2> <y 2>].
And also look at the DEMO program DEMO_DYNPRO_SUBSCREENS.
Regards,
Kumar
‎2006 Dec 20 12:04 PM
Hi Ravi,
Try this:
SELECT-OPTIONS: vendor FOR vendor field.
In screen give the name as Vendor and u will get a range for the same.
Hope this helps.