Application Development 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: 

Submit program rabest_alv01 ( Transaction AR01 )

Former Member
0 Kudos

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.

1 REPLY 1

JozsefSzikszai
Active Contributor
0 Kudos

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