‎2009 Oct 28 7:26 AM
Hi,
I have made a sap query by transaction code SQVI, now i want to know the table name where information like user-id , author,infoset is contained. I found that table AQLQCAT CONTAINSI info about query name and infoset but not about user-id..plz help me in this.
Thanks.
Ranjna.
‎2009 Oct 28 9:35 AM
RSAQ_EXIST_CHECK_INFOSET
use this FM
Function module RSAQ_EXIST_CHECK_INFOSET
I_WSPACE G
I_INFOSET ==>infoset name here.
I_VARIANT G
Export parameters Value
O_HEADSG ==>you will get evry thing here
‎2009 Oct 28 7:32 AM
Hi,
First you have to understand that there will be 3 components for SAP Query: Infoset(SQ02), Query(SQ01) and User Group-SQ03
(You can assign Infosets/Queries to the user group)...Hence there is no concept as user id..Atmost you can have the user who created the query/Infoset...
You can set authorization at the user group so that only the users in the specific user group can access the SAP Query...
Below are the main tables:
AQLQCAT: Holds the infoset/Query/User Group for Local Query area(Client Specific)
AQGQCAT:Holds the infoset/Query/User Group for Global Query area(Cross Specific)
Hope this helps
Regards
Shiva
‎2009 Oct 28 7:38 AM
hi,
thanks . I have already checked table AQLQCAT, but it does not contain name of user who created this SAP QUERY, plz help me in this.
‎2009 Oct 28 8:46 AM
Hi,
Check below table that has users in the user group...
AQGDBBG
AQGDBBN
Hope this helps
regards
Shiva
‎2009 Oct 28 9:35 AM
RSAQ_EXIST_CHECK_INFOSET
use this FM
Function module RSAQ_EXIST_CHECK_INFOSET
I_WSPACE G
I_INFOSET ==>infoset name here.
I_VARIANT G
Export parameters Value
O_HEADSG ==>you will get evry thing here