cancel
Showing results for 
Search instead for 
Did you mean: 

Authorizations in Infoset Query

Former Member
0 Kudos
331

Hi,

A User with Authorization for IT 0105 subtype 0001 only, would like to evaluate the data through Infoset Query.

However he's not able to get all the intended no. of Per. No. records. All the Pers. No.s with only subtype 0001 maintained are fetched & the Pers. No. with 0001 & any other Subtypes maintained are skipped from the output.

I've implemented the Swith *$HR$ PROC_PERNR_PARTIAL_AUT = 'X' for Partial authorization. After adding the switch the SAP Query Report is fetching the intended no. of Per. No.s. However this fails in the Hitlist/Output of the Infoset Query. Is there any way to get all the records in the Infoset Query for Users who's got Partial authorization like the case specified?

I've read that it's not possible because the SAP Query & Infoset Query (Hit list) acts differently. i.e SAP Query has access to the Switch *$HR$ [COMMON] *$HR$ PROC_PERNR_PARTIAL_AUT = 'X' but Infoset Query doesn't have the access.

Please help on this.

Sachin.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

you shuold just specify authorization object P_ORGIN

for infotypes and the subtypes access rights.

Former Member
0 Kudos

Hi Duxton,

Thanks for the reply. However your solution doens't fix the problem. The authorizations are already in place. The problem here is with Partial Authorization i.e this User has authorization for IT 0105 with only one Subtype '0001' specified in the Role.

When using the Infoset Query the Per. No.s with subtypes 0001 & any other Subtype maintained in their IT 0105 are skipped. This is due to Partial Authorization & it's Normal SAP processing.

I'd like to override this processing so I've used something called Switch which are used in Queries.

Hope to get the solution from you.

Thanks,

Sachin.

Former Member
0 Kudos

Switch can be used, if you put the report ( derived from infoset query into a report tree ).

Pls see check <a href="http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVREP/BCSRVREP.pdf">http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVREP/BCSRVREP.pdf</a>

Former Member
0 Kudos

Thanks Duxton for the reply. We can directly execute the Query through SQ01 (SAP Query) which gives me the intended No. of Per. Records. However the requirement is to execute it through Infoset Query. Is there any way out?

Thanks once again,

Sachin.

Former Member
0 Kudos

I assume you already have the qeury at SQ01.

Select the query and execute it. Then go to status to see what is the generated report name. Think it should start with "AQASAM==="

I think you may use this to add to report tree. Good luck cos I hv not tried this part

McF
Advisor
Advisor
0 Kudos

Hi Sachin,

the Hitlist button can not do everything the generated query can.

Otherwise we could omit the button in total.

Please see note http://service.sap.com/sap/support/notes/514893 for details.

Regards,

Michael