
" 1. fill ranges:
DATA(lr_matnr) = VALUE rseloption( FOR wa IN it_products ( sign = wmegc_sign_inclusive
option = wmegc_option_eq
low = wa-productno ) ) .
DATA(lr_lgtyp) = VALUE rseloption( ( sign = wmegc_sign_inclusive
option = wmegc_option_eq
low = '0815' ) ).
DATA(lr_xy) = get_xy_range( ).
"...add more here.
"2. log ranges:
log_selection_range( iv_name = 'MATNR' ir_range = lr_matnr ).
log_selection_range( iv_name = 'LGTYP' ir_range = lr_lgtyp ).
log_selection_range( iv_name = 'XY' ir_range = lr_xy ).
"3. use ranges:
srv_hu->hu_select_gen( EXPORTING ir_matnr = lr_matnr
ir_lgtyp = lr_lgtyp
ir_xy = lr_xy
IMPORTING et_huitm = DATA(lt_hu_item) ).
srv_hu->hu_select_gen( EXPORTING ir_xy = get_xy_range( )
IMPORTING et_huitm = DATA(lt_hu_item) ).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
4 | |
2 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |