SAP CIF_ORDER_SELECT Function Module for NOTRANSL: Selektion/Konvertierung Fertigungsaufträge über Filterobjekte (b









CIF_ORDER_SELECT is a standard cif order select 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: Selektion/Konvertierung Fertigungsaufträge über Filterobjekte (b 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 cif order select FM, simply by entering the name CIF_ORDER_SELECT into the relevant SAP transaction such as SE37 or SE38.

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



Function CIF_ORDER_SELECT 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 'CIF_ORDER_SELECT'"NOTRANSL: Selektion/Konvertierung Fertigungsaufträge über Filterobjekte (b
EXPORTING
IV_MAXCOUNT = "ABAP System Field: Number of Rows in Internal Tables
IV_OBJECTTYPE = "Object Type in OLTP System
* IV_COMPARE_MODE = "ABAP System Field: Highlighted Input in Dynpro Field
* IV_CHECK_ORDRES = "ABAP System Field: Highlighted Input in Dynpro Field
* IV_DESTINATION = "Logical System: Target System for Transfer
* IV_CIFTRIGGER = "Trigger of Data Transfer Using CIF
* IV_CHECK_OPR = "ABAP System Field: Highlighted Input in Dynpro Field

IMPORTING
EV_FINISHED = "DE-EN-LANG-SWITCH-NO-TRANSLATION
EV_NOEXEC = "Generic Type

TABLES
IT_FLTORD_ALL = "Structure for CIF_IMPLO Keys
* ET_CCV = "Characteristic Valuation for an Object
* IT_AUFOBJ = "Structure with order number, type and object number
* ET_ORD_CUS = "Customer Enhancement Structure for CIF_APOORD
* ET_OPR_CUS = "Customer Enhancement Structure for CIF_APOOPR
* ET_ACT_CUS = "Customer Enhancement Structure for CIF_APOACT
* ET_REQ_CUS = "Customer Enhancement Structure for CIF_APOREQ
* ET_INP_CUS = "Customer Enhancement Structure for CIF_APOINP
* ET_OUT_CUS = "Customer Enhancement Structure for CIF_APOOUT
* ET_REL_CUS = "Customer Enhancement Structure for CIF_APOREL
* ET_R3RES = "Resource Requirements for APO in Internal Format
IT_FLTORD = "Structure for CIF_IMPLO Keys
* ET_IO_NODES = "Deltareport3: Container Structure for Data Transfer I/ONodes
* ET_RETURN = "Return Parameter
* ET_OPR_COMP = "Delta Report3: Container Structure for Data Transfer: Operts
* ET_R3OPR_TXT = "Operation text
ET_ORD = "Orders for APO in APO Format
ET_OPR = "Operations for APO in APO Format, from Release 3.0
ET_ACT = "Activities for APO in APO Format
ET_REQ = "Capacity Requirements for APO in APO Format
ET_INP = "Material Input for APO in APO Format
ET_OUT = "Material Output for APO in APO Format
ET_REL = "Relationships for APO in APO Format

EXCEPTIONS
UNKNOWN_OBJECTTYPE = 1 SELECTION_FAILED = 2 CONVERTION_FAILED = 3 ABORT_INITIALLOAD = 4
.




Customer Function user exits

Below is a list of CUSTOMER FUNCTION exit user exits that are available within this program and maybe relevant for this FM.
EXIT_SAPLCORD_001 User Exit for Order Type Mapping
EXIT_SAPLCORD_002 User Exit for Order Type Mapping
EXIT_SAPLCORD_004 Customer Exit f. Selection of Customer-Specific Data During Initial Trans.
EXIT_SAPLCORD_005 User Exit for Inbound Processing of In-House Production (from APO30A)

IMPORTING Parameters details for CIF_ORDER_SELECT

IV_MAXCOUNT - ABAP System Field: Number of Rows in Internal Tables

Data type: SY-TFILL
Optional: No
Call by Reference: No ( called with pass by value option)

IV_OBJECTTYPE - Object Type in OLTP System

Data type: CIFPUDOCNR-OBJECTTYPE
Optional: No
Call by Reference: No ( called with pass by value option)

IV_COMPARE_MODE - ABAP System Field: Highlighted Input in Dynpro Field

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

IV_CHECK_ORDRES - ABAP System Field: Highlighted Input in Dynpro Field

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

IV_DESTINATION - Logical System: Target System for Transfer

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

IV_CIFTRIGGER - Trigger of Data Transfer Using CIF

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

IV_CHECK_OPR - ABAP System Field: Highlighted Input in Dynpro Field

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

EXPORTING Parameters details for CIF_ORDER_SELECT

EV_FINISHED - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

EV_NOEXEC - Generic Type

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

TABLES Parameters details for CIF_ORDER_SELECT

IT_FLTORD_ALL - Structure for CIF_IMPLO Keys

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

ET_CCV - Characteristic Valuation for an Object

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

IT_AUFOBJ - Structure with order number, type and object number

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

ET_ORD_CUS - Customer Enhancement Structure for CIF_APOORD

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

ET_OPR_CUS - Customer Enhancement Structure for CIF_APOOPR

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

ET_ACT_CUS - Customer Enhancement Structure for CIF_APOACT

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

ET_REQ_CUS - Customer Enhancement Structure for CIF_APOREQ

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

ET_INP_CUS - Customer Enhancement Structure for CIF_APOINP

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

ET_OUT_CUS - Customer Enhancement Structure for CIF_APOOUT

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

ET_REL_CUS - Customer Enhancement Structure for CIF_APOREL

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

ET_R3RES - Resource Requirements for APO in Internal Format

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

IT_FLTORD - Structure for CIF_IMPLO Keys

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

ET_IO_NODES - Deltareport3: Container Structure for Data Transfer I/ONodes

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

ET_RETURN - Return Parameter

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

ET_OPR_COMP - Delta Report3: Container Structure for Data Transfer: Operts

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

ET_R3OPR_TXT - Operation text

Data type: CIF_OPR_TXT
Optional: Yes
Call by Reference: Yes

ET_ORD - Orders for APO in APO Format

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

ET_OPR - Operations for APO in APO Format, from Release 3.0

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

ET_ACT - Activities for APO in APO Format

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

ET_REQ - Capacity Requirements for APO in APO Format

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

ET_INP - Material Input for APO in APO Format

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

ET_OUT - Material Output for APO in APO Format

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

ET_REL - Relationships for APO in APO Format

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

EXCEPTIONS details

UNKNOWN_OBJECTTYPE -

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

SELECTION_FAILED -

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

CONVERTION_FAILED -

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

ABORT_INITIALLOAD -

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

Copy and paste ABAP code example for CIF_ORDER_SELECT 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_ev_finished  TYPE STRING, "   
lv_iv_maxcount  TYPE SY-TFILL, "   
lt_it_fltord_all  TYPE STANDARD TABLE OF CIF_IMPLOK, "   
lv_unknown_objecttype  TYPE CIF_IMPLOK, "   
lt_et_ccv  TYPE STANDARD TABLE OF CIF_CCVEXT, "   
lt_it_aufobj  TYPE STANDARD TABLE OF AUFOBJ, "   
lt_et_ord_cus  TYPE STANDARD TABLE OF CIF_ORDCUS, "   
lt_et_opr_cus  TYPE STANDARD TABLE OF CIF_OPRCUS, "   
lt_et_act_cus  TYPE STANDARD TABLE OF CIF_ACTCUS, "   
lt_et_req_cus  TYPE STANDARD TABLE OF CIF_REQCUS, "   
lt_et_inp_cus  TYPE STANDARD TABLE OF CIF_INPCUS, "   
lt_et_out_cus  TYPE STANDARD TABLE OF CIF_OUTCUS, "   
lt_et_rel_cus  TYPE STANDARD TABLE OF CIF_RELCUS, "   
lt_et_r3res  TYPE STANDARD TABLE OF CIF_R3RES, "   
lv_ev_noexec  TYPE C, "   
lt_it_fltord  TYPE STANDARD TABLE OF CIF_IMPLOK, "   
lv_iv_objecttype  TYPE CIFPUDOCNR-OBJECTTYPE, "   
lv_selection_failed  TYPE CIFPUDOCNR, "   
lt_et_io_nodes  TYPE STANDARD TABLE OF CIF_NODES, "   
lt_et_return  TYPE STANDARD TABLE OF BAPIRET2, "   
lt_et_opr_comp  TYPE STANDARD TABLE OF CIF_OPR, "   
lt_et_r3opr_txt  TYPE STANDARD TABLE OF CIF_OPR_TXT, "   
lt_et_ord  TYPE STANDARD TABLE OF CIF_APOORD, "   
lv_iv_compare_mode  TYPE SY-DATAR, "   
lv_convertion_failed  TYPE SY, "   
lt_et_opr  TYPE STANDARD TABLE OF CIF_APOOPR, "   
lv_iv_check_ordres  TYPE SY-DATAR, "   
lv_abort_initialload  TYPE SY, "   
lt_et_act  TYPE STANDARD TABLE OF CIF_APOACT, "   
lv_iv_destination  TYPE CIFCTRLPAR-LOGDESTSYS, "   
lt_et_req  TYPE STANDARD TABLE OF CIF_APOREQ, "   
lv_iv_ciftrigger  TYPE CIFCTRLPAR-CIFTRIGGER, "   
lt_et_inp  TYPE STANDARD TABLE OF CIF_APOINP, "   
lv_iv_check_opr  TYPE SY-DATAR, "   
lt_et_out  TYPE STANDARD TABLE OF CIF_APOOUT, "   
lt_et_rel  TYPE STANDARD TABLE OF CIF_APOREL. "   

  CALL FUNCTION 'CIF_ORDER_SELECT'  "NOTRANSL: Selektion/Konvertierung Fertigungsaufträge über Filterobjekte (b
    EXPORTING
         IV_MAXCOUNT = lv_iv_maxcount
         IV_OBJECTTYPE = lv_iv_objecttype
         IV_COMPARE_MODE = lv_iv_compare_mode
         IV_CHECK_ORDRES = lv_iv_check_ordres
         IV_DESTINATION = lv_iv_destination
         IV_CIFTRIGGER = lv_iv_ciftrigger
         IV_CHECK_OPR = lv_iv_check_opr
    IMPORTING
         EV_FINISHED = lv_ev_finished
         EV_NOEXEC = lv_ev_noexec
    TABLES
         IT_FLTORD_ALL = lt_it_fltord_all
         ET_CCV = lt_et_ccv
         IT_AUFOBJ = lt_it_aufobj
         ET_ORD_CUS = lt_et_ord_cus
         ET_OPR_CUS = lt_et_opr_cus
         ET_ACT_CUS = lt_et_act_cus
         ET_REQ_CUS = lt_et_req_cus
         ET_INP_CUS = lt_et_inp_cus
         ET_OUT_CUS = lt_et_out_cus
         ET_REL_CUS = lt_et_rel_cus
         ET_R3RES = lt_et_r3res
         IT_FLTORD = lt_it_fltord
         ET_IO_NODES = lt_et_io_nodes
         ET_RETURN = lt_et_return
         ET_OPR_COMP = lt_et_opr_comp
         ET_R3OPR_TXT = lt_et_r3opr_txt
         ET_ORD = lt_et_ord
         ET_OPR = lt_et_opr
         ET_ACT = lt_et_act
         ET_REQ = lt_et_req
         ET_INP = lt_et_inp
         ET_OUT = lt_et_out
         ET_REL = lt_et_rel
    EXCEPTIONS
        UNKNOWN_OBJECTTYPE = 1
        SELECTION_FAILED = 2
        CONVERTION_FAILED = 3
        ABORT_INITIALLOAD = 4
. " CIF_ORDER_SELECT




ABAP code using 7.40 inline data declarations to call FM CIF_ORDER_SELECT

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 TFILL FROM SY INTO @DATA(ld_iv_maxcount).
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
"SELECT single OBJECTTYPE FROM CIFPUDOCNR INTO @DATA(ld_iv_objecttype).
 
 
 
 
 
 
 
"SELECT single DATAR FROM SY INTO @DATA(ld_iv_compare_mode).
 
 
 
"SELECT single DATAR FROM SY INTO @DATA(ld_iv_check_ordres).
 
 
 
"SELECT single LOGDESTSYS FROM CIFCTRLPAR INTO @DATA(ld_iv_destination).
 
 
"SELECT single CIFTRIGGER FROM CIFCTRLPAR INTO @DATA(ld_iv_ciftrigger).
 
 
"SELECT single DATAR FROM SY INTO @DATA(ld_iv_check_opr).
 
 
 


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!