SAP ISPS_CALL_FB08 Function Module for CALL FB08 ISPS US Federal version
ISPS_CALL_FB08 is a standard isps call fb08 SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for CALL FB08 ISPS US Federal version 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 isps call fb08 FM, simply by entering the name ISPS_CALL_FB08 into the relevant SAP transaction such as SE37 or SE38.
Function Group: FMFG_TC
Program Name: SAPLFMFG_TC
Main Program: SAPLFMFG_TC
Appliation area: F
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function ISPS_CALL_FB08 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 'ISPS_CALL_FB08'"CALL FB08 ISPS US Federal version.
EXPORTING
I_BUKRS = "Company code
* I_XSIMU = ' ' "Indicator: Simulated reversal
* I_UPDATE = 'A' "Update parameter for call transaction
* I_MODE = 'N' "Mode parameter for call transaction
* I_NO_AUTH = ' ' "
I_BELNR = "Document number
I_GJAHR = "Fiscal year
* I_BVORG = ' ' "General transaction
I_STGRD = "
* I_VOIDR = "Void reason code
* I_BLDAT = "Reverse document date
* I_BUDAT = "Reverse posting date
* I_MONAT = "Reverse posting period
IMPORTING
E_BUDAT = "Reverse posting date (if I_BUDAT is blank)
E_MONAT = "
E_BLDAT = "Document Date in Document
E_XSOFO = "Reversal can be made immediately (without FBRA)
EXCEPTIONS
NOT_POSSIBLE = 1
Customer Function user exits
Below is a list of CUSTOMER FUNCTION exit user exits that are available within this program and maybe relevant for this FM.EXIT_SAPLFMFG_TC_001 Generate Treasury Confirmation Schedule Nbr
IMPORTING Parameters details for ISPS_CALL_FB08
I_BUKRS - Company code
Data type: BKPF-BUKRSOptional: No
Call by Reference: No ( called with pass by value option)
I_XSIMU - Indicator: Simulated reversal
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_UPDATE - Update parameter for call transaction
Data type:Default: 'A'
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_MODE - Mode parameter for call transaction
Data type:Default: 'N'
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_NO_AUTH -
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_BELNR - Document number
Data type: BKPF-BELNROptional: No
Call by Reference: No ( called with pass by value option)
I_GJAHR - Fiscal year
Data type: BKPF-GJAHROptional: No
Call by Reference: No ( called with pass by value option)
I_BVORG - General transaction
Data type: BKPF-BVORGDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_STGRD -
Data type: BKPF-STGRDOptional: No
Call by Reference: No ( called with pass by value option)
I_VOIDR - Void reason code
Data type: PAYR-VOIDROptional: Yes
Call by Reference: No ( called with pass by value option)
I_BLDAT - Reverse document date
Data type: BKPF-BLDATOptional: Yes
Call by Reference: No ( called with pass by value option)
I_BUDAT - Reverse posting date
Data type: BKPF-BUDATOptional: Yes
Call by Reference: No ( called with pass by value option)
I_MONAT - Reverse posting period
Data type: BKPF-MONATOptional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for ISPS_CALL_FB08
E_BUDAT - Reverse posting date (if I_BUDAT is blank)
Data type: BKPF-BUDATOptional: No
Call by Reference: No ( called with pass by value option)
E_MONAT -
Data type: BKPF-MONATOptional: No
Call by Reference: No ( called with pass by value option)
E_BLDAT - Document Date in Document
Data type: BKPF-BLDATOptional: No
Call by Reference: No ( called with pass by value option)
E_XSOFO - Reversal can be made immediately (without FBRA)
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
NOT_POSSIBLE - Reversal is not possible (even after FBRA)
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for ISPS_CALL_FB08 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_e_budat | TYPE BKPF-BUDAT, " | |||
| lv_i_bukrs | TYPE BKPF-BUKRS, " | |||
| lv_not_possible | TYPE BKPF, " | |||
| lv_i_xsimu | TYPE BKPF, " SPACE | |||
| lv_i_update | TYPE BKPF, " 'A' | |||
| lv_i_mode | TYPE BKPF, " 'N' | |||
| lv_i_no_auth | TYPE BKPF, " SPACE | |||
| lv_e_monat | TYPE BKPF-MONAT, " | |||
| lv_i_belnr | TYPE BKPF-BELNR, " | |||
| lv_e_bldat | TYPE BKPF-BLDAT, " | |||
| lv_i_gjahr | TYPE BKPF-GJAHR, " | |||
| lv_e_xsofo | TYPE BKPF, " | |||
| lv_i_bvorg | TYPE BKPF-BVORG, " SPACE | |||
| lv_i_stgrd | TYPE BKPF-STGRD, " | |||
| lv_i_voidr | TYPE PAYR-VOIDR, " | |||
| lv_i_bldat | TYPE BKPF-BLDAT, " | |||
| lv_i_budat | TYPE BKPF-BUDAT, " | |||
| lv_i_monat | TYPE BKPF-MONAT. " |
|   CALL FUNCTION 'ISPS_CALL_FB08' "CALL FB08 ISPS US Federal version |
| EXPORTING | ||
| I_BUKRS | = lv_i_bukrs | |
| I_XSIMU | = lv_i_xsimu | |
| I_UPDATE | = lv_i_update | |
| I_MODE | = lv_i_mode | |
| I_NO_AUTH | = lv_i_no_auth | |
| I_BELNR | = lv_i_belnr | |
| I_GJAHR | = lv_i_gjahr | |
| I_BVORG | = lv_i_bvorg | |
| I_STGRD | = lv_i_stgrd | |
| I_VOIDR | = lv_i_voidr | |
| I_BLDAT | = lv_i_bldat | |
| I_BUDAT | = lv_i_budat | |
| I_MONAT | = lv_i_monat | |
| IMPORTING | ||
| E_BUDAT | = lv_e_budat | |
| E_MONAT | = lv_e_monat | |
| E_BLDAT | = lv_e_bldat | |
| E_XSOFO | = lv_e_xsofo | |
| EXCEPTIONS | ||
| NOT_POSSIBLE = 1 | ||
| . " ISPS_CALL_FB08 | ||
ABAP code using 7.40 inline data declarations to call FM ISPS_CALL_FB08
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 BUDAT FROM BKPF INTO @DATA(ld_e_budat). | ||||
| "SELECT single BUKRS FROM BKPF INTO @DATA(ld_i_bukrs). | ||||
| DATA(ld_i_xsimu) | = ' '. | |||
| DATA(ld_i_update) | = 'A'. | |||
| DATA(ld_i_mode) | = 'N'. | |||
| DATA(ld_i_no_auth) | = ' '. | |||
| "SELECT single MONAT FROM BKPF INTO @DATA(ld_e_monat). | ||||
| "SELECT single BELNR FROM BKPF INTO @DATA(ld_i_belnr). | ||||
| "SELECT single BLDAT FROM BKPF INTO @DATA(ld_e_bldat). | ||||
| "SELECT single GJAHR FROM BKPF INTO @DATA(ld_i_gjahr). | ||||
| "SELECT single BVORG FROM BKPF INTO @DATA(ld_i_bvorg). | ||||
| DATA(ld_i_bvorg) | = ' '. | |||
| "SELECT single STGRD FROM BKPF INTO @DATA(ld_i_stgrd). | ||||
| "SELECT single VOIDR FROM PAYR INTO @DATA(ld_i_voidr). | ||||
| "SELECT single BLDAT FROM BKPF INTO @DATA(ld_i_bldat). | ||||
| "SELECT single BUDAT FROM BKPF INTO @DATA(ld_i_budat). | ||||
| "SELECT single MONAT FROM BKPF INTO @DATA(ld_i_monat). | ||||
Search for further information about these or an SAP related objects