TB_LIMIT_EXPOSURE_TASK_INIT is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name TB_LIMIT_EXPOSURE_TASK_INIT into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
TBL2
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'TB_LIMIT_EXPOSURE_TASK_INIT' "Init Parallel Processing of Totals Records
EXPORTING
i_auswtyp = " vtvmtask-auswtyp Risk Management Evaluation Category
IMPORTING
e_mtask = " c Multitasking is active
e_pcksize = " i Package Size
e_maxtasks = " i Number of Free Tasks
e_grpname = " vtvmtask-grpname Logon/Server Group Name
TABLES
et_error = " bapierr OR: Structure of Error Handling
. " TB_LIMIT_EXPOSURE_TASK_INIT
The ABAP code below is a full code listing to execute function module TB_LIMIT_EXPOSURE_TASK_INIT including all data declarations. The code uses 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 original method of declaring data variables up front. 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).
| ld_e_mtask | TYPE C , |
| ld_e_pcksize | TYPE I , |
| ld_e_maxtasks | TYPE I , |
| ld_e_grpname | TYPE VTVMTASK-GRPNAME , |
| it_et_error | TYPE STANDARD TABLE OF BAPIERR,"TABLES PARAM |
| wa_et_error | LIKE LINE OF it_et_error . |
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| ld_e_mtask | TYPE C , |
| ld_i_auswtyp | TYPE VTVMTASK-AUSWTYP , |
| it_et_error | TYPE STANDARD TABLE OF BAPIERR , |
| wa_et_error | LIKE LINE OF it_et_error, |
| ld_e_pcksize | TYPE I , |
| ld_e_maxtasks | TYPE I , |
| ld_e_grpname | TYPE VTVMTASK-GRPNAME . |
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name TB_LIMIT_EXPOSURE_TASK_INIT or its description.
TB_LIMIT_EXPOSURE_TASK_INIT - Init Parallel Processing of Totals Records TB_LIMIT_EXPOSURE_TASK_CONTROL - Control Parallel Processing of Totals Records TB_LIMIT_EXPOSURE_INSERT_SUMS - Array Update Task for Totals Records (Limit System) TB_LIMIT_EXPOSURE_INSERT_SING - Array Update Task for Individual Records (Limit System) TB_LIMIT_EXPOSURE_INSERT_INDEX - Array Update Task for Index Records (Limit System) TB_LIMIT_EXPOSURE_INSERT_DETAI - Array Update Task for Individual Records (Limit System)