SAP TB_EVALUATION_OPTLG_INFO_WRITE Function Module for Output Line: Options, Long
TB_EVALUATION_OPTLG_INFO_WRITE is a standard tb evaluation optlg info write SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Output Line: Options, Long 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 tb evaluation optlg info write FM, simply by entering the name TB_EVALUATION_OPTLG_INFO_WRITE into the relevant SAP transaction such as SE37 or SE38.
Function Group: TB16
Program Name: SAPLTB16
Main Program: SAPLTB16
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function TB_EVALUATION_OPTLG_INFO_WRITE 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 'TB_EVALUATION_OPTLG_INFO_WRITE'"Output Line: Options, Long.
EXPORTING
BUCHWERT_FW = "
BUCHWERT_HW = "
FREMDWAEHRUNG = "
HAUSWAEHRUNG = "
STICHTAGSWERT_FW = "
STICHTAGSWERT_HW = "
IMPORTING Parameters details for TB_EVALUATION_OPTLG_INFO_WRITE
BUCHWERT_FW -
Data type: VTBFHAPO-BZBETROptional: No
Call by Reference: No ( called with pass by value option)
BUCHWERT_HW -
Data type: VTBFHAPO-BHWBETROptional: No
Call by Reference: No ( called with pass by value option)
FREMDWAEHRUNG -
Data type: TCURC-WAERSOptional: No
Call by Reference: No ( called with pass by value option)
HAUSWAEHRUNG -
Data type: TCURC-WAERSOptional: No
Call by Reference: No ( called with pass by value option)
STICHTAGSWERT_FW -
Data type: VTBFHAPO-BZBETROptional: No
Call by Reference: No ( called with pass by value option)
STICHTAGSWERT_HW -
Data type: VTBFHAPO-BHWBETROptional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for TB_EVALUATION_OPTLG_INFO_WRITE 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_buchwert_fw | TYPE VTBFHAPO-BZBETR, " | |||
| lv_buchwert_hw | TYPE VTBFHAPO-BHWBETR, " | |||
| lv_fremdwaehrung | TYPE TCURC-WAERS, " | |||
| lv_hauswaehrung | TYPE TCURC-WAERS, " | |||
| lv_stichtagswert_fw | TYPE VTBFHAPO-BZBETR, " | |||
| lv_stichtagswert_hw | TYPE VTBFHAPO-BHWBETR. " |
|   CALL FUNCTION 'TB_EVALUATION_OPTLG_INFO_WRITE' "Output Line: Options, Long |
| EXPORTING | ||
| BUCHWERT_FW | = lv_buchwert_fw | |
| BUCHWERT_HW | = lv_buchwert_hw | |
| FREMDWAEHRUNG | = lv_fremdwaehrung | |
| HAUSWAEHRUNG | = lv_hauswaehrung | |
| STICHTAGSWERT_FW | = lv_stichtagswert_fw | |
| STICHTAGSWERT_HW | = lv_stichtagswert_hw | |
| . " TB_EVALUATION_OPTLG_INFO_WRITE | ||
ABAP code using 7.40 inline data declarations to call FM TB_EVALUATION_OPTLG_INFO_WRITE
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 BZBETR FROM VTBFHAPO INTO @DATA(ld_buchwert_fw). | ||||
| "SELECT single BHWBETR FROM VTBFHAPO INTO @DATA(ld_buchwert_hw). | ||||
| "SELECT single WAERS FROM TCURC INTO @DATA(ld_fremdwaehrung). | ||||
| "SELECT single WAERS FROM TCURC INTO @DATA(ld_hauswaehrung). | ||||
| "SELECT single BZBETR FROM VTBFHAPO INTO @DATA(ld_stichtagswert_fw). | ||||
| "SELECT single BHWBETR FROM VTBFHAPO INTO @DATA(ld_stichtagswert_hw). | ||||
Search for further information about these or an SAP related objects