SAP ISU_CREATE_SINGLE_AGG_DOC_TAX Function Module for Create Aggr. Document for Billing Service Provider
ISU_CREATE_SINGLE_AGG_DOC_TAX is a standard isu create single agg doc tax SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Create Aggr. Document for Billing Service Provider 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 isu create single agg doc tax FM, simply by entering the name ISU_CREATE_SINGLE_AGG_DOC_TAX into the relevant SAP transaction such as SE37 or SE38.
Function Group: EE_DEREG_INV_INV_OUT_AGG
Program Name: SAPLEE_DEREG_INV_INV_OUT_AGG
Main Program: SAPLEE_DEREG_INV_INV_OUT_AGG
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function ISU_CREATE_SINGLE_AGG_DOC_TAX 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 'ISU_CREATE_SINGLE_AGG_DOC_TAX'"Create Aggr. Document for Billing Service Provider.
EXPORTING
* I_APPLK = "Application Area
* I_BUDAT = "Posting Date in Document
* I_BLDAT = "Document Date in Document
* I_BLART = "Document Type
* I_FIKEY = "Reconciliation Key for General Ledger
* I_RESOB = "Object for Which the Reconciliation Key Is Reserved
* I_RESKY = "Object for Which the Reconciliation Key Is Reserved
I_BCBLN_REVERSED = "
IMPORTING
ET_BCBLN = "
EXCEPTIONS
INPUT_ERROR = 1 NO_DATA_SELECTED = 2 POSTING_ERROR = 3 AGGREGATION_ERROR = 4 GENERAL_ERROR = 5
IMPORTING Parameters details for ISU_CREATE_SINGLE_AGG_DOC_TAX
I_APPLK - Application Area
Data type: APPLK_KKOptional: Yes
Call by Reference: Yes
I_BUDAT - Posting Date in Document
Data type: BUDAT_KKOptional: Yes
Call by Reference: Yes
I_BLDAT - Document Date in Document
Data type: BLDATOptional: Yes
Call by Reference: Yes
I_BLART - Document Type
Data type: BLART_KKOptional: Yes
Call by Reference: Yes
I_FIKEY - Reconciliation Key for General Ledger
Data type: FIKEY_KKOptional: Yes
Call by Reference: Yes
I_RESOB - Object for Which the Reconciliation Key Is Reserved
Data type: RESOB_KKOptional: Yes
Call by Reference: Yes
I_RESKY - Object for Which the Reconciliation Key Is Reserved
Data type: RESKY_KKOptional: Yes
Call by Reference: Yes
I_BCBLN_REVERSED -
Data type: BCBLN_KKOptional: No
Call by Reference: Yes
EXPORTING Parameters details for ISU_CREATE_SINGLE_AGG_DOC_TAX
ET_BCBLN -
Data type: OPBEL_TABOptional: No
Call by Reference: Yes
EXCEPTIONS details
INPUT_ERROR - No data exists for aggregation
Data type:Optional: No
Call by Reference: Yes
NO_DATA_SELECTED -
Data type:Optional: No
Call by Reference: Yes
POSTING_ERROR -
Data type:Optional: No
Call by Reference: Yes
AGGREGATION_ERROR -
Data type:Optional: No
Call by Reference: Yes
GENERAL_ERROR -
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for ISU_CREATE_SINGLE_AGG_DOC_TAX 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_applk | TYPE APPLK_KK, " | |||
| lv_et_bcbln | TYPE OPBEL_TAB, " | |||
| lv_input_error | TYPE OPBEL_TAB, " | |||
| lv_i_budat | TYPE BUDAT_KK, " | |||
| lv_no_data_selected | TYPE BUDAT_KK, " | |||
| lv_i_bldat | TYPE BLDAT, " | |||
| lv_posting_error | TYPE BLDAT, " | |||
| lv_i_blart | TYPE BLART_KK, " | |||
| lv_aggregation_error | TYPE BLART_KK, " | |||
| lv_i_fikey | TYPE FIKEY_KK, " | |||
| lv_general_error | TYPE FIKEY_KK, " | |||
| lv_i_resob | TYPE RESOB_KK, " | |||
| lv_i_resky | TYPE RESKY_KK, " | |||
| lv_i_bcbln_reversed | TYPE BCBLN_KK. " |
|   CALL FUNCTION 'ISU_CREATE_SINGLE_AGG_DOC_TAX' "Create Aggr. Document for Billing Service Provider |
| EXPORTING | ||
| I_APPLK | = lv_i_applk | |
| I_BUDAT | = lv_i_budat | |
| I_BLDAT | = lv_i_bldat | |
| I_BLART | = lv_i_blart | |
| I_FIKEY | = lv_i_fikey | |
| I_RESOB | = lv_i_resob | |
| I_RESKY | = lv_i_resky | |
| I_BCBLN_REVERSED | = lv_i_bcbln_reversed | |
| IMPORTING | ||
| ET_BCBLN | = lv_et_bcbln | |
| EXCEPTIONS | ||
| INPUT_ERROR = 1 | ||
| NO_DATA_SELECTED = 2 | ||
| POSTING_ERROR = 3 | ||
| AGGREGATION_ERROR = 4 | ||
| GENERAL_ERROR = 5 | ||
| . " ISU_CREATE_SINGLE_AGG_DOC_TAX | ||
ABAP code using 7.40 inline data declarations to call FM ISU_CREATE_SINGLE_AGG_DOC_TAX
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