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

changing filed length

Former Member
0 Likes
835

Hi gurus,

Would it possible for me to change data element and domian filed length and label.

Table : VEKP

FIELD : VEGR1 ---FREE DEFINABLE FIELD.

ACTUALLY I NEED TO CHANGE THIS FILED LENGHT FROM 5 TO 25 AND LABEL FREELY DEFINABLE FILED TO my OWN NAME.

Hi gurus,

Would it possible for me to change data element and domian filed length and label.

Table : VEKP

FIELD : VEGR1 ---FREE DEFINABLE FIELD.

ACTUALLY I NEED TO CHANGE THIS FILED LENGHT FROM 5 TO 25 AND LABEL FREELY DEFINABLE FILED TO my OWN NAME.

5 REPLIES 5
Read only

Former Member
0 Likes
761

U can change it but for standard tables u need <b>access key</b> for doing so.

Also u have to regenerate the<b> tabel maintenace generator</b>.

reward if helpful.

Read only

Former Member
0 Likes
761

before doing any thing Becareful abt the implications of this , u may get lot of issues like syntax error ,short dumps etc.

Regards

Prabhu

Read only

0 Likes
761

PRABHU WHAT ACESS KEY I NEED GET FOR TABLE OR DATA ELEMENT OR DOMAIN.

PLESE ADVISE ME WHAT IMPLICATIONS DO I EXPERIENCE??

Read only

Former Member
0 Likes
761

Hi Vandana,

The field that you are trying to modify is a standard table field. Hence you will need to get the Access key for changing the same.

The implications that Prabhu says that you need to take care of can be :

-Since you are changing a standard table field, it will affect all the places where this field is being used, when I say all the places it basically means Transactions, programs, views SAPScript. These might result in errors in programs and short Dumps in Varying Places, also it might affect the Function Modules that are using this field. To make the long story short a lot is at risk, and it would be very difficult to check for all the scenarios.

Regarding getting the Access Key, usually developers dont have change access to the Standard SAP Objects, to make change to Standard SAP Objects you need to get an Access key from the SAP Team. Maybe any of your senior will be able to tell you about the Access Keys.

As far as possible dont go for changes to standard SAP Objects, because usually SAP would not take responsibility for issues arising due to change by developer by using an Access Key.

Hope it lays to rests all your queries. Alternative solution can be thought of once you tell why is it that you want to change the field length.

Read only

raviprakash
Product and Topic Expert
Product and Topic Expert
0 Likes
761

Hi Vandana,

I advice you, NOT TO CHANGE the SAP Standard Domains and Dataelements. If the need is really HIGH, then please check the IMPACT, atleast use the WHERE-USED functionality and check the IMPACT.

I think, probably, if you are using the DATAELEMENT in some program and during the ALV display you want NEW LENGTH and NEW LABEL, in this case, make a FIELDCATALOGUE. In field catalogue, you can MODIFY and REDEFINE the characterstics, just for the TIME your program is RUNNING :).

Else, just copy the current DATAELEMENT and create a new DATAELEMENT and use it :).

Thanks and Regards,

Ravi :).

NOTE: Points keep me alive on SDN .