SAP FAZ_KLFZ_XKLFAZ_MAINTAIN Function Module for Fazilität pflegen bzw. anzeigen









FAZ_KLFZ_XKLFAZ_MAINTAIN is a standard faz klfz xklfaz 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 Fazilität pflegen bzw. anzeigen 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 faz klfz xklfaz maintain FM, simply by entering the name FAZ_KLFZ_XKLFAZ_MAINTAIN into the relevant SAP transaction such as SE37 or SE38.

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



Function FAZ_KLFZ_XKLFAZ_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 'FAZ_KLFZ_XKLFAZ_MAINTAIN'"Fazilität pflegen bzw. anzeigen
EXPORTING
I_FAZID = "Idenfikator für Fazilitäten (extern)
* I_SICHT_START = ' ' "Sicht
* I_AKTYP = "Aktivitätstyp
* I_ACTION = "BDT-Aktivität
* I_XINIT = ' ' "Kennzeichen: Einstiegsbild anzeigen ?
* I_XUPDTASK = 'X' "Kennzeichen: Sichern über Verbuchung
* I_XSAVE = 'X' "Kennzeichen: Fazilität sichert selbst ?
* I_APPLI = "Anwendung
* I_VARNR = "BDT: Bildfolge
* I_OTITL = "Bildtitel (objektabhängiger Teil)

EXCEPTIONS
RAISE_NOT_FOUND = 1
.



IMPORTING Parameters details for FAZ_KLFZ_XKLFAZ_MAINTAIN

I_FAZID - Idenfikator für Fazilitäten (extern)

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

I_SICHT_START - Sicht

Data type: TBZ3E-SICHT
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_AKTYP - Aktivitätstyp

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

I_ACTION - BDT-Aktivität

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

I_XINIT - Kennzeichen: Einstiegsbild anzeigen ?

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

I_XUPDTASK - Kennzeichen: Sichern über Verbuchung

Data type: C
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_XSAVE - Kennzeichen: Fazilität sichert selbst ?

Data type: C
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_APPLI - Anwendung

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

I_VARNR - BDT: Bildfolge

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

I_OTITL - Bildtitel (objektabhängiger Teil)

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

EXCEPTIONS details

RAISE_NOT_FOUND -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for FAZ_KLFZ_XKLFAZ_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_i_fazid  TYPE KLFAZ01-FAZID, "   
lv_raise_not_found  TYPE KLFAZ01, "   
lv_i_sicht_start  TYPE TBZ3E-SICHT, "   SPACE
lv_i_aktyp  TYPE TBZ0K-AKTYP, "   
lv_i_action  TYPE TBZ0M-ACTION, "   
lv_i_xinit  TYPE C, "   SPACE
lv_i_xupdtask  TYPE C, "   'X'
lv_i_xsave  TYPE C, "   'X'
lv_i_appli  TYPE TBZ0A-APPLI, "   
lv_i_varnr  TYPE TBZ3-VARNR, "   
lv_i_otitl  TYPE TBZ1T-OTITL. "   

  CALL FUNCTION 'FAZ_KLFZ_XKLFAZ_MAINTAIN'  "Fazilität pflegen bzw. anzeigen
    EXPORTING
         I_FAZID = lv_i_fazid
         I_SICHT_START = lv_i_sicht_start
         I_AKTYP = lv_i_aktyp
         I_ACTION = lv_i_action
         I_XINIT = lv_i_xinit
         I_XUPDTASK = lv_i_xupdtask
         I_XSAVE = lv_i_xsave
         I_APPLI = lv_i_appli
         I_VARNR = lv_i_varnr
         I_OTITL = lv_i_otitl
    EXCEPTIONS
        RAISE_NOT_FOUND = 1
. " FAZ_KLFZ_XKLFAZ_MAINTAIN




ABAP code using 7.40 inline data declarations to call FM FAZ_KLFZ_XKLFAZ_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.

"SELECT single FAZID FROM KLFAZ01 INTO @DATA(ld_i_fazid).
 
 
"SELECT single SICHT FROM TBZ3E INTO @DATA(ld_i_sicht_start).
DATA(ld_i_sicht_start) = ' '.
 
"SELECT single AKTYP FROM TBZ0K INTO @DATA(ld_i_aktyp).
 
"SELECT single ACTION FROM TBZ0M INTO @DATA(ld_i_action).
 
DATA(ld_i_xinit) = ' '.
 
DATA(ld_i_xupdtask) = 'X'.
 
DATA(ld_i_xsave) = 'X'.
 
"SELECT single APPLI FROM TBZ0A INTO @DATA(ld_i_appli).
 
"SELECT single VARNR FROM TBZ3 INTO @DATA(ld_i_varnr).
 
"SELECT single OTITL FROM TBZ1T INTO @DATA(ld_i_otitl).
 


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!