SAP FIMA_ABGRENZUNG Function Module for NOTRANSL: FIMA-Abgrenzungsmodul









FIMA_ABGRENZUNG is a standard fima abgrenzung 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: FIMA-Abgrenzungsmodul 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 fima abgrenzung FM, simply by entering the name FIMA_ABGRENZUNG into the relevant SAP transaction such as SE37 or SE38.

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



Function FIMA_ABGRENZUNG 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 'FIMA_ABGRENZUNG'"NOTRANSL: FIMA-Abgrenzungsmodul
EXPORTING
HANDELSPLATZ = "DE-EN-LANG-SWITCH-NO-TRANSLATION
* WAERS_KZ = '2' "DE-EN-LANG-SWITCH-NO-TRANSLATION
WAERS_LEIT = "DE-EN-LANG-SWITCH-NO-TRANSLATION
* I_FLG_CONDENSE = ' ' "ABAP System Field: Obsolete
* KZ_SIM = ' ' "Tax Code
RKURSBER = "DE-EN-LANG-SWITCH-NO-TRANSLATION
* STICHINC = '1' "Exclusive Indicator for the Start of a Calculation Period
STICHTAG = "ABAP System Field: Current Date of Application Server
* STICHULT = ' ' "Month-End Indicator for Due Date
* VERFAHREN = '1' "DE-EN-LANG-SWITCH-NO-TRANSLATION
WAERS_HAUS = "Currency key for local currency

TABLES
EABGR = "Interface to FIMA accrual/deferral
EFEHL = "Interface to FIMA accrual/deferral
IABGR = "Interface to FIMA accrual/deferral
IZINS = "Interface to FIMA accrual/deferral
.



IMPORTING Parameters details for FIMA_ABGRENZUNG

HANDELSPLATZ - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

WAERS_KZ - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

WAERS_LEIT - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

I_FLG_CONDENSE - ABAP System Field: Obsolete

Data type: SY-MARKY
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

KZ_SIM - Tax Code

Data type: SY-MARKY
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

RKURSBER - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

STICHINC - Exclusive Indicator for the Start of a Calculation Period

Data type: VZZBEPP-SEXCLVON
Default: '1'
Optional: Yes
Call by Reference: No ( called with pass by value option)

STICHTAG - ABAP System Field: Current Date of Application Server

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

STICHULT - Month-End Indicator for Due Date

Data type: VZZBEPP-SFULT
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

VERFAHREN - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

WAERS_HAUS - Currency key for local currency

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

TABLES Parameters details for FIMA_ABGRENZUNG

EABGR - Interface to FIMA accrual/deferral

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

EFEHL - Interface to FIMA accrual/deferral

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

IABGR - Interface to FIMA accrual/deferral

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

IZINS - Interface to FIMA accrual/deferral

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

Copy and paste ABAP code example for FIMA_ABGRENZUNG 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_eabgr  TYPE STANDARD TABLE OF ABGR, "   
lv_handelsplatz  TYPE ABGR, "   
lv_waers_kz  TYPE ABGR, "   '2'
lv_waers_leit  TYPE ABGR, "   
lt_efehl  TYPE STANDARD TABLE OF ABGR, "   
lv_i_flg_condense  TYPE SY-MARKY, "   ' '
lt_iabgr  TYPE STANDARD TABLE OF ABGR, "   
lv_kz_sim  TYPE SY-MARKY, "   ' '
lt_izins  TYPE STANDARD TABLE OF ABGR, "   
lv_rkursber  TYPE ABGR, "   
lv_stichinc  TYPE VZZBEPP-SEXCLVON, "   '1'
lv_stichtag  TYPE SY-DATUM, "   
lv_stichult  TYPE VZZBEPP-SFULT, "   ' '
lv_verfahren  TYPE VZZBEPP, "   '1'
lv_waers_haus  TYPE VZZBEPP. "   

  CALL FUNCTION 'FIMA_ABGRENZUNG'  "NOTRANSL: FIMA-Abgrenzungsmodul
    EXPORTING
         HANDELSPLATZ = lv_handelsplatz
         WAERS_KZ = lv_waers_kz
         WAERS_LEIT = lv_waers_leit
         I_FLG_CONDENSE = lv_i_flg_condense
         KZ_SIM = lv_kz_sim
         RKURSBER = lv_rkursber
         STICHINC = lv_stichinc
         STICHTAG = lv_stichtag
         STICHULT = lv_stichult
         VERFAHREN = lv_verfahren
         WAERS_HAUS = lv_waers_haus
    TABLES
         EABGR = lt_eabgr
         EFEHL = lt_efehl
         IABGR = lt_iabgr
         IZINS = lt_izins
. " FIMA_ABGRENZUNG




ABAP code using 7.40 inline data declarations to call FM FIMA_ABGRENZUNG

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_waers_kz) = '2'.
 
 
 
"SELECT single MARKY FROM SY INTO @DATA(ld_i_flg_condense).
DATA(ld_i_flg_condense) = ' '.
 
 
"SELECT single MARKY FROM SY INTO @DATA(ld_kz_sim).
DATA(ld_kz_sim) = ' '.
 
 
 
"SELECT single SEXCLVON FROM VZZBEPP INTO @DATA(ld_stichinc).
DATA(ld_stichinc) = '1'.
 
"SELECT single DATUM FROM SY INTO @DATA(ld_stichtag).
 
"SELECT single SFULT FROM VZZBEPP INTO @DATA(ld_stichult).
DATA(ld_stichult) = ' '.
 
DATA(ld_verfahren) = '1'.
 
 


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!