简体   繁体   English

创建复选框参数

[英]Creation of checkbox parameter

Normal creation of checkbox:正常创建复选框:

PARAMETERS : p_check TYPE char1 AS CHECKBOX.参数:p_check TYPE char1 AS CHECKBOX。

Without using this will it is possible to declare the parameter as checkbox?不使用 this 是否可以将参数声明为复选框?

Yes it is possible.是的,这是可能的。

PARAMETERS : p_check TYPE boole_d.参数:p_check 类型 boole_d。

This will display the parameter as check box.这会将参数显示为复选框。

    PARAMETERS : p_check TYPE flag.
    PARAMETERS : p_check TYPE boole_d.

This will also display a check box on the screen.这还将在屏幕上显示一个复选框。

So any domain which is having a length of single character and with a value range of fixed values as 'X' and blank/space helps us to display the parameter as check box.因此,任何长度为单个字符且固定值范围为“X”和空白/空格的域都有助于我们将参数显示为复选框。

Here in this case flag data element is assigned to domain 'flag' with data length single character and value range having 'X' and blank.在这种情况下,标志数据元素被分配给域“标志”,数据长度为单个字符,值范围为“X”和空白。

For boole_d it is assigned to domain 'boole' having the properties mentioned as above.对于 boole_d,它被分配给具有上述属性的域“boole”。

Checkbox can be created in Dynpro Painter too.复选框也可以在 Dynpro Painter 中创建。 Without coding, you can drag and drop there.无需编码,您可以拖放到那里。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM