SAP FTBP_READ_PARTNER_CHECK Function Module for Business Partner: Check (Existence, Release, Delete Indicator, Customer)









FTBP_READ_PARTNER_CHECK is a standard ftbp read partner check SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Business Partner: Check (Existence, Release, Delete Indicator, Customer) 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 ftbp read partner check FM, simply by entering the name FTBP_READ_PARTNER_CHECK into the relevant SAP transaction such as SE37 or SE38.

Function Group: FTBP_READ
Program Name: SAPLFTBP_READ
Main Program: SAPLFTBP_READ
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function FTBP_READ_PARTNER_CHECK 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 'FTBP_READ_PARTNER_CHECK'"Business Partner: Check (Existence, Release, Delete Indicator, Customer)
EXPORTING
I_PARTNER = "Partner
* I_XWA = ' ' "Kennzeichen: Arbeitsbereich durchsuchen
* I_RLTYP = "BDT: Object Part
* I_BUKRS = "Company Code
* I_RELEASE_INDICATOR_CHECK = "Check Release of Partner
* I_DELETE_INDICATOR_CHECK = "Löschkennzeichen Prüfen
* I_CUSTOMER_CHECK = "Debitor prüfen
* I_CUSTOMER_BUKRS_CHECK = "Debitor im Buchungkreis prüfen
* I_VALDT_SEL = SY-DATLO "betr. Gültigkeit der GP-Rolle
* I_XMEMORY = ' ' "Kennzeichen: Lokales Memory durchsuchen

IMPORTING
E_KUNNR = "Customer Number 1
E_KUNNR_TEMP = "Customer Number 1

EXCEPTIONS
PARTNER = 1 RLTYP = 2 PARTNER_NOT_RELEASED = 3 DEBITOR = 4 DEBITOR_BUKRS = 5 DELETE_INDICATOR = 6 WRONG_PARAMETERS = 7
.



IMPORTING Parameters details for FTBP_READ_PARTNER_CHECK

I_PARTNER - Partner

Data type: BU_PARTNER
Optional: No
Call by Reference: No ( called with pass by value option)

I_XWA - Kennzeichen: Arbeitsbereich durchsuchen

Data type: BOOLE-BOOLE
Default: SPACE
Optional: Yes
Call by Reference: Yes

I_RLTYP - BDT: Object Part

Data type: BUT100-RLTYP
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_BUKRS - Company Code

Data type: T001-BUKRS
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_RELEASE_INDICATOR_CHECK - Check Release of Partner

Data type: BOOLE-BOOLE
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_DELETE_INDICATOR_CHECK - Löschkennzeichen Prüfen

Data type: BOOLE-BOOLE
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_CUSTOMER_CHECK - Debitor prüfen

Data type: BOOLE-BOOLE
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_CUSTOMER_BUKRS_CHECK - Debitor im Buchungkreis prüfen

Data type: BOOLE-BOOLE
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_VALDT_SEL - betr. Gültigkeit der GP-Rolle

Data type: SY-DATLO
Default: SY-DATLO
Optional: Yes
Call by Reference: Yes

I_XMEMORY - Kennzeichen: Lokales Memory durchsuchen

Data type: BOOLE-BOOLE
Default: SPACE
Optional: Yes
Call by Reference: Yes

EXPORTING Parameters details for FTBP_READ_PARTNER_CHECK

E_KUNNR - Customer Number 1

Data type: KUNNR
Optional: No
Call by Reference: Yes

E_KUNNR_TEMP - Customer Number 1

Data type: KUNNR
Optional: No
Call by Reference: Yes

EXCEPTIONS details

PARTNER - Partner exitiert nicht

Data type:
Optional: No
Call by Reference: Yes

RLTYP - Partner nicht in Rolle angelegt

Data type:
Optional: No
Call by Reference: Yes

PARTNER_NOT_RELEASED - Partner is not released

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

DEBITOR - Partner ist keinem Debitor zugeordnet

Data type:
Optional: No
Call by Reference: Yes

DEBITOR_BUKRS - Debitor nicht in Buchungkreis angelegt

