SAP TERM_DOWNLOAD_OLIF2_FILE Function Module for NOTRANSL: Olif Download









TERM_DOWNLOAD_OLIF2_FILE is a standard term download olif2 file 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: Olif Download 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 term download olif2 file FM, simply by entering the name TERM_DOWNLOAD_OLIF2_FILE into the relevant SAP transaction such as SE37 or SE38.

Function Group: STERM_MULTI
Program Name: SAPLSTERM_MULTI
Main Program: SAPLSTERM_MULTI
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function TERM_DOWNLOAD_OLIF2_FILE 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 'TERM_DOWNLOAD_OLIF2_FILE'"NOTRANSL: Olif Download
EXPORTING
* END_OF_FILE = ' ' "Flag (X or Blank)
SOURCE_LANGU = "Language Key
TARGET_LANGU = "Language Key
MAIN_COMP = "Flag (X or Blank)
INCLUDE_GLOS = "Flag (X or Blank)
INCLUDE_NOTE = "Flag (X or Blank)
LEAN_OUTPUT = "Flag (X or Blank)
PATH = "Predefined Type

TABLES
ENTRIES = "Transfer Structure for SAPterm

EXCEPTIONS
NO_ENTRY_FOUND = 1 USER_CANCELLED = 2
.



IMPORTING Parameters details for TERM_DOWNLOAD_OLIF2_FILE

END_OF_FILE - Flag (X or Blank)

Data type: AS4FLAG
Default: ' '
Optional: No
Call by Reference: Yes

SOURCE_LANGU - Language Key

Data type: SYLANGU
Optional: No
Call by Reference: Yes

TARGET_LANGU - Language Key

Data type: SYLANGU
Optional: No
Call by Reference: Yes

MAIN_COMP - Flag (X or Blank)

Data type: AS4FLAG
Optional: No
Call by Reference: Yes

INCLUDE_GLOS - Flag (X or Blank)

Data type: AS4FLAG
Optional: No
Call by Reference: Yes

INCLUDE_NOTE - Flag (X or Blank)

Data type: AS4FLAG
Optional: No
Call by Reference: Yes

LEAN_OUTPUT - Flag (X or Blank)

Data type: AS4FLAG
Optional: No
Call by Reference: Yes

PATH - Predefined Type

Data type: STRING
Optional: No
Call by Reference: Yes

TABLES Parameters details for TERM_DOWNLOAD_OLIF2_FILE

ENTRIES - Transfer Structure for SAPterm

Data type: STERM_TERM
Optional: No
Call by Reference: Yes

EXCEPTIONS details

NO_ENTRY_FOUND -

Data type:
Optional: No
Call by Reference: Yes

USER_CANCELLED -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for TERM_DOWNLOAD_OLIF2_FILE 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_entries  TYPE STANDARD TABLE OF STERM_TERM, "   
lv_end_of_file  TYPE AS4FLAG, "   ' '
lv_no_entry_found  TYPE AS4FLAG, "   
lv_source_langu  TYPE SYLANGU, "   
lv_user_cancelled  TYPE SYLANGU, "   
lv_target_langu  TYPE SYLANGU, "   
lv_main_comp  TYPE AS4FLAG, "   
lv_include_glos  TYPE AS4FLAG, "   
lv_include_note  TYPE AS4FLAG, "   
lv_lean_output  TYPE AS4FLAG, "   
lv_path  TYPE STRING. "   

  CALL FUNCTION 'TERM_DOWNLOAD_OLIF2_FILE'  "NOTRANSL: Olif Download
    EXPORTING
         END_OF_FILE = lv_end_of_file
         SOURCE_LANGU = lv_source_langu
         TARGET_LANGU = lv_target_langu
         MAIN_COMP = lv_main_comp
         INCLUDE_GLOS = lv_include_glos
         INCLUDE_NOTE = lv_include_note
         LEAN_OUTPUT = lv_lean_output
         PATH = lv_path
    TABLES
         ENTRIES = lt_entries
    EXCEPTIONS
        NO_ENTRY_FOUND = 1
        USER_CANCELLED = 2
. " TERM_DOWNLOAD_OLIF2_FILE




ABAP code using 7.40 inline data declarations to call FM TERM_DOWNLOAD_OLIF2_FILE

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_end_of_file) = ' '.
 
 
 
 
 
 
 
 
 
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!