CO_BC_CMP_INSERT_TMP 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 CO_BC_CMP_INSERT_TMP into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
COBC
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'CO_BC_CMP_INSERT_TMP' "
EXPORTING
* aufnr_imp = " aufk-aufnr Order Number
* rsnum_imp = " resb-rsnum Number of Reservation / Dependent Requirement
* aufpl_imp = " afvc-aufpl Task list number of operations in the order
* aplzl_imp = " afvc-aplzl General Counter for Order
* vsnmr_key = ' ' " vskopf-vsnmr Number or description of a version
* rsnum_key = " resb-rsnum Number of Reservation / Dependent Requirement
* rspos_key = " resb-rspos Item Number of Reservation/Dependent Requirement
* rsart_key = " resb-rsart Record Type
source_imp = " c
* resbb_imp = " resbb Document Table for Order Components
* result_imp = ' ' " c
IMPORTING
rspos_tmp = " resb-rspos Item Number of Reservation/Dependent Requirement
EXCEPTIONS
INVALID_SOURCE = 1 "
COMPONENT_NOT_FOUND = 2 "
. " CO_BC_CMP_INSERT_TMP
The ABAP code below is a full code listing to execute function module CO_BC_CMP_INSERT_TMP 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_rspos_tmp | TYPE RESB-RSPOS . |
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_rspos_tmp | TYPE RESB-RSPOS , |
| ld_aufnr_imp | TYPE AUFK-AUFNR , |
| ld_rsnum_imp | TYPE RESB-RSNUM , |
| ld_aufpl_imp | TYPE AFVC-AUFPL , |
| ld_aplzl_imp | TYPE AFVC-APLZL , |
| ld_vsnmr_key | TYPE VSKOPF-VSNMR , |
| ld_rsnum_key | TYPE RESB-RSNUM , |
| ld_rspos_key | TYPE RESB-RSPOS , |
| ld_rsart_key | TYPE RESB-RSART , |
| ld_source_imp | TYPE C , |
| ld_resbb_imp | TYPE RESBB , |
| ld_result_imp | TYPE C . |
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 CO_BC_CMP_INSERT_TMP or its description.