SAP SUSR_USER_FIND_ADDR_FOR_CREATE Function Module for
SUSR_USER_FIND_ADDR_FOR_CREATE is a standard susr user find addr for create SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.
See here to view full function module documentation and code listing for susr user find addr for create FM, simply by entering the name SUSR_USER_FIND_ADDR_FOR_CREATE into the relevant SAP transaction such as SE37 or SE38.
Function Group: SUUA
Program Name: SAPLSUUA
Main Program: SAPLSUUA
Appliation area: S
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function SUSR_USER_FIND_ADDR_FOR_CREATE pattern details
In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.CALL FUNCTION 'SUSR_USER_FIND_ADDR_FOR_CREATE'".
EXPORTING
USER_NAME = "User Name
IMPORTING
ADDR3_COMPLETE = "
ET_TELETEX = "
ET_RML = "
ET_X400 = "
ET_PRINTER = "
ET_SSF = "
ET_PAGER = "
ET_RETURN = "
ES_NODE_PERSON_NAME = "
ES_NODE_WORKPLACE = "
ES_NODE_ORGANIZATION = "
ET_TELEPHONE = "
ET_FACSIMILE = "
ET_EMAIL = "
ET_WEB = "
ET_TELEX = "
EXCEPTIONS
NO_ADDRESS_FOUND = 1
IMPORTING Parameters details for SUSR_USER_FIND_ADDR_FOR_CREATE
USER_NAME - User Name
Data type: USR02-BNAMEOptional: No
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for SUSR_USER_FIND_ADDR_FOR_CREATE
ADDR3_COMPLETE -
Data type: SZADR_ADDR3_COMPLETEOptional: No
Call by Reference: No ( called with pass by value option)
ET_TELETEX -
Data type: ADDRT_TELETEX_NUMBEROptional: No
Call by Reference: Yes
ET_RML -
Data type: ADDRT_REMOTE_MAIL_ADDRESSOptional: No
Call by Reference: Yes
ET_X400 -
Data type: ADDRT_X400_ADDRESSOptional: No
Call by Reference: Yes
ET_PRINTER -
Data type: ADDRT_PRINTEROptional: No
Call by Reference: Yes
ET_SSF -
Data type: ADDRT_SSF_ADDRESSOptional: No
Call by Reference: Yes
ET_PAGER -
Data type: ADDRT_PAGER_NUMBEROptional: No
Call by Reference: Yes
ET_RETURN -
Data type: BAPIRET2_TOptional: No
Call by Reference: Yes
ES_NODE_PERSON_NAME -
Data type: SUID_ST_NODE_PERSON_NAMEOptional: No
Call by Reference: Yes
ES_NODE_WORKPLACE -
Data type: SUID_ST_NODE_WORKPLACEOptional: No
Call by Reference: Yes
ES_NODE_ORGANIZATION -
Data type: SUID_ST_NODE_ORGANIZATIONOptional: No
Call by Reference: Yes
ET_TELEPHONE -
Data type: ADDRT_TELEPHONE_NUMBEROptional: No
Call by Reference: Yes
ET_FACSIMILE -
Data type: ADDRT_FACSIMILE_NUMBEROptional: No
Call by Reference: Yes
ET_EMAIL -
Data type: ADDRT_EMAIL_ADDRESSOptional: No
Call by Reference: Yes
ET_WEB -
Data type: ADDRT_WEB_ADDRESSOptional: No
Call by Reference: Yes
ET_TELEX -
Data type: ADDRT_TELEX_NUMBEROptional: No
Call by Reference: Yes
EXCEPTIONS details
NO_ADDRESS_FOUND -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for SUSR_USER_FIND_ADDR_FOR_CREATE Function Module
The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.| DATA: | ||||
| lv_user_name | TYPE USR02-BNAME, " | |||
| lv_addr3_complete | TYPE SZADR_ADDR3_COMPLETE, " | |||
| lv_no_address_found | TYPE SZADR_ADDR3_COMPLETE, " | |||
| lv_et_teletex | TYPE ADDRT_TELETEX_NUMBER, " | |||
| lv_et_rml | TYPE ADDRT_REMOTE_MAIL_ADDRESS, " | |||
| lv_et_x400 | TYPE ADDRT_X400_ADDRESS, " | |||
| lv_et_printer | TYPE ADDRT_PRINTER, " | |||
| lv_et_ssf | TYPE ADDRT_SSF_ADDRESS, " | |||
| lv_et_pager | TYPE ADDRT_PAGER_NUMBER, " | |||
| lv_et_return | TYPE BAPIRET2_T, " | |||
| lv_es_node_person_name | TYPE SUID_ST_NODE_PERSON_NAME, " | |||
| lv_es_node_workplace | TYPE SUID_ST_NODE_WORKPLACE, " | |||
| lv_es_node_organization | TYPE SUID_ST_NODE_ORGANIZATION, " | |||
| lv_et_telephone | TYPE ADDRT_TELEPHONE_NUMBER, " | |||
| lv_et_facsimile | TYPE ADDRT_FACSIMILE_NUMBER, " | |||
| lv_et_email | TYPE ADDRT_EMAIL_ADDRESS, " | |||
| lv_et_web | TYPE ADDRT_WEB_ADDRESS, " | |||
| lv_et_telex | TYPE ADDRT_TELEX_NUMBER. " |
|   CALL FUNCTION 'SUSR_USER_FIND_ADDR_FOR_CREATE' " |
| EXPORTING | ||
| USER_NAME | = lv_user_name | |
| IMPORTING | ||
| ADDR3_COMPLETE | = lv_addr3_complete | |
| ET_TELETEX | = lv_et_teletex | |
| ET_RML | = lv_et_rml | |
| ET_X400 | = lv_et_x400 | |
| ET_PRINTER | = lv_et_printer | |
| ET_SSF | = lv_et_ssf | |
| ET_PAGER | = lv_et_pager | |
| ET_RETURN | = lv_et_return | |
| ES_NODE_PERSON_NAME | = lv_es_node_person_name | |
| ES_NODE_WORKPLACE | = lv_es_node_workplace | |
| ES_NODE_ORGANIZATION | = lv_es_node_organization | |
| ET_TELEPHONE | = lv_et_telephone | |
| ET_FACSIMILE | = lv_et_facsimile | |
| ET_EMAIL | = lv_et_email | |
| ET_WEB | = lv_et_web | |
| ET_TELEX | = lv_et_telex | |
| EXCEPTIONS | ||
| NO_ADDRESS_FOUND = 1 | ||
| . " SUSR_USER_FIND_ADDR_FOR_CREATE | ||
ABAP code using 7.40 inline data declarations to call FM SUSR_USER_FIND_ADDR_FOR_CREATE
The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.| "SELECT single BNAME FROM USR02 INTO @DATA(ld_user_name). | ||||
Search for further information about these or an SAP related objects