SAP CO_BO_GET_OPR_OF_SEQ Function Module for NOTRANSL: Vorgänge zu einer Folge
CO_BO_GET_OPR_OF_SEQ is a standard co bo get opr of seq 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: Vorgänge zu einer Folge 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 bo get opr of seq FM, simply by entering the name CO_BO_GET_OPR_OF_SEQ into the relevant SAP transaction such as SE37 or SE38.
Function Group: COBO
Program Name: SAPLCOBO
Main Program: SAPLCOBO
Appliation area: C
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function CO_BO_GET_OPR_OF_SEQ 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_BO_GET_OPR_OF_SEQ'"NOTRANSL: Vorgänge zu einer Folge.
EXPORTING
APLFL_IMP = "Sequence
AUFNR_IMP = "Order Number
* FLG_AFVGDGET = ' ' "Selection Indicator
* FLG_CONV = ' ' "Selection Indicator
* FLG_PROV = ' ' "Selection Indicator
* FLG_QUAL = ' ' "Selection Indicator
* FLG_WORK = ' ' "Selection Indicator
* FLG_STAT = ' ' "Selection Indicator
* CHECK_DELETED = ' ' "Selection Indicator
TABLES
* TABEXP = "
* AFVGD_GET = "
IMPORTING Parameters details for CO_BO_GET_OPR_OF_SEQ
APLFL_IMP - Sequence
Data type: AFFL-PLNFLOptional: No
Call by Reference: No ( called with pass by value option)
AUFNR_IMP - Order Number
Data type: AUFK-AUFNROptional: No
Call by Reference: No ( called with pass by value option)
FLG_AFVGDGET - Selection Indicator
Data type: RC27X-FLG_SELDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
FLG_CONV - Selection Indicator
Data type: RC27X-FLG_SELDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
FLG_PROV - Selection Indicator
Data type: RC27X-FLG_SELDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
FLG_QUAL - Selection Indicator
Data type: RC27X-FLG_SELDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
FLG_WORK - Selection Indicator
Data type: RC27X-FLG_SELDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
FLG_STAT - Selection Indicator
Data type: RC27X-FLG_SELDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
CHECK_DELETED - Selection Indicator
Data type: RC27X-FLG_SELDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for CO_BO_GET_OPR_OF_SEQ
TABEXP -
Data type:Optional: Yes
Call by Reference: No ( called with pass by value option)
AFVGD_GET -
Data type: AFVGDGETOptional: Yes
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for CO_BO_GET_OPR_OF_SEQ 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_tabexp | TYPE STANDARD TABLE OF STRING, " | |||
| lv_aplfl_imp | TYPE AFFL-PLNFL, " | |||
| lt_afvgd_get | TYPE STANDARD TABLE OF AFVGDGET, " | |||
| lv_aufnr_imp | TYPE AUFK-AUFNR, " | |||
| lv_flg_afvgdget | TYPE RC27X-FLG_SEL, " SPACE | |||
| lv_flg_conv | TYPE RC27X-FLG_SEL, " SPACE | |||
| lv_flg_prov | TYPE RC27X-FLG_SEL, " SPACE | |||
| lv_flg_qual | TYPE RC27X-FLG_SEL, " SPACE | |||
| lv_flg_work | TYPE RC27X-FLG_SEL, " SPACE | |||
| lv_flg_stat | TYPE RC27X-FLG_SEL, " SPACE | |||
| lv_check_deleted | TYPE RC27X-FLG_SEL. " SPACE |
|   CALL FUNCTION 'CO_BO_GET_OPR_OF_SEQ' "NOTRANSL: Vorgänge zu einer Folge |
| EXPORTING | ||
| APLFL_IMP | = lv_aplfl_imp | |
| AUFNR_IMP | = lv_aufnr_imp | |
| FLG_AFVGDGET | = lv_flg_afvgdget | |
| FLG_CONV | = lv_flg_conv | |
| FLG_PROV | = lv_flg_prov | |
| FLG_QUAL | = lv_flg_qual | |
| FLG_WORK | = lv_flg_work | |
| FLG_STAT | = lv_flg_stat | |
| CHECK_DELETED | = lv_check_deleted | |
| TABLES | ||
| TABEXP | = lt_tabexp | |
| AFVGD_GET | = lt_afvgd_get | |
| . " CO_BO_GET_OPR_OF_SEQ | ||
ABAP code using 7.40 inline data declarations to call FM CO_BO_GET_OPR_OF_SEQ
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 PLNFL FROM AFFL INTO @DATA(ld_aplfl_imp). | ||||
| "SELECT single AUFNR FROM AUFK INTO @DATA(ld_aufnr_imp). | ||||
| "SELECT single FLG_SEL FROM RC27X INTO @DATA(ld_flg_afvgdget). | ||||
| DATA(ld_flg_afvgdget) | = ' '. | |||
| "SELECT single FLG_SEL FROM RC27X INTO @DATA(ld_flg_conv). | ||||
| DATA(ld_flg_conv) | = ' '. | |||
| "SELECT single FLG_SEL FROM RC27X INTO @DATA(ld_flg_prov). | ||||
| DATA(ld_flg_prov) | = ' '. | |||
| "SELECT single FLG_SEL FROM RC27X INTO @DATA(ld_flg_qual). | ||||
| DATA(ld_flg_qual) | = ' '. | |||
| "SELECT single FLG_SEL FROM RC27X INTO @DATA(ld_flg_work). | ||||
| DATA(ld_flg_work) | = ' '. | |||
| "SELECT single FLG_SEL FROM RC27X INTO @DATA(ld_flg_stat). | ||||
| DATA(ld_flg_stat) | = ' '. | |||
| "SELECT single FLG_SEL FROM RC27X INTO @DATA(ld_check_deleted). | ||||
| DATA(ld_check_deleted) | = ' '. | |||
Search for further information about these or an SAP related objects