cancel
Showing results for 
Search instead for 
Did you mean: 

Authorization error in BAPI_TRIP_CHANGE_STATUS

Former Member
0 Kudos

Hello ,

I have added a button "Set to Draft" under "All my trips" tab. This will enable the
user to set a trip to "open" regardless of whatever status it was. I have made use
of BAPI_TRIP_CHANGE_STATUS. When I am able to change the status, the other user (end user)
is getting the error : "No authorization for Setting Relevant Trip Status in trip 'XXXXXXXXXX'"

I understand that there is something to do with the authorizations. I have the developer role
hence i am able to change the status. I am unable to debug with the end user's id since they
dont have the backend access.

Can anyone tell me the solution for this. The end user must be able to change the status to open.

Thanks & Regards,

Sinthu

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Sinthu,

For the end user's id please check that they have the correct authorisations to change the status of the trip. You can look at their role or ask the security team to do so and in auth object P_TRAVL for field AUTHS 'New Status when Saving trip' there should be a value 3* or 30

Hope this helps.