Всем привет!
Возникла необходимость ведения признака типа User-Defined Data Types.
1. Созданы признаки со стандартными типами данных (Дата и цифровой формат).
2. Создан класс вида 031 (Тип данных, определенный пользователем - User-Defined Data Types), в нем указала признаки из п.1
3. Создан признак с типом данных класса п.2
4. В признаки СУД документа добавлен признак п.3
5. При попытке открыть классификацию объекта СУД- документа валится в дамп.
Из дампа:
Code:
Категория Программная ошибка ABAP
ДинамОшибка CALL_FUNCTION_CONFLICT_TYPE
Исключ. CX_SY_DYN_CALL_ILLEGAL_TYPE
АВАР-прогр. SAPLCTMS
Anwendungskomponente CA-CL-CL
Анализ ошибки
An exception occurred that is explained in detail below.
The exception, which is assigned to class 'CX_SY_DYN_CALL_ILLEGAL_TYPE', was
not caught in
procedure "LANGUAGE_SET_CHARACTERISTIC" "(FORM)", nor was it propagated by a
RAISING clause.
Since the caller of the procedure could not have anticipated that the
exception would occur, the current program is terminated.
The reason for the exception is:
The call to the function module "CTCU_SET_LANGUAGE" is incorrect:
The function module interface allows you to specify only
fields of a particular type under "TEXT".
The field "WA_CL-ATBEZ" specified here is a different
field type
.
Внутренние указания
The termination was triggered in function "FuncParams"
of the SAP kernel, in line 6581 of the module
"//bas/722_REL/src/krn/runt/abfunc.c#9".
The internal operation just processed is "FUNC".
Internal mode was started at 20170119152348.
Name of function module...............: "CTCU_SET_LANGUAGE"
Name of formal parameter..............: "TEXT"
Technical type of actual parameter....: "C"
Technical length of actual parameter..: 120 bytes
Technical type of formal parameter....: "C"
Technical length of formal parameter..: 60 bytes
Name of formal parameter at caller....: "TEXT"
Кто-нибудь сталкивался с подобным?