SAP PPEDBFILT_MAINTAIN Function Module for NOTRANSL: ändert/ anlegen Filter









PPEDBFILT_MAINTAIN is a standard ppedbfilt maintain 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: ändert/ anlegen Filter 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 ppedbfilt maintain FM, simply by entering the name PPEDBFILT_MAINTAIN into the relevant SAP transaction such as SE37 or SE38.

Function Group: PPEDBFILT
Program Name: SAPLPPEDBFILT
Main Program: SAPLPPEDBFILT
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:



Function PPEDBFILT_MAINTAIN 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 'PPEDBFILT_MAINTAIN'"NOTRANSL: ändert/ anlegen Filter
EXPORTING
IM_FILT_HEAD = "Header Structure for an iPPE Filter
IM_COMMIT_FLG = "Checkbox
* IM_COMMIT_WAIT_FLG = "Checkbox
* IM_INDX_ID = "INDX ID

IMPORTING
EX_FILT_GUID = "Internal Identification for PVS Objects
EX_FILT_CUOBJ = "Configuration (Internal Object Number)

TABLES
* T_FILT_OBJ = "Objects in GUI
* T_FILT_ATTR = "Field Catalog Attributes
* T_FILT_ATTR_SEL = "Field Catalog Attributes
* T_FILT_EFF = "Table of Effectivity Parameters

EXCEPTIONS
ERROR = 1 NOT_FOUND = 2 NAME_ALREADY_EXIST = 3 INCONSISTENT_INPUT = 4 NO_ACCESS = 5 CUOBJ_ERROR = 6 TECHS_ERROR = 7
.



IMPORTING Parameters details for PPEDBFILT_MAINTAIN

IM_FILT_HEAD - Header Structure for an iPPE Filter

Data type: FILT_HEAD
Optional: No
Call by Reference: No ( called with pass by value option)

IM_COMMIT_FLG - Checkbox

Data type: XFELD
Optional: No
Call by Reference: No ( called with pass by value option)

IM_COMMIT_WAIT_FLG - Checkbox

Data type: XFELD
Optional: Yes
Call by Reference: No ( called with pass by value option)

IM_INDX_ID - INDX ID

Data type: PPE_INDX_ID
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for PPEDBFILT_MAINTAIN

EX_FILT_GUID - Internal Identification for PVS Objects

Data type: PVS_GUID
Optional: No
Call by Reference: No ( called with pass by value option)

EX_FILT_CUOBJ - Configuration (Internal Object Number)

Data type: PPE_CUOBJ
Optional: No
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for PPEDBFILT_MAINTAIN

T_FILT_OBJ - Objects in GUI

Data type: TFILT_OBJ
Optional: Yes
Call by Reference: Yes

T_FILT_ATTR - Field Catalog Attributes

Data type: TFILT_ATTR
Optional: Yes
Call by Reference: Yes

T_FILT_ATTR_SEL - Field Catalog Attributes

Data type: TFILT_ATTR_SEL
Optional: Yes
Call by Reference: Yes

T_FILT_EFF - Table of Effectivity Parameters

Data type: TFILT_EFF
Optional: Yes
Call by Reference: Yes

EXCEPTIONS details

ERROR - General Error

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

NOT_FOUND - Not Found

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

NAME_ALREADY_EXIST - DE-EN-LANG-SWITCH-NO-TRANSLATION

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

INCONSISTENT_INPUT - DE-EN-LANG-SWITCH-NO-TRANSLATION

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

NO_ACCESS - No authorization

Data type:
Optional: No
Call by Reference: Yes

CUOBJ_ERROR - DE-EN-LANG-SWITCH-NO-TRANSLATION

Data type:
Optional: No
Call by Reference: Yes

TECHS_ERROR - DE-EN-LANG-SWITCH-NO-TRANSLATION

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for PPEDBFILT_MAINTAIN 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_error  TYPE STRING, "   
lt_t_filt_obj  TYPE STANDARD TABLE OF TFILT_OBJ, "   
lv_ex_filt_guid  TYPE PVS_GUID, "   
lv_im_filt_head  TYPE FILT_HEAD, "   
lv_not_found  TYPE FILT_HEAD, "   
lt_t_filt_attr  TYPE STANDARD TABLE OF TFILT_ATTR, "   
lv_ex_filt_cuobj  TYPE PPE_CUOBJ, "   
lv_im_commit_flg  TYPE XFELD, "   
lt_t_filt_attr_sel  TYPE STANDARD TABLE OF TFILT_ATTR_SEL, "   
lv_im_commit_wait_flg  TYPE XFELD, "   
lv_name_already_exist  TYPE XFELD, "   
lv_im_indx_id  TYPE PPE_INDX_ID, "   
lt_t_filt_eff  TYPE STANDARD TABLE OF TFILT_EFF, "   
lv_inconsistent_input  TYPE TFILT_EFF, "   
lv_no_access  TYPE TFILT_EFF, "   
lv_cuobj_error  TYPE TFILT_EFF, "   
lv_techs_error  TYPE TFILT_EFF. "   

  CALL FUNCTION 'PPEDBFILT_MAINTAIN'  "NOTRANSL: ändert/ anlegen Filter
    EXPORTING
         IM_FILT_HEAD = lv_im_filt_head
         IM_COMMIT_FLG = lv_im_commit_flg
         IM_COMMIT_WAIT_FLG = lv_im_commit_wait_flg
         IM_INDX_ID = lv_im_indx_id
    IMPORTING
         EX_FILT_GUID = lv_ex_filt_guid
         EX_FILT_CUOBJ = lv_ex_filt_cuobj
    TABLES
         T_FILT_OBJ = lt_t_filt_obj
         T_FILT_ATTR = lt_t_filt_attr
         T_FILT_ATTR_SEL = lt_t_filt_attr_sel
         T_FILT_EFF = lt_t_filt_eff
    EXCEPTIONS
        ERROR = 1
        NOT_FOUND = 2
        NAME_ALREADY_EXIST = 3
        INCONSISTENT_INPUT = 4
        NO_ACCESS = 5
        CUOBJ_ERROR = 6
        TECHS_ERROR = 7
. " PPEDBFILT_MAINTAIN




ABAP code using 7.40 inline data declarations to call FM PPEDBFILT_MAINTAIN

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.

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 


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!