SAP FTBU_CONVERT_MAIN Function Module for NOTRANSL: Umsetztools: Allgemeiner Umsetzbaustein
FTBU_CONVERT_MAIN is a standard ftbu convert main 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 FM, simply by entering the name FTBU_CONVERT_MAIN 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 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'"NOTRANSL: Umsetztools: Allgemeiner Umsetzbaustein.
EXPORTING
* I_TEST = "Test Run
I_TABNAME = "Subproject
* I_CON_PACK = '00100' "Block Size
* I_PARTNER_LOW = "Business Partner Number
* 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_NO_CHECK = "Data element for domain BOOLE: TRUE (='X') and FALSE (=' ')
* I_PROTOKOLL_NAME = "Log Name
* I_PROTOKOLL_SHOW = "Display Log
* I_PROTOKOLL_DETAIL = "Show Log Details
I_PROJEKT = "Business Partner Changeover: Project for Conversion
EXCEPTIONS
ZTPKT = 1
IMPORTING Parameters details for FTBU_CONVERT_MAIN
I_TEST - Test Run
Data type: BOOLE-BOOLEOptional: Yes
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_PARTNER_LOW - Business Partner Number
Data type: BUT000-PARTNEROptional: 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_NO_CHECK - 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 - Display Log
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_PROJEKT - Business Partner Changeover: Project for Conversion
Data type: TPU2-PROJEKTOptional: 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 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_i_tabname | TYPE TPU2-TABNAME, " | |||
| lv_i_con_pack | TYPE NUMC5, " '00100' | |||
| lv_i_partner_low | TYPE BUT000-PARTNER, " | |||
| lv_i_check | TYPE BOOLE-BOOLE, " | |||
| lv_i_run | TYPE BOOLE-BOOLE, " | |||
| lv_i_no_prot | TYPE BOOLE-BOOLE, " | |||
| lv_i_no_check | 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_projekt | TYPE TPU2-PROJEKT. " |
|   CALL FUNCTION 'FTBU_CONVERT_MAIN' "NOTRANSL: Umsetztools: Allgemeiner Umsetzbaustein |
| EXPORTING | ||
| I_TEST | = lv_i_test | |
| I_TABNAME | = lv_i_tabname | |
| I_CON_PACK | = lv_i_con_pack | |
| I_PARTNER_LOW | = lv_i_partner_low | |
| I_CHECK | = lv_i_check | |
| I_RUN | = lv_i_run | |
| I_NO_PROT | = lv_i_no_prot | |
| I_NO_CHECK | = lv_i_no_check | |
| I_PROTOKOLL_NAME | = lv_i_protokoll_name | |
| I_PROTOKOLL_SHOW | = lv_i_protokoll_show | |
| I_PROTOKOLL_DETAIL | = lv_i_protokoll_detail | |
| I_PROJEKT | = lv_i_projekt | |
| EXCEPTIONS | ||
| ZTPKT = 1 | ||
| . " FTBU_CONVERT_MAIN | ||
ABAP code using 7.40 inline data declarations to call FM FTBU_CONVERT_MAIN
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 TABNAME FROM TPU2 INTO @DATA(ld_i_tabname). | ||||
| DATA(ld_i_con_pack) | = '00100'. | |||
| "SELECT single PARTNER FROM BUT000 INTO @DATA(ld_i_partner_low). | ||||
| "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 BOOLE FROM BOOLE INTO @DATA(ld_i_no_check). | ||||
| "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 PROJEKT FROM TPU2 INTO @DATA(ld_i_projekt). | ||||
Search for further information about these or an SAP related objects