SAP Note 595484 - Create activity via BAPI, control key: MESSAGE_TYPE_X

Component : BAPI-interface to PS -

Solution : https://service.sap.com/sap/support/notes/595484 (SAP Service marketplace login required)

Summary :
When using BAPI_PROJECT_MAINTAIN, BAPI_NETWORK_MAINTAIN, BAPI_BUS2002_ACT_CREATE_MULTI, or BAPI_BUS2002_ACTELEM_CREATE_M to create activities or elements without specifying a control key or by selecting one for 'Internally processed operation', a system dump occurs if the related network profile defaults to a control key with 'External processing' enabled. This results in a MESSAGE_TYPE_X error with message CN893 in module CO2O_ACT_SET_DESCRIPTION due to incorrect parameter input. Ensure correct default settings in network profiles and use solution suggested in SAP Note 575692 for system stability.

Key words :
'internally processed operation/external processing, bapi_project_maintain bapi_network_maintain bapi_bus2002_act_create_multi bapi_bus2002_actelem_create_m, type 'internally processed operation', 'internally processed operation', field 'external processing', function module co2o_act_set_description, terms cn 893 reason, attached program corrections, default control key, type message_type_x

Related Notes :

607000Required notes for PS-BAPIs
575692