cancel
Showing results for 
Search instead for 
Did you mean: 

Issue with passing password / logon details using BAPI through VB

03-06-2018 11:46 AM
451 views 2 comments
0 Likes
SAP Managed Tags
Subscribe

Hi Team,

I am trying to create VB script in excel to create users using BAPI_USER_CREATE1.

i am facing isuue while passing password / logon data. I am using below code.

i come across to use structures to pass this kind of parametrs, but i am not sure how to do it. Could you please suggest a sample.

Set tpara1 = objUsercreate.Exports("BAPIPWD")

tpara1.Rows.Add

tpara1(1,1) = XXXX

i also tried below

objUsercreate.Exports("PASSWORD") = XXXXXX

0 Likes

Accepted Solutions (0)

Answers (2)

Answers (2)

Jelena_Perfiljeva
Active Contributor

This doesn't seem at all like a good idea to create SAP users from a VB script, sorry. I'd suggest to discuss this with Security/Basis admin. Seriously doubt they would approve of such design.

former_member186338
Active Contributor
0 Likes

Not related to EPM Add-In for Excel
tag to be deleted!