cancel
Showing results for 
Search instead for 
Did you mean: 

Getting dump while assigning resource to role

Former Member
0 Kudos

Hi,

We are using BAPI_BUS2177_STAFFING_ADD to assign resource to role.

It is assigning first resource to first role in first project. And giving dump for next resource to role assignment for the same project.

Short dump description is like as follows:

The exception 'CX_DPR_FATAL_ERROR' was raised, but it was not caught anywhere

along

the call hierarchy.

Since exceptions represent error situations and this error was not

adequately responded to, the running ABAP program

'CL_DPR_AUTHORIZATION_SERVICES=CP' has to be

terminated.

The problem is of "COMMIT". I ma not understanding where to write exact commit. Even if we are commiting at project level it is giving dump.

Could you please give any suggestion on it.

Thanks & Regards,

Anil Salekar

Accepted Solutions (0)

Answers (2)

Answers (2)

0 Kudos

Hi Anil,

I found out the solution for this.

Please contact me if you need help from me.

thanks,appasaheb

Former Member
0 Kudos

Hi Adekar

i'm facing the same problem

could you please help me?

0 Kudos

Hello Kaixiang,


When you add staffing to project then commit after each resource assignment. That will avoid the dump.

Use:

CALL FUNCTION 'BAPI_CPROJECTS_COMMIT_WORK'

         TABLES

           return = it_return.

Note: Re award if useful


Thanks,

Appasaheb..

0 Kudos

hi anil,

i am facing the same like you but the exception is diffrent.

it is CX_DPR_INVALID_OBJECT.

I think we have to lock each task and do the changes and the commit and free.

thanks,

appasaheb