SAP J_7L_VBRK_FILTER Function Module for NOTRANSL: REA Datenfilter Fakturakopf









J_7L_VBRK_FILTER is a standard j 7l vbrk filter 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: REA Datenfilter Fakturakopf 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 j 7l vbrk filter FM, simply by entering the name J_7L_VBRK_FILTER into the relevant SAP transaction such as SE37 or SE38.

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



Function J_7L_VBRK_FILTER 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 'J_7L_VBRK_FILTER'"NOTRANSL: REA Datenfilter Fakturakopf
EXPORTING
VBRK = "Billing header
J_7LC08 = "

IMPORTING
FILTER_OK = "
FILTER_DFTYP = "Data Filter Type
FILTER_TYP = "
FILTER_VALUE = "
FILTER_MODE = "Set operation

TABLES
T_J_7LC01 = "
T_J_7LC03 = "
T_J_7LC04 = "

EXCEPTIONS
NOT_IN_RANGE = 1 PARAMETER_MISSING = 2
.



IMPORTING Parameters details for J_7L_VBRK_FILTER

VBRK - Billing header

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

J_7LC08 -

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

EXPORTING Parameters details for J_7L_VBRK_FILTER

FILTER_OK -

Data type: BAPIMISC-CHAR1
Optional: No
Call by Reference: Yes

FILTER_DFTYP - Data Filter Type

Data type: J_7LC45-DFTYP
Optional: No
Call by Reference: Yes

FILTER_TYP -

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

FILTER_VALUE -

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

FILTER_MODE - Set operation

Data type: J_7LC08-KZFKART
Optional: No
Call by Reference: Yes

TABLES Parameters details for J_7L_VBRK_FILTER

T_J_7LC01 -

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

T_J_7LC03 -

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

T_J_7LC04 -

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

EXCEPTIONS details

NOT_IN_RANGE - Obsolete

Data type:
Optional: No
Call by Reference: Yes

PARAMETER_MISSING - Wrong Input Parameter

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for J_7L_VBRK_FILTER 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_vbrk  TYPE VBRK, "   
lv_filter_ok  TYPE BAPIMISC-CHAR1, "   
lt_t_j_7lc01  TYPE STANDARD TABLE OF J_7LC01, "   
lv_not_in_range  TYPE J_7LC01, "   
lv_j_7lc08  TYPE J_7LC08, "   
lt_t_j_7lc03  TYPE STANDARD TABLE OF J_7LC03, "   
lv_filter_dftyp  TYPE J_7LC45-DFTYP, "   
lv_parameter_missing  TYPE J_7LC45, "   
lt_t_j_7lc04  TYPE STANDARD TABLE OF J_7LC04, "   
lv_filter_typ  TYPE C, "   
lv_filter_value  TYPE C, "   
lv_filter_mode  TYPE J_7LC08-KZFKART. "   

  CALL FUNCTION 'J_7L_VBRK_FILTER'  "NOTRANSL: REA Datenfilter Fakturakopf
    EXPORTING
         VBRK = lv_vbrk
         J_7LC08 = lv_j_7lc08
    IMPORTING
         FILTER_OK = lv_filter_ok
         FILTER_DFTYP = lv_filter_dftyp
         FILTER_TYP = lv_filter_typ
         FILTER_VALUE = lv_filter_value
         FILTER_MODE = lv_filter_mode
    TABLES
         T_J_7LC01 = lt_t_j_7lc01
         T_J_7LC03 = lt_t_j_7lc03
         T_J_7LC04 = lt_t_j_7lc04
    EXCEPTIONS
        NOT_IN_RANGE = 1
        PARAMETER_MISSING = 2
. " J_7L_VBRK_FILTER




ABAP code using 7.40 inline data declarations to call FM J_7L_VBRK_FILTER

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 CHAR1 FROM BAPIMISC INTO @DATA(ld_filter_ok).
 
 
 
 
 
"SELECT single DFTYP FROM J_7LC45 INTO @DATA(ld_filter_dftyp).
 
 
 
 
 
"SELECT single KZFKART FROM J_7LC08 INTO @DATA(ld_filter_mode).
 


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!