Query Related retrieve/add new user using DCOM Connector - Urgent


[ Follow Ups ] [ Post Followup ] [ Message Board ]

Posted by [IP Address: 194.39.218.254] 'Azarudeen.M.J.' on September 13, 2001 at 00:54:30 EST:

Hello Everybody,

I have installed R/3 Dcom Connector.(Downloaded from the Sap site).Using Object Builder option, I have generated a Business DLL for the USERS sync rfc component. It has been added into the MTS package.

Anyone know about what kind of parameters has to used when using the following methods to get the USER information.

BAPIGETDETAIL (Return,parameter,Profile,Activegroup),
BAPICREATE() ,BapiCreate1(),BapiDelete ,BapiActgroupsAssign() and etc.,

Note : My logon User has all privileges.(Super User)
I couldn't get help or document regarding how to use these method to Retrieve/Create New USER information.
kindly help me in this regards. If I get some sample VB code,it would greatly helpful for me.


Following is my VB Code:
--------------------------------------------------------------
Dim oSession As Object
Dim oUsers As Object


Set oSession = CreateObject("SAP.CCSESSION.1")
oSession.KeepSAPContext = True
oSession.Destination = "SAMPLE"
oSession.PutSessionInfo sDestination, suser, sPassword, sLanguage, sClient

Set oUsers = oSession.CreateInstance("PI1.USER.2")
oUsers.TID = "{474859D8-5412-1B9F-0165-9B16B1B6A41D}"
oSession.InitKeys suser
oUsers.PutSessionInfo sDestination, suser, sPassword, sLanguage, sClient
oUsers.BapiGetDetail ResultSet, Parameter, Profile, Activegrp

-----------------------------------------------------------------
oUsers.BapiGetDetail ResultSet, Parameter, Profile, Activegrp

In the above statment,I don't know what kind of parameter has to be send.If anyone know,please let me know as soon as possible.

Thanks in advance.

Regards,
Azarudeen.M.J.
Robert Bosch (I) Ltd,



Follow Ups:



Post a Followup


Name:
E-Mail:
Subject:

Message:


[ Follow Ups ] [ Post Followup ] [ Message Board ]