2023 Apr 04 12:53 PM
Getting following error message "Selection sccreen statements can only be used between selection screen begin and end of selection screen"
Folowing code i have written in my include.
PROGRAM zyash_program_alv.
TYPE-POOLS: slis.
DATA : gs_vbak TYPE vbak.
selection-screen begin of block b1.
select-options : s_vbeln for gs_vbak_vbeln.
selection-screen end of block b1.
2023 Apr 04 6:31 PM
That error message doesn't make sense. The problem is not there, but with the reference field the select-option is for.
Instead of gs_vbak_vbeln use gs_vbak-vbeln