SAP CO_BO_OPR_OF_ORDER_GET Function Module for NOTRANSL: Übergeben der Vorgänge eines Auftrages (Netz ect.)









CO_BO_OPR_OF_ORDER_GET is a standard co bo opr of order 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: Übergeben der Vorgänge eines Auftrages (Netz ect.) 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 opr of order get FM, simply by entering the name CO_BO_OPR_OF_ORDER_GET into the relevant SAP transaction such as SE37 or SE38.

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



Function CO_BO_OPR_OF_ORDER_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_BO_OPR_OF_ORDER_GET'"NOTRANSL: Übergeben der Vorgänge eines Auftrages (Netz ect.)
EXPORTING
* AUFNR_IMP = "Order Number
* FLG_CONV = ' ' "Selection Indicator
* FLG_OPROLL = 'X' "Selection Indicator
* CHECK_DELETED = ' ' "Selection Indicator
* GET_OLD = ' ' "Selection Indicator
* FLG_STATUS = ' ' "Selection Indicator
* FLG_WORK = ' ' "Selection Indicator
* SORT_BY_SEQ = ' ' "Selection Indicator
* GET_ALT_SEQ = 'X' "Selection Indicator
* FLG_PROV = ' ' "Selection Indicator
* FLG_QUAL = ' ' "Selection Indicator

TABLES
AFVGD_GET = "
* AFVGT_OLD = "
.



IMPORTING Parameters details for CO_BO_OPR_OF_ORDER_GET

AUFNR_IMP - Order Number

Data type: CAUFVD-AUFNR
Optional: Yes
Call by Reference: No ( called with pass by value option)

FLG_CONV - Selection Indicator

Data type: RC27X-FLG_SEL
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

FLG_OPROLL - Selection Indicator

Data type: RC27X-FLG_SEL
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

CHECK_DELETED - Selection Indicator

Data type: RC27X-FLG_SEL
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

GET_OLD - Selection Indicator

Data type: RC27X-FLG_SEL
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

FLG_STATUS - Selection Indicator

Data type: RC27X-FLG_SEL
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

FLG_WORK - Selection Indicator

Data type: RC27X-FLG_SEL
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

SORT_BY_SEQ - Selection Indicator

Data type: RC27X-FLG_SEL
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

GET_ALT_SEQ - Selection Indicator

Data type: RC27X-FLG_SEL
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

FLG_PROV - Selection Indicator

Data type: RC27X-FLG_SEL
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

FLG_QUAL - Selection Indicator

Data type: RC27X-FLG_SEL
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for CO_BO_OPR_OF_ORDER_GET

AFVGD_GET -

Data type: AFVGDGET
Optional: No
Call by Reference: No ( called with pass by value option)

AFVGT_OLD -

Data type: AFVGD
Optional: Yes
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for CO_BO_OPR_OF_ORDER_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:
lt_afvgd_get  TYPE STANDARD TABLE OF AFVGDGET, "   
lv_aufnr_imp  TYPE CAUFVD-AUFNR, "   
lv_flg_conv  TYPE RC27X-FLG_SEL, "   SPACE
lv_flg_oproll  TYPE RC27X-FLG_SEL, "   'X'
lt_afvgt_old  TYPE STANDARD TABLE OF AFVGD, "   
lv_check_deleted  TYPE RC27X-FLG_SEL, "   SPACE
lv_get_old  TYPE RC27X-FLG_SEL, "   SPACE
lv_flg_status  TYPE RC27X-FLG_SEL, "   SPACE
lv_flg_work  TYPE RC27X-FLG_SEL, "   SPACE
lv_sort_by_seq  TYPE RC27X-FLG_SEL, "   SPACE
lv_get_alt_seq  TYPE RC27X-FLG_SEL, "   'X'
lv_flg_prov  TYPE RC27X-FLG_SEL, "   SPACE
lv_flg_qual  TYPE RC27X-FLG_SEL. "   SPACE

  CALL FUNCTION 'CO_BO_OPR_OF_ORDER_GET'  "NOTRANSL: Übergeben der Vorgänge eines Auftrages (Netz ect.)
    EXPORTING
         AUFNR_IMP = lv_aufnr_imp
         FLG_CONV = lv_flg_conv
         FLG_OPROLL = lv_flg_oproll
         CHECK_DELETED = lv_check_deleted
         GET_OLD = lv_get_old
         FLG_STATUS = lv_flg_status
         FLG_WORK = lv_flg_work
         SORT_BY_SEQ = lv_sort_by_seq
         GET_ALT_SEQ = lv_get_alt_seq
         FLG_PROV = lv_flg_prov
         FLG_QUAL = lv_flg_qual
    TABLES
         AFVGD_GET = lt_afvgd_get
         AFVGT_OLD = lt_afvgt_old
. " CO_BO_OPR_OF_ORDER_GET




ABAP code using 7.40 inline data declarations to call FM CO_BO_OPR_OF_ORDER_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 CAUFVD INTO @DATA(ld_aufnr_imp).
 
"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_oproll).
DATA(ld_flg_oproll) = 'X'.
 
 
"SELECT single FLG_SEL FROM RC27X INTO @DATA(ld_check_deleted).
DATA(ld_check_deleted) = ' '.
 
"SELECT single FLG_SEL FROM RC27X INTO @DATA(ld_get_old).
DATA(ld_get_old) = ' '.
 
"SELECT single FLG_SEL FROM RC27X INTO @DATA(ld_flg_status).
DATA(ld_flg_status) = ' '.
 
"SELECT single FLG_SEL FROM RC27X INTO @DATA(ld_flg_work).
DATA(ld_flg_work) = ' '.
 
"SELECT single FLG_SEL FROM RC27X INTO @DATA(ld_sort_by_seq).
DATA(ld_sort_by_seq) = ' '.
 
"SELECT single FLG_SEL FROM RC27X INTO @DATA(ld_get_alt_seq).
DATA(ld_get_alt_seq) = 'X'.
 
"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) = ' '.
 


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!