I am using above statement this ZTABLE has one include zxp_bill. It is giving following error of :
The data type /OBIZ/ZXP_SHPHD can be enhanced in any way.
When referencing the type of data objects in ABAP, these data objects
cannot contain references (tables, strings, objects and so on) if the
data type has been directly defined in the DDIC.
The current options for referencing types of data objects are as
2. INCLUDE STRUCTURE
3. FORM STRUCTURE
4. FIELD-SYMBOLS STRUCTURE
Troubleshooting: This warning is triggered because the data type or one
of its subtypes can be enhanced in any way. Below is the data type
structure in which the (sub)types that trigger the warning are marked by
/OBIZ/ZXP_SHPHD *** /OBIZ/ZXP_BILL ***
In SE11, you can assign an enhancement category that is different from
Please help. Right answer will be rewarded.
Naveen Inuganti replied
I dont think you need to change settings in standard objects..
First check the mode of enhancement catogory in your ztable, change it.
Do go for SAP standard ones, it should effect others..
here the thing is the both refrence object catagory and your table catagory should be same.
Read following documentation carefully,
The enhancement category is derived from the structure and from the classification of the used types. Rules for determining the implicit enhancement category are: o If the object contains at least one numeric type or a substructure or a component (field has structure/table/view as type) that can be enhanced numerically, the object itself can no longer be enhanced character-type, but can, at most, be enhanced character-type or numerically. o If the object contains a deep component (string, reference, or table type) or a substructure or component that is marked as can be enhanced in any way, the object itself is also marked can be enhanced in any way. o If the object does not contain any substructure or component that is marked can be enhanced, you can choose cannot be enhanced.