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

Customizing include

Former Member
0 Likes
2,756

Hi,

       I have added few fields(using .include enhancement) in customizing include in a standard structure 'MEREQ_ITEMX' but on activation it says

Current enhancement category Can Be Enhanced (Numeric or Char. Type) is incorrect

The following enhancement categories can be selected:

   Can Be Enhanced (Deep)

and the enhancement type of this structure is "Can be enhanced (character-type or numeric)"

as it is standard structure i cannot change its enhancement category to "Can be enhanced (Deep)"

so what is the solution ??

thanks in advance.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
2,235

Hi nayeem, pawan,

for your clarification,

in custom include CI_EBANDBX i have added another .include structure with name say zzci_XXXX and it has fields of type BAPIUPDATE which is character 1.

my problem is solved but i am not sure what i did was right or not!!

i changed enhancement category of  CI_EBANDBX as "Not classified" and zzci_XXXX include structure enhancement category as "Cannot be enhanced", i basically copied these from CI_EBANDB custom include of MEREQ_ITEM structure.

is there any rule for the enhancement category of the custom include ci or how to go about this ??

9 REPLIES 9
Read only

Former Member
0 Likes
2,234

Hi Chetan,

You need to add structure with fields of component type BAPIUPDATE (Char 1) to MEREQ_ITEMX.

MEREQ_ITEMX is an update structure for MEREQ_ITEM. Whatever additional fields are added to structure MEREQ_ITEM is added again to MEREQ_ITEMX with component type bapiupdate.

Regards,

Nayeem

Read only

0 Likes
2,234

yes nayeem, i am aware of that but my problem is how to resolve the error that i am getting ??

i am unable to activate the struture. please read my question

Read only

0 Likes
2,234

Hi Chetan,

Can be enhanced ( character-type or numeric) - The structure and its enhancement must not contain any deep data types like tables, references, strings etc.

So please check the data element or data type assigned to the new changed field. It should not be like the one mentioned above.

Read only

0 Likes
2,234

Also Please check if its an error or just a warning. You can ignore the warnings.

Read only

0 Likes
2,234

Not sure if the workaround will work, Try giving same enhancement category as in structure 'MEREQ_ITEMX' to your custom include and activate.

Read only

Pawan_Kesari
Active Contributor
0 Likes
2,234

What are the fields you have added to structures?

Is any of field which you have added is of type tables, references or strings?

Read only

Former Member
0 Likes
2,236

Hi nayeem, pawan,

for your clarification,

in custom include CI_EBANDBX i have added another .include structure with name say zzci_XXXX and it has fields of type BAPIUPDATE which is character 1.

my problem is solved but i am not sure what i did was right or not!!

i changed enhancement category of  CI_EBANDBX as "Not classified" and zzci_XXXX include structure enhancement category as "Cannot be enhanced", i basically copied these from CI_EBANDB custom include of MEREQ_ITEM structure.

is there any rule for the enhancement category of the custom include ci or how to go about this ??

Read only

Former Member
0 Likes
2,234

Hi Chetan,

You ar getting this error because your current enhancement category is set to 'Can Be Enhanced (Numeric or Char. Type)'. But, since you have an include structure inserted into the standard sructure,

you need to change the enhancement category to 'Can be enhanced (Deep)'.

You can do this by clicking on EXTRAS and then Enhancement Category.

With regards,

Ashish Kumar

Read only

0 Likes
2,234

Hi Ashish,

my structure looks like this,

( standard structure ) MEREQ_ITEMX -> ( custom include ) CI_EBANDBX -> (enhancement include) ZZCI_XXXXX

Structure                         Enhancement category                                   

MEREQ_ITEMX               Can Be Enhanced (Numeric or Char. Type)       -    cannot be changed

CI_EBANDBX                          Not classified                                                            -    can change  

ZZCI_XXXXX                            Cannot be enhanced                                               -    can change

any other enhancement category for custom include and the enhancement include inside the custom include is throwing error and the enhancement that you are asking to change is not editable as it is a standard structure.