POPUP_GET_VALUES 金额字段不可编辑
转自:https://blog.csdn.net/huanglin6/article/details/102733845
-
当在POPUP_GET_VALUES函数中参考的字段是个货币或者金额字段的话,会在显示时候表现为不可编辑的状态,此时只需再加一个参考代码
CLEAR:FIELDS. FIELDS-TABNAME = 'EKPO'. FIELDS-FIELDNAME = 'NETPR'. FIELDS-FIELDTEXT = '含税单价'. APPEND FIELDS. CLEAR:FIELDS. FIELDS-TABNAME = 'EKKO'. FIELDS-FIELDNAME = 'WAERS'. FIELDS-FIELD_ATTR = '04' . APPEND FIELDS. CALL FUNCTION 'POPUP_GET_VALUES' EXPORTING * NO_VALUE_CHECK = ' ' POPUP_TITLE = '批量赋值' * START_COLUMN = '5' * START_ROW = '5' IMPORTING RETURNCODE = L_RETURN_CODE TABLES FIELDS = FIELDS EXCEPTIONS ERROR_IN_FIELDS = 1 OTHERS = 2.
本人常年接收SAP运维和远程项目,ECC,S/4HANA,CRM,WDA.
远程人天可谈,终身售后,有活请联系V信:18925782767(问问题免费,欢迎交流!)
!!请关注本人技术分享公众号:SAP翔子(可扫头像二维码)
每天分享新知识,博客文章也会陆续整理并迁移至公众号,与您一起共同学习