Application Development and Automation 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: 
Read only

DOMAIN LENGTH

Former Member
0 Likes
4,381

Hi guys,

I am stuck up with an issue.

I want to know if we can increase the data type length for a standard domain.Like my client needs the total length of a batch number to be 15.But in standards the length for a batch number is only 10.The domain for batch number is CHARG.

<removed_by_moderator>

Edited by: Julius Bussche on Aug 29, 2008 12:29 PM

1 ACCEPTED SOLUTION
Read only

0 Likes
3,595

Hi sandeep,

dont do like that. dont do any changes on SAP satandard. i am sending this message with experience.

last time i had changed the maktx (material descp from MAKT)

lenght 40 to 200 as per my client requirement. total transactions regarding material master like MM01,MM02,MM03,ME21N like that never been worked.

i raised this issue to SAP. they said that dont do like that.

so dont make any changes on SAP standards.

regards.

sriram.

Hi sandeep,

dont do like that. dont do any changes on SAP satandard. i am sending this message with experience.

last time i had changed the maktx (material descp from MAKT)

lenght 40 to 200 as per my client requirement. total transactions regarding material master like MM01,MM02,MM03,ME21N like that never been worked.

i raised this issue to SAP. they said that dont do like that.

so dont make any changes on SAP standards.

regards.

sriram.

20 REPLIES 20
Read only

Former Member
0 Likes
3,595

Hello sandeep,

No changes can be made to any standard SAP object but if it is unavoidable then you need to get an access key from SAP & make the required changes.

Best of luck,

Bhumika

Read only

0 Likes
3,595

Hi Bhumika Mahawar,

My concern is if i modify the batch length using access keys, will ther be any issues for any other objects,because charg is used a key field in some of the standard tables also.

am not using any customised data element.

Read only

0 Likes
3,595

Hi,

If you Change the Standard Domain Through Access key,then

all the table fields using that domain will be changed accordingly.

So Before changing think about consequences.

Regards,

sujit

Read only

0 Likes
3,595

Hi Sandeep,

As you must be aware that the any changes made to the domain of a data element affects its data element.So wherever you are using that data element would be affected.Even the programs using that data element are affected.

This is one of the important feature of sap to increase reusability & make things easy.So before making any changes i would suggest to check all the programs, tables, etc,using the ' where-used list ' facility and then decide if the changes are necessary else go for a separate data element

Regards,

Bhumika

Read only

bpawanchand
Active Contributor
0 Likes
3,595

Hi

Well create a copy of that domain CHARG and then make the required changes and instead of using standard use you own domain

Regards

Pavan

Read only

former_member195383
Active Contributor
0 Likes
3,595

U can not change the length as this is a standard domain...how ever u can create a new domain..of reqd length and use the same in ur ztable..

Read only

Former Member
0 Likes
3,595

Hi Sandeep,

You have 2 ways.

1> Copy the domain CHARG to ZCHARG and change its length.

Or

2> Change it with Access key.

However it is always recomended not to make any change to the standard SAP object.

Anirban Bhattacharjee

Read only

0 Likes
3,595

Hi

if i copy charg to zcharg...where will i use zcharg then....?

As i mentioned the batch number length for my client is 15. so i have to touch the standards only right?.

and if i modify it with an access key then the related objects will be activated automatically right? or do i have to make any changes to the related objects.

Read only

Former Member
0 Likes
3,595

Hi

You cannot change the length of the standard sap domain. But if you want to change it you have to ask for the access key from the SAP.

Hope it's helpful to you.

Thanks & Regards

Nikunj Shah

Read only

0 Likes
3,596

Hi sandeep,

dont do like that. dont do any changes on SAP satandard. i am sending this message with experience.

last time i had changed the maktx (material descp from MAKT)

lenght 40 to 200 as per my client requirement. total transactions regarding material master like MM01,MM02,MM03,ME21N like that never been worked.

i raised this issue to SAP. they said that dont do like that.

so dont make any changes on SAP standards.

regards.

sriram.

Read only

0 Likes
3,595

so is ther any means that i can get this done?

Read only

0 Likes
3,595

Hi Sandeep,

Creating the domain with your specifications is the best way to achieve your requirement. You should never change the SAP domains as they are used in several places. If u change that, the coming circumstances would be really bad.

Thanks

Read only

0 Likes
3,595

ok...i am not touching standards..but is ther any way to met this requirement by creating a Zdomain????

Read only

0 Likes
3,595

Hi,

Its Better that you create one domain for Batch Number with the data type of standard domain but increase the Length.

And use the domain for the field in your table.

Regards,

Sujit

Read only

0 Likes
3,595

Hi Sandeep,

Changing length os standard filed is not advisble. The same domain is used in so many other tables and TCODES. if you chnage anything here rest of the system wont work. So please dont go for this kinds of changes. It is surely a cunsulting issue which needs to be conveyed to business. You can have another z table with your desired field and field lenth and find some badi or exit and save the data in the z table. Mapp in the same way while fetching also. This is the only feasible solution.

Thanks,

SANDEEP.

Read only

Former Member
0 Likes
3,595

Hi Sandeep,

You can do this way. Create a Z-domain and Z-data element with the charatcteristics you desire and associate that data element with the standard DB table of that Data element(i.e. of Batch no., CHARG) by creating a structure and using APPEND STRUCTURE to include this Z-dataelement in that DB table and use it wherever required.

Hope this is helpful to you. If you need further information, revert back.

<removed_by_moderator>

Regards

Nagaraj T

Edited by: Julius Bussche on Aug 29, 2008 12:30 PM

Read only

0 Likes
3,595

Hi,

I am not using this batch in any of the Ztable i am creating...i want to capture the batch number with length 15 into standards.....ie the batch number which user enters in standard tcodes should be of length 15.

Read only

0 Likes
3,595

Hi, pls kindly provide detailed steps for creating Z-domain which function as the same as CHARG with a longer length. Thanks.

Regards,

Yu

Read only

matt
Active Contributor
0 Likes
3,595

Read the SAP help at help.sap.com This is a very simple task, manageable with minimal knowledge. Start at transaction SE11 and see what buttons and menu options are available. It's pretty obvious what you have to do.

Also, it's bad form to resurrect an old question - you should rather create a new one.

Read only

Former Member
0 Likes
3,595

Hi Sandeep,

Create a new domain with the required size and assign to the required field. Before that get the access key to change the table but it is not advisable to change the standard domain.

Thanks,

Naveen Kumar.