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

Sntax error while activation ci_aufk include

chakri222
Newcomer
0 Likes
3,481

hello All,

Please help me on this syntax error while activation of CI_AUFK.

I have added an .Include structure in CI_AUFK, with the fields having the data type as character type. but while activation of Structure CI_aufk , i am getting the below error, Plese refer the below error and help to advice on the same.

please note CI_AUFK. is used in the structure

PSHLP_CUSTFLDS_NTWK_ST.

Syntax Error

TABL PSHLP_CUSTFLDS_NTWK_ST is inconsistent in active version
Check table PSHLP_CUSTFLDS_NTWK_ST (HRG6KOR/26.06.20/09:04)
Current enhancement category 'enhanceable and char.-like' is incorrect
Check the following fields:
The following enhancement categories can be selected:
'enhanceable and numeric or char.-like' ,'randomly enhanceable'
Check on table PSHLP_CUSTFLDS_NTWK_ST resulted in errors

3 REPLIES 3
Read only

MateuszAdamus
Active Contributor
0 Likes
2,090

Hello chakri222

What field are in the CI_AUFK structure?

What is the error message? You did not provide it.

Kind regards,
Mateusz
Read only

ziolkowskib
Active Contributor
2,090

Hi chakri222,
It's an error in definition of structure PSHLP_CUSTFLDS_NTWK_ST. Please apply the following note:

1834868 - PSHLP: Syntax error in Customer field structures of HLP
Regards,
Bartosz

Read only

2,090

chakri222 For understanding why the error happened, you have to understand the concept of "enhancement category" - See ABAP documentation or SAP Library. When you understand how it works, then your first reaction will be to look at SAP notes (or contact SAP support if there's no SAP note).

Note that from the error message you mention, I understand that PSHLP_CUSTFLDS_NTWK_ST is of type 'enhanceable and char.-like' in your system, so adding a custom structure to CI_AUFK which contains only "fields having the data type as character type" like you mention should not be the cause of the error. So I guess that you already had some existing DEC fields in CI_AUFK and for some dubious reasons the programs used to compile/work before that.

Or, second explanation, you didn't pay attention enough to the custom structure and it contains at least one numeric field.

NB: the note 1834868 changes the enhancement category of PSHLP_CUSTFLDS_NTWK_ST to 'Can be enhanced (character-Type or numeric)'. (also changed for other PSHLP DDIC structures)