Posted by [IP Address: 63.178.231.197] 'help help help' on September 21, 2001 at 02:01:03 EST:
In Reply to: Query Related retrieve/add new user using DCOM Connector - Urgent posted by [IP Address: 63.178.231.197] 'Azarudeen.M.J.' on September 13, 2001 at 00:54:30 EST:
Hello Everybody,
This is urgent, urgent, urgent. Please help, or I get fired<>
Thanks much :)
: 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,