Application Development and Automation 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: 
Read only

regarding module pool programming

Former Member
0 Likes
655

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

1 ACCEPTED SOLUTION
Read only

athavanraja
Active Contributor
0 Likes
629

raja

5 REPLIES 5
Read only

Former Member
0 Likes
629

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.

Read only

Former Member
0 Likes
629

Hi Ravi,

Create another field in the screen by using Input field.

Regards,

Balavardhan

Read only

athavanraja
Active Contributor
0 Likes
630

raja

Read only

Former Member
0 Likes
629

Hi. Try to create a selection screen, and then call it in you screen:

(see more in )

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

Read only

Sandeep_Panghal
Product and Topic Expert
Product and Topic Expert
0 Likes
629

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.