Querying CMS tables for users' security, history & favorites
Hello,
We are running BOBJ over a BW environment, and we've been asked to help design a Webdynpro interface that reads a user's security credentials in both BW and BOBJ servers and pulls in all reports, Bex or BOBJ, that they have access to.
To do this, we would need to query the CMS tables for:
All reports a user is authorized to view
Groups a user is associated with
User's History
User's Favorites
Does anyone have suggestions? I've researched Query Builder, but I'm not sure if it can help us, as it accesses three virtual tables instead of the physical tables in the CMS. The option I am guessing we will need to use is SDK.
I'm fairly new to both BW and BOBJ, so any advice is appreciated.
Thanks
Scott
Hello Scott,
Did you check the possibility of using Audit universe and reports? Please check below link for some useful sample files.
http://scn.sap.com/docs/DOC-53904
Regards,
Nikhil Joy
Similar Messages
-
Tables for purchase order history
what r the tables for purchase order history.
thanks in advanceHi Srinivas,
Check out the link for detail PP module and tables.
http://www.sap-img.com/sap-pp.htm
Hope this helps.
Manish -
Hi All,
Does anyone know the Table for User Parameter IDs?
Thanks in AdvanceHi Duke,
USR01 User master record (runtime data)
USR02 Logon data
USR03 User address data
USR04 User master authorizations
USR05 User Master Parameter ID
Regards,
Ashok -
Table for user status field in CJ20n transaction project defination
HI ALL,
what is table for user status field in CJ20n transaction project defination creation. This field is in Basic Data tab.
Thanks.Hi,
Check following tables for Usre status:
TJ30 - User status
TJ30T - Texts for user status
TJ20 - Status profile
JEST - Object status
JSTO- WBS status profile.
Check this code:
REPORT zps_get_userstatus .
PARAMETERS: p_posid LIKE prps-posid.
*-- Constants
CONSTANTS: gc_yes(1) TYPE c VALUE 'X',
gc_no(1) TYPE c VALUE ' '.
*-- Variables
DATA: l_objnr LIKE prps-objnr.
*-- Internal tables
DATA: BEGIN OF lit_jest OCCURS 0,
objnr LIKE jest-objnr,
stat LIKE jest-stat,
END OF lit_jest.
DATA: BEGIN OF lit_jsto OCCURS 0,
objnr LIKE jsto-objnr,
stsma LIKE jsto-stsma,
END OF lit_jsto.
DATA: BEGIN OF lit_status OCCURS 0, "Combination of JEST & JSTO
objnr LIKE jest-objnr,
stsma LIKE jsto-stsma,
stat LIKE jest-stat,
END OF lit_status.
DATA: BEGIN OF lit_usrsta OCCURS 0, "Uer status for all wbs
objnr LIKE jest-objnr,
stsma LIKE jsto-stsma,
stat LIKE tj30t-estat,
txt04 LIKE tj30t-txt04,
END OF lit_usrsta.
DATA: BEGIN OF lit_usrtxt OCCURS 0, "User Status text - TJ30T
stsma LIKE tj30t-stsma,
stat LIKE tj30t-estat,
txt04 LIKE tj30t-txt04,
END OF lit_usrtxt.
* get WBS object number
SELECT SINGLE
objnr FROM prps
INTO l_objnr
WHERE posid = p_posid.
* get WBS active status from table JEST
SELECT
objnr
stat
FROM jest INTO TABLE lit_jest
WHERE objnr = l_objnr AND
inact <> gc_yes.
* get WBS status profile from table JSTO
SELECT
objnr
stsma FROM jsto
INTO TABLE lit_jsto
WHERE objnr = l_objnr.
* combine JEST and JSTO table for user status
LOOP AT lit_jest.
IF lit_jest-stat CP 'E++++'.
READ TABLE lit_jsto WITH KEY
objnr = l_objnr.
IF sy-subrc = 0.
lit_status-objnr = lit_jest-objnr.
lit_status-stsma = lit_jsto-stsma.
lit_status-stat = lit_jest-stat.
APPEND lit_status.
ENDIF.
ENDIF.
CLEAR: lit_jsto, lit_status.
ENDLOOP.
* get text for user status
SELECT DISTINCT
stsma
estat
txt04 FROM tj30t
INTO TABLE lit_usrtxt
FOR ALL ENTRIES IN lit_status
WHERE stsma = lit_status-stsma AND
estat = lit_status-stat AND
spras = sy-langu.
Let me know if you have any question.
Regards,
RS -
hi
Please tell anybody what is the table for User Status Profile in Sales Orders? where it will stores?
Regards
RajendraHi,
Use table JEST
Here you will have to enter the object number as an input field
Get object number from table VBAK or VBAP based on whether the status profile is attached at sales order header or at sales order item.
Status which is active will start with letter E and the status inactive flag will be blank.
Regards
Ravi -
Hello Experts,
I am new for SAP.I have a problem i need that standard table which store user working history. Actually i was using a table in my one application but someone by mistake has been deleted that table and i don't know who do that. Now i want to know that when and who deleted that table.Or tell me the procedure how i can know that.
Thanks in advance.
VishuHi,
U can see tables:
USR01 User master record (runtime data)
USR02 Logon data
USR03 User address data
USR05 User Master Parameter ID
USR12 User master authorization values
cheers,
Simha.
<b>Reward if it is needful..</b> -
MDX Query much slower for users without administrativ rights
We have a SQL 2012 SP1 with CU9 installed and run a MDX query against a Cube. The Problem is that the query runs very slow for a user without administrativ persmission on the cube. With admin rights it takes 3 seconds and without 30 seconds. I can't find
any error in the query so maybe someone can pin point me in the right direction.The Role has all reading information it needs.
This is the Query:
SELECT NON EMPTY { [Measures].[Blocked Consignment], [Measures].[Consignment in Inspection],
[Measures].[Restricted Consignment], [Measures].[Unrestricted Consignment] } ON COLUMNS, NON EMPTY
{ ([Date].[Date].[Date].ALLMEMBERS * [Materials].[Part Number].[Part Number].ALLMEMBERS *
[Materials].[Key].[Key].ALLMEMBERS * [Sold To].[Name].[Name].ALLMEMBERS *
[Stock Information].[Plant - Storage Location].[Storage Location].ALLMEMBERS * [Non Zero].[Zero Stock Status].[Zero Stock Status].ALLMEMBERS ) }
ON ROWS
FROM ( SELECT ( STRTOSET("[Non Zero].[Zero Stock Status].&[No]", CONSTRAINED) )
ON COLUMNS FROM ( SELECT ( STRTOSET("[Stock Information].[Storage Location].&[1090]", CONSTRAINED) )
ON COLUMNS FROM ( SELECT ( STRTOSET("[Stock Information].[Plant].&[1090]", CONSTRAINED) )
ON COLUMNS FROM ( SELECT ( STRTOSET("[Sold To].[Name].[All]", CONSTRAINED) )
ON COLUMNS FROM [Stock Snapshot]))))
WHERE ( IIF( STRTOSET("[Stock Information].[Plant].&[1090]", CONSTRAINED).Count = 1, STRTOSET("[Stock Information].[Plant].&[1090]", CONSTRAINED), [Stock Information].[Plant].currentmember ),
IIF( STRTOSET("[Stock Information].[Storage Location].&[1090]", CONSTRAINED).Count = 1, STRTOSET("[Stock Information].[Storage Location].&[1090]", CONSTRAINED), [Stock Information].[Storage Location].currentmember ) )
Any one came across this is or is it a bug?Can you check which build of SSAS you've got installed? It looks similar to this bug:
http://support.microsoft.com/kb/2905298/en-us
Apart from that, if you have used cell security in your role, it would be expected that query performance would be slower for users of that role.
Chris
Check out my MS BI blog I also do
SSAS, PowerPivot, MDX and DAX consultancy
and run public SQL Server and BI training courses in the UK -
Tables for User Details & User Tcode Details.
Hi all,
I'm need of the tables as per the criteria given below.
1. User List
2. Tcodes associated with the User.
Also let me know if there is any Standard Report that returns list of users with tcodes associated with them.
Can anyone help me out?
Thank You.Hi Shrilath,
You can use tcode SUIM - (User info system- most user related report can be found here).
SAP has provided you with the SUIM tool for these kind of generic requirement, so avoid using this than creating your own custom program(no reinvention of the WHEEL).
As about you requirement, execute tcode SUIM
Execute the selection "Executable for User" and Enter user name
You will be listed with all the tcode the user can execute in the system.
As about your initial requirement to get all users in the system.
You can execute the User section (drill down on first screenshot), and execute without any filter values on address or user name. You should get all the users in the system
Thanks & Regards,
Tashi -
Dear Experts,
I want the table to get the Telephone phone number of all users to send an SMS.
Actuall i am getting the telephone number of a user from "BAPI_USER_GET_DETAIL".
But i want all user phone numbers at a time.
For that i need table to get all the phone numbers.
Please tell me if there is any table.
Regards,
Eswar.Hi Eswar,
I think the table you're looking for is ADR2, and stores telephone numbers from users and business partners.
For consulting the table, you'll need an address number.
For users addresses numbers, please consult table USR21
For business partners addresses numbers, please consult table BUT020
Kind regads,
Garcia -
How to list all available tables for user "karl"
How can I list all available tables (=table names) for user "karl"?
Nice to have would be if (after each table name in another column of each row) the number of data rows in this table can be listed similar to:
TABLE NUM ROWS
TESTA 12
TESTB 3455
ANOTHERTAB 234
How can I do this?from Laurent Schneider
http://laurentschneider.com/wordpress/2007/04/how-do-i-store-the-counts-of-all-tables.html
SQL> select
2 table_name,
3 to_number(
4 extractvalue(
5 xmltype(
6 dbms_xmlgen.getxml('select count(*) c from '||table_name))
7 ,'/ROWSET/ROW/C')) count
8 from user_tables;
TABLE_NAME COUNT
DEPT 4
EMP 14
BONUS 0
SALGRADE 5 -
once we add additional functionality to predefined tranction(enchancenement) where it will be saved?(is there any table for store that data . plz help me
once we add additional functionality to predefined tranction(enchancenement) where it will be saved?(is there any table for store that data . plz help me
-
Script needed to query last logon for users within an AD security group
Hi all,
I'm looking for a vbscript that will query a specific AD security group, and export the following information into an Excel document:
1. Full name of the user.
2. A timestamp of the last logon for each user.
Any help would be great.At the moment I'm using a batch script to attempt to query a few different security groups. Below is a line from the script:
dsquery group -samid <group name> | dsquery * -filter "&(objectClass=person)(ObjectCategory=user)" -attr cn lastLogonTimestamp
There a two issues with the command.
1. The results aren't being pulled from the security group specified.
2. The timestamp is in an unreadable format. I've understand this needs to be converted?
The Powershell option looks handy, but sadly the clients environment is Server 2003 based with no Powershell option. -
How to popup form according to query by CFL for user defined tables?
Hi Experts!
Please write a simple code for adding CFL in UDO and popup the window according to query. suppose i want to execute query
"select code,name from [@WITM]". I want to add CFL in edittext which is on UDO. how can we add CFL in that Edittext by code.
Thanking You
vishwajit kumarHi Vishwajit,
Please response to your previous posting or close it first. Whatever the answer working or not, you need reply.
Thanks,
Gordon -
Need Help to query Lync Database for User Information
Need Help to Query the lync database to retrieve below user information.
1. SIP Address of the registered user
2. Phone Number configured to the particular account.
3. IP Address
4. Last Logged in time.
I am trying to pull the above information from rtc database for all the registered users. Please let me know if this is possible and it would be great if you can throw some light on what tables to look for the data. Thank You.Hi,
For SIP address and Phone number you can check RTC database.
IP Address:
You can refer to the link below to query IP address:
http://h30499.www3.hp.com/t5/Business-Service-Management-BAC/Monitoring-Lync-with-the-User-Registrations-Viewer-Free-NMC-tool/ba-p/5961497#.UtOU43mIrwo
Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there.
Please make sure that you completely understand the risk before retrieving any suggestions from the above link.
Last Logged in time:
You can refer to the link below:
http://blogs.technet.com/b/dodeitte/archive/2011/05/11/how-to-get-the-last-time-a-user-registered-with-a-front-end.aspx
Best Regards,
Eason Huang
Eason Huang
TechNet Community Support -
Query SQ01: Table for customer revenue
Hi,
I have created a query using amongst other table KNKK. The requirement his now to get for a customer (in all sales-areas and company code) the total revenue for a give year. What is the best way to acheive this? Is there a table i could use which stores this kind of information?
Kind regardsTable VBREVE-RVAMT is the revenue amount
I think you must get the G/L Account Number for the customer and pass it here.
table CO01 gives the GL account based on customer account group,
Or you can get the Sales Document of the customer and pass it to table VBREVE.
or just try passing the customer to field VBREVE-KUNAG and check.
Just give a try
Problem is that only some of our customer invoices are updated in VBREVE, that is we are only doing revenue recognition for some invoice types.
Maybe you are looking for
-
Error in SE16n - PIR exsist only in EINE table & does not exist in EINA tab
Hello All, This is regarding error in Pucrahsing Info Record in which PIR only exist in EINE table & not in EINA table. This is not normal behavior of SAP standard. In this issue we are able to see P. Info Record (5300083719) details in EINE table on
-
Single Excise Invoice Posting against multiple Goods Receipt.
Hi, We made a Purchase Order, say 4500000753, of 100 Qty, The Vendor sent us the Material in two different Challans but in same date and two created two Material Documents,say 5000000772 & 5000000773 for Goods Receipt. The Vendor sent us single Excis
-
I am trying to import my photos from the computer. I went into ITunes, connected my Iphone and went under the photo section expecting to see a check box for syncing. It's not there and all I have is a note about Icloud. Can anyone help?
-
Retrieving xpath in any xml type service
Hi, We have any xml service type proxy which receives 2 different types of XML messages.In one of the XML messages,we need to branch out based on value of certain element. But xpath doesn't seem to work.Xpath retrieved using messaging type service is
-
Making still picture from movie
I made a still picture from my movie. (which you can do in the old iMovie) but it won't let me drag it into iMovie08. The still picture shows up as a mp4. Is there a way to convert to jpeg? How can I make a picture out of a movie and have it work in