Code: Alles auswählen.
REPORT ZILKPROG .
data itab like table of BAPIRET2.
data adresse type BAPIADDR3.
CALL FUNCTION 'BAPI_USER_GET_DETAIL'
EXPORTING
USERNAME = 'DDIC'
* IMPORTING
* LOGONDATA =
* DEFAULTS =
ADDRESS = adresse
* COMPANY =
* SNC =
TABLES
* PARAMETER =
* PROFILES =
* ACTIVITYGROUPS =
RETURN = itab
* ADDTEL =
* ADDFAX =
* ADDTTX =
* ADDTLX =
* ADDSMTP =
* ADDRML =
* ADDX400 =
* ADDRFC =
* ADDPRT =
* ADDSSF =
* ADDURI =
* ADDPAG =
* ADDCOMREM = .
Code: Alles auswählen.
REPORT zzz_bapi_user_get_detail.
DATA:
l_f_uname TYPE xubname VALUE 'DDIC',
l_r_logon TYPE bapilogond,
l_r_defaults TYPE bapidefaul,
l_r_address TYPE bapiaddr3,
l_r_company TYPE bapiuscomp,
l_r_snc TYPE bapisncu,
l_r_refuser TYPE bapirefus,
l_r_alias TYPE bapialias,
l_r_uclass TYPE bapiuclass,
l_r_lastmod TYPE bapimoddat,
l_r_islocked TYPE bapislockd,
l_t_return TYPE TABLE OF bapiret2.
CALL FUNCTION 'BAPI_USER_GET_DETAIL'
EXPORTING
username = l_f_uname
IMPORTING
logondata = l_r_logon
defaults = l_r_defaults
address = l_r_address
company = l_r_company
snc = l_r_snc
ref_user = l_r_refuser
alias = l_r_alias
uclass = l_r_uclass
lastmodified = l_r_lastmod
islocked = l_r_islocked
TABLES
* PARAMETER =
* PROFILES =
* ACTIVITYGROUPS =
return = l_t_return
* ADDTEL =
* ADDFAX =
* ADDTTX =
* ADDTLX =
* ADDSMTP =
* ADDRML =
* ADDX400 =
* ADDRFC =
* ADDPRT =
* ADDSSF =
* ADDURI =
* ADDPAG =
* ADDCOMREM =
* PARAMETER1 =
* GROUPS =
* UCLASSSYS =
* EXTIDHEAD =
* EXTIDPART =
* SYSTEMS =
.
IF l_t_return IS INITIAL.
WRITE: / l_r_address-fullname.
ENDIF.
Code: Alles auswählen.
IF l_t_return IS INITIAL.
WRITE: / l_r_address-fullname.
ENDIF.
Code: Alles auswählen.
DATA:
l_f_uname TYPE xubname VALUE 'DDIC',
l_r_logon TYPE bapilogond,
l_r_defaults TYPE bapidefaul,
l_r_address TYPE bapiaddr3,
l_r_company TYPE bapiuscomp,
l_r_snc TYPE bapisncu,
l_r_refuser TYPE bapirefus,
l_r_alias TYPE bapialias,
l_r_uclass TYPE bapiuclass,
l_r_lastmod TYPE bapimoddat,
l_r_islocked TYPE bapislockd,
l_t_return TYPE TABLE OF bapiret2.
CALL FUNCTION 'BAPI_USER_GET_DETAIL'
EXPORTING
username = l_f_uname
IMPORTING
logondata = l_r_logon
defaults = l_r_defaults
address = l_r_address
company = l_r_company
snc = l_r_snc
ref_user = l_r_refuser
alias = l_r_alias
uclass = l_r_uclass
lastmodified = l_r_lastmod
islocked = l_r_islocked
TABLES
* PARAMETER =
* PROFILES =
* ACTIVITYGROUPS =
return = l_t_return
* ADDTEL =
* ADDFAX =
* ADDTTX =
* ADDTLX =
* ADDSMTP =
* ADDRML =
* ADDX400 =
* ADDRFC =
* ADDPRT =
* ADDSSF =
* ADDURI =
* ADDPAG =
* ADDCOMREM =
* PARAMETER1 =
* GROUPS =
* UCLASSSYS =
* EXTIDHEAD =
* EXTIDPART =
* SYSTEMS =
.
IF l_t_return IS INITIAL.
WRITE: / l_r_address-fullname.
ENDIF.