SAP FTBU_CONVERT_MAIN_LOCAL Function Module for NOTRANSL: Umsetztools: Allgemeiner Umsetzbaustein
FTBU_CONVERT_MAIN_LOCAL is a standard ftbu convert main local SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for NOTRANSL: Umsetztools: Allgemeiner Umsetzbaustein 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 convert main local FM, simply by entering the name FTBU_CONVERT_MAIN_LOCAL into the relevant SAP transaction such as SE37 or SE38.
Function Group: FTBU_CONV
Program Name: SAPLFTBU_CONV
Main Program: SAPLFTBU_CONV
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function FTBU_CONVERT_MAIN_LOCAL 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_CONVERT_MAIN_LOCAL'"NOTRANSL: Umsetztools: Allgemeiner Umsetzbaustein.
EXPORTING
* I_TEST = "Test Run
I_PROJEKT = "Business Partner Changeover: Project for Conversion
I_TABNAME = "Subproject
* I_CON_PACK = '00100' "Block Size
* I_CHECK = "Data element for domain BOOLE: TRUE (='X') and FALSE (=' ')
* I_RUN = "Data element for domain BOOLE: TRUE (='X') and FALSE (=' ')
* I_NO_PROT = "Data element for domain BOOLE: TRUE (='X') and FALSE (=' ')
* I_PROTOKOLL_NAME = "Log Name
* I_PROTOKOLL_SHOW = "Data element for domain BOOLE: TRUE (='X') and FALSE (=' ')
* I_PROTOKOLL_DETAIL = "Show Log Details
* I_NO_PROT_PARA = 'X' "Data element for domain BOOLE: TRUE (='X') and FALSE (=' ')
* I_NO_REPEAT = "Data element for domain BOOLE: TRUE (='X') and FALSE (=' ')
IMPORTING
E_FLAG_NO = "Data Element for BOOLE Domain: TRUE (='X') and FALSE (=' ')
EXCEPTIONS
ZTPKT = 1
IMPORTING Parameters details for FTBU_CONVERT_MAIN_LOCAL
I_TEST - Test Run
Data type: BOOLE-BOOLEOptional: Yes
Call by Reference: Yes
I_PROJEKT - Business Partner Changeover: Project for Conversion
Data type: TPU2-PROJEKTOptional: No
Call by Reference: Yes
I_TABNAME - Subproject
Data type: TPU2-TABNAMEOptional: No
Call by Reference: Yes
I_CON_PACK - Block Size
Data type: NUMC5Default: '00100'
Optional: Yes
Call by Reference: Yes
I_CHECK - Data element for domain BOOLE: TRUE (='X') and FALSE (=' ')
Data type: BOOLE-BOOLEOptional: Yes
Call by Reference: Yes
I_RUN - Data element for domain BOOLE: TRUE (='X') and FALSE (=' ')
Data type: BOOLE-BOOLEOptional: Yes
Call by Reference: Yes
I_NO_PROT - Data element for domain BOOLE: TRUE (='X') and FALSE (=' ')
Data type: BOOLE-BOOLEOptional: Yes
Call by Reference: Yes
I_PROTOKOLL_NAME - Log Name
Data type: DDPRH-PROTNAMEOptional: Yes
Call by Reference: Yes
I_PROTOKOLL_SHOW - Data element for domain BOOLE: TRUE (='X') and FALSE (=' ')
Data type: BOOLE-BOOLEOptional: Yes
Call by Reference: Yes
I_PROTOKOLL_DETAIL - Show Log Details
Data type: BOOLE-BOOLEOptional: Yes
Call by Reference: Yes
I_NO_PROT_PARA - Data element for domain BOOLE: TRUE (='X') and FALSE (=' ')
Data type: BOOLE-BOOLEDefault: 'X'
Optional: Yes
Call by Reference: Yes
I_NO_REPEAT - Data element for domain BOOLE: TRUE (='X') and FALSE (=' ')
Data type: BOOLE-BOOLEOptional: Yes
Call by Reference: Yes
EXPORTING Parameters details for FTBU_CONVERT_MAIN_LOCAL
E_FLAG_NO - Data Element for BOOLE Domain: TRUE (='X') and FALSE (=' ')
Data type: BOOLE-BOOLEOptional: No
Call by Reference: Yes
EXCEPTIONS details
ZTPKT - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for FTBU_CONVERT_MAIN_LOCAL 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_ztpkt | TYPE STRING, " | |||
| lv_i_test | TYPE BOOLE-BOOLE, " | |||
| lv_e_flag_no | TYPE BOOLE-BOOLE, " | |||
| lv_i_projekt | TYPE TPU2-PROJEKT, " | |||
| lv_i_tabname | TYPE TPU2-TABNAME, " | |||
| lv_i_con_pack | TYPE NUMC5, " '00100' | |||
| lv_i_check | TYPE BOOLE-BOOLE, " | |||
| lv_i_run | TYPE BOOLE-BOOLE, " | |||
| lv_i_no_prot | TYPE BOOLE-BOOLE, " | |||
| lv_i_protokoll_name | TYPE DDPRH-PROTNAME, " | |||
| lv_i_protokoll_show | TYPE BOOLE-BOOLE, " | |||
| lv_i_protokoll_detail | TYPE BOOLE-BOOLE, " | |||
| lv_i_no_prot_para | TYPE BOOLE-BOOLE, " 'X' | |||
| lv_i_no_repeat | TYPE BOOLE-BOOLE. " |
|   CALL FUNCTION 'FTBU_CONVERT_MAIN_LOCAL' "NOTRANSL: Umsetztools: Allgemeiner Umsetzbaustein |
| EXPORTING | ||
| I_TEST | = lv_i_test | |
| I_PROJEKT | = lv_i_projekt | |
| I_TABNAME | = lv_i_tabname | |
| I_CON_PACK | = lv_i_con_pack | |
| I_CHECK | = lv_i_check | |
| I_RUN | = lv_i_run | |
| I_NO_PROT | = lv_i_no_prot | |
| I_PROTOKOLL_NAME | = lv_i_protokoll_name | |
| I_PROTOKOLL_SHOW | = lv_i_protokoll_show | |
| I_PROTOKOLL_DETAIL | = lv_i_protokoll_detail | |
| I_NO_PROT_PARA | = lv_i_no_prot_para | |
| I_NO_REPEAT | = lv_i_no_repeat | |
| IMPORTING | ||
| E_FLAG_NO | = lv_e_flag_no | |
| EXCEPTIONS | ||
| ZTPKT = 1 | ||
| . " FTBU_CONVERT_MAIN_LOCAL | ||
ABAP code using 7.40 inline data declarations to call FM FTBU_CONVERT_MAIN_LOCAL
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_test). | ||||
| "SELECT single BOOLE FROM BOOLE INTO @DATA(ld_e_flag_no). | ||||
| "SELECT single PROJEKT FROM TPU2 INTO @DATA(ld_i_projekt). | ||||
| "SELECT single TABNAME FROM TPU2 INTO @DATA(ld_i_tabname). | ||||
| DATA(ld_i_con_pack) | = '00100'. | |||
| "SELECT single BOOLE FROM BOOLE INTO @DATA(ld_i_check). | ||||
| "SELECT single BOOLE FROM BOOLE INTO @DATA(ld_i_run). | ||||
| "SELECT single BOOLE FROM BOOLE INTO @DATA(ld_i_no_prot). | ||||
| "SELECT single PROTNAME FROM DDPRH INTO @DATA(ld_i_protokoll_name). | ||||
| "SELECT single BOOLE FROM BOOLE INTO @DATA(ld_i_protokoll_show). | ||||
| "SELECT single BOOLE FROM BOOLE INTO @DATA(ld_i_protokoll_detail). | ||||
| "SELECT single BOOLE FROM BOOLE INTO @DATA(ld_i_no_prot_para). | ||||
| DATA(ld_i_no_prot_para) | = 'X'. | |||
| "SELECT single BOOLE FROM BOOLE INTO @DATA(ld_i_no_repeat). | ||||
Search for further information about these or an SAP related objects