SAP DARWIN_ABGRENZUNG_ERMITTELN_IN Function Module for NOTRANSL: Darwin-Adapter für zeitliche Abgrenzung
DARWIN_ABGRENZUNG_ERMITTELN_IN is a standard darwin abgrenzung ermitteln in 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: Darwin-Adapter für zeitliche Abgrenzung 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 darwin abgrenzung ermitteln in FM, simply by entering the name DARWIN_ABGRENZUNG_ERMITTELN_IN into the relevant SAP transaction such as SE37 or SE38.
Function Group: FF21
Program Name: SAPLFF21
Main Program: SAPLFF21
Appliation area: F
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function DARWIN_ABGRENZUNG_ERMITTELN_IN 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 'DARWIN_ABGRENZUNG_ERMITTELN_IN'"NOTRANSL: Darwin-Adapter für zeitliche Abgrenzung.
EXPORTING
* II_HANDELSPLATZ = ' ' "
I_RANTYP = "Application
* I_JORIG = '0' "Posting system indicator for borrower's note loans
* I_SABGRENZ_DISA = ' ' "
* I_SABGRENZ_REST = ' ' "
* I_SINCLSTICH = '1' "
* I_SULTSTICH = 'X' "
* I_SVERARB = ' ' "Tax Code
* I_VERFAHREN = '1' "
* II_RKURSBER = ' ' "
* II_SWAERS = '2' "
* I_BBEZUG = 0 "
I_BUKRS = "Company Code
* I_DSTICHTAG = '00000000' "Key Date
* I_FLG_CONDENSE = ' ' "
* I_FORMROUTINE = 'A' "
* I_PROGRAMNAME = 'SAPLFF21' "
TABLES
EFEHLER = "
EZITI = "
IZITI = "
* ISTICH = "
EXCEPTIONS
NO_RECORD_FOUND_T001 = 1 NO_RECORD_FOUND_TZBZ = 2
IMPORTING Parameters details for DARWIN_ABGRENZUNG_ERMITTELN_IN
II_HANDELSPLATZ -
Data type: TZBZ-VVRHANDPLDefault: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_RANTYP - Application
Data type: TZB0A-RANTYPOptional: No
Call by Reference: No ( called with pass by value option)
I_JORIG - Posting system indicator for borrower's note loans
Data type: BUCHSYSDefault: '0'
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_SABGRENZ_DISA -
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_SABGRENZ_REST -
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_SINCLSTICH -
Data type: VZZBEPP-SINCLDefault: '1'
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_SULTSTICH -
Data type: VZZBEPP-SVULTDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_SVERARB - Tax Code
Data type:Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_VERFAHREN -
Data type:Default: '1'
Optional: Yes
Call by Reference: No ( called with pass by value option)
II_RKURSBER -
Data type: TZBZ-RKURSBERDefault: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
II_SWAERS -
Data type:Default: '2'
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_BBEZUG -
Data type: VZZBEPP-BNWHROptional: Yes
Call by Reference: No ( called with pass by value option)
I_BUKRS - Company Code
Data type: TZB06-BUKRSOptional: No
Call by Reference: No ( called with pass by value option)
I_DSTICHTAG - Key Date
Data type: SY-DATUMDefault: '00000000'
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_FLG_CONDENSE -
Data type: SY-MARKYDefault: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_FORMROUTINE -
Data type: SY-XFORMDefault: 'A'
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_PROGRAMNAME -
Data type: SY-XPROGDefault: 'SAPLFF21'
Optional: Yes
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for DARWIN_ABGRENZUNG_ERMITTELN_IN
EFEHLER -
Data type: VZZBEPPOptional: No
Call by Reference: No ( called with pass by value option)
EZITI -
Data type: VZZBEPPOptional: No
Call by Reference: No ( called with pass by value option)
IZITI -
Data type: VZZBEPPOptional: No
Call by Reference: No ( called with pass by value option)
ISTICH -
Data type: VZZSTICHOptional: Yes
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
NO_RECORD_FOUND_T001 -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NO_RECORD_FOUND_TZBZ -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for DARWIN_ABGRENZUNG_ERMITTELN_IN 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_efehler | TYPE STANDARD TABLE OF VZZBEPP, " | |||
| lv_ii_handelsplatz | TYPE TZBZ-VVRHANDPL, " ' ' | |||
| lv_no_record_found_t001 | TYPE TZBZ, " | |||
| lv_i_rantyp | TYPE TZB0A-RANTYP, " | |||
| lv_i_jorig | TYPE BUCHSYS, " '0' | |||
| lv_i_sabgrenz_disa | TYPE BUCHSYS, " SPACE | |||
| lv_i_sabgrenz_rest | TYPE BUCHSYS, " SPACE | |||
| lv_i_sinclstich | TYPE VZZBEPP-SINCL, " '1' | |||
| lv_i_sultstich | TYPE VZZBEPP-SVULT, " 'X' | |||
| lv_i_sverarb | TYPE VZZBEPP, " ' ' | |||
| lv_i_verfahren | TYPE VZZBEPP, " '1' | |||
| lt_eziti | TYPE STANDARD TABLE OF VZZBEPP, " | |||
| lv_ii_rkursber | TYPE TZBZ-RKURSBER, " ' ' | |||
| lv_no_record_found_tzbz | TYPE TZBZ, " | |||
| lt_iziti | TYPE STANDARD TABLE OF VZZBEPP, " | |||
| lv_ii_swaers | TYPE VZZBEPP, " '2' | |||
| lt_istich | TYPE STANDARD TABLE OF VZZSTICH, " | |||
| lv_i_bbezug | TYPE VZZBEPP-BNWHR, " 0 | |||
| lv_i_bukrs | TYPE TZB06-BUKRS, " | |||
| lv_i_dstichtag | TYPE SY-DATUM, " '00000000' | |||
| lv_i_flg_condense | TYPE SY-MARKY, " ' ' | |||
| lv_i_formroutine | TYPE SY-XFORM, " 'A' | |||
| lv_i_programname | TYPE SY-XPROG. " 'SAPLFF21' |
|   CALL FUNCTION 'DARWIN_ABGRENZUNG_ERMITTELN_IN' "NOTRANSL: Darwin-Adapter für zeitliche Abgrenzung |
| EXPORTING | ||
| II_HANDELSPLATZ | = lv_ii_handelsplatz | |
| I_RANTYP | = lv_i_rantyp | |
| I_JORIG | = lv_i_jorig | |
| I_SABGRENZ_DISA | = lv_i_sabgrenz_disa | |
| I_SABGRENZ_REST | = lv_i_sabgrenz_rest | |
| I_SINCLSTICH | = lv_i_sinclstich | |
| I_SULTSTICH | = lv_i_sultstich | |
| I_SVERARB | = lv_i_sverarb | |
| I_VERFAHREN | = lv_i_verfahren | |
| II_RKURSBER | = lv_ii_rkursber | |
| II_SWAERS | = lv_ii_swaers | |
| I_BBEZUG | = lv_i_bbezug | |
| I_BUKRS | = lv_i_bukrs | |
| I_DSTICHTAG | = lv_i_dstichtag | |
| I_FLG_CONDENSE | = lv_i_flg_condense | |
| I_FORMROUTINE | = lv_i_formroutine | |
| I_PROGRAMNAME | = lv_i_programname | |
| TABLES | ||
| EFEHLER | = lt_efehler | |
| EZITI | = lt_eziti | |
| IZITI | = lt_iziti | |
| ISTICH | = lt_istich | |
| EXCEPTIONS | ||
| NO_RECORD_FOUND_T001 = 1 | ||
| NO_RECORD_FOUND_TZBZ = 2 | ||
| . " DARWIN_ABGRENZUNG_ERMITTELN_IN | ||
ABAP code using 7.40 inline data declarations to call FM DARWIN_ABGRENZUNG_ERMITTELN_IN
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 VVRHANDPL FROM TZBZ INTO @DATA(ld_ii_handelsplatz). | ||||
| DATA(ld_ii_handelsplatz) | = ' '. | |||
| "SELECT single RANTYP FROM TZB0A INTO @DATA(ld_i_rantyp). | ||||
| DATA(ld_i_jorig) | = '0'. | |||
| DATA(ld_i_sabgrenz_disa) | = ' '. | |||
| DATA(ld_i_sabgrenz_rest) | = ' '. | |||
| "SELECT single SINCL FROM VZZBEPP INTO @DATA(ld_i_sinclstich). | ||||
| DATA(ld_i_sinclstich) | = '1'. | |||
| "SELECT single SVULT FROM VZZBEPP INTO @DATA(ld_i_sultstich). | ||||
| DATA(ld_i_sultstich) | = 'X'. | |||
| DATA(ld_i_sverarb) | = ' '. | |||
| DATA(ld_i_verfahren) | = '1'. | |||
| "SELECT single RKURSBER FROM TZBZ INTO @DATA(ld_ii_rkursber). | ||||
| DATA(ld_ii_rkursber) | = ' '. | |||
| DATA(ld_ii_swaers) | = '2'. | |||
| "SELECT single BNWHR FROM VZZBEPP INTO @DATA(ld_i_bbezug). | ||||
| "SELECT single BUKRS FROM TZB06 INTO @DATA(ld_i_bukrs). | ||||
| "SELECT single DATUM FROM SY INTO @DATA(ld_i_dstichtag). | ||||
| DATA(ld_i_dstichtag) | = '00000000'. | |||
| "SELECT single MARKY FROM SY INTO @DATA(ld_i_flg_condense). | ||||
| DATA(ld_i_flg_condense) | = ' '. | |||
| "SELECT single XFORM FROM SY INTO @DATA(ld_i_formroutine). | ||||
| DATA(ld_i_formroutine) | = 'A'. | |||
| "SELECT single XPROG FROM SY INTO @DATA(ld_i_programname). | ||||
| DATA(ld_i_programname) | = 'SAPLFF21'. | |||
Search for further information about these or an SAP related objects