SAP CO_BC_RESBD_TAB_TO_OPER_GET Function Module for NOTRANSL: Tabelle der RESBD zu einem Vorgang erstellen
CO_BC_RESBD_TAB_TO_OPER_GET is a standard co bc resbd tab to oper get SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for NOTRANSL: Tabelle der RESBD zu einem Vorgang erstellen 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 co bc resbd tab to oper get FM, simply by entering the name CO_BC_RESBD_TAB_TO_OPER_GET into the relevant SAP transaction such as SE37 or SE38.
Function Group: COBC
Program Name: SAPLCOBC
Main Program: SAPLCOBC
Appliation area: C
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function CO_BC_RESBD_TAB_TO_OPER_GET 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 'CO_BC_RESBD_TAB_TO_OPER_GET'"NOTRANSL: Tabelle der RESBD zu einem Vorgang erstellen.
EXPORTING
AUFNR_IMP = "Order number
APLZL_IMP = "Internal Operation Number
* FLG_CHECK_LOG_LOE = ' ' "No deleted components
* FLG_CHECK_NOT_FIX = ' ' "No components with fixed quantity
* FLG_CHECK_VBKZ_DEL = ' ' "No components to be deleted
TABLES
* RESBD_TAB = "Table of components
EXCEPTIONS
NOT_FOUND = 1
IMPORTING Parameters details for CO_BC_RESBD_TAB_TO_OPER_GET
AUFNR_IMP - Order number
Data type: AUFK-AUFNROptional: No
Call by Reference: No ( called with pass by value option)
APLZL_IMP - Internal Operation Number
Data type: AFVGD-APLZLOptional: No
Call by Reference: No ( called with pass by value option)
FLG_CHECK_LOG_LOE - No deleted components
Data type: RC27X-FLG_SELDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
FLG_CHECK_NOT_FIX - No components with fixed quantity
Data type: RC27X-FLG_SELDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
FLG_CHECK_VBKZ_DEL - No components to be deleted
Data type: RC27X-FLG_SELDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for CO_BC_RESBD_TAB_TO_OPER_GET
RESBD_TAB - Table of components
Data type: RESBDOptional: Yes
Call by Reference: Yes
EXCEPTIONS details
NOT_FOUND -
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for CO_BC_RESBD_TAB_TO_OPER_GET 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_aufnr_imp | TYPE AUFK-AUFNR, " | |||
| lv_not_found | TYPE AUFK, " | |||
| lt_resbd_tab | TYPE STANDARD TABLE OF RESBD, " | |||
| lv_aplzl_imp | TYPE AFVGD-APLZL, " | |||
| lv_flg_check_log_loe | TYPE RC27X-FLG_SEL, " SPACE | |||
| lv_flg_check_not_fix | TYPE RC27X-FLG_SEL, " SPACE | |||
| lv_flg_check_vbkz_del | TYPE RC27X-FLG_SEL. " SPACE |
|   CALL FUNCTION 'CO_BC_RESBD_TAB_TO_OPER_GET' "NOTRANSL: Tabelle der RESBD zu einem Vorgang erstellen |
| EXPORTING | ||
| AUFNR_IMP | = lv_aufnr_imp | |
| APLZL_IMP | = lv_aplzl_imp | |
| FLG_CHECK_LOG_LOE | = lv_flg_check_log_loe | |
| FLG_CHECK_NOT_FIX | = lv_flg_check_not_fix | |
| FLG_CHECK_VBKZ_DEL | = lv_flg_check_vbkz_del | |
| TABLES | ||
| RESBD_TAB | = lt_resbd_tab | |
| EXCEPTIONS | ||
| NOT_FOUND = 1 | ||
| . " CO_BC_RESBD_TAB_TO_OPER_GET | ||
ABAP code using 7.40 inline data declarations to call FM CO_BC_RESBD_TAB_TO_OPER_GET
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 AUFNR FROM AUFK INTO @DATA(ld_aufnr_imp). | ||||
| "SELECT single APLZL FROM AFVGD INTO @DATA(ld_aplzl_imp). | ||||
| "SELECT single FLG_SEL FROM RC27X INTO @DATA(ld_flg_check_log_loe). | ||||
| DATA(ld_flg_check_log_loe) | = ' '. | |||
| "SELECT single FLG_SEL FROM RC27X INTO @DATA(ld_flg_check_not_fix). | ||||
| DATA(ld_flg_check_not_fix) | = ' '. | |||
| "SELECT single FLG_SEL FROM RC27X INTO @DATA(ld_flg_check_vbkz_del). | ||||
| DATA(ld_flg_check_vbkz_del) | = ' '. | |||
Search for further information about these or an SAP related objects