Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3599

My Travel & Expenses Problem with Authorizations

$
0
0

Hello All,

 

I am trying to fix a problem in My Travel and Expenses App , when i have a reimbursed Trip and i want to see this trip i get an error like this:

1.JPG

 

This message comes from function module: CHECK_AUTH_AUTHF. Also before the program call this functions there is a parameter id called  NO_AUTHORISATION_CHECK in FM: PTRA_DB_TRIP_GET, but i can find where can i set this to abap_true.

 

and it returns sy-subrc eq 4 in authorizations object

 

AUTHORITY-CHECK OBJECT 'P_TRAVL'       ID 'AUTHP' FIELD authp       ID 'BUKRS' FIELD p0001-bukrs       ID 'PERSA' FIELD p0001-werks       ID 'KOSTL' FIELD check_kostl       ID 'PERSG' FIELD p0001-persg       ID 'PERSK' FIELD p0001-persk       ID 'VDSK1' FIELD p0001-vdsk1       ID 'PTZUO' FIELD p0017-ptzuo       ID 'AUTHF' FIELD authf       ID 'AUTHS' DUMMY.

And then pop up this message :

 

MESSAGE e091(56) WITH text-002 reinr  "Schreiben  "WKUK001858
RAISING no_authorisation.                   "WKUK001858

 

 

This thing is that in fiori app there is no Display or Change so it take for default that when you open a trip takes the change (MOD) Parameter:

 

Capture - Copy.JPG

 

 

Also the user that i am logging in has the P_TRAVL in his ROLES.

 

 

Any Idea what the is the problem?

 

Thanks in advance.


Viewing all articles
Browse latest Browse all 3599


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>