SAP ISU_DB_PARTNER_SINGLE Function Module for Read Business Partner
ISU_DB_PARTNER_SINGLE is a standard isu db partner single SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Read Business Partner processing and below is the pattern details for this FM, 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 isu db partner single FM, simply by entering the name ISU_DB_PARTNER_SINGLE into the relevant SAP transaction such as SE37 or SE38.
Function Group: EBUP
Program Name: SAPLEBUP
Main Program: SAPLEBUP
Appliation area: F
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function ISU_DB_PARTNER_SINGLE 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 'ISU_DB_PARTNER_SINGLE'"Read Business Partner.
EXPORTING
X_PARTNER = "Partner Number
* X_OPERATION = "Activity for BP Address Determination
* X_XTELN_MULT = "Data Element for BOOLE Domain: TRUE (='X') and FALSE (=' ')
* X_XFAXN_MULT = "Data Element for BOOLE Domain: TRUE (='X') and FALSE (=' ')
* X_XEMAIL_MULT = "Data Element for BOOLE Domain: TRUE (='X') and FALSE (=' ')
* X_RLTYP = CO_CONTRACT_PARTNER "Role Cat.
* X_XBANK = "
* X_XCCARD = "
* X_XTAXNUM = "
* X_XADDR_MULT = "
* X_ADDRNUMBER = "
* X_VALDT = SY-DATLO "
* X_VALDT_TECH = SY-DATLO "
IMPORTING
Y_BUT000 = "
Y_BUT000_VALIDITY = "BP: General Data, Validity
Y_RLTYPES = "
Y_PARTNER_IN_ROLE_NOT_FOUND = "Boolean Variable
TABLES
* TY_BUT000 = "BP: General Data I (Read) with Validity Interval
* TY_RLTYPES = "
* TY_ADDVER_FS = "Time-Dependent Address Usages
* TY_BUT0IS = "GP: Industries
* TY_TELNO = "CBP: Telephone data (transfer structure)
* TY_FAXNO = "CBP: Fax data (transfer structure)
* TY_EMAIL = "E-Mail (Transfer Structure)
* TY_BUT0ID = "Business Partners: Identification Numbers
* TY_BUT000_INT = "BP: General Data I (Internal Data Fields) with Validity
* TY_BANK = "Bank Details
* TY_ADDRESS = "Addresses
* TY_ADR2 = "Telephone numbers (central address admin.)
* TY_ADR3 = "Fax numbers (central address admin.)
* TY_ADR6 = "SMTP numbers (central address admin.)
* TY_CCARD = "BP: Payment Cards
* TY_TAXNUM = "
EXCEPTIONS
PARTNER_NOT_FOUND = 1 PARTNER_IN_ROLE_NOT_FOUND = 2 INTERNAL_ERROR = 3
IMPORTING Parameters details for ISU_DB_PARTNER_SINGLE
X_PARTNER - Partner Number
Data type: BUT000-PARTNEROptional: No
Call by Reference: No ( called with pass by value option)
X_OPERATION - Activity for BP Address Determination
Data type: TB008S-OPERATIONOptional: Yes
Call by Reference: No ( called with pass by value option)
X_XTELN_MULT - Data Element for BOOLE Domain: TRUE (='X') and FALSE (=' ')
Data type: BOOLE-BOOLEOptional: Yes
Call by Reference: No ( called with pass by value option)
X_XFAXN_MULT - Data Element for BOOLE Domain: TRUE (='X') and FALSE (=' ')
Data type: BOOLE-BOOLEOptional: Yes
Call by Reference: No ( called with pass by value option)
X_XEMAIL_MULT - Data Element for BOOLE Domain: TRUE (='X') and FALSE (=' ')
Data type: BOOLE-BOOLEOptional: Yes
Call by Reference: No ( called with pass by value option)
X_RLTYP - Role Cat.
Data type: TBZ0-RLTYPDefault: CO_CONTRACT_PARTNER
Optional: Yes
Call by Reference: No ( called with pass by value option)
X_XBANK -
Data type: BOOLE-BOOLEOptional: Yes
Call by Reference: No ( called with pass by value option)
X_XCCARD -
Data type: BOOLE-BOOLEOptional: Yes
Call by Reference: No ( called with pass by value option)
X_XTAXNUM -
Data type: BOOLE-BOOLEOptional: Yes
Call by Reference: No ( called with pass by value option)
X_XADDR_MULT -
Data type: BOOLE-BOOLEOptional: Yes
Call by Reference: No ( called with pass by value option)
X_ADDRNUMBER -
Data type: BUT020-ADDRNUMBEROptional: Yes
Call by Reference: No ( called with pass by value option)
X_VALDT -
Data type: SY-DATLODefault: SY-DATLO
Optional: Yes
Call by Reference: No ( called with pass by value option)
X_VALDT_TECH -
Data type: SY-DATLODefault: SY-DATLO
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for ISU_DB_PARTNER_SINGLE
Y_BUT000 -
Data type: ISU01_EKUNOptional: No
Call by Reference: No ( called with pass by value option)
Y_BUT000_VALIDITY - BP: General Data, Validity
Data type: BUS000_VALIDITYOptional: No
Call by Reference: Yes
Y_RLTYPES -
Data type: ISU01_PARTNER_RLTYPESOptional: No
Call by Reference: Yes
Y_PARTNER_IN_ROLE_NOT_FOUND - Boolean Variable
Data type: BOOLEOptional: No
Call by Reference: Yes
TABLES Parameters details for ISU_DB_PARTNER_SINGLE
TY_BUT000 - BP: General Data I (Read) with Validity Interval
Data type: BUS000_TDOptional: Yes
Call by Reference: Yes
TY_RLTYPES -
Data type: BUT100Optional: Yes
Call by Reference: No ( called with pass by value option)
TY_ADDVER_FS - Time-Dependent Address Usages
Data type: BUT021_FSOptional: Yes
Call by Reference: Yes
TY_BUT0IS - GP: Industries
Data type: BUT0ISOptional: Yes
Call by Reference: Yes
TY_TELNO - CBP: Telephone data (transfer structure)
Data type: BUS0ADTELOptional: Yes
Call by Reference: Yes
TY_FAXNO - CBP: Fax data (transfer structure)
Data type: BUS0ADFAXOptional: Yes
Call by Reference: Yes
TY_EMAIL - E-Mail (Transfer Structure)
Data type: FKK0ADSMTPOptional: Yes
Call by Reference: Yes
TY_BUT0ID - Business Partners: Identification Numbers
Data type: BUT0IDOptional: Yes
Call by Reference: Yes
TY_BUT000_INT - BP: General Data I (Internal Data Fields) with Validity
Data type: BUS000_INT_TDOptional: Yes
Call by Reference: Yes
TY_BANK - Bank Details
Data type: BUS0BKOptional: Yes
Call by Reference: No ( called with pass by value option)
TY_ADDRESS - Addresses
Data type: BUS020_EXTOptional: Yes
Call by Reference: No ( called with pass by value option)
TY_ADR2 - Telephone numbers (central address admin.)
Data type: ADR2Optional: Yes
Call by Reference: Yes
TY_ADR3 - Fax numbers (central address admin.)
Data type: ADR3Optional: Yes
Call by Reference: Yes
TY_ADR6 - SMTP numbers (central address admin.)
Data type: ADR6Optional: Yes
Call by Reference: Yes
TY_CCARD - BP: Payment Cards
Data type: ISU_CCARD_AUTOOptional: Yes
Call by Reference: Yes
TY_TAXNUM -
Data type: DFKKBPTAXNUMOptional: Yes
Call by Reference: Yes
EXCEPTIONS details
PARTNER_NOT_FOUND - Business Partner Does Not Exist
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
PARTNER_IN_ROLE_NOT_FOUND -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
INTERNAL_ERROR -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for ISU_DB_PARTNER_SINGLE 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_y_but000 | TYPE ISU01_EKUN, " | |||
| lt_ty_but000 | TYPE STANDARD TABLE OF BUS000_TD, " | |||
| lv_x_partner | TYPE BUT000-PARTNER, " | |||
| lv_partner_not_found | TYPE BUT000, " | |||
| lt_ty_rltypes | TYPE STANDARD TABLE OF BUT100, " | |||
| lv_x_operation | TYPE TB008S-OPERATION, " | |||
| lt_ty_addver_fs | TYPE STANDARD TABLE OF BUT021_FS, " | |||
| lv_x_xteln_mult | TYPE BOOLE-BOOLE, " | |||
| lt_ty_but0is | TYPE STANDARD TABLE OF BUT0IS, " | |||
| lv_x_xfaxn_mult | TYPE BOOLE-BOOLE, " | |||
| lt_ty_telno | TYPE STANDARD TABLE OF BUS0ADTEL, " | |||
| lv_x_xemail_mult | TYPE BOOLE-BOOLE, " | |||
| lt_ty_faxno | TYPE STANDARD TABLE OF BUS0ADFAX, " | |||
| lt_ty_email | TYPE STANDARD TABLE OF FKK0ADSMTP, " | |||
| lt_ty_but0id | TYPE STANDARD TABLE OF BUT0ID, " | |||
| lv_x_rltyp | TYPE TBZ0-RLTYP, " CO_CONTRACT_PARTNER | |||
| lt_ty_but000_int | TYPE STANDARD TABLE OF BUS000_INT_TD, " | |||
| lv_y_but000_validity | TYPE BUS000_VALIDITY, " | |||
| lv_partner_in_role_not_found | TYPE BUS000_VALIDITY, " | |||
| lt_ty_bank | TYPE STANDARD TABLE OF BUS0BK, " | |||
| lv_x_xbank | TYPE BOOLE-BOOLE, " | |||
| lv_y_rltypes | TYPE ISU01_PARTNER_RLTYPES, " | |||
| lv_internal_error | TYPE ISU01_PARTNER_RLTYPES, " | |||
| lv_x_xccard | TYPE BOOLE-BOOLE, " | |||
| lt_ty_address | TYPE STANDARD TABLE OF BUS020_EXT, " | |||
| lv_y_partner_in_role_not_found | TYPE BOOLE, " | |||
| lt_ty_adr2 | TYPE STANDARD TABLE OF ADR2, " | |||
| lv_x_xtaxnum | TYPE BOOLE-BOOLE, " | |||
| lt_ty_adr3 | TYPE STANDARD TABLE OF ADR3, " | |||
| lv_x_xaddr_mult | TYPE BOOLE-BOOLE, " | |||
| lt_ty_adr6 | TYPE STANDARD TABLE OF ADR6, " | |||
| lv_x_addrnumber | TYPE BUT020-ADDRNUMBER, " | |||
| lv_x_valdt | TYPE SY-DATLO, " SY-DATLO | |||
| lt_ty_ccard | TYPE STANDARD TABLE OF ISU_CCARD_AUTO, " | |||
| lt_ty_taxnum | TYPE STANDARD TABLE OF DFKKBPTAXNUM, " | |||
| lv_x_valdt_tech | TYPE SY-DATLO. " SY-DATLO |
|   CALL FUNCTION 'ISU_DB_PARTNER_SINGLE' "Read Business Partner |
| EXPORTING | ||
| X_PARTNER | = lv_x_partner | |
| X_OPERATION | = lv_x_operation | |
| X_XTELN_MULT | = lv_x_xteln_mult | |
| X_XFAXN_MULT | = lv_x_xfaxn_mult | |
| X_XEMAIL_MULT | = lv_x_xemail_mult | |
| X_RLTYP | = lv_x_rltyp | |
| X_XBANK | = lv_x_xbank | |
| X_XCCARD | = lv_x_xccard | |
| X_XTAXNUM | = lv_x_xtaxnum | |
| X_XADDR_MULT | = lv_x_xaddr_mult | |
| X_ADDRNUMBER | = lv_x_addrnumber | |
| X_VALDT | = lv_x_valdt | |
| X_VALDT_TECH | = lv_x_valdt_tech | |
| IMPORTING | ||
| Y_BUT000 | = lv_y_but000 | |
| Y_BUT000_VALIDITY | = lv_y_but000_validity | |
| Y_RLTYPES | = lv_y_rltypes | |
| Y_PARTNER_IN_ROLE_NOT_FOUND | = lv_y_partner_in_role_not_found | |
| TABLES | ||
| TY_BUT000 | = lt_ty_but000 | |
| TY_RLTYPES | = lt_ty_rltypes | |
| TY_ADDVER_FS | = lt_ty_addver_fs | |
| TY_BUT0IS | = lt_ty_but0is | |
| TY_TELNO | = lt_ty_telno | |
| TY_FAXNO | = lt_ty_faxno | |
| TY_EMAIL | = lt_ty_email | |
| TY_BUT0ID | = lt_ty_but0id | |
| TY_BUT000_INT | = lt_ty_but000_int | |
| TY_BANK | = lt_ty_bank | |
| TY_ADDRESS | = lt_ty_address | |
| TY_ADR2 | = lt_ty_adr2 | |
| TY_ADR3 | = lt_ty_adr3 | |
| TY_ADR6 | = lt_ty_adr6 | |
| TY_CCARD | = lt_ty_ccard | |
| TY_TAXNUM | = lt_ty_taxnum | |
| EXCEPTIONS | ||
| PARTNER_NOT_FOUND = 1 | ||
| PARTNER_IN_ROLE_NOT_FOUND = 2 | ||
| INTERNAL_ERROR = 3 | ||
| . " ISU_DB_PARTNER_SINGLE | ||
ABAP code using 7.40 inline data declarations to call FM ISU_DB_PARTNER_SINGLE
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 PARTNER FROM BUT000 INTO @DATA(ld_x_partner). | ||||
| "SELECT single OPERATION FROM TB008S INTO @DATA(ld_x_operation). | ||||
| "SELECT single BOOLE FROM BOOLE INTO @DATA(ld_x_xteln_mult). | ||||
| "SELECT single BOOLE FROM BOOLE INTO @DATA(ld_x_xfaxn_mult). | ||||
| "SELECT single BOOLE FROM BOOLE INTO @DATA(ld_x_xemail_mult). | ||||
| "SELECT single RLTYP FROM TBZ0 INTO @DATA(ld_x_rltyp). | ||||
| DATA(ld_x_rltyp) | = CO_CONTRACT_PARTNER. | |||
| "SELECT single BOOLE FROM BOOLE INTO @DATA(ld_x_xbank). | ||||
| "SELECT single BOOLE FROM BOOLE INTO @DATA(ld_x_xccard). | ||||
| "SELECT single BOOLE FROM BOOLE INTO @DATA(ld_x_xtaxnum). | ||||
| "SELECT single BOOLE FROM BOOLE INTO @DATA(ld_x_xaddr_mult). | ||||
| "SELECT single ADDRNUMBER FROM BUT020 INTO @DATA(ld_x_addrnumber). | ||||
| "SELECT single DATLO FROM SY INTO @DATA(ld_x_valdt). | ||||
| DATA(ld_x_valdt) | = SY-DATLO. | |||
| "SELECT single DATLO FROM SY INTO @DATA(ld_x_valdt_tech). | ||||
| DATA(ld_x_valdt_tech) | = SY-DATLO. | |||
Search for further information about these or an SAP related objects