Skip to Content
-1

Issue with passing password / logon details using BAPI through VB

Mar 06 at 10:46 AM

26

avatar image
Former Member

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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Jelena Perfiljeva
Mar 06 at 04:41 PM
1

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.

Share
10 |10000 characters needed characters left characters exceeded
Vadim Kalinin Mar 06 at 11:09 AM
0

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

Share
10 |10000 characters needed characters left characters exceeded