cancel
Showing results for 
Search instead for 
Did you mean: 

Status profile error while creating activty

former_member206621
Contributor
0 Kudos

When creating an activity via BAPI_ACTIVITYCRM_CREATEMULTI we get the following error message:

Status profile 'CRMACTIV' could not be set according to transaction type 'Call'

The possible causes for this error are:

1. Status profile CRMACTIV has not been assigned to object type COH by the system administrator. --- this is OK

2. Initial statuses can be set in status profile CRMACTIV, which cannot be set using the current document attachment. --- no idea what this means

3. The current user beldn does not have the authorization to set an application status. --- the user does not exist in the system

When we try this in our test environment we do not have any problem.

How can we solve this issue?

Kind regards,

Lieselot

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member202391
Active Participant
0 Kudos

Hi,

I belive your activity transction type CALL is copied from any sales transction type,

Please check the intial status of the status profile CRMACTIV in the SPRO customization or from the

CRMBS02 Transaction code, and check the user authorizatoin roles in the SU01D .

Regards

Naren..

former_member206621
Contributor
0 Kudos

The initial status for the status profile CRMACTIV is "OPEN"

What do I exactly have to check in the user authorization rules?

Kind regards,

Lieselot

former_member206621
Contributor
0 Kudos

The error is probably caused by the fact that we try to enter a user in the CREATED_BY field that is not defined in the system. The user only exists as Business Partner. Can someone confirm this and is there some kind of workaround?

former_member206621
Contributor
0 Kudos

Does anyone know if it possible to enter a user in the CREATED_BY-field who is not defined in the system? We now call the function BAPI_ACTIVITYCRM_CREATEMULTI where the CREATED_BY field is filled with a user who is not known as SAP user - but somewhere during the execution of the function the CREATED_BY field is changed by the user who is logged in to the system. This is not what we want. How can this be changed?

former_member206621
Contributor
0 Kudos

The error was caused by function CRM_ORDERADM_H_CREATED_BY_FC where the field CREATED_BY is always set to "not changeable".