cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

BAPI_BUS2175_SET_STATUS Error 049 no further changes can be made to status profile

ladinca
Participant
0 Likes
564

Dear Experts,

we use a custom status profile and we try to change the status of a task with BAPI_BUS2175_SET_STATUS from an external application.

We get this: "Error 049 no further changes can be made to status profile".

We cannot understand why.

Anybody can help?

Thank you.

Laura

Accepted Solutions (1)

Accepted Solutions (1)

ladinca
Participant
0 Likes

Hi everybody,

It was an authorization problem on the user who was performing the external operation.

Giving to this user the PPM permissions, everything worked fine.

Kind Regards.

Laura

Answers (2)

Answers (2)

ladinca
Participant
0 Likes

It seems that the problem is due to the value returned by function MESSAGES_COUNT called by CRM_STATUS_READ_NEXT_USR_STAT  is > 8 (it's equal to 12).

Someone knows this function and what is used for?

Laura

anuradha_majumdar
Product and Topic Expert
Product and Topic Expert
0 Likes

Hi Laura,

Are you able to set the status of the task directly in the application?

CRM_STATUS_READ_NEXT_USR_STAT is used for all cProjects objects I guess.


Regards,

Anuradha

ladinca
Participant
0 Likes

Hi Anuradha,

Yes, if we change the status manually, no problem occurs.

The error rises when we try to do that from an external application via BAPI_BUS2175_SET_STATUS.

Then we debugged the BAPI, and we found that the value returned by function MESSAGES_COUNT called by CRM_STATUS_READ_NEXT_USR_STAT  is > 8,which seems to cause the error "Operation SET_USER_STATUS (E0004) non allowed".

Regards.

Laura

judith_gabriel
Product and Topic Expert
Product and Topic Expert
0 Likes

Dear Laura,

is it possible to set the user-status with the BAPI directly in SE37?

Best regards,

Judith

ladinca
Participant
0 Likes

Dear Judith,

No, you can't execute the BAPI in SE37,you must use it only within a program. We found this information in others scn discussion.

ladinca
Participant
0 Likes

Hi everybody, it was a language problem, due to the fact that we did not translated the status in the user's language.

Kind Regards.

Laura

ladinca
Participant
0 Likes

It was too good to be true....  No, even after defining translation of the status, the BAPI does not work, we get the error "Operation SET_USER_STATUS (E0004) non allowed".

Any idea?

Thank you again

Laura