SAP ISU_S_BBP_AUTO_CREATE Function Module for U02: Create BB Plans with Auto Data (Auto UMZUG)
ISU_S_BBP_AUTO_CREATE is a standard isu s bbp auto create SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for U02: Create BB Plans with Auto Data (Auto UMZUG) 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 s bbp auto create FM, simply by entering the name ISU_S_BBP_AUTO_CREATE into the relevant SAP transaction such as SE37 or SE38.
Function Group: E25S
Program Name: SAPLE25S
Main Program: SAPLE25S
Appliation area: E
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:
Function ISU_S_BBP_AUTO_CREATE 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_S_BBP_AUTO_CREATE'"U02: Create BB Plans with Auto Data (Auto UMZUG).
EXPORTING
X_EDATUM = "Input Date
* X_NO_DIALOG = "
X_AUTO = "
X_PROCESS = "
* X_LOG_OBJECT = "Application Log: Object Name (Application Code)
IMPORTING
Y_OPBEL = "
Y_T_CONTR_AMOUNT_KZ = "
Y_T_OPVER = "
Y_DB_UPDATE = "Database Updated (X) or not (' ')
TABLES
* YT_EABP = "
EXCEPTIONS
NOT_FOUND = 1 EXISTING = 2 FOREIGN_LOCK = 3 NUMBER_ERROR = 4 INPUT_ERROR = 5 SYSTEM_ERROR = 6 NOT_CREATED_NODUEDATE = 7 BILLING_ERROR = 8 NOT_AUTHORIZED = 9
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_SAPLE25S_001 IS-U: Check and Change Logical View of Budget Billing Plan
IMPORTING Parameters details for ISU_S_BBP_AUTO_CREATE
X_EDATUM - Input Date
Data type: REA61-DATUMOptional: No
Call by Reference: Yes
X_NO_DIALOG -
Data type: REGEN-NO_DIALOGOptional: Yes
Call by Reference: Yes
X_AUTO -
Data type: ISU25_BUDBILPLAN_AUTOOptional: No
Call by Reference: Yes
X_PROCESS -
Data type: EP_PERIODOptional: No
Call by Reference: Yes
X_LOG_OBJECT - Application Log: Object Name (Application Code)
Data type: BALOBJ_DOptional: Yes
Call by Reference: Yes
EXPORTING Parameters details for ISU_S_BBP_AUTO_CREATE
Y_OPBEL -
Data type: EABP-OPBELOptional: No
Call by Reference: Yes
Y_T_CONTR_AMOUNT_KZ -
Data type: ISU25_T_CONTR_AMOUNT_KZOptional: No
Call by Reference: Yes
Y_T_OPVER -
Data type: ISU25_T_BUDBILPLAN_KEYOptional: No
Call by Reference: Yes
Y_DB_UPDATE - Database Updated (X) or not (SPACE)
Data type: REGEN-DB_UPDATEOptional: No
Call by Reference: Yes
TABLES Parameters details for ISU_S_BBP_AUTO_CREATE
YT_EABP -
Data type: EABPOptional: Yes
Call by Reference: Yes
EXCEPTIONS details
NOT_FOUND -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
EXISTING -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
FOREIGN_LOCK -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NUMBER_ERROR -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
INPUT_ERROR -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
SYSTEM_ERROR -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NOT_CREATED_NODUEDATE -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
BILLING_ERROR -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NOT_AUTHORIZED -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for ISU_S_BBP_AUTO_CREATE 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_yt_eabp | TYPE STANDARD TABLE OF EABP, " | |||
lv_y_opbel | TYPE EABP-OPBEL, " | |||
lv_x_edatum | TYPE REA61-DATUM, " | |||
lv_not_found | TYPE REA61, " | |||
lv_existing | TYPE REA61, " | |||
lv_x_no_dialog | TYPE REGEN-NO_DIALOG, " | |||
lv_y_t_contr_amount_kz | TYPE ISU25_T_CONTR_AMOUNT_KZ, " | |||
lv_x_auto | TYPE ISU25_BUDBILPLAN_AUTO, " | |||
lv_y_t_opver | TYPE ISU25_T_BUDBILPLAN_KEY, " | |||
lv_foreign_lock | TYPE ISU25_T_BUDBILPLAN_KEY, " | |||
lv_x_process | TYPE EP_PERIOD, " | |||
lv_y_db_update | TYPE REGEN-DB_UPDATE, " | |||
lv_number_error | TYPE REGEN, " | |||
lv_input_error | TYPE REGEN, " | |||
lv_x_log_object | TYPE BALOBJ_D, " | |||
lv_system_error | TYPE BALOBJ_D, " | |||
lv_not_created_noduedate | TYPE BALOBJ_D, " | |||
lv_billing_error | TYPE BALOBJ_D, " | |||
lv_not_authorized | TYPE BALOBJ_D. " |
  CALL FUNCTION 'ISU_S_BBP_AUTO_CREATE' "U02: Create BB Plans with Auto Data (Auto UMZUG) |
EXPORTING | ||
X_EDATUM | = lv_x_edatum | |
X_NO_DIALOG | = lv_x_no_dialog | |
X_AUTO | = lv_x_auto | |
X_PROCESS | = lv_x_process | |
X_LOG_OBJECT | = lv_x_log_object | |
IMPORTING | ||
Y_OPBEL | = lv_y_opbel | |
Y_T_CONTR_AMOUNT_KZ | = lv_y_t_contr_amount_kz | |
Y_T_OPVER | = lv_y_t_opver | |
Y_DB_UPDATE | = lv_y_db_update | |
TABLES | ||
YT_EABP | = lt_yt_eabp | |
EXCEPTIONS | ||
NOT_FOUND = 1 | ||
EXISTING = 2 | ||
FOREIGN_LOCK = 3 | ||
NUMBER_ERROR = 4 | ||
INPUT_ERROR = 5 | ||
SYSTEM_ERROR = 6 | ||
NOT_CREATED_NODUEDATE = 7 | ||
BILLING_ERROR = 8 | ||
NOT_AUTHORIZED = 9 | ||
. " ISU_S_BBP_AUTO_CREATE |
ABAP code using 7.40 inline data declarations to call FM ISU_S_BBP_AUTO_CREATE
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 OPBEL FROM EABP INTO @DATA(ld_y_opbel). | ||||
"SELECT single DATUM FROM REA61 INTO @DATA(ld_x_edatum). | ||||
"SELECT single NO_DIALOG FROM REGEN INTO @DATA(ld_x_no_dialog). | ||||
"SELECT single DB_UPDATE FROM REGEN INTO @DATA(ld_y_db_update). | ||||
Search for further information about these or an SAP related objects