SAP MAPPING_TO_TLINEKOM Function Module for NOTRANSL: Mapping Extern/Intern Belegtexte Insert
MAPPING_TO_TLINEKOM is a standard mapping to tlinekom 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: Mapping Extern/Intern Belegtexte Insert 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 mapping to tlinekom FM, simply by entering the name MAPPING_TO_TLINEKOM into the relevant SAP transaction such as SE37 or SE38.
Function Group: V43E
Program Name: SAPLV43E
Main Program: SAPLV43E
Appliation area: V
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function MAPPING_TO_TLINEKOM 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 'MAPPING_TO_TLINEKOM'"NOTRANSL: Mapping Extern/Intern Belegtexte Insert.
EXPORTING
FI_REFOBJECTTYPE = "DE-EN-LANG-SWITCH-NO-TRANSLATION
FI_REFOBJECTKEY = "DE-EN-LANG-SWITCH-NO-TRANSLATION
FI_VBELN = "DE-EN-LANG-SWITCH-NO-TRANSLATION
* FI_RTF_ITF = ' ' "Text Form.
TABLES
FTI_TLINEKOM = "DE-EN-LANG-SWITCH-NO-TRANSLATION
FTE_TLINEKOM = "DE-EN-LANG-SWITCH-NO-TRANSLATION
FTR_RETURN = "Error Codes
IMPORTING Parameters details for MAPPING_TO_TLINEKOM
FI_REFOBJECTTYPE - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type: SWO_OBJTYPOptional: No
Call by Reference: No ( called with pass by value option)
FI_REFOBJECTKEY - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type: SWO_TYPEIDOptional: No
Call by Reference: No ( called with pass by value option)
FI_VBELN - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type: CAS_VBELNOptional: No
Call by Reference: No ( called with pass by value option)
FI_RTF_ITF - Text Form.
Data type: CHAR1Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for MAPPING_TO_TLINEKOM
FTI_TLINEKOM - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type: BAPI_VBKA_TLINEKOMOptional: No
Call by Reference: No ( called with pass by value option)
FTE_TLINEKOM - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type: TLINEKOMOptional: No
Call by Reference: No ( called with pass by value option)
FTR_RETURN - Error Codes
Data type: BAPIRET2Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for MAPPING_TO_TLINEKOM 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: | ||||
| lt_fti_tlinekom | TYPE STANDARD TABLE OF BAPI_VBKA_TLINEKOM, " | |||
| lv_fi_refobjecttype | TYPE SWO_OBJTYP, " | |||
| lt_fte_tlinekom | TYPE STANDARD TABLE OF TLINEKOM, " | |||
| lv_fi_refobjectkey | TYPE SWO_TYPEID, " | |||
| lv_fi_vbeln | TYPE CAS_VBELN, " | |||
| lt_ftr_return | TYPE STANDARD TABLE OF BAPIRET2, " | |||
| lv_fi_rtf_itf | TYPE CHAR1. " SPACE |
|   CALL FUNCTION 'MAPPING_TO_TLINEKOM' "NOTRANSL: Mapping Extern/Intern Belegtexte Insert |
| EXPORTING | ||
| FI_REFOBJECTTYPE | = lv_fi_refobjecttype | |
| FI_REFOBJECTKEY | = lv_fi_refobjectkey | |
| FI_VBELN | = lv_fi_vbeln | |
| FI_RTF_ITF | = lv_fi_rtf_itf | |
| TABLES | ||
| FTI_TLINEKOM | = lt_fti_tlinekom | |
| FTE_TLINEKOM | = lt_fte_tlinekom | |
| FTR_RETURN | = lt_ftr_return | |
| . " MAPPING_TO_TLINEKOM | ||
ABAP code using 7.40 inline data declarations to call FM MAPPING_TO_TLINEKOM
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_fi_rtf_itf) | = ' '. | |||
Search for further information about these or an SAP related objects