SAP UC_TASK_EXECUTE_BGRD_INIT Function Module for









UC_TASK_EXECUTE_BGRD_INIT is a standard uc task execute bgrd init SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, 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 uc task execute bgrd init FM, simply by entering the name UC_TASK_EXECUTE_BGRD_INIT into the relevant SAP transaction such as SE37 or SE38.

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



Function UC_TASK_EXECUTE_BGRD_INIT 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 'UC_TASK_EXECUTE_BGRD_INIT'"
EXPORTING
* IO_MONITOR = "Consolidation Monitor
* I_NO_BLOCK = ' ' "General Indicator for SAP Consolidation
I_X_FIELDNAME = "Field Name
I_Y_FIELDNAME = "Field Name
* I_PACKAGE_NO = "Index of Internal Tables
* IT_CHECKBOX = "
IT_TASK_DATA = "
* IT_TASK = "Table Type Status Management
IO_SEL = "Interface Selection Condition
IT_SEL = "Table: Selection Condition (Range per Field)
I_AREA = "Consolidation Area
* I_TEST = 'X' "General Indicator for SAP Consolidation
* I_PROTOCOL = ' ' "General Indicator for SAP Consolidation
* I_LORIG = ' ' "General Indicator for SAP Consolidation
* I_SUPPRESS_ACTION = ' ' "General Indicator for SAP Consolidation
* I_WITH_SCREEN = ' ' "General Indicator for SAP Consolidation
.



IMPORTING Parameters details for UC_TASK_EXECUTE_BGRD_INIT

IO_MONITOR - Consolidation Monitor

Data type: CL_UC_MONITOR
Optional: Yes
Call by Reference: Yes

I_NO_BLOCK - General Indicator for SAP Consolidation

Data type: UC_FLG
Default: SPACE
Optional: Yes
Call by Reference: Yes

I_X_FIELDNAME - Field Name

Data type: UC_FIELDNAME
Optional: No
Call by Reference: Yes

I_Y_FIELDNAME - Field Name

Data type: UC_FIELDNAME
Optional: No
Call by Reference: Yes

I_PACKAGE_NO - Index of Internal Tables

Data type: SYTABIX
Optional: Yes
Call by Reference: Yes

IT_CHECKBOX -

Data type: UCU_T_SSCR_VALUE
Optional: Yes
Call by Reference: Yes

IT_TASK_DATA -

Data type: UCS_T_TASK_DATA
Optional: No
Call by Reference: Yes

IT_TASK - Table Type Status Management

Data type: UCS_TS_STM_TASK
Optional: Yes
Call by Reference: Yes

IO_SEL - Interface Selection Condition

Data type: IF_UC_SEL
Optional: No
Call by Reference: Yes

IT_SEL - Table: Selection Condition (Range per Field)

Data type: UC0_TS_SEL
Optional: No
Call by Reference: Yes

I_AREA - Consolidation Area

Data type: UC_AREA
Optional: No
Call by Reference: Yes

I_TEST - General Indicator for SAP Consolidation

Data type: UC_FLG
Default: 'X'
Optional: Yes
Call by Reference: Yes

I_PROTOCOL - General Indicator for SAP Consolidation

Data type: UC_FLG
Default: SPACE
Optional: Yes
Call by Reference: Yes

I_LORIG - General Indicator for SAP Consolidation

Data type: UC_FLG
Default: SPACE
Optional: Yes
Call by Reference: Yes

I_SUPPRESS_ACTION - General Indicator for SAP Consolidation

Data type: UC_FLG
Default: SPACE
Optional: Yes
Call by Reference: Yes

I_WITH_SCREEN - General Indicator for SAP Consolidation

Data type: UC_FLG
Default: SPACE
Optional: Yes
Call by Reference: Yes

Copy and paste ABAP code example for UC_TASK_EXECUTE_BGRD_INIT 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_io_monitor  TYPE CL_UC_MONITOR, "   
lv_i_no_block  TYPE UC_FLG, "   SPACE
lv_i_x_fieldname  TYPE UC_FIELDNAME, "   
lv_i_y_fieldname  TYPE UC_FIELDNAME, "   
lv_i_package_no  TYPE SYTABIX, "   
lv_it_checkbox  TYPE UCU_T_SSCR_VALUE, "   
lv_it_task_data  TYPE UCS_T_TASK_DATA, "   
lv_it_task  TYPE UCS_TS_STM_TASK, "   
lv_io_sel  TYPE IF_UC_SEL, "   
lv_it_sel  TYPE UC0_TS_SEL, "   
lv_i_area  TYPE UC_AREA, "   
lv_i_test  TYPE UC_FLG, "   'X'
lv_i_protocol  TYPE UC_FLG, "   SPACE
lv_i_lorig  TYPE UC_FLG, "   SPACE
lv_i_suppress_action  TYPE UC_FLG, "   SPACE
lv_i_with_screen  TYPE UC_FLG. "   SPACE

  CALL FUNCTION 'UC_TASK_EXECUTE_BGRD_INIT'  "
    EXPORTING
         IO_MONITOR = lv_io_monitor
         I_NO_BLOCK = lv_i_no_block
         I_X_FIELDNAME = lv_i_x_fieldname
         I_Y_FIELDNAME = lv_i_y_fieldname
         I_PACKAGE_NO = lv_i_package_no
         IT_CHECKBOX = lv_it_checkbox
         IT_TASK_DATA = lv_it_task_data
         IT_TASK = lv_it_task
         IO_SEL = lv_io_sel
         IT_SEL = lv_it_sel
         I_AREA = lv_i_area
         I_TEST = lv_i_test
         I_PROTOCOL = lv_i_protocol
         I_LORIG = lv_i_lorig
         I_SUPPRESS_ACTION = lv_i_suppress_action
         I_WITH_SCREEN = lv_i_with_screen
. " UC_TASK_EXECUTE_BGRD_INIT




ABAP code using 7.40 inline data declarations to call FM UC_TASK_EXECUTE_BGRD_INIT

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_i_no_block) = ' '.
 
 
 
 
 
 
 
 
 
 
DATA(ld_i_test) = 'X'.
 
DATA(ld_i_protocol) = ' '.
 
DATA(ld_i_lorig) = ' '.
 
DATA(ld_i_suppress_action) = ' '.
 
DATA(ld_i_with_screen) = ' '.
 


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!