SAP FPB_LP_WRITE_ADD_TEXTS Function Module for NOTRANSL: weitere Texte zu Berichten schreiben
FPB_LP_WRITE_ADD_TEXTS is a standard fpb lp write add texts 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: weitere Texte zu Berichten schreiben 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 fpb lp write add texts FM, simply by entering the name FPB_LP_WRITE_ADD_TEXTS into the relevant SAP transaction such as SE37 or SE38.
Function Group: FPB_LAUNCHPAD_4
Program Name: SAPLFPB_LAUNCHPAD_4
Main Program: SAPLFPB_LAUNCHPAD_4
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function FPB_LP_WRITE_ADD_TEXTS 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 'FPB_LP_WRITE_ADD_TEXTS'"NOTRANSL: weitere Texte zu Berichten schreiben.
EXPORTING
ROLE = "Role
INSTANCE = "Instance
* ADD_CRIT = "Character Field Length - 32
SNI_USED = "
* TEST_RUN = "Test Run
* LANGU = SY-LANGU "Language Key of Current Text Environment
IT_REPORT_LIST = "Report List for Write Function in FPB_LAUNCHPAD_4
IMPORTING
ET_MESSAGES = "Error Messages
ET_REPORT_LIST = "Report List for Write Function in FPB_LAUNCHPAD_4
EXCEPTIONS
INCONSISTENT_INPUT = 1 NO_AUTHORITY = 2 DB_LOCKED = 3 OTHER_ERROR = 4
IMPORTING Parameters details for FPB_LP_WRITE_ADD_TEXTS
ROLE - Role
Data type: FPB_ROLEOptional: No
Call by Reference: Yes
INSTANCE - Instance
Data type: FPB_APPLOptional: No
Call by Reference: Yes
ADD_CRIT - Character Field Length - 32
Data type: CHAR32Optional: Yes
Call by Reference: Yes
SNI_USED -
Data type: CHAR1Optional: No
Call by Reference: Yes
TEST_RUN - Test Run
Data type: CHAR1Optional: Yes
Call by Reference: Yes
LANGU - Language Key of Current Text Environment
Data type: SYLANGUDefault: SY-LANGU
Optional: Yes
Call by Reference: Yes
IT_REPORT_LIST - Report List for Write Function in FPB_LAUNCHPAD_4
Data type: FPB_RL_T_REP_LIST_FPB4Optional: No
Call by Reference: Yes
EXPORTING Parameters details for FPB_LP_WRITE_ADD_TEXTS
ET_MESSAGES - Error Messages
Data type: BAPIRET2_TABOptional: No
Call by Reference: Yes
ET_REPORT_LIST - Report List for Write Function in FPB_LAUNCHPAD_4
Data type: FPB_RL_T_REP_LIST_FPB4Optional: No
Call by Reference: Yes
EXCEPTIONS details
INCONSISTENT_INPUT - Inconsistent Input Parameter
Data type:Optional: No
Call by Reference: Yes
NO_AUTHORITY - No authorization
Data type:Optional: No
Call by Reference: Yes
DB_LOCKED -
Data type:Optional: No
Call by Reference: Yes
OTHER_ERROR - Other error
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for FPB_LP_WRITE_ADD_TEXTS 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_role | TYPE FPB_ROLE, " | |||
| lv_et_messages | TYPE BAPIRET2_TAB, " | |||
| lv_inconsistent_input | TYPE BAPIRET2_TAB, " | |||
| lv_instance | TYPE FPB_APPL, " | |||
| lv_no_authority | TYPE FPB_APPL, " | |||
| lv_et_report_list | TYPE FPB_RL_T_REP_LIST_FPB4, " | |||
| lv_add_crit | TYPE CHAR32, " | |||
| lv_db_locked | TYPE CHAR32, " | |||
| lv_sni_used | TYPE CHAR1, " | |||
| lv_other_error | TYPE CHAR1, " | |||
| lv_test_run | TYPE CHAR1, " | |||
| lv_langu | TYPE SYLANGU, " SY-LANGU | |||
| lv_it_report_list | TYPE FPB_RL_T_REP_LIST_FPB4. " |
|   CALL FUNCTION 'FPB_LP_WRITE_ADD_TEXTS' "NOTRANSL: weitere Texte zu Berichten schreiben |
| EXPORTING | ||
| ROLE | = lv_role | |
| INSTANCE | = lv_instance | |
| ADD_CRIT | = lv_add_crit | |
| SNI_USED | = lv_sni_used | |
| TEST_RUN | = lv_test_run | |
| LANGU | = lv_langu | |
| IT_REPORT_LIST | = lv_it_report_list | |
| IMPORTING | ||
| ET_MESSAGES | = lv_et_messages | |
| ET_REPORT_LIST | = lv_et_report_list | |
| EXCEPTIONS | ||
| INCONSISTENT_INPUT = 1 | ||
| NO_AUTHORITY = 2 | ||
| DB_LOCKED = 3 | ||
| OTHER_ERROR = 4 | ||
| . " FPB_LP_WRITE_ADD_TEXTS | ||
ABAP code using 7.40 inline data declarations to call FM FPB_LP_WRITE_ADD_TEXTS
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.| DATA(ld_langu) | = SY-LANGU. | |||
Search for further information about these or an SAP related objects