Meaning of User types & their use....
Hi all,
Please explain me below user types and their significance in brief:
USR02-USTYP Description
A Dialog
B System User (Internal RFC and Background Processing)
C Communication User (External RFC)
L Reference User
S Service User
Regards,
Sachin
User Type
Dialog 'A'
A normal dialog user is used by one person only for all types of logon.
During a dialog logon, the system checks for expired and initial passwords and provides an option to change the password.
Multiple dialog logons are checked and logged if necessary.
System 'B'
Use the system user type for internal system processes (-> background processing) or system-related processes (-> ALE, workflow, TMS, CUA).
Dialog logon (using SAP GUI) is not possible.
A user of this type is excluded from the general settings for password validity. Only user administrators can change the password using transaction SU01 (Goto -> Change Password).
Multiple logons are permissible.
Communication 'C'
Use users of type Communication for dialog-free communication between systems (-> RFC or CPIC) .
Dialog logon (using SAP GUI) is not possible.
The general settings for the validity period of a password apply to users of this type. Users of this type can change their passwords (like dialog users). The dialogs for changing the password must be provided by the caller (RFC/CPIC client). You can use the RFC function module USR_USER_CHANGE_PASSWORD_RFC or the RFC API function RfcOpenEx() to change the password.
Service 'S'
A user of the type Service is a dialog user that is available to an anonymous, larger group of users. Generally, this type of user should only be assigned very restricted authorizations.
For example, service users are used for anonymous system access using an ITS service or a public Web service. Once an individual has been authenticated, a session that started anonymously using a service user can be continued as a personal session using a dialog user (see SUSR_INTERNET_USERSWITCH)
During logon, the system does not check for expired and initial passwords. Only the user administrator can change the password.
Multiple logon is allowed.
Reference 'L'
Like the service user, a reference user is a general user, not assigned to a particular person. You cannot log on using a reference user. The reference user is only used to assign additional authorization. Reference users are implemented to equip Internet users with identical authorizations.
On the Roles tab, you can specify a reference user for additional rights for dialog users. Generally, the application controls the allocation of reference users. You can allocate the name of the reference user using variables. The variables should begin with "$". You assign variables to reference users in transaction SU_REFUSERVARIABLE.
This assignment applies to all systems in a CUA landscape. If the assigned reference user does not exist in one of the CUA child systems, the assignment is ignored.
Similar Messages
-
Unknown User Type Error using Add-AzureAccount
Using the following code in an Azure automation runbook from the Portal (attempting to start a VM):
workflow VMStart
$Cred = Get-AutomationPSCredential –Name automationuser
Add-AzureAccount -Credential $Cred
Select-AzureSubscription -SubscriptionName "MySubscription"
Start-AzureVM -ServiceName "MyServiceName" -Name "MyVirtualMachine" -force
I get the following errors in the Output Pane:
1/15/2015 4:53:09 PM, Error: Add-AzureAccount : unknown_user_type: Unknown User Type
At VMStart:7 char:7
+
+ CategoryInfo : CloseError: (:) [Add-AzureAccount], AadAuthenticationFailedException
+ FullyQualifiedErrorId : Microsoft.WindowsAzure.Commands.Profile.AddAzureAccount
1/15/2015 4:53:10 PM, Error: Select-AzureSubscription : The subscription named 'MySubscription' cannot be found. Use Set-AzureSubscription to
initialize the subscription data.
Parameter name: name
At VMStart:9 char:9
+
+ CategoryInfo : CloseError: (:) [Select-AzureSubscription], ArgumentException
+ FullyQualifiedErrorId : Microsoft.WindowsAzure.Commands.Profile.SelectAzureSubscriptionCommand
1/15/2015 4:53:10 PM, Error: Start-AzureVM : A parameter cannot be found that matches parameter name 'force'.
At VMStart:11 char:11
+
+ CategoryInfo : InvalidArgument: (:) [Start-AzureVM], ParameterBindingException
+ FullyQualifiedErrorId :
NamedParameterNotFound,Microsoft.WindowsAzure.Commands.ServiceManagement.IaaS.StartAzureVMCommand
I can't find any information on the "Unknown User Type" error.
Any ideas?
Thanks,
ScottHi Joe -
I attempted to install the Azure Powershell using the instructions here:
http://azure.microsoft.com/en-us/documentation/articles/install-configure-powershell/
Upon completion I was unable to find Azure Powershell from Start/Programs:
I then attempted to re-install Azure Powershell. Initially, it came up with the error: "There was an error loading custom feed: 'http://www.microsoft.com/web/webpi/2.0/ToolsProductList.xml'. Error: 'ProductId PHP not found.'."
I clicked OK and WPI indicated that the Azure Powershell would be installed. I clicked INSTALL and WPI showed Azure Powershell in the list, but the Total File Download size was 0MB. I clicked I ACCEPT and it immediately blinked back that Azure
Powershell was installed.
When I clicked FINISH, however, the following was displayed:
Here is the the log file from the latest attempt:
DownloadManager Information: 0 : Loading product xml from: https://go.microsoft.com/?linkid=9842185
DownloadManager Information: 0 : https://go.microsoft.com/?linkid=9842185 responded with 302
DownloadManager Information: 0 : Response headers:
HTTP/1.1 302 Found
Cache-Control: private
Content-Length: 175
Content-Type: text/html; charset=utf-8
Expires: Fri, 16 Jan 2015 17:18:12 GMT
Location: https://www.microsoft.com/web/webpi/5.0/webproductlist.xml
Server: Microsoft-IIS/8.5
X-AspNet-Version: 2.0.50727
X-Powered-By: ASP.NET
Date: Fri, 16 Jan 2015 17:19:11 GMT
DownloadManager Information: 0 : https://www.microsoft.com/web/webpi/5.0/webproductlist.xml responded with 304
DownloadManager Information: 0 : Response headers:
HTTP/1.1 304 Not Modified
Content-Type: text/xml
Last-Modified: Thu, 15 Jan 2015 19:17:09 GMT
ETag: "246ac1dbf730d01:0"
Cache-Control: max-age=280
Date: Fri, 16 Jan 2015 17:19:12 GMT
Connection: keep-alive
X-CCC: US
X-CID: 2
DownloadManager Information: 0 : Remote file has not changed, using local cached file: C:\Users\Scott\AppData\Local\Microsoft\Web Platform Installer\1343597488.xml.temp
DownloadManager Information: 0 : Filtering by current OS
DownloadManager Information: 0 : Loading product xml from: https://www.microsoft.com/web/webpi/5.0/webapplicationlist.xml
DownloadManager Information: 0 : https://www.microsoft.com/web/webpi/5.0/webapplicationlist.xml responded with 304
DownloadManager Information: 0 : Response headers:
HTTP/1.1 304 Not Modified
Content-Type: text/xml
Last-Modified: Fri, 17 Oct 2014 12:44:38 GMT
ETag: "97c9cd1c8eacf1:0"
Cache-Control: max-age=296
Date: Fri, 16 Jan 2015 17:19:14 GMT
Connection: keep-alive
X-CCC: US
X-CID: 2
DownloadManager Information: 0 : Remote file has not changed, using local cached file: C:\Users\Scott\AppData\Local\Microsoft\Web Platform Installer\-97141593.xml.temp
DownloadManager Information: 0 : Filtering by current OS
DownloadManager Information: 0 : Sucessfully loaded the feed 'https://www.microsoft.com/web/webpi/5.0/webapplicationlist.xml' after preprocessing, location on disk: 'C:\Users\Scott\AppData\Local\Microsoft\Web Platform Installer\preprocessor\-97141593.xml'
DownloadManager Information: 0 : Loading product xml from: https://www.microsoft.com/web/webpi/5.0/mediaproductlist.xml
DownloadManager Information: 0 : https://www.microsoft.com/web/webpi/5.0/mediaproductlist.xml responded with 304
DownloadManager Information: 0 : Response headers:
HTTP/1.1 304 Not Modified
Content-Type: text/xml
Last-Modified: Thu, 08 May 2014 18:42:31 GMT
ETag: "26a51545ed6acf1:0"
Cache-Control: max-age=372
Date: Fri, 16 Jan 2015 17:19:15 GMT
Connection: keep-alive
X-CCC: US
X-CID: 2
DownloadManager Information: 0 : Remote file has not changed, using local cached file: C:\Users\Scott\AppData\Local\Microsoft\Web Platform Installer\-230948881.xml.temp
DownloadManager Information: 0 : Filtering by current OS
DownloadManager Information: 0 : Sucessfully loaded the feed 'https://www.microsoft.com/web/webpi/5.0/mediaproductlist.xml' after preprocessing, location on disk: 'C:\Users\Scott\AppData\Local\Microsoft\Web Platform Installer\preprocessor\-230948881.xml'
DownloadManager Information: 0 : Loading product xml from: https://www.microsoft.com/web/webpi/5.0/ToolsProductList.xml
DownloadManager Information: 0 : https://www.microsoft.com/web/webpi/5.0/ToolsProductList.xml responded with 304
DownloadManager Information: 0 : Response headers:
HTTP/1.1 304 Not Modified
Content-Type: text/xml
Last-Modified: Tue, 21 Oct 2014 20:26:36 GMT
ETag: "247eed4f6dedcf1:0"
Cache-Control: max-age=278
Date: Fri, 16 Jan 2015 17:19:15 GMT
Connection: keep-alive
X-CCC: US
X-CID: 2
DownloadManager Information: 0 : Remote file has not changed, using local cached file: C:\Users\Scott\AppData\Local\Microsoft\Web Platform Installer\-1135381691.xml.temp
DownloadManager Information: 0 : Filtering by current OS
DownloadManager Information: 0 : Sucessfully loaded the feed 'https://www.microsoft.com/web/webpi/5.0/ToolsProductList.xml' after preprocessing, location on disk: 'C:\Users\Scott\AppData\Local\Microsoft\Web Platform Installer\preprocessor\-1135381691.xml'
DownloadManager Information: 0 : Loading product xml from: https://www.microsoft.com/web/webpi/5.0/enterpriseproductlist.xml
DownloadManager Information: 0 : https://www.microsoft.com/web/webpi/5.0/enterpriseproductlist.xml responded with 304
DownloadManager Information: 0 : Response headers:
HTTP/1.1 304 Not Modified
Content-Type: text/xml
Last-Modified: Thu, 08 May 2014 18:42:32 GMT
ETag: "8285645ed6acf1:0"
Cache-Control: max-age=60
Date: Fri, 16 Jan 2015 17:19:15 GMT
Connection: keep-alive
X-CCC: US
X-CID: 2
DownloadManager Information: 0 : Remote file has not changed, using local cached file: C:\Users\Scott\AppData\Local\Microsoft\Web Platform Installer\-1877981721.xml.temp
DownloadManager Information: 0 : Filtering by current OS
DownloadManager Information: 0 : Sucessfully loaded the feed 'https://www.microsoft.com/web/webpi/5.0/enterpriseproductlist.xml' after preprocessing, location on disk: 'C:\Users\Scott\AppData\Local\Microsoft\Web Platform Installer\preprocessor\-1877981721.xml'
DownloadManager Information: 0 : Sucessfully loaded the feed 'https://go.microsoft.com/?linkid=9842185' after preprocessing, location on disk: 'C:\Users\Scott\AppData\Local\Microsoft\Web Platform Installer\preprocessor\1343597488.xml'
DownloadManager Information: 0 : Loading product xml from: http://www.microsoft.com/web/webpi/2.0/ToolsProductList.xml
DownloadManager Information: 0 : Content-Encoding header: 'gzip'
DownloadManager Information: 0 : Number of bytes downloaded over the internet: '14692'
DownloadManager Information: 0 : Number of bytes after possible decompression: '104283'
DownloadManager Information: 0 : Failed to load the feed 'http://www.microsoft.com/web/webpi/2.0/ToolsProductList.xml' after preprocessing, location on disk: 'C:\Users\Scott\AppData\Local\Microsoft\Web Platform Installer\preprocessor\883561549.xml.err'
DownloadManager Error: 0 : Error loading downloaded product file: 'System.InvalidOperationException: ProductId PHP not found.
at Microsoft.Web.PlatformInstaller.DependencyProduct.ResolveProductIds(ProductManager pm)
at Microsoft.Web.PlatformInstaller.DependencyLogicalAnd.ResolveProductIds(ProductManager pm)
at Microsoft.Web.PlatformInstaller.Product.ResolveIDs()
at Microsoft.Web.PlatformInstaller.ProductManager.LoadFromXmlInternal(LineInfoDocument xmlDoc, Boolean loadEnclosures)
at Microsoft.Web.PlatformInstaller.ProductManager.LoadFromXml(LineInfoDocument document, Boolean loadEnclosures)
at Microsoft.Web.PlatformInstaller.ProductManager.LoadFromXml(String xmlFile, Boolean loadEnclosures)
at Microsoft.Web.PlatformInstaller.ProductManager.Load(Uri productFileUrl, Boolean filterByArchitectureAndOS, Boolean loadEnclosures, Boolean useCachedVersion, String cacheDirectory, Architecture architecture, Int32 osType)'
DownloadManager Information: 0 : Content-Encoding header: 'gzip'
DownloadManager Information: 0 : Number of bytes downloaded over the internet: '14692'
DownloadManager Information: 0 : Number of bytes after possible decompression: '104283'
DownloadManager Information: 0 : Failed to load the feed 'http://www.microsoft.com/web/webpi/2.0/ToolsProductList.xml' after preprocessing, location on disk: 'C:\Users\Scott\AppData\Local\Microsoft\Web Platform Installer\preprocessor\883561549.xml.err'
DownloadManager Error: 0 : Error loading feed http://www.microsoft.com/web/webpi/2.0/ToolsProductList.xml: System.InvalidOperationException: ProductId PHP not found.
at Microsoft.Web.PlatformInstaller.DependencyProduct.ResolveProductIds(ProductManager pm)
at Microsoft.Web.PlatformInstaller.DependencyLogicalAnd.ResolveProductIds(ProductManager pm)
at Microsoft.Web.PlatformInstaller.Product.ResolveIDs()
at Microsoft.Web.PlatformInstaller.ProductManager.LoadFromXmlInternal(LineInfoDocument xmlDoc, Boolean loadEnclosures)
at Microsoft.Web.PlatformInstaller.ProductManager.LoadFromXml(LineInfoDocument document, Boolean loadEnclosures)
at Microsoft.Web.PlatformInstaller.ProductManager.LoadFromXml(String xmlFile, Boolean loadEnclosures)
at Microsoft.Web.PlatformInstaller.ProductManager.Load(Uri productFileUrl, Boolean filterByArchitectureAndOS, Boolean loadEnclosures, Boolean useCachedVersion, String cacheDirectory, Architecture architecture, Int32 osType)
at Microsoft.Web.PlatformInstaller.ProductManager.LoadExternalFile(Uri uri)
at Microsoft.Web.PlatformInstaller.ProductServiceImpl.LoadProducts(String primaryFeed, String[] feeds)
DownloadManager Information: 0 : Getting ratings file from http://go.microsoft.com/?linkid=9752395
DownloadManager Information: 0 : Contextual entry products: WindowsAzurePowerShell
DownloadManager Information: 0 : Adding product Microsoft Azure PowerShell with Microsoft Azure SDK (WindowsAzurePowershell) to cart
DownloadManager Information: 0 : Contextual navigation to product 'WindowsAzurePowershell'
DownloadManager Information: 0 : http://go.microsoft.com/?linkid=9752395 responded with 302
DownloadManager Information: 0 : Response headers:
HTTP/1.1 302 Found
Cache-Control: private
Content-Length: 203
Content-Type: text/html; charset=utf-8
Expires: Fri, 16 Jan 2015 17:18:17 GMT
Location: http://www.microsoft.com/web/handlers/WebPI.ashx?command=getatomfeedwithavgratingquery
Server: Microsoft-IIS/8.5
X-AspNet-Version: 2.0.50727
X-Powered-By: ASP.NET
Date: Fri, 16 Jan 2015 17:19:16 GMT
DownloadManager Information: 0 : Content-Encoding header: 'gzip'
DownloadManager Information: 0 : Number of bytes downloaded over the internet: '22570'
DownloadManager Information: 0 : Number of bytes after possible decompression: '75392'
DownloadManager Warning: 0 : Error getting last-modified header, error code: 12150
DownloadManager Warning: 0 : HttpQueryInfoWithRetry for HTTP_QUERY_LAST_MODIFIED failed.
DownloadManager Information: 0 : Ratings file loaded successfully
DownloadManager Information: 0 : Dependent product WindowsAzurePowershellOnly does not apply for current OS / configuration. Not adding
DownloadManager Information: 0 : Dependent product WindowsManagementFramework_86_64 does not apply for current OS / configuration. Not adding
DownloadManager Information: 0 : Dependent product WindowsAzurePowershellOnly does not apply for current OS / configuration. Not adding
DownloadManager Information: 0 : Dependent product WindowsManagementFramework_86_64 does not apply for current OS / configuration. Not adding
DownloadManager Information: 0 : Dependent product WindowsAzurePowershellOnly does not apply for current OS / configuration. Not adding
DownloadManager Information: 0 : Dependent product WindowsManagementFramework_86_64 does not apply for current OS / configuration. Not adding
DownloadManager Information: 0 : Adding product 'WindowsAzurePowershell'
DownloadManager Information: 0 : Setting current install to 1
DownloadManager Information: 0 : Starting install sequence
DownloadManager Information: 0 : Starting EXE command for product 'Microsoft Azure PowerShell with Microsoft Azure SDK'. Commandline is: 'C:\Windows\system32\cmd.exe /C echo noop'. Process Id: 5308
DownloadManager Information: 0 : Install exit code for product 'Microsoft Azure PowerShell with Microsoft Azure SDK' is '0'
DownloadManager Information: 0 : Install return code for product 'Microsoft Azure PowerShell with Microsoft Azure SDK' is Success
DownloadManager Information: 0 : Product Microsoft Azure PowerShell with Microsoft Azure SDK done install completed
DownloadManager Information: 0 : Increasing current install to 2
DownloadManager Information: 0 : Product: WindowsAzurePowershell, Install Status: InstallCompleted-Success, Install Time: 00:00:00.0560000
DownloadManager Information: 0 : Clearing cart
I did attempt to open the regular Powershell and use the command Get-AzureVM, but the following error was returned:
The term 'Get-AzureVM' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the
spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:12
+ Get-AzureVM <<<<
+ CategoryInfo : ObjectNotFound: (Get-AzureVM:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
Any advice appreciated...
Thanks,
Scott -
Hi
Calling gurus.
When gererating RFC users for the READ and TMW rfc's in Solution Manager users gets generated, and I know the user type is Communication user, however should you be forced to have to create your own users to use within this rfc would it be best to stick to communication user type, or could a system user type be used.
It is my understanding that logon via read rfc should not be allowed as it could be a security risk.
If I am on the wron track please enlighten me or point me towards a conclusive best practice regarding this.
Thanks in advance.Hello again Paul,
1.-
At the same 2008 manual "Activating the SAP EarlyWatch Alert on Solution Manager 7.0" yo can see on page 11 this:
...A working dialog connection such as *TRUSTED or LOGIN. Once the *BACK destination is created, these can be deleted again...
This prerequisites are need for the creation ob RFC "_BACK" on remote system, but for remote call of sdccn the prerequisites on Page 15 are not enough !!!
If you want to call remotely sdccn from solution manager you need a dialog trusted connection.
I have just tested on our solution manager 5 minutes ago, you are invited to our solution manager if you want to check it.
2.-
What about this:
My question is, Will take into account SAP this users for the "SAP Security user audit" ?
Regards:
Luis -
How to hide cut/copy/paste/Replace… menu on the UIWebView when it is being displayed over the keyboard.
Detail: I am having a HTML from, having text box, displayed using UIWebView. If user types in text box it shows the keyboard. Now If user tap and hold on text box it shows a popup menu. Now while keyboard and pop up are being displayed user scrolls the view. At this time it shows pop up over the keyboard which I need to hide.
I tried setMenuVisible of UIMenuController when popup rect and keyboard rect intersects each other on viewDidScroll but it didn't help me.
Any clues will help a lot.
Thanks.You are more likely to get an answer if you post programming problems to the Developer forum. This forum is intended for normal user level problems.
-
What is being done about users inability to use their Apple ID at iTunes Store. I do not have another Apple ID, I do not want to change my password and I want my phone to work as it should.
You can try signing out and signing back in. You can also go into Settings > Safari and Clear all Cookies. You can even try logging into the iTunes Store on a computer and downloading a free app or something.
If none of those work, then you will have to wait for the issue to be resolved on Apple's end. -
Abap error when user fi asset using tcode KO88
hai gurus,
when the user fi_asset team want to use the transaction the system give and error.
For gurus information, we are facing the number ranges issue. when document type AA that using number ranges from 100006000 - 100006999 have been hit to maximum value in year 2007
so the at the time is we create a another number ranges in documnet type AA using number ranges form 8000000000 - 8999999999 that for year 2007 untill the future
but now when the user want to use this transaction the system have issue the problem.
when the user run the test run mode is no detect any problem but when user make actual run the system give abap error like this below.
ABAP runtime errors MESSAGE_TYPE_X
Occurred on 22.02.2008 at 09:58:49
>> Short dump has not been completely stored. It is too big.
The current application triggered a termination with a short dump.
What happened?
The current application program detected a situation which really
should not occur. Therefore, a termination with a short dump was
triggered on purpose by the key word MESSAGE (type X).
What can you do?
Note the actions and input that caused the error.
Inform your SAP system administrator.
You can print out this message by choosing "Print". Transaction ST22
allows you to display and manage termination messages, including keeping
them beyond their normal deletion date.
Error analysis
Short text of error message:
Document number 1000 100060000 2007 was already assigned
Long text of error message:
Diagnosis
Document number 100060000 in company code 1000 and fiscal year 2007
has already been assigned.
System Response
Termination of processing.
Procedure
Check document number range 01 in company code 1000 and fiscal year
2007 and correct the number range status if necessary.
Technical information about the message:
Message classe...... "F5 "
Number.............. 152
Variable 1.......... "1000 "
Variable 2.......... "100060000 "
Variable 3.......... "2007 "
Variable 4.......... "01 "Hello,
If you are facing the error during KO88, there could be a problem with settlement document number range also.
During settlement, a settlement document is created and also related FI, CO, PA documments as applicable.
Please go to t code SNUM, check the number range for CO settlement object:CO_ABRECHN.
Let me know if it solves your problem.
Sourabh -
How to allow user print their draft anwsers before sending it as final ?
How to allow user print their draft anwsers before sending it as final in a form central questionnaire ?
Hey MTdev,
Panel close? events cannot be triggered on a VI being viewed or controlled remotely. Some more information on that can be found in the help here:http://zone.ni.com/reference/en-XX/help/371361E-01/lvprop/vi_panel_closeq/. My suggestion would be to set the Title Bar on the front panel of your remote VI to not be visible so that their only option for closing the window is to click the logout button. Are you using Remote Front Panels(http://zone.ni.com/devzone/cda/tut/p/id/3277) to do this instrument control? Using remote front panels allows you to manage a lot of the multiple people accesssing at the same-time type issues so it may be something to look into if you are not already using this method.
Regards,
Kevin
Product Support Engineer
National Instruments -
What data type is used for storing password,
What data type is used for storing pass word in oracle db, i mean if user inputs some thing from forms it should be in Encrypted form in db, please any help??
Thank you
HinaData type is VARCHAR2:
SQL> desc dba_users;
Name Null? Type
USERNAME NOT NULL VARCHAR2(30)
USER_ID NOT NULL NUMBER
PASSWORD VARCHAR2(30)
ACCOUNT_STATUS NOT NULL VARCHAR2(32)
LOCK_DATE DATE
EXPIRY_DATE DATE
DEFAULT_TABLESPACE NOT NULL VARCHAR2(30)
TEMPORARY_TABLESPACE NOT NULL VARCHAR2(30)
CREATED NOT NULL DATE
PROFILE NOT NULL VARCHAR2(30)
INITIAL_RSRC_CONSUMER_GROUP VARCHAR2(30)
EXTERNAL_NAME VARCHAR2(4000)
PASSWORD_VERSIONS VARCHAR2(8)
EDITIONS_ENABLED VARCHAR2(1)
AUTHENTICATION_TYPE VARCHAR2(8)You can use SQL function ORA_HASH to hash password: http://download.oracle.com/docs/cd/E11882_01/server.112/e17118/functions124.htm#SQLRF06313. -
How can I get the language of the user logged on using only DI API?
Hello,
how can I get the language of the user logged on using only DI API,
without invoking the UI?
Can I read the value from some table using sql?
I could write to file the first user's connection to the language code in SAP and then use it from external program, but I do not like this solution ...
I know only this possibility:
'_SboCy ==> SAPbobsCOM.Company
'_SboCys ==> SAPbobsCOM.CompanyService
'_SboApp ==> SAPbouiCOM.Application
CodLng Dim As String = ""
Dim lng As SAPbobsCOM.UserLanguages _SboCy.GetBusinessObject = (BoObjectTypes.oUserLanguages)
If lng.GetByKey (_SboApp.Language) Then
codLng = lng.LanguageShortName
'Etc. ..
End If
lng = Nothing
ThanksHi Enrico,
The language settings are held on the user's Windows profile and not in the database. In SBO 2007A onwards there is an XML file that is created by the SBO client (previous versions stored the information in the registry). The file is called b1-current-user.xml and you'll find it in the temporary application data under the user's profile (by default this will be C:\Documents and Settings\<profile>\Local Settings\Application Data\SAP\SAP Business One for Windows XP). This XML file contains a node that looks like the following:
<leaf kind="single" name="Language" type="String">
<value>8</value>
</leaf>
where the value is the language id that should correspond to the same setting in the DI API. If your application will always run on a workstation where the SBO client is installed then you could read this XML file. Of course, this file may not exist for a particular Windows user if they have never opened the SBO client so you'd need to have a default setting.
If you application will be installed on a workstation which doesn't have an SBO client installed on it then there is no way to tell what default language to use and you'll need to build this logic in to your own application (eg have a screen where the user can choose their preferred langauge and then store this as a config file in a similar way to how the SBO client works).
Kind Regards,
Owen -
How to export a user and their schema from one 10g database to another?
Hi,
I would like to export a user and their entire schema from one 10g database to another one. How do I do this?
thx
adamIf you want to export a user and the schema owned to the user, and import to the same user in a different database, or a different user in the same database, you can use the exp and imp commands as described in the Utilities manual.
These commands are very versatile and have a lot of options - well worth learning properly. To give you a simplistic shortcut, see below - I create a user 'test_move', create some objects in the schema, export, create a new user in the database 'new_move' and import.
oracle@fuzzy:~> sqlplus system/?????
SQL*Plus: Release 10.2.0.1.0 - Production on Sat Mar 11 21:46:54 2006
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to:
Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
SQL> create user test_move identified by test_move;
User created.
SQL> grant create session, resource to test_move;
Grant succeeded.
SQL> connect test_move/test_move
Connected.
SQL> create table test (x number);
Table created.
SQL> insert into test values (1);
1 row created.
SQL> exit
Disconnected from Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
oracle@fuzzy:~> exp system/????? file=exp.dmp owner=test_move
Export: Release 10.2.0.1.0 - Production on Sat Mar 11 21:48:34 2006
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to: Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
Export done in AL32UTF8 character set and AL16UTF16 NCHAR character set
About to export specified users ...
. exporting pre-schema procedural objects and actions
. exporting foreign function library names for user TEST_MOVE
. exporting PUBLIC type synonyms
. exporting private type synonyms
. exporting object type definitions for user TEST_MOVE
About to export TEST_MOVE's objects ...
. exporting database links
. exporting sequence numbers
. exporting cluster definitions
. about to export TEST_MOVE's tables via Conventional Path ...
. . exporting table TEST 1 rows exported
. exporting synonyms
. exporting views
. exporting stored procedures
. exporting operators
. exporting referential integrity constraints
. exporting triggers
. exporting indextypes
. exporting bitmap, functional and extensible indexes
. exporting posttables actions
. exporting materialized views
. exporting snapshot logs
. exporting job queues
. exporting refresh groups and children
. exporting dimensions
. exporting post-schema procedural objects and actions
. exporting statistics
Export terminated successfully without warnings.
oracle@fuzzy:~> sqlplus system/?????
SQL*Plus: Release 10.2.0.1.0 - Production on Sat Mar 11 21:49:23 2006
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to:
Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
SQL> create user new_move identified by new_move;
User created.
SQL> grant create session, resource to new_move;
Grant succeeded.
SQL> exit
Disconnected from Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
oracle@fuzzy:~> imp system/????? file=exp.dmp fromuser=test_move touser=new_move
Import: Release 10.2.0.1.0 - Production on Sat Mar 11 21:50:12 2006
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to: Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
Export file created by EXPORT:V10.02.01 via conventional path
import done in AL32UTF8 character set and AL16UTF16 NCHAR character set
. importing TEST_MOVE's objects into NEW_MOVE
. . importing table "TEST" 1 rows imported
Import terminated successfully without warnings.
oracle@fuzzy:~> If moving between databases, remember to set the SID properly before the import. If keeping the same userid, skip the from/to stuff in the import.
There are many variations on the theme ...
You can simplify this. You can select tables individually. You can use a parameter file. You can transport all the constraints and data. You can skip the data and only move the definitions. You can get some help (imp/exp help=yes).
And, if it's all 10g, there is a new and improved facility called expdp/impdp (dp = data pump) which has a lot more capability as well, including direct transfer (no intermediate file) together with suspend/restart. Also documented in the Utilities manual. -
Which user type to user for RFC receiver channel
Hi Forum,
I m developing XI scenarios which include RFC receiver chhanel (in IB: Integration Directory), to call a function moule in a R/3,
which kind of user should i use for this purpose, i mean to say,
which user type:
SYSTEM
Dialog
Communication
System
Reference
and what should be the roles of that user,
which type of the user doesnt gets locked, on wrong attemptsHi,
Generally S_RFC and S_SERVICE authorizations are nedded while calling RFC module from R3. Also check for role S_RFC_ADM
The backend should have the authorization to execute the RFC on the backend.
You can test the module in R3 and create a role using PFCG assign the tcode - SU53 (authorization check) and also assign the S_RFC and S_SERVICE to role.
Refer
RFC Logon user authorizations
Question on service userid - for RFC call
End User Authorizations and Roles
Calling R3 RFC via http
For RFC different authorization object is requried. You can ask your basis team to add the relevant authorization object in a new role and then add the new role to any existing service user or better create a new system user and add the role.
Thanks
swarup -
How to find whether user exits are used in the query or not??
Hi ,
I have to make the list of queris in which user exits are used.
Please any body help me how to find the queries in which user exits are used.
Thanks
MaruthiHi Maruthi,
Using table RSZGLOBV you can find out the queries that have customer exit variables.
Set filter VRPROCTP (processing type) = 3 means customer exit.
and the field COMPID will give you the Query name.
Best Wishes,
Mayank -
User Type (Dialog , Communication etc) can impact on SAP User Licensing
Dear Expert,
The User Type (Dialog, Communication, System etc) can impact on SAP User Licensing.
Suppose if I craete a user type other than DIALOG such as SYSTEM or COMMUNICATION etc; will this be counted as License User. Or only DIALOG users are paid license users.
Kindly advice.
Regards
AJThanks Uday and Nagendra...
Dear Nagendra,
with reference to below sentense from your referred link
" Consolidating Contractual User Types
Use
With this procedure, you consolidate the contractual user types of the individual users. The LAW takes account of the fact that certain contractual user types are already contained in others. In this way, license costs are only incurred for the inclusive user types of the user."
When I go User Classification Display screen, under Contractual User Type column all my 150 users are marked "Operational" but for those which I defined as System / Communication User are defined any contractual user type.
What does it mean??
Thanks in advance for your help.
Regards,
AJ -
What is the impact of changing user types from 'service' user type to either a 'communication' or 'system' user type? Will the change stop authorizations or will it only affect administration? Is the change related to the available fields or locking security and not necessarily related to authorizations.
Which release are you on?
It also depends on your config => rejecting expired passwords, compliance with current password policies (at logon...) and same user context for RFC calls.
You should first investigate why it is a "SERVICE" type user. If it is from a config wizard with a profile delivered by SAP, then there might be a good reason for this.
The authority checks on "SERVICE" and "SYSTEM" users are the same, except that "SYSTEM" users are not SAPGui capable. This is not only restricted to the SAPGui logon screen. And for all logon types, they are excempted from changing their password - both via the requirement to do so and the ability to do it voluntarily...
But if they can administrate themselves, then they can (authorization object S_USER_GRP).
The same cannot be said for "COMMUNICATION" type users. I recommend not using them at all and there are many SAP notes which correct standard config wizards to use the correct user type => SYSTEM.
"COMMUNICATION" users are "DIALOG" users, except that when you enter the correct password via the SAPGui logon screen, then a message is returned to inform you that the user type cannot logon from that screen. But other screens will work, if the first screen is skipped.
You can test this with transaction OBVU in the standard system, or any other Z-transaction of the same ilk.
Cheers,
Julius -
Renaming NDS users to their corresponding GroupWise ID
Hi,
We're renaming lots of NDS users to their corresponding GroupWise ID.
Because of a new ID naming standard. The GroupWise ID does not change but
is leading.
As in NDS ID smithj has a GroupWise ID jsmith so we rename NDS ID smithj to
jsmith. We do this btw using RENOBJ from JRB utilities.
This means clicking on the GroupWise account from the GroupWise view in
ConsoleOne results in an error. This can be repaired 'by hand' by
re-associating the GroupWise account to the NDS account. We also tried JRB
utility GWLINK but this does not work either.
My question is 'is it possible to run / did someone write / a script to do
this batch/script wise ?'
Gert[email protected] schrieb:
> Hi,
>
> We're renaming lots of NDS users to their corresponding GroupWise ID.
> Because of a new ID naming standard. The GroupWise ID does not
> change but is leading.
>
> As in NDS ID smithj has a GroupWise ID jsmith so we rename NDS ID
> smithj to jsmith. We do this btw using RENOBJ from JRB utilities.
>
> This means clicking on the GroupWise account from the GroupWise view
> in ConsoleOne results in an error. This can be repaired 'by hand' by
> re-associating the GroupWise account to the NDS account. We also
> tried JRB utility GWLINK but this does not work either.
>
> My question is 'is it possible to run / did someone write / a script
> to do this batch/script wise ?'
you can use ldap / or novell activex controlls and the gw admin api for this
i prefer perl as scripting language
connect to domain (gwadmin api)
create a users iterator (gwadmin api)
foreach user get name (gwadmin api)
rename nds object to gw name (ldap or activex controlls)
use addexistinguser function and provide old mailboxid and name (gwadmin
api)
ready
perl example
use Win32::OLE;
use Net::LDAP qw(:all);
$ldap=Net::LDAP->new(" SERVER IP ") or die $@;
$error = $ldap->bind (' SUPERUSER DN',password =>' GUESS WHAT :)
',version=>'3') or die "Fehler bei bind: $@\n";
if( $error->error ne Success){
die "Bind error -> " . $error->error . "\n";
$gw=Win32::OLE->new('NovellGroupWareAdmin');
$gw->ConnectByDN(" GROUPWISE DN ");
$objDomain=$gw->ConnectedDomain();
you can use this
$objPostOffices = $objDomain->PostOffices();
$objPostOffice = $objPostOffices->Item(" GROUPWISE PO ");
$objUsers = $objPostOffice->Users();
or that
$objUsers = $gw->Users();
$objUsersIterator = $objUsers->CreateIterator();
while( $objUser = $objUsersIterator->Next() ){
$username = $objUser->{'Name'};
$userdn = $objUser->{'NetID'}
$userdn contains now username.ou.o or something
you must change it to cn=username,ou=ou,o=o
$mesg = $ldap->search(
base=>' $userdnldap',
scope => 'base',
filter => '(objectclass=inetorgperson)'
$entry = $mesg->entry(0);
$entry
$objUsers->AddExistingUser($username, " $userdn ","", "GROUPWISE PO",
" GROUPWISE DOMAIN", $objUser->{MailboxID});
Maybe you are looking for
-
Logic Pro X: One MIDI note won't play
I am having a strange problem with Logic Pro X. I use a Yamaha CP33 as my main MIDI keyboard, connected by USB. In the past couple weeks, a strange problem has emerged - one of the notes from the keyboard, the B-2, to be specific, just doesn't trigge
-
Upgrades - Ram / Graphics on dual 1ghz
I currently have the GeForce4 MX 32MB 1 DVI & one weird apple video connector. I would like to replace with with a card that supports dual DVI, I would also like to get a nice Video card that works with this mac, it's a 4x AGP, can anyone make a recc
-
Dear All , I want to block profit centers (Not thru Basis ), so that no posting can happen to these profit centers . How to do the same ? pl guide Regards
-
[JCOP Shell] how to get the result of a script into a variable ?
Hello all, I have a jcsh script that swaps the Two nibbles of an hexadecimal number. #swap.jcsh X= 0xAB R= $(/expr $(/expr ${X} << 4 ) + $(/expr ${X} >> 4 ) ) /echo 0x${R;h2} the value echoed is 0xBA, right. now, I want to replace the X varibale by
-
Please help! Can't work BBC iPlayer with Flash!
Hi everyone, I hope someone can help me. Whenever I try to use the BBC iPlayer I get the message: 'You need to install Flash to play [programme]. Download the Flash Player now.' I have clicked on the link for the Flash Player and installed it many ti