Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

ZBAPI that is used in Code is not fetching the same output for all users

0 Kudos

Hi All,

User was running a Z report wherein ZBAPI(ZBAPI_CATIMESHEETRECORD_GET) was used to fetch the Employee records.,

But the output fetched by this BAPI is different from user to user.

In one User ID, it is fetching the output(records) correctly, while in another User Id Zero records were fetched.

Do the needful to resolve this issue in a better way.,

I guess this might be authorisation issue.

Regards,

Raj Kumar Reddy.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi

yes it can be bug or authorization issue.

check that employee for whome data is comming will be belonging to same PA/PSA as the employee who is execution program. but when he run it for a employee from different location, data might not be coming. In this case, user is not authorized to read the records stored in infotype for other location users

Thanks

Vishal Kapoor

1 REPLY 1

Former Member
0 Kudos

Hi

yes it can be bug or authorization issue.

check that employee for whome data is comming will be belonging to same PA/PSA as the employee who is execution program. but when he run it for a employee from different location, data might not be coming. In this case, user is not authorized to read the records stored in infotype for other location users

Thanks

Vishal Kapoor