Skip to Content
avatar image
-1
Former Member

Issue with passing password / logon details using BAPI through VB

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Mar 06 at 04:41 PM

    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.

    Add comment
    10|10000 characters needed characters exceeded

  • Mar 06 at 11:09 AM

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

    Add comment
    10|10000 characters needed characters exceeded