ABAP DOMAIN LOWER CASE

http://www.abaptech.com/2008/07/how-to-avoid-lower-case-text-convert-to-upper-case-in-custom-table/?replytocom=5

 

Sometimes, we create a customizing(Z) table in DDIC, there’re some fields we want it be case sensitive, but as default, for these fields, if you update the Z table with lower case, and when you want this field as a selection field and you just input the lower case to get data. Then SAP as default will convert your input into upper case and the result is you will not get anything, this article will show you how to avoid this.

 

Step 1: Go to SE11 and choose Domain, then input your domain name and click create

clip_image002

Then input your field information, note that the checkbox of Lower Case must be checked.

clip_image004

Then save and activate.

Step 2: Goto SE11 and choose data type

Input your element name and click create

clip_image006

In the popup screen, set the radio button element on and click OK

clip_image008

And then input your element information, just note that you should make the element type be domain, and input the domain which you defined before.

clip_image010

At last activate the element.

Step 3: Goto your Z table definition, and make the field you want it be case sensitive to use the data element you defined just right now.

That’s all, how simple it is, hope this could give you some help.

 

 

http://scnblogs.techweb.com.cn/laobai/archives/142.html

Domain、Data Elements、SAP Table所在的表

存储域(Domain)信息的表为DD01L;存储数据元素(Data Elements)的表为DD04L;存储SAP表信息的为DD02L;DD03L存储Table Fields。
DD01L的LOWERCASE字段决定是否数据会全部转换成大写
 
另:如何访问SAP的Domain的Value Range
1.直接访问透明表dd07l和dd07T
      select * from dd07l
          where domname   = ‘domname’ and
                as4local   = active.
2.使用函数
      call function ‘DD_DOMVALUES_GET’
           exporting
                domname        =  p_domname
           importing
                rc             = l_subrc
           tables
                dd07v_tab      =  l_dd07v
           exceptions
                wrong_textflag = 1
                others         = 2.
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值