SAP FTBU_CONV_TP14 Function Module for Conversion: Conversion Customizing for Address ID









FTBU_CONV_TP14 is a standard ftbu conv tp14 SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Conversion: Conversion Customizing for Address ID 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 ftbu conv tp14 FM, simply by entering the name FTBU_CONV_TP14 into the relevant SAP transaction such as SE37 or SE38.

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



Function FTBU_CONV_TP14 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 'FTBU_CONV_TP14'"Conversion: Conversion Customizing for Address ID
EXPORTING
* I_ADR_REF = "Address ID (TR BP)
* I_ADR_KIND = "Address Type (CBP)
* I_RLTYP = "BDT: Object Part
* I_DEFAULT_FLAG = "Data Element for BOOLE Domain: TRUE (='X') and FALSE (=' ')
* I_CHECK = "Data Element for BOOLE Domain: TRUE (='X') and FALSE (=' ')

IMPORTING
E_ADR_KIND = "Address Type (CBP)
E_ADR_REF = "Address ID (TR BP)

EXCEPTIONS
NO_ENTRY = 1 NO_UCUST = 2
.



IMPORTING Parameters details for FTBU_CONV_TP14

I_ADR_REF - Address ID (TR BP)

Data type: BP_ADR_REF
Optional: Yes
Call by Reference: Yes

I_ADR_KIND - Address Type (CBP)

Data type: TB009-ADR_KIND
Optional: Yes
Call by Reference: Yes

I_RLTYP - BDT: Object Part

Data type: TBZ0-RLTYP
Optional: Yes
Call by Reference: Yes

I_DEFAULT_FLAG - Data Element for BOOLE Domain: TRUE (='X') and FALSE (=' ')

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

I_CHECK - Data Element for BOOLE Domain: TRUE (='X') and FALSE (=' ')

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

EXPORTING Parameters details for FTBU_CONV_TP14

E_ADR_KIND - Address Type (CBP)

Data type: TP14-ADR_KIND
Optional: No
Call by Reference: Yes

E_ADR_REF - Address ID (TR BP)

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

EXCEPTIONS details

NO_ENTRY -

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

NO_UCUST -

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

Copy and paste ABAP code example for FTBU_CONV_TP14 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_no_entry  TYPE STRING, "   
lv_i_adr_ref  TYPE BP_ADR_REF, "   
lv_e_adr_kind  TYPE TP14-ADR_KIND, "   
lv_no_ucust  TYPE TP14, "   
lv_e_adr_ref  TYPE BP_ADR_REF, "   
lv_i_adr_kind  TYPE TB009-ADR_KIND, "   
lv_i_rltyp  TYPE TBZ0-RLTYP, "   
lv_i_default_flag  TYPE BOOLE-BOOLE, "   
lv_i_check  TYPE BOOLE-BOOLE. "   

  CALL FUNCTION 'FTBU_CONV_TP14'  "Conversion: Conversion Customizing for Address ID
    EXPORTING
         I_ADR_REF = lv_i_adr_ref
         I_ADR_KIND = lv_i_adr_kind
         I_RLTYP = lv_i_rltyp
         I_DEFAULT_FLAG = lv_i_default_flag
         I_CHECK = lv_i_check
    IMPORTING
         E_ADR_KIND = lv_e_adr_kind
         E_ADR_REF = lv_e_adr_ref
    EXCEPTIONS
        NO_ENTRY = 1
        NO_UCUST = 2
. " FTBU_CONV_TP14




ABAP code using 7.40 inline data declarations to call FM FTBU_CONV_TP14

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 ADR_KIND FROM TP14 INTO @DATA(ld_e_adr_kind).
 
 
 
"SELECT single ADR_KIND FROM TB009 INTO @DATA(ld_i_adr_kind).
 
"SELECT single RLTYP FROM TBZ0 INTO @DATA(ld_i_rltyp).
 
"SELECT single BOOLE FROM BOOLE INTO @DATA(ld_i_default_flag).
 
"SELECT single BOOLE FROM BOOLE INTO @DATA(ld_i_check).
 


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!