on 2024 Nov 05 8:38 AM
Hi,
we are using the SAP user id to post the interface data in to the sap and we maintained the sap user id and password in the all interface API and CPI to post the data in sap s4 PERSON_NAME. but every 6 months sap user id password is expiring due to that interfaces are failing.
we required non expiry password for SAP user id to use in the interface.
Regards,
Manjunatha Reddy.
Request clarification before answering.
Hello,
its easy to achieve that by selecting the correct user-Type for your requirement.
Please read the documentation in SU01 regarding the user-types on the Logon data tab. It says:
quote
User TypeDialog '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 gives you the option to change your password.
Multiple dialog logons are checked and, where appropriate, logged.
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 allowed.
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 SUSR_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 logons are 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 authorizations. 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. In general, the application controls the assignment of reference users. The name of the reference user can be assigned 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.
Overview
Overview of the properties of users of the different user types:
Property / User Type Dialog Communication System Service
Dialog logon (SAP GUI) X - - X
Password Change X X - -
Logon ticket can be generated X X - -
Apart from reference users, users of all types can log on to a system using RFC or execute background jobs.
unquote
So for your requirement user type 'System' seems to be appropriate. Please discuss with your user administrator.
b.rgds,
Bernhard
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
68 | |
33 | |
8 | |
8 | |
7 | |
7 | |
7 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.