06-17-2009 7:59 AM
Hi! Gurus,
1. Please suggest me a method to input range for a field through select options in module pool selection screen.
2. Also i want to display to paramaters or any two selection screen obejcts on one horizontal line.
3. I want to display one more parameter on 15th line in selection screen.
Regards,
Digvijay
06-17-2009 8:04 AM
Hi,
In order to provide the select-option u need to use Ranges.
Use PBO with Loop at Screen for the selection option and the parameter with using a check box or Radio Button.
u can display on them horizontal Line.
regards
Naresh
06-17-2009 8:04 AM
Hi,
In order to provide the select-option u need to use Ranges.
Use PBO with Loop at Screen for the selection option and the parameter with using a check box or Radio Button.
u can display on them horizontal Line.
regards
Naresh
06-17-2009 8:06 AM
06-17-2009 8:37 AM
create a screen with fields which apprears twice on the screen .
field1 -- bkpf-belnr_low
field2 -- bkpf-belnr_high
in PBO
chain.
field bkpf-belnr_low
field bkpf-belnr_high.
module bkpf-belnr.--->do validations on low & high values.
endchain.
adn create range table based on the low & high values.
have a look at FM COMPLEX_SELECTIONS_DIALOG for F4.
regards
Prabhu
06-17-2009 8:41 AM
thanks all but is n't thr a way tht i can do it with out calling subscreen.
And for displaying two parameters in horizontal line i m talking about screen design for screen 1000.
regards,
Digvijay
06-17-2009 8:41 AM
thanks all but is n't thr a way tht i can do it with out calling subscreen.
And for displaying two parameters in horizontal line i m talking about screen design for screen 1000.
regards,
Digvijay
06-17-2009 8:52 AM
Hello DS ,
sample code
screeen elements.
PAYR-CHECT-->text
R_CHECK-LOW-->i/0
%#AUTOTEXT007--->text
R_CHECK-HIGH-->i/o
CHECK_VALU_PUSH--->push button
%#AUTOTEXT006--->push button
PAI.
chain.
field r_check-low.
field r_check-high.
module r_check.
endchain.
module r_check input.
clear ok_code.
ok_code = sy-ucomm.
* clear value high if it is 00000000
if ( r_check-high eq 0 ) .
clear r_check-high.
endif.
if ( r_check-low eq 0 ).
clear r_check-low.
endif.
if not r_check-low eq space .
if not r_check-high eq space .
if r_check-low le r_check-high.
message e339(ehs_oh).
else.
if ( r_check-sign is initial ).
r_check-sign = 'I'.
endif.
r_check-option = 'BT'.
append r_check.
endif.
else.
if ( r_check-sign is initial ).
r_check-sign = 'I'.
r_check-option = 'EQ'.
elseif ( r_check-high is initial
and r_check-option <> 'EQ' ).
r_check-option = 'EQ'.
endif.
append r_check.
endif.
else.
if r_check-high eq space .
clear r_check.
else.
r_check-sign = 'I'.
r_check-option = 'BT'.
append r_check.
endif.
endif.
sort r_check by low high.
delete adjacent duplicates from r_check comparing all fields.
case ok_code.
when 'CHECK'.
perform complex_hcent_selection
tables r_check
using 'Select Check No'
'PAYR-CHECT'.
endcase.
endmodule.
.
regards
Prabhu
06-17-2009 9:03 AM
i have to get field from dictionary not from program. when i fetch field from dictionary it gets locked.
unable 2 specify ranges.
and hw can i place parameters in screen 1000 at desired position.
Regards,
Digvijay
06-17-2009 9:33 AM
my code will look like standard SAP selections....only diff is i'm putting it in a simple way....
u can also cross check with screen no 1000 of any screen...... u have to maintain ranges for the field.....
regards
Prabhu