其他分享
首页 > 其他分享> > 选择屏幕分割

选择屏幕分割

作者:互联网

&---------------------------------------------------------------------
*& Report ZTEST009
&---------------------------------------------------------------------
*&
&---------------------------------------------------------------------
REPORT ZTEST009.

DATA: V_REPID TYPE SY-REPID.
DATA: X_DOCKING TYPE REF TO CL_GUI_DOCKING_CONTAINER,
X_EDITOR TYPE REF TO CL_GUI_TEXTEDIT.

*选择屏幕
SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
PARAMETERS : P_BUKRS TYPE BUKRS,
P_GJAHR TYPE GJAHR,
P_BELNR TYPE BELNR.
SELECTION-SCREEN END OF BLOCK B1.

AT SELECTION-SCREEN OUTPUT.

IF X_DOCKING IS INITIAL.

IF X_EDITOR IS INITIAL.
CREATE OBJECT X_EDITOR
EXPORTING
PARENT = X_DOCKING
WORDWRAP_MODE = CL_GUI_TEXTEDIT=>WORDWRAP_AT_FIXED_POSITION
WORDWRAP_POSITION = 72
MAX_NUMBER_CHARS = 100000.
ENDIF.
在这里插入图片描述

标签:分割,DOCKING,CL,GUI,REPID,选择,ERROR,屏幕,TYPE
来源: https://blog.csdn.net/ABAP_NY/article/details/100098643