SAP CIF_ORDER_SEND Function Module for DE-EN-LANG-SWITCH-NO-TRANSLATION
CIF_ORDER_SEND is a standard cif order send SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for DE-EN-LANG-SWITCH-NO-TRANSLATION 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 send FM, simply by entering the name CIF_ORDER_SEND into the relevant SAP transaction such as SE37 or SE38.
Function Group: CORD
Program Name: SAPLCORD
Main Program: SAPLCORD
Appliation area: C
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:

Function CIF_ORDER_SEND 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_SEND'"DE-EN-LANG-SWITCH-NO-TRANSLATION.
EXPORTING
IS_CTRLPARAMS = "
IV_OBJECTTYPE = "
* IV_SNP_PLAF = "
* IV_CIFTRIGGER = 'IL' "Trigger of Data Transfer Using CIF
TABLES
IT_ORD = "
* IT_ACT_X = "
* IT_REQ_X = "
* IT_INP_X = "
* IT_OUT_X = "
* IT_REL_X = "
* IT_CCV = "
* IT_ENQUEUE_ARGS = "
* EXTENSIONOUT = "
* IT_ORD_CUS = "
* IT_OPR_CUS = "
IT_OPR = "
* IT_ACT_CUS = "
* IT_REQ_CUS = "
* IT_INP_CUS = "
* IT_OUT_CUS = "
* IT_REL_CUS = "
* IT_R3PLORD = "
* IT_QUEUE_NAMES = "Structure for qRFC receiver list
* IT_R3OPR_TXT = "
IT_ACT = "
IT_REQ = "
IT_INP = "
IT_OUT = "
IT_REL = "
* IT_ORD_X = "
* IT_OPR_X = "
EXCEPTIONS
CALL_FUNCTION_ERROR = 1
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_SEND
IS_CTRLPARAMS -
Data type: CIFCTRLPAROptional: No
Call by Reference: No ( called with pass by value option)
IV_OBJECTTYPE -
Data type: CIFPUDOCNR-OBJECTTYPEOptional: No
Call by Reference: No ( called with pass by value option)
IV_SNP_PLAF -
Data type: CIF_REPPAR-SNP_PLAFOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_CIFTRIGGER - Trigger of Data Transfer Using CIF
Data type: CIFCTRLPAR-CIFTRIGGERDefault: 'IL'
Optional: Yes
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for CIF_ORDER_SEND
IT_ORD -
Data type: CIF_APOORDOptional: No
Call by Reference: No ( called with pass by value option)
IT_ACT_X -
Data type: CIF_APOACXOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_REQ_X -
Data type: CIF_APORQXOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_INP_X -
Data type: CIF_APOINXOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_OUT_X -
Data type: CIF_APOOUXOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_REL_X -
Data type: CIF_APORLXOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_CCV -
Data type: CIF_CCVEXTOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_ENQUEUE_ARGS -
Data type: CIF_IMODOptional: Yes
Call by Reference: No ( called with pass by value option)
EXTENSIONOUT -
Data type: CIFBPAREXOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_ORD_CUS -
Data type: CIF_ORDCUSOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_OPR_CUS -
Data type: CIF_OPRCUSOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_OPR -
Data type: CIF_APOOPROptional: No
Call by Reference: No ( called with pass by value option)
IT_ACT_CUS -
Data type: CIF_ACTCUSOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_REQ_CUS -
Data type: CIF_REQCUSOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_INP_CUS -
Data type: CIF_INPCUSOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_OUT_CUS -
Data type: CIF_OUTCUSOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_REL_CUS -
Data type: CIF_RELCUSOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_R3PLORD -
Data type: CIF_R3PLPOOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_QUEUE_NAMES - Structure for qRFC receiver list
Data type: QRFCRCVOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_R3OPR_TXT -
Data type: CIF_OPR_TXTOptional: Yes
Call by Reference: Yes
IT_ACT -
Data type: CIF_APOACTOptional: No
Call by Reference: No ( called with pass by value option)
IT_REQ -
Data type: CIF_APOREQOptional: No
Call by Reference: No ( called with pass by value option)
IT_INP -
Data type: CIF_APOINPOptional: No
Call by Reference: No ( called with pass by value option)
IT_OUT -
Data type: CIF_APOOUTOptional: No
Call by Reference: No ( called with pass by value option)
IT_REL -
Data type: CIF_APORELOptional: No
Call by Reference: No ( called with pass by value option)
IT_ORD_X -
Data type: CIF_APOORXOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_OPR_X -
Data type: CIF_APOOPXOptional: Yes
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
CALL_FUNCTION_ERROR -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for CIF_ORDER_SEND 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_it_ord | TYPE STANDARD TABLE OF CIF_APOORD, " | |||
| lv_is_ctrlparams | TYPE CIFCTRLPAR, " | |||
| lv_call_function_error | TYPE CIFCTRLPAR, " | |||
| lt_it_act_x | TYPE STANDARD TABLE OF CIF_APOACX, " | |||
| lt_it_req_x | TYPE STANDARD TABLE OF CIF_APORQX, " | |||
| lt_it_inp_x | TYPE STANDARD TABLE OF CIF_APOINX, " | |||
| lt_it_out_x | TYPE STANDARD TABLE OF CIF_APOOUX, " | |||
| lt_it_rel_x | TYPE STANDARD TABLE OF CIF_APORLX, " | |||
| lt_it_ccv | TYPE STANDARD TABLE OF CIF_CCVEXT, " | |||
| lt_it_enqueue_args | TYPE STANDARD TABLE OF CIF_IMOD, " | |||
| lt_extensionout | TYPE STANDARD TABLE OF CIFBPAREX, " | |||
| lt_it_ord_cus | TYPE STANDARD TABLE OF CIF_ORDCUS, " | |||
| lt_it_opr_cus | TYPE STANDARD TABLE OF CIF_OPRCUS, " | |||
| lt_it_opr | TYPE STANDARD TABLE OF CIF_APOOPR, " | |||
| lv_iv_objecttype | TYPE CIFPUDOCNR-OBJECTTYPE, " | |||
| lt_it_act_cus | TYPE STANDARD TABLE OF CIF_ACTCUS, " | |||
| lt_it_req_cus | TYPE STANDARD TABLE OF CIF_REQCUS, " | |||
| lt_it_inp_cus | TYPE STANDARD TABLE OF CIF_INPCUS, " | |||
| lt_it_out_cus | TYPE STANDARD TABLE OF CIF_OUTCUS, " | |||
| lt_it_rel_cus | TYPE STANDARD TABLE OF CIF_RELCUS, " | |||
| lt_it_r3plord | TYPE STANDARD TABLE OF CIF_R3PLPO, " | |||
| lt_it_queue_names | TYPE STANDARD TABLE OF QRFCRCV, " | |||
| lt_it_r3opr_txt | TYPE STANDARD TABLE OF CIF_OPR_TXT, " | |||
| lt_it_act | TYPE STANDARD TABLE OF CIF_APOACT, " | |||
| lv_iv_snp_plaf | TYPE CIF_REPPAR-SNP_PLAF, " | |||
| lt_it_req | TYPE STANDARD TABLE OF CIF_APOREQ, " | |||
| lv_iv_ciftrigger | TYPE CIFCTRLPAR-CIFTRIGGER, " 'IL' | |||
| lt_it_inp | TYPE STANDARD TABLE OF CIF_APOINP, " | |||
| lt_it_out | TYPE STANDARD TABLE OF CIF_APOOUT, " | |||
| lt_it_rel | TYPE STANDARD TABLE OF CIF_APOREL, " | |||
| lt_it_ord_x | TYPE STANDARD TABLE OF CIF_APOORX, " | |||
| lt_it_opr_x | TYPE STANDARD TABLE OF CIF_APOOPX. " |
|   CALL FUNCTION 'CIF_ORDER_SEND' "DE-EN-LANG-SWITCH-NO-TRANSLATION |
| EXPORTING | ||
| IS_CTRLPARAMS | = lv_is_ctrlparams | |
| IV_OBJECTTYPE | = lv_iv_objecttype | |
| IV_SNP_PLAF | = lv_iv_snp_plaf | |
| IV_CIFTRIGGER | = lv_iv_ciftrigger | |
| TABLES | ||
| IT_ORD | = lt_it_ord | |
| IT_ACT_X | = lt_it_act_x | |
| IT_REQ_X | = lt_it_req_x | |
| IT_INP_X | = lt_it_inp_x | |
| IT_OUT_X | = lt_it_out_x | |
| IT_REL_X | = lt_it_rel_x | |
| IT_CCV | = lt_it_ccv | |
| IT_ENQUEUE_ARGS | = lt_it_enqueue_args | |
| EXTENSIONOUT | = lt_extensionout | |
| IT_ORD_CUS | = lt_it_ord_cus | |
| IT_OPR_CUS | = lt_it_opr_cus | |
| IT_OPR | = lt_it_opr | |
| IT_ACT_CUS | = lt_it_act_cus | |
| IT_REQ_CUS | = lt_it_req_cus | |
| IT_INP_CUS | = lt_it_inp_cus | |
| IT_OUT_CUS | = lt_it_out_cus | |
| IT_REL_CUS | = lt_it_rel_cus | |
| IT_R3PLORD | = lt_it_r3plord | |
| IT_QUEUE_NAMES | = lt_it_queue_names | |
| IT_R3OPR_TXT | = lt_it_r3opr_txt | |
| IT_ACT | = lt_it_act | |
| IT_REQ | = lt_it_req | |
| IT_INP | = lt_it_inp | |
| IT_OUT | = lt_it_out | |
| IT_REL | = lt_it_rel | |
| IT_ORD_X | = lt_it_ord_x | |
| IT_OPR_X | = lt_it_opr_x | |
| EXCEPTIONS | ||
| CALL_FUNCTION_ERROR = 1 | ||
| . " CIF_ORDER_SEND | ||
ABAP code using 7.40 inline data declarations to call FM CIF_ORDER_SEND
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 OBJECTTYPE FROM CIFPUDOCNR INTO @DATA(ld_iv_objecttype). | ||||
| "SELECT single SNP_PLAF FROM CIF_REPPAR INTO @DATA(ld_iv_snp_plaf). | ||||
| "SELECT single CIFTRIGGER FROM CIFCTRLPAR INTO @DATA(ld_iv_ciftrigger). | ||||
| DATA(ld_iv_ciftrigger) | = 'IL'. | |||
Search for further information about these or an SAP related objects