Code: Alles auswählen.
TYPE-POOLS: abap.
DATA: user_usr03 TYPE usr03.
*** NORMAL **************************************************
CALL FUNCTION 'SUSR_USER_ADDRESS_READ'
EXPORTING
user_name = sy-uname
IMPORTING
user_usr03 = user_usr03.
WRITE:/ user_usr03.
*** PARAMETER-LIST ******************************************
DATA: fuba TYPE char40 VALUE 'SUSR_USER_ADDRESS_READ'.
CLEAR user_usr03.
CALL FUNCTION fuba
EXPORTING
user_name = sy-uname
IMPORTING
user_usr03 = user_usr03.
WRITE:/ user_usr03.
*** PARAMETER-TABLE *****************************************
DATA: it_parms TYPE abap_func_parmbind_tab,
wa_parms LIKE LINE OF it_parms.
CLEAR user_usr03.
*----------------------------------------------------
wa_parms-name = 'USER_NAME'.
wa_parms-kind = abap_func_exporting.
GET REFERENCE OF sy-uname INTO wa_parms-value.
INSERT wa_parms INTO TABLE it_parms.
*----------------------------------------------------
CLEAR wa_parms.
wa_parms-name = 'USER_USR03'.
wa_parms-kind = abap_func_importing.
GET REFERENCE OF user_usr03 INTO wa_parms-value.
INSERT wa_parms INTO TABLE it_parms.
*----------------------------------------------------
CALL FUNCTION fuba
PARAMETER-TABLE
it_parms.
WRITE:/ user_usr03.