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

alv selection screen

Former Member
0 Likes
348

hi all,

in ALV selection screen,two fields to be developed..

either of them can be used to execute the report.

so here we need develop it as

-


salse order :

OR

ship visit notification :

-


how can we acheive this.kindly reply me

2 REPLIES 2
Read only

Former Member
0 Likes
333

hi ,

for this you need to use the varient ....

if the varient = varient1 then sales order will beexecuted

if the varient = varient2 then ship visit notification will be executed..

regards,

venkat

Read only

Former Member
0 Likes
333

Hi,

You can use radio button. If one radio button is selected report output should be salse order or else other


SELECTION-SCREEN : BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
PARAMETER : sp_sale radiobutton group rad USER-COMMAND radio DEFAULT 'X',
            sp_visit RADIOBUTTON GROUP rad.
SELECTION-SCREEN END OF BLOCK b1.

if sp_sale = 'X'.
   "Display sales details.
else.
"Display ship visit notification 
endif.

Thanks,

Sriram Ponna.