User Parameters Table
Hi All,
I want to know the tables where the User Parameters are stored. By User parameter, i mean the The User Profile - Parameter ID & Value.
Any pointers would be helpful.
Thanks in advance,
Best regards,
Prashant
hi
good
USR01 User master record (runtime data)
USR02 Logon data
USR03 User address data
USR05 User Master Parameter ID
USR12 User master authorization values
thanks
mrutyun
Similar Messages
-
Query SQL with variables Parameters and user defined tables
Hi everyone
I got a problem about Query SQL
[dbo].[@CSOURCE] is a user defined table
select * from [dbo].[@CSOURCE]
you can get the result in following
code name
T01 newspaper
T02 TV
T03 radio
T04 friends
when I execute the following SQL Statements ,I get an error
SELECT T0.CardCode , 0.CardName ,T1.Name ,T2.SONumber
FROM OCRD T0 LEFT JOIN [dbo].[@CSOURCE] T1 ON T0.U_CSOURCE = T1.Code
LEFT JOIN (SELECT T0.CardCode ,COUNT(T0.DocNum)SONumber
FROM ODLN T0 INNER JOIN OCRD T1 ON T0.CardCode = T1.CardCode
WHERE T1.GroupCode =111
AND (T0.DocDate >=[%0] or [%0]='')
AND (T0.DocDate <=[%1] or [%1]='')
GROUP BY T0.CardCode) T2 ON T0.CardCode=T2.CardCode
WHERE T0.GroupCode =111
and T0.CardType ='C
Is there anyone can correct it for me
thank you very much
Edited by: Li Mishan on Jul 17, 2008 9:36 AM
Edited by: Li Mishan on Jul 17, 2008 9:40 AMI am sorry .It is just a mistake of my typewriting.
The following is the whole SQL
dbo.@CSOURCE is a user table.It's content is
code name
T01 newspaper
T02 TV
T03 radio
T04 friends
declare @m int
declare @FromDate DateTime
declare @ToDate DateTime
set @m=(SELECT count(*) FROM ORDR T0 WHERE T0.DocDate >=[%0] and T0.DocDate <=[%1])
set @FromDate=[%0]
set @ToDate=[%1]
/*****************If I do not connect user tavble dbo.@CSOURCE ,I will succed *****************************************************/
SELECT T0.CardCode ,T0.CardName ,T2.SONumber,T1.Name
FROM OCRD T0 LEFT JOIN [dbo].[@CSOURCE] T1 ON T0.U_CSOURCE = T1.Code
LEFT JOIN (
SELECT T0.CardCode ,COUNT(T0.DocNum)SONumber FROM ODLN T0 INNER JOIN OCRD T1 ON T0.CardCode = T1.CardCode
WHERE T1.GroupCode =111
AND (T0.DocDate >=@FromDate or @FromDate='')
AND (T0.DocDate <=@ToDate or @ToDate ='')
GROUP BY T0.CardCode
) T2 ON T0.CardCode=T2.CardCode
WHERE T0.GroupCode =111
and T0.CardType ='C'
when I excute the SQL, It return a error , whith says the column name '%0' is invalid.
If I delete "set @m=(SELECT count(*) FROM ORDR T0 WHERE T0.DocDate >=[%0] and T0.DocDate <=[%1])"
and rewrite "set @FromDate='2008.05.01' set @ToDate='2008.07.01' "
It Shows the following results
CardCode CardName SONumber name
1 000070 Deng. Jiahua 1 newspaper
2 000293 LU .Weijuan 1 radio
3 000313 Xie .Jifang 3 TV
Edited by: Li Mishan on Jul 18, 2008 4:42 AM
Edited by: Li Mishan on Jul 18, 2008 4:43 AM
Edited by: Li Mishan on Jul 18, 2008 5:43 AM -
Error creating user defined tables: Ref count (-1120)
Hi all !
I have to create user defined tables per code, so I wrote <b>2 main functions</b>, first <i>to create a table</i> (with TableName,TableType and TableDescription properties)and and <i>second to add fields</i> (to a certain table which is sent as parameter).
I call these functions to create multiple tables. For the first 6 tables it works totally ok. But beginning from the 7th table it gives that "<b>Ref count for this object is higher then 0.</b> " (-1120) error. All parameters are ok just as the first 6 tables.
Found such an explanation like below in help files.
<i>The DI API allows only one instance of a meta data object at a time. This maintains data integrity by preventing any manipulation of a business object while modifying the object's user fields. Therefore, verify that no other DI object is active except the meta data object.</i>
But why do I get such an error after sixth call of the function (but not beginning from the second table )?Gül,
Have you tried doing some grbage collection?
Search for a topic: "Add Usertables and Fields while having a recordset"
HTH
Juha -
User defined table types sometimes show up a unknown data type in Profiler
A couple of our users have a problem when using user defined table types. Calls are made using UDTT as variables and these are then passed to a stored procedure as parameters. Sometimes the application returns a timeout. In such situations a Profiler-Trace
shows the following:
declare @p4 unknown
whereas the correct trace (that is sometimes displayed) should be:
declare @p4 dbo.ReportFilterTableType
ReportFilterTableType is a UDTT. The users do have correct permissions for the UDTT (otherwise they would never be usable for the user). What could be the reason that the data types for the variable
@p4 in the example are sometimes returned as unknown and at other times are returned correctly as
ReportFilterTableType? Could this possibly be a network related issue?
Thank you.
Graham Goodwin Email: [email protected]I know this is a old post, but i am also facing the same issue that too in my production server. Did you find any workarround for this issue. Please do reply. Critical problem we are facing.
Alka, Is your problem timeouts when passing TVP parameters, or is it that a Profiler Trace shows type "unknown" for the TVP data type name?
If your problem is timeouts, be aware that TVPs do not have statistics so the optimizer might not be able to generate an optimal plan for non-trivial queries. Declaring a primary key or unique constraint on the table type may help since that will provide
useful cardinality information. You may need to resort to hints in some cases.
I suggest you start a new thread with details of your specific situation if the information in this thread doesn't help.
Dan Guzman, SQL Server MVP, http://www.dbdelta.com -
Can some one tell me the SAP USERS ROLE TABLE
I Will assign point to any input.
Balance Roll forward
Change Vendor Line Items
Change Parked Vendor Document
Change/ Reverse Vendor Invoice
Check Processing
Clear Accounts Payable Items
Display A/P Balance & Items
Display Checks
Display Vendor Documents
Display A/P Master Data
Display Parked Vendor Documents
Account Payable Interest Calculation
A/P Invoice Entry
A/P Accounting Key Reports
Manual Payment
Payments Using Bill of Exchange Display
Payment Run Parameters
Create and Process Payment Run Proposal
Accounts payable period closing
Post Parked Vendor Document
Maintenance of Accounts Payable Master Data
Process Withholding Taxgo to t code PFCG
Search for roles with SAP_FI_AP*
You could always create your own role.
In the Menu tab add the t codes you have specified.
You will then need to add the authorization objects in the authorization tabs.
For the t codes you have I guess it would take an hour max. -
Passing user parameters in interface
Hi,
How do I implement interface that accepts user parameters?Thanks for the response. :).
Hereunder is what I want to achieve:-
I have written two interfaces to do the loading from table (SQL) and file (txt), schema definition for both is the same, and data is different. The target is same for both.
I want to make the interface generic by passing an input variable @i
if @i = 1 then load from table
if @i = 2 then load from file
Is it achievable in ODI? -
Hello gurus,
any table is there in SAP for user exceptions?
i mean to say we are facing some problem with TMSADM user.i have reset that user.but its working for only 7 days. i have checked all the profile parameters finally i got one profile parameter regarding my problem.(login/reset_pwd_valid=7 some thing like that iam sure because of that profile parameter the tms pwd is working only 7 days.if i change that to 0 then My TMSADM will work fine.but the problem is if i change the profile paremeter it will effect all the users of that instance.simply its the process of breaking security. thats y iam searching for one table which is used to exceptions of users.like USR40 this is a password exception table. similarly any user exception table is there.
please advice me.....
this is very critical issue at my end....
hopefully i will wait for responses.See /thread/60371 [original link is broken]
-
How to pop-up a text box for a grid item on a user defined table?
Hello,
I have a user defined table with a grid & one of the columns is for comments. What I'm trying to do is to pop up a text box when double clicking in the column field. This would be the same as the Item Details column in the Sales Order ittems grid.
Thanks,
RonPlease post your question on SDK forum. Only SDK could meet your need.
Thanks,
Gordon -
Print Layout to User Defined Table
Hello guyz..
I want a make preprinted for my user query from user defined table where the header information is from another query.
I guess, the base template User Report (system) can only show the repetitve data from one query but the header area is not,
could you help, showing the header information from another query ??
Thanks RegardsRia
The word is that you cannot use the PLD with user defined tables (i wish it was possible). So in any case to do that you have to use third party tools such as Crystal Reports and Reporting Services -
Using one user account table across multiple databases but account used as a foreign key
I want to use one user account table from one database and use it across a couple other databases. The problem is that I want some tables to use the primary key from the user account table as a foreign key to access the data when the user logs in. Is this
the right way of going about it? Do I have to create a user account table in all my databases? What is the best practice to handle this problem? Thanks in advance.You can use Triggers or using replication.
more info:
Add Foreign Key relationship between two Databases
SQL Server Replication
Saeid Hasani [sqldevelop] -
Is it possible for the JDBC Lookup in PI 7.1 to read other user's table?
Hi,
I have the requirement of using the standard JDBC Lookup in PI 7.1. The user setup in the receiver JDBC adapter is only a service user that has a read access on some tables that are owned by another user or schema. When I am trying to do the import of Table's metadata, I can only see tables that are owned by the user setup in the receiver JDBC adapter.
Is there any any ways on how the user used in the receiver JDBC adapter can read another user's table (given that it has read access) during the import of Table's metadata?
Thank you in advacne for any response.
-NiroHi Matt,
I am struck in a similar kind of problem.
I have to do lookup from a view(not a table) available in a particular schema.
When i am using the external definition --> category dbtab
I am able to see all the tables available in the schema.Whereas i not able to see any views.
Please let me know how to proceed in such scenario?
Thanks,
Sudhansu -
How to create a Foreign key relationship between 2 user defined tables...
Hi Folks,
I have created two user defined tables... Where in i want to create foriegn key relationship between the 2 tables.... Can anyone guide the step by step procedure to do this scenario...
Any help would be highly appreciated...
ThanksHi
1. In the 2nd table call the field of the 1st table which is a primary key.
2. Give the same field and dataelement name.
3. Select that field and then click on the foreign key field icon which is beside Search Help button.
4. Then give short text, and the 1st table name.
5. Then in the below box give the 2nd table name and 2nd table field name which you have called from 1st table.
6. Then click on copy, then u will be able to see Check table name and check table field name beside foreign key table name.
7. Then again click on copy.
Regards
Haritha. -
How to fill the records from a User Define Table to PO item Grid
Hi To all,
I need to fill data from User Define table records into Purchase Order Item Grid.
I created an UDF Filed in PO - Header Part - "PRS"(Filed Name)
By using Formatted Search in itemcode column, i called a query,
"Select itemcode, qty from (@user define tablename) where PRS = $http://OPOR.U_PRS"
For eg:
Output from querry
ItemCode Qty
ABC 1
DEF 2
DFG 7
SDGD 9
By using formatted search it is filling only first data in to itemcode column in PO Grid.
Please help, how can i fill ALL the data in to my PO Grid?
Thanks in Advance
SAGARThe easisest way is to create datasource and the result bind to grid.
Datasource:
oDBDataSource = oForm.DataSources.DBDataSources.Add("@usertablename")
Dim xoConditions As SAPbouiCOM.Conditions
Dim xoCondition As SAPbouiCOM.Condition
xoConditions = New SAPbouiCOM.Conditions
xoCondition = xoConditions.Add
xoCondition.BracketOpenNum = 1
xoCondition.Alias = "u_zn"
xoCondition.Operation = SAPbouiCOM.BoConditionOperation.co_EQUAL
xoCondition.CondVal = "cond"
xoCondition.BracketCloseNum = 1
oDBDataSource.Query(xoConditions)
binding (example for matrix, in grid is simillar)
oMatrix.Clear()
Dim cols As SAPbouiCOM.Columns
Dim column As SAPbouiCOM.Column
cols = oMatrix.Columns
column = cols.Item("colX")
column.DataBind.SetBound(True, "@usertable", "u_x")
oMatrix.LoadFromDataSource()
hoep it helps
Petr -
Error while adding records in user defined table
Dear all,
I am adding a record in user defined table using .add() method. the code is given below. while adding it raises the following error
"-1[Microsoft] [SQL Native Client] [SQL Server] Conversion failed when converting the nvarchar value '-3 @BG_MAILSETTINGS' to data type int. (CINF). "
All the fields are varchar date type.
Dim oUDT As SAPbobsCOM.UserTable
oUDT = oCompany.UserTables.Item("BG_MAILSETTINGS")
With oForm.DataSources.UserDataSources
oUDT.Code = "1"
oUDT.Name = "SMTPSERVER"
oUDT.UserFields.Fields.Item("U_SERVER").Value = .Item("EDTSMTPSVR").ValueEx
oUDT.UserFields.Fields.Item("U_EMAIL").Value = .Item("EDTFEMAIL").ValueEx
oUDT.UserFields.Fields.Item("U_PORT").Value = .Item("EDTSMTPPRT").ValueEx
oUDT.UserFields.Fields.Item("U_USERNAME").Value = .Item("EDTSMTPUSR").ValueEx
oUDT.UserFields.Fields.Item("U_PASSWORD").Value = .Item("EDTSMTPPWD").ValueEx
oUDT.UserFields.Fields.Item("U_AUTHENT").Value = .Item("CMBSMTPAUT").ValueEx
K = oUDT.Add
If K <> 0 Then
oCompany.GetLastError(iErrCode, sErrMsg)
MsgBox(CStr(iErrCode) & "-" & sErrMsg, vbCritical, "Error")
Exit Sub
End If
End with
Could any one please say the solution for this.
Many thanks,
Manikandan.
Edited by: Rui Pereira on Dec 23, 2008 3:49 PMDear Manikandan P,
Is there any change and check in stored procedure SBO_SP_TransactionNotification?
Best Regards
Jane Jing
SAP Business One Forums team
Edited by: Rui Pereira on Dec 23, 2008 3:56 PM -
DI error when binding user defined table
Hi,
I am using matrix. Im binding a User defined table '@NEW' to a Datasource
oForm.DataSources.DBDataSources.Add("@NEW")
I also bind the fields to column of the matrix as given below
oColumn = oColumns.Item("CodeNo")
oColumn.DataBind.SetBound(True, "@NEW", "U_CodeNo")
When the table @New contains no records i get error while binding the fields to the matrix.
I tried the same using STANDARD SAP tables.I am not getting any error and it works fine.
Can anyone help me?Hi,
I am using matrix. Im binding a User defined table '@NEW' to a Datasource
oForm.DataSources.DBDataSources.Add("@NEW")
I also bind the fields to column of the matrix as given below
oColumn = oColumns.Item("CodeNo")
oColumn.DataBind.SetBound(True, "@NEW", "U_CodeNo")
When the table @New contains no records i get error while binding the fields to the matrix.
I tried the same using STANDARD SAP tables.I am not getting any error and it works fine.
Can anyone help me?
Maybe you are looking for
-
Support for CUCM 8.6 in B200 M3
Is the new B200 M3 a supported platform for deploying Cisco Unified Communication Manager 8.6? The tested reference configuration available at Unified Communication virtualization wiki does not list B200 M3 as a supported platform . Please can anyone
-
Logic Pro X additional content will download but won't install
Hi, I have Logic Pro X (10.0.1) installed on my 2012 Macbook Pro i7 2.6Ghz 8Gb Ram. I am able download the addition content but now just hangs & it has only installed the producer patches, surrond reverbs, garage band 11 sounds & instruments & the ja
-
Just bought a Lightning to SD card camera reader. Doesnt work. Now read a lot of bad reviews about the lightning connectors. ANyone else having this problem? Anyway to transfer photos by bluetooth?
-
Z10 and Q10 frequently asking for Office 365 password
I have an AT&T Z10, and a client has a Verizon Z10 and 2 Verizon Q10s. Both of us use Office 365 as our email service. With the lack of BB10 support in BBCS (Blackberry Cloud Service for Office 365) I was forced to set up all these devices on Activ
-
My laptop won't install free flash trial /it's shown" you have been signed out"
Please help