Screen Painter içinde Subscreen-Select Options Kullanımı

Screen painter içinde select-options kullanabilmek için subscreen kullanmanız gerekmektedir.

selection-screen begin of screen 0101 as subscreen.
selection-screen begin of block b1 with frame title text-001.
  parametersp_VBTYP type vbak-vbtyp .
  select-optionsvaVBELN for  vbak-VBELN,
                  vaBSTKDE for  vbkd-BSTKD_E,
                  vaBSTDKE for  vbkd-BSTDK_E,
                  vaKDGRP for  vbkd-KDGRP,
                  vaBSTDK for  vbak-BSTDK,
                  vaBSTNK for  vbak-BSTNK.

   selection-screen end of block b1.
selection-screen end of screen 0101 .

selection-screen begin of screen 0102 as subscreen.
selection-screen begin of block b2 with frame title text-002.

  select-options:
                  vaAUART for  vbak-AUART,
                  vaERDAT for  vbak-ERDAT,
                  vaAUDAT for  vbak-AUDAT ,
                  vavkorg for  vbak-vkorg,
                  vavtweg for  vbak-vtweg,
                  vaspart for  vbak-spart,
                  vaVKBUR for  vbak-VKBUR.
   selection-screen end of block b2.
selection-screen end of screen 0102 .

 

 

PROCESS BEFORE OUTPUT.

MODULE STATUS_0100.
*

   call subscreen sub0101 including sy-repid `0101` .
   call subscreen sub0102 including sy-repid `0102`.

 

PROCESS AFTER INPUT.

call subscreen sub0101  .
call subscreen sub0102 .
MODULE USER_COMMAND_0100.