2024 Sep 30 10:22 AM - edited 2024 Sep 30 3:48 PM
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...
2024 Sep 30 10:34 AM - edited 2024 Sep 30 10:38 AM
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.
2024 Sep 30 10:53 AM
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.
2024 Sep 30 10:57 AM
2024 Sep 30 11:12 AM
I have SAP ECC, not HANA, is char24 in mine system
2024 Sep 30 2:00 PM
I have added the tag SAP ERP Central Component to your question.
2024 Sep 30 3:19 PM
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.
2024 Sep 30 11:04 AM
Hello @Former Member
SETVAL is already 40 chars long in S/4HANA:
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
2024 Sep 30 2:27 PM
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.)
@Former Member do you confirm?
2024 Sep 30 3:13 PM
2024 Sep 30 4:26 PM
Is table MATERIALID active in your system (link between the 18 and 40 characters material id)
2024 Sep 30 6:46 PM - edited 2024 Oct 01 6:32 AM
What do u mean by 'link', i have materialid with matnr_int (char18) and matnr_ext (char40) in it.