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

alter table is not possible

Former Member
0 Likes
3,726

hi!

i've made some changes for table vbap (with adding structure zavbap) and now some active log there:

"TABL VBAP is inconsistent in active version

Check table VBAP

Classification 3 possible, but include or subtype is still unclassified

Field ZZ207: Type change

ALTER TABLE is not possible

Structure change at field level (convert table VBAP)

Check on table VBAP resulted in errors"

what am i gona doing? Please help!

hi!

i've made some changes for table vbap (with adding structure zavbap) and now some active log there:

"TABL VBAP is inconsistent in active version

Check table VBAP

Classification 3 possible, but include or subtype is still unclassified

Field ZZ207: Type change

ALTER TABLE is not possible

Structure change at field level (convert table VBAP)

Check on table VBAP resulted in errors"

what am i gona doing? Please help!

17 REPLIES 17
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
2,726

Please try to adjust and activate using transaction SE14. Remember to select the radiobutton for "Save Data".

Regards,

Rich HEilman

Read only

former_member480923
Active Contributor
0 Likes
2,726

Hi

try the following

a) See if all the fieldds in the include structure is activated properly or not.

b) Go to SE14 and press activate and adjust database.

Hope it helps

Anirban

Read only

Former Member
0 Likes
2,726

Hi Denis,

Try adjust the table by clicking on the Menu in transaction SE11 itself by Utilities --> Database Utility and click on the button Activate and adjust database and see if it works.

Thanks & Regards,

YJR.

Message was edited by: YJR

Read only

former_member404244
Active Contributor
0 Likes
2,726

Hi denis,

U are adding some fields in VBAP ryt.So i guess u r adding the fields via append structure?,whcih is there on the application tool bar.

If u r not doing.Then create append structure example zstructure and add fields in it.

Now ur new fields will be seen in vbap table along with ur append structure zstructure.

then activate the table vbap.Also use database utility(se14),adjust the table vbap.

hoping this will help u.

Regards,

Nagaraj

Read only

0 Likes
2,726

Denis,

Even after adjusting thru se14, if is an error in runtime object check, then use RSDDCHECK report to make it consistent.

Regds

Manohar

Read only

Former Member
0 Likes
2,726

i've use se14 already. problem not solved. may i use native sql statment - alter table vbap drop zfield ? what syntax of alter table drop then?

Read only

Former Member
0 Likes
2,726

Hi,

you need to Adjust the Table

from the Menu <b>Utilities ->Database utility -> Activate and Adjust the Database</b>

and then now come back and Activate your Table.

Regards

vijay

Read only

Former Member
0 Likes
2,726

anyway there errors. i want to try to use native sql statment and delete customer field on database level.

How can i do it's? alter table drop, isn't it?

Read only

0 Likes
2,726

Did the data exists in the table? you can see form se14 t code.

Note that if you drop the table you may loose the data, hence first try to get the backup data to load the same.

You can delete & Create table from se14 aswell.

Regds

Manohar

Read only

Former Member
0 Likes
2,726

when i've check table vbap with se14 i've got message - "Database object for VBAP is inconsistent: (Fields)

Fields: Inconsistent with the runtime object". in detail some fields does not exist in database. What am i gona do?

Read only

0 Likes
2,726

Denis,

1. Check the custom data elements/domains (if you have created any) are activated.

2. Check whether you need to mention any reference fields or reference tables for amount fields (if you have any)

3. Last but not least...check for any dependencies (key relationships...I dont think this is would cause the error)

Thanks,

Read only

0 Likes
2,726

I wouldn't use native SQL to drop and recreate VBAP. This is a standard SAP table and you wouldn't want to have any differences between the data dictionary and the actual database.

Rob

Read only

hymavathi_oruganti
Active Contributor
0 Likes
2,726

go to se14, (data base utilities)

and click on the push button "activate and adjust data base" keeping the radiobutton "save".

Read only

Former Member
0 Likes
2,726

i don't wish to lose data of vbap, but recreate table with se14 without deleting data is no possible. May i store data in local file, for example in .xls and next to adjust table without saving data with se14, and later to load data from local file into table vbap?

Read only

0 Likes
2,726

Denis,

If you wish to do so then you can do it with some programming effort.

Read only

Former Member
0 Likes
2,726

i want to explain in detail my trouble why i've got inconsistent vbap.

i've tryed to extend vbap with append structrure with too many fields and in result database object 'vbap' and runtime object 'vbap' is inconsistent. it's like "exclusive circle". I can't to recreate table vbap with saving data and when i change append structure i can't generate append structure because vbap generating simultineously. how can i eliminate this incositensy without deleting data.

Read only

0 Likes
2,726

As I said, this is a standard SAP table, you shouldn't be writing programs to alter or update it. I think you should go to OSS and explain the situation.

Rob