Code: Alles auswählen.
REPORT.
DATA:
t_return TYPE TABLE OF bapiret2,
s_password TYPE bapipwd,
s_passwordx TYPE bapipwdx.
**********************************************************************
" so
**********************************************************************
s_password-bapipwd = '***'.
s_passwordx-bapipwd = 'X'.
CALL FUNCTION 'BAPI_USER_CHANGE'
DESTINATION 'RFCDEST'
EXPORTING
username = 'ABC'
password = s_password
passwordx = s_passwordx
TABLES
return = t_return.
**********************************************************************
" oder so
**********************************************************************
CALL FUNCTION 'BAPI_USER_CHANGE'
DESTINATION 'RFCDEST'
EXPORTING
username = 'ABC'
generate_pwd = 'X'
IMPORTING
generated_password = s_password
TABLES
return = t_return.
Folgende Benutzer bedankten sich beim Autor Tommy Nightmare für den Beitrag:
derber