У меня почему-то вообще эта бапи ничего не изменяет
Code:
CALL FUNCTION 'BAPI_CLASS_CHANGE'
EXPORTING
classnum = iv_profile_template_id
classtype = gc_class_type
keydate = sy-datum
classbasicdata = ls_classbasicdata_old
classbasicdatanew = ls_classbasicdata
TABLES
return = lt_return
classdescriptionsnew = lt_classdescriptions_new
classdescriptions = lt_classdescriptions_old
charactvalueoverwrit = lt_classcharvalues_old
charactvalueoverwritnew = lt_classcharvalues_new.
*check whether an error occurred
* READ TABLE et_return TRANSPORTING NO FIELDS WITH KEY type = gc_e.
* CHECK sy-subrc 0.
*commit if necessary
* CHECK iv_xcommit space.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
wait = 'X'.
Пробовал все как в справке делать
Цитата:
charactvalueoverwrit
o Table_new and table_old empty: will be deleted, if both table_old and table_new are completely empty. If 1 characteristic is in table_old has at least 1 values, then all values of that characteristic will remain.
o Table_new filled, table_old empty: will be saved
o Table_new empty, table_old filled: the first one only will be deleted
o Table_new and table_old filled identically: will be saved
o Table_new filled, table_old has wrong values: values of table_new will be added
o Table_new filled, table_old has right values: values of table_new will be added
o Order will be put in effect
o Delete-flag will delete
После выполнения выдает сообщение, что класс изменяются, но в итоге ничего не меняется.
С чем то может быть связано?