‎2010 May 05 7:28 AM
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
‎2010 May 05 7:53 AM
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.
‎2010 May 05 7:59 AM
Try to use the field name as ZVARIANT instead of VARIANT. VARIANT is the reserve field name for SAP.
‎2010 May 05 8:08 AM
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
‎2010 May 07 7:46 AM
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.