12-05-2007 12:32 PM
1) When i submit the program with the below syntax the values for BUKRS are shown correctly.
SUBMIT rabest_alv01
VIA SELECTION-SCREEN
WITH BUKRS BETWEEN 'BE10' and 'BE11'
EXPORTING LIST TO MEMORY
AND RETURN.
2) When i submit the program with the below syntax the values for BUKRS are not considered in the selection screen correctly.
SUBMIT rabest_alv01
WITH BUKRS BETWEEN 'BE10' and 'BE11'
EXPORTING LIST TO MEMORY
AND RETURN.
Program rabest_alv01 uses the LDB 'ADA' for Assets.
Kindly advice on what could be wrong with the above code.
12-05-2007 12:47 PM
hi Gerson,
yo do better if you define a range for bukrs and fill the values and submit the program accordingly:
DATA : gr_bukrs TYPE RANGE OF bukrs WITH HEADER LINE.
gr_bukrs-sign = 'I'.
gr_bukrs-option = 'BT'.
gr_bukrs-low = 'BE10'.
gr_bukrs-high = 'BE11'.
APPEND gr_bukrs.
SUBMIT rabest_alv01
VIA SELECTION-SCREEN
<b>WITH BUKRS IN gr_bukrs</b>
EXPORTING LIST TO MEMORY
AND RETURN.
this change (in bold) is relevant for both submit
hope this helps
ec