2007 Feb 26 7:12 AM
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.
2007 Feb 26 7:15 AM
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.
2007 Feb 26 7:19 AM
before doing any thing Becareful abt the implications of this , u may get lot of issues like syntax error ,short dumps etc.
Regards
Prabhu
2007 Feb 26 7:22 AM
PRABHU WHAT ACESS KEY I NEED GET FOR TABLE OR DATA ELEMENT OR DOMAIN.
PLESE ADVISE ME WHAT IMPLICATIONS DO I EXPERIENCE??
2007 Feb 26 10:32 AM
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.
2007 Feb 26 10:40 AM
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 .
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |