08-03-2008 1:50 PM
Hi,
I'm very new to SAP.
I need to know how to reset and change password for the build-in admin users:
(change: user for himself, reset: by some other user)
1. sap*
2. ddic
3. earlywatch
... and java ...
4. j2ee_admin
I understand that there is some API for that? can you give some example?
Is there a way to do it from remote?
If so, how?what privieges for change/reset?what are the commands?
if not, what are the alternatives?
tx in advance,
shlom
08-05-2008 4:25 PM
It's possible to change admin passwords simply by using Su01 in CUA. Although this may take longer(because they have to be done one at a time) it works just the same.
08-04-2008 8:14 PM
Hi,
User management through API for SAP Netweaver is possible.
Follow up the link [here|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/using%20the%20user%20management%20api%20with%20ep%20applications.pdf].
Rakesh
08-05-2008 3:48 PM
Hmmm... I don't see how Rakesh's answer fits to this question... or am I missing something?
My answer: For the ABAP side, take a look at report RSUSR003 which checks the first initial passwords of the standard users you have mentioned above and some security related parameters which affect them. There are also other standard users for standard scenarios, see [this thread|; for some of the others.
For the Java side it is very similar except completely different, and the user ID's have different names...
Some search terms are J2EE_ADMIN, J2EE_GUEST, SAPJFC, ADSUSER, .... and several possible other users for other scenarios (when setup) as well.
If you use the search, you will find more detailed information here as well.
Cheers,
Julius
08-05-2008 4:25 PM
It's possible to change admin passwords simply by using Su01 in CUA. Although this may take longer(because they have to be done one at a time) it works just the same.
08-18-2008 1:27 PM
Hi guys,
Can I do that using the .NET connector throug BAPI?
I think I have to use the BAPI_USER_CHANGE or SUSR_USER_CHANGE_PASSWORD_RFC...
BUT:
how can I access such BAPIs from my c# code?!
(I couldn't understand it from the .net connector manual.)
Pls note that in the remote machine there is no SAP at all - only the SAP connector.
Is there anything I need beside this connector?
tx again.
shlom
08-18-2008 2:26 PM
Hi shlom,
You might get a better response to your last question if you ask about the coding question in one of the developer forums. They may be able to point you towards some code examples for accessing SAP Function Modules via RFC using C#
08-24-2008 10:13 AM
I found the solution for that:
In order to do that you will have to install also the PDK.NET from the msdn.
After doing so, when openning the VS and then view server explorers, you will have the option to view SAP.
Add SAPPRoxy.
Add the application server you work with , select the relevant function you need and drag it to the proxy you created.
then from your main class, create new proxy instance and call the function you need.
here is an example for openning a connection:
static void Main(string[] args)
{
SAPProxy1 proxy = new SAPProxy1(); // the ABAP function is in the proxy
string cs = "ASHOST=<....> SYSNR=<...> CLIENT=<....> USER=<...> PASSWD=<...>";
// instead <...> put your real data
proxy.Connection = new SAPConnection(cs);
try
{
// OPEN CONN
proxy.Connection.Open();
// CHECK CONN
if (proxy.Connection.IsOpen)
Console.WriteLine("conn is open");
else
Console.WriteLine("conn is NOT open");
}
......
08-24-2008 10:13 AM