Data type:
Optional: No
Call by Reference: Yes

DELETE_INDICATOR - Partner gesperrt/Löschvormerkung

Data type:
Optional: No
Call by Reference: Yes

WRONG_PARAMETERS - Incorrect call

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for FTBP_READ_PARTNER_CHECK 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_e_kunnr  TYPE KUNNR, "   
lv_partner  TYPE KUNNR, "   
lv_i_partner  TYPE BU_PARTNER, "   
lv_i_xwa  TYPE BOOLE-BOOLE, "   SPACE
lv_rltyp  TYPE BOOLE, "   
lv_i_rltyp  TYPE BUT100-RLTYP, "   
lv_e_kunnr_temp  TYPE KUNNR, "   
lv_i_bukrs  TYPE T001-BUKRS, "   
lv_partner_not_released  TYPE T001, "   
lv_debitor  TYPE T001, "   
lv_i_release_indicator_check  TYPE BOOLE-BOOLE, "   
lv_debitor_bukrs  TYPE BOOLE, "   
lv_i_delete_indicator_check  TYPE BOOLE-BOOLE, "   
lv_delete_indicator  TYPE BOOLE, "   
lv_i_customer_check  TYPE BOOLE-BOOLE, "   
lv_wrong_parameters  TYPE BOOLE, "   
lv_i_customer_bukrs_check  TYPE BOOLE-BOOLE, "   
lv_i_valdt_sel  TYPE SY-DATLO, "   SY-DATLO
lv_i_xmemory  TYPE BOOLE-BOOLE. "   SPACE

  CALL FUNCTION 'FTBP_READ_PARTNER_CHECK'  "Business Partner: Check (Existence, Release, Delete Indicator, Customer)
    EXPORTING
         I_PARTNER = lv_i_partner
         I_XWA = lv_i_xwa
         I_RLTYP = lv_i_rltyp
         I_BUKRS = lv_i_bukrs
         I_RELEASE_INDICATOR_CHECK = lv_i_release_indicator_check
         I_DELETE_INDICATOR_CHECK = lv_i_delete_indicator_check
         I_CUSTOMER_CHECK = lv_i_customer_check
         I_CUSTOMER_BUKRS_CHECK = lv_i_customer_bukrs_check
         I_VALDT_SEL = lv_i_valdt_sel
         I_XMEMORY = lv_i_xmemory
    IMPORTING
         E_KUNNR = lv_e_kunnr
         E_KUNNR_TEMP = lv_e_kunnr_temp
    EXCEPTIONS
        PARTNER = 1
        RLTYP = 2
        PARTNER_NOT_RELEASED = 3
        DEBITOR = 4
        DEBITOR_BUKRS = 5
        DELETE_INDICATOR = 6
        WRONG_PARAMETERS = 7
. " FTBP_READ_PARTNER_CHECK




ABAP code using 7.40 inline data declarations to call FM FTBP_READ_PARTNER_CHECK

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 BOOLE FROM BOOLE INTO @DATA(ld_i_xwa).
DATA(ld_i_xwa) = ' '.
 
 
"SELECT single RLTYP FROM BUT100 INTO @DATA(ld_i_rltyp).
 
 
"SELECT single BUKRS FROM T001 INTO @DATA(ld_i_bukrs).
 
 
 
"SELECT single BOOLE FROM BOOLE INTO @DATA(ld_i_release_indicator_check).
 
 
"SELECT single BOOLE FROM BOOLE INTO @DATA(ld_i_delete_indicator_check).
 
 
"SELECT single BOOLE FROM BOOLE INTO @DATA(ld_i_customer_check).
 
 
"SELECT single BOOLE FROM BOOLE INTO @DATA(ld_i_customer_bukrs_check).
 
"SELECT single DATLO FROM SY INTO @DATA(ld_i_valdt_sel).
DATA(ld_i_valdt_sel) = SY-DATLO.
 
"SELECT single BOOLE FROM BOOLE INTO @DATA(ld_i_xmemory).
DATA(ld_i_xmemory) = ' '.
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!