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

Database activation

Former Member
0 Likes
1,296

Hi,

I am changing field datatype and length (i,e..QUAN len 4 ) to char 4.After changing i am activating the table .But while activating the table i am not able to activate the table.Please help in resolving this....

Regards.

Sridhar . A

8 REPLIES 8
Read only

shadab_maldar
Active Participant
0 Likes
1,251

Hi Sridhar,

Goto SE14 -> activate and adjust the database table with the radio button on save data.

Regards,

Shadab.

Read only

0 Likes
1,251

And also you can press continue adjustment which is showing in your second screen shot.

But what is the requirement to change the data type of a standard table.? I think it is not advisable to change the data type, because of this many standard transaction may go  dump.

Regards,

Shadab.

Read only

0 Likes
1,251

Hi Shadab,

I had press continue adjustment but it is throwing dump.

WBS_ELEMENTPS_POSIDCHAR24
.INCLUDECI_PRPS0
ZGROUPKOSTLCHAR10
ZSKILLCHAR40CHAR40
PO_ITEMNUMC3NUMC3
ZDATE1ZDATE1DATS8
ZDATE2ZDATE2DATS8
ZDATE3ZDATE3DATS8
ZDATE4ZDATE4DATS8
ZDATE5ZDATE5DATS8
ZFTACHAR40CHAR40
ZDATE6ZDATE6DATS8
ZCOMPZCOMPCHAR20
ZCOUNTRYZCOUNTRYCHAR50
ZPROJTYPEZPROJTYPECHAR20
ZPROJTYPE2ZPROJTYPE2CHAR20
ZPROJLEVELZPROJLEVELNUMC2
ZPROJGRPZPROJGRPCHAR50
ZNATUREZNATURECHAR20
ZPROJTYPE3ZPROJTYPE3CHAR40
ZCONRATEZCONRATEQUAN4
ZPROJTYPE4ZPROJTYPE4CHAR10
ZIPOZIPOCHAR10
ZCUSTGRPZCUSTGRPCHAR50
ZREVCOUNTRYZREVCOUNTRYCHAR30
ZREVREGIONZREVREGIONCHAR50
ZSOURCEZSOURCECHAR8
ZLOCATIONZLOC1CHAR12
CUSTOMER_IDZCUSTOMER_IDCHAR10
CUSTOMER_DECZCUSTOMER_DECCHAR40
CUSTOMER_GRPZCUSTOMER_GRPCHAR4
CUSTOMER_GRPDECZCUSTOMER_GRPDECCHAR20
CUSTOMER_GEOZCUSTOMER_GEOCHAR10

I need to change the zconrate field as Bapi_extensionin structure cannot accept QUAN so i had changed it to as char 4.

Regards.

Sridhar. A

Read only

0 Likes
1,251

I'm not sure many database will accept conversion from packed (QUAN) to CHAR and in any case shouldn't CHAR field be at least twice longer than original QUAN, so CHAR 8?

-> Check log (SM21) and dumps (ST22) in your system for more information.

If incrementing CHAR field length is ok, return, else:

You could try to first add a new field, and build a small report to map data to new field (add the report to transport request as a R3TR XPRA so it will be executed during import, also in this report use CLIENT SPECIFIED option in SELECT/UPDATE statement, as import will run in client 000)

If you want to keep the original name, you may require more transport requests

  • create new ZZfield and copy Zfield values to ZZfield thru XPRA report
  • delete Zfield
  • create Zfield with new definition and copy ZZfield values to resurrected Zfield thru XPRA report
  • delete ZZfield

Beware : Insure not to transport two requests together (do you guess what will happen ?)

Question: Are there already data in production in this field ?

Regards,

Raymond

Read only

0 Likes
1,251

Hi,

Had you tried activating it through SE14.?

Regards,

Shadab.

Read only

nishantbansal91
Active Contributor
0 Likes
1,251

Hi,

Have you added new field or you have changed the existing one.??

THanks

Nishant

Read only

0 Likes
1,251

Hi Nishant,

I had changed existing field datatype.

Regards.

sridhar. A

Read only

0 Likes
1,251

Hi,

It's not recommended to change the standard table, add the field in ci_Prps include and use the same.

Because it could happen that field must use in many standard program. Never change the SAP standard field.

Be careful.

Thanks

Nishant