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

Table could not be activated - Error while activating

Former Member
0 Likes
2,909

Hi Friends,

I am trying to copy std table AGR_1251 into Y table and trying to activate but I end up with activation error like:

'VARIANT is a reserved word (Select another field name)' actually there is a field with name 'VARIANT' and it is a key word hence it is throwing error.

But I checked the std table AGR_1251 which is also giving warning message but no issues.

So what can I do to activate the table with out errors.

I am in 4.7E version.

Your help will be greatly appriciated.

regards

Giri

4 REPLIES 4
Read only

Former Member
0 Likes
1,256

You cannot use the reserved word in you customer table only SAP can these words in standard table. please check table TRESE for all the reserved words.

Read only

Former Member
0 Likes
1,256

Try to use the field name as ZVARIANT instead of VARIANT. VARIANT is the reserve field name for SAP.

Read only

0 Likes
1,256

I don't want to change the field name into Z. I need same field name because of other issues.

Why can't we use this when SAP std table is able to use it and activate it.

I mean, Is there any setting that we need to do so that it will accept.

Because std table also throwing warning message.

I believe there is something we are missing.

Giri

Read only

0 Likes
1,256

Hi,

Copy the structureAG1251 to ZAG1251 and change the field name VARIANT to VARIANT1. Copy the table AGR_1251 to ZAGR_1251 and change the include AG1251 to ZAG1251.

Now it's working fine.

For Standard VARIANT field, it's reserved for SAP and SAP did not provide and authrizations to users to use these reserve SAP names.

Hope it will help you.