Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

How to increase length of domain 'SETVAL' from char24->char40?

shiz0frenik
Participant
0 Kudos
674

Hi, experts.
How to increase length of 'SETVAL' domain char24->char40?
It's used to convert material to LMN at SAP generated t-codes like 'S_ALR....'.
U can find it at RGSMH-MIN, RGSMH-MAX.
Can't find any note how to do it.

Here's a link to original discussion : https://community.sap.com/t5/application-development-discussions/s-alr-87013047-with-matnr-more-than...

11 REPLIES 11

Sandra_Rossi
Active Contributor
0 Kudos
658

To change a type of standard object which doesn't have a dedicated tool for that, you need to get an object modification key and modify directly the object. You will be asked the key while changing the object, and a task of type repair will be created in your workbench transport request. Of course, changing the length of a domain is very risky because it may have many present and future impacts, you may not see/test all of them.

EDIT: only very experienced ABAP developers should be assigned to this type of task.

0 Kudos
650

There's no OSS notes of changing it?
I think it's should be connected with KKB_MATNR and others LMN add-ons.
I have problem at mine S_ALR_87013047 report, when material > 24 symbols i'm getting an dump.

650

The concept of modification keys is abandoned in S/4HANA

0 Kudos
634

I have SAP ECC, not HANA, is char24 in mine system

0 Kudos
527

I have added the tag SAP ERP Central Component to your question.

0 Kudos
491

Please add a link in your question to the original discussion, when it's a follow-up, just to avoid losing time in understanding what you're talking about. Thank you.

DominikTylczyn
Active Contributor
640

Hello @shiz0frenik 

SETVAL is already 40 chars long in S/4HANA:

DominikTylczyn_0-1727690505295.png

You can modify the length of the domain, just change the object. However be aware that such a change will cause subsequent activation of all dependent objects, i.e. 23 data elements in which SETVAL domain is used and then all tables and structures where these 23 data elements are used. On top of that all reports that used the reactivated data dictionary objects will be activated again. It is a risky operation!

Best regards

Dominik Tylczynski

raymond_giuseppi
Active Contributor
517

Problem is for an ECC version as S/4 HANA handles the 40 characters with only some restrictions

In the OP system, it seems that (S_ALR_87013047 with matnr more than 18 digits.)

  • Data Element/Domain such as KKB_MATNR were converted from 18 to 40 by DIMP AddOns and then by upgrade to DIMP ERP 2005.
  • The Data Elements such as SETVALMIN and SETVALMAX and domain SETVAL are related to FI-SL set of data and used by report writer (here on KKBE) and report to report interface and truncate selections to 24 characters

@shiz0frenik do you confirm?

0 Kudos
491

Yes

0 Kudos
473

Is table MATERIALID active in your system (link between the 18 and 40 characters material id)

0 Kudos
428

What do u mean by 'link', i have materialid with matnr_int (char18) and matnr_ext (char40) in it.