SAP CIF_GEN_LOG_OPEN Function Module for NOTRANSL: Initialisiert Anwendungslog für übergebene Log Unterobjekte
CIF_GEN_LOG_OPEN is a standard cif gen log open 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: Initialisiert Anwendungslog für übergebene Log Unterobjekte 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 cif gen log open FM, simply by entering the name CIF_GEN_LOG_OPEN into the relevant SAP transaction such as SE37 or SE38.
Function Group: CIFG
Program Name: SAPLCIFG
Main Program: SAPLCIFG
Appliation area: C
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update: 1

Function CIF_GEN_LOG_OPEN 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 'CIF_GEN_LOG_OPEN'"NOTRANSL: Initialisiert Anwendungslog für übergebene Log Unterobjekte.
EXPORTING
* IV_LOGOBJECT = G_LOGOBJ_CIF_CON "
IV_LOGSUBOBJECT = "
* IV_EXTNUMBER = "
* IV_FORCE = "DE-EN-LANG-SWITCH-NO-TRANSLATION
* IV_CLEAR_MAX_PROBCLASS = G_TRUE_CON "DE-EN-LANG-SWITCH-NO-TRANSLATION
EXCEPTIONS
INITIALIZE_FAILED = 1
IMPORTING Parameters details for CIF_GEN_LOG_OPEN
IV_LOGOBJECT -
Data type: BALHDR-OBJECTDefault: G_LOGOBJ_CIF_CON
Optional: Yes
Call by Reference: No ( called with pass by value option)
IV_LOGSUBOBJECT -
Data type: BALHDR-SUBOBJECTOptional: No
Call by Reference: No ( called with pass by value option)
IV_EXTNUMBER -
Data type: BALHDR-EXTNUMBEROptional: Yes
Call by Reference: No ( called with pass by value option)
IV_FORCE - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type: SY-BATCHOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_CLEAR_MAX_PROBCLASS - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type: SY-BATCHDefault: G_TRUE_CON
Optional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
INITIALIZE_FAILED -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for CIF_GEN_LOG_OPEN 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_iv_logobject | TYPE BALHDR-OBJECT, " G_LOGOBJ_CIF_CON | |||
| lv_initialize_failed | TYPE BALHDR, " | |||
| lv_iv_logsubobject | TYPE BALHDR-SUBOBJECT, " | |||
| lv_iv_extnumber | TYPE BALHDR-EXTNUMBER, " | |||
| lv_iv_force | TYPE SY-BATCH, " | |||
| lv_iv_clear_max_probclass | TYPE SY-BATCH. " G_TRUE_CON |
|   CALL FUNCTION 'CIF_GEN_LOG_OPEN' "NOTRANSL: Initialisiert Anwendungslog für übergebene Log Unterobjekte |
| EXPORTING | ||
| IV_LOGOBJECT | = lv_iv_logobject | |
| IV_LOGSUBOBJECT | = lv_iv_logsubobject | |
| IV_EXTNUMBER | = lv_iv_extnumber | |
| IV_FORCE | = lv_iv_force | |
| IV_CLEAR_MAX_PROBCLASS | = lv_iv_clear_max_probclass | |
| EXCEPTIONS | ||
| INITIALIZE_FAILED = 1 | ||
| . " CIF_GEN_LOG_OPEN | ||
ABAP code using 7.40 inline data declarations to call FM CIF_GEN_LOG_OPEN
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 OBJECT FROM BALHDR INTO @DATA(ld_iv_logobject). | ||||
| DATA(ld_iv_logobject) | = G_LOGOBJ_CIF_CON. | |||
| "SELECT single SUBOBJECT FROM BALHDR INTO @DATA(ld_iv_logsubobject). | ||||
| "SELECT single EXTNUMBER FROM BALHDR INTO @DATA(ld_iv_extnumber). | ||||
| "SELECT single BATCH FROM SY INTO @DATA(ld_iv_force). | ||||
| "SELECT single BATCH FROM SY INTO @DATA(ld_iv_clear_max_probclass). | ||||
| DATA(ld_iv_clear_max_probclass) | = G_TRUE_CON. | |||
Search for further information about these or an SAP related objects