SAP CIF_ORDER_OUTBOUND Function Module for NOTRANSL: OUTBOUND Versorgungsbaustein für Fertigungs-/Planaufträge
CIF_ORDER_OUTBOUND is a standard cif order outbound 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: OUTBOUND Versorgungsbaustein für Fertigungs-/Planaufträge 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 outbound FM, simply by entering the name CIF_ORDER_OUTBOUND 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_OUTBOUND 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_OUTBOUND'"NOTRANSL: OUTBOUND Versorgungsbaustein für Fertigungs-/Planaufträge.
EXPORTING
* IV_OBJECTTYPE = GC_PROD_ORDER "
* IV_CONFCLA_SEND = 'X' "
* IV_CIFTRIGGER = 'OL' "Trigger of Data Transfer Using CIF
* IV_NOEXEC = ' ' "
TABLES
IT_APOORD = "
* IT_APOACT_X = "
* IT_APOREQ_X = "
* IT_APOINP_X = "
* IT_APOOUT_X = "
* IT_APOREL_X = "
* EXTENSIONOUT = "
* IT_LOGSYS = "
* IT_CCV = "
* IT_ORD_CUS = "
* IT_OPR_CUS = "
IT_APOOPR = "
* IT_ACT_CUS = "
* IT_REQ_CUS = "
* IT_INP_CUS = "
* IT_OUT_CUS = "
* IT_REL_CUS = "
* IT_R3PLORD = "
* IT_R3OPR_TXT = "
* IT_APOACT = "
IT_APOREQ = "
IT_APOINP = "
IT_APOOUT = "
IT_APOREL = "
* IT_APOORD_X = "
* IT_APOOPR_X = "
EXCEPTIONS
WRONG_OBJECTTYPE = 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_OUTBOUND
IV_OBJECTTYPE -
Data type: CIFPUDOCNR-OBJECTTYPEDefault: GC_PROD_ORDER
Optional: Yes
Call by Reference: No ( called with pass by value option)
IV_CONFCLA_SEND -
Data type: CDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
IV_CIFTRIGGER - Trigger of Data Transfer Using CIF
Data type: CIFCTRLPAR-CIFTRIGGERDefault: 'OL'
Optional: Yes
Call by Reference: No ( called with pass by value option)
IV_NOEXEC -
Data type: CDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for CIF_ORDER_OUTBOUND
IT_APOORD -
Data type: CIF_APOORDOptional: No
Call by Reference: No ( called with pass by value option)
IT_APOACT_X -
Data type: CIF_APOACXOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_APOREQ_X -
Data type: CIF_APORQXOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_APOINP_X -
Data type: CIF_APOINXOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_APOOUT_X -
Data type: CIF_APOOUXOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_APOREL_X -
Data type: CIF_APORLXOptional: 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_LOGSYS -
Data type: CIF_DESTOptional: 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_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_APOOPR -
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_R3OPR_TXT -
Data type: CIF_OPR_TXTOptional: Yes
Call by Reference: Yes
IT_APOACT -
Data type: CIF_APOACTOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_APOREQ -
Data type: CIF_APOREQOptional: No
Call by Reference: No ( called with pass by value option)
IT_APOINP -
Data type: CIF_APOINPOptional: No
Call by Reference: No ( called with pass by value option)
IT_APOOUT -
Data type: CIF_APOOUTOptional: No
Call by Reference: No ( called with pass by value option)
IT_APOREL -
Data type: CIF_APORELOptional: No
Call by Reference: No ( called with pass by value option)
IT_APOORD_X -
Data type: CIF_APOORXOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_APOOPR_X -
Data type: CIF_APOOPXOptional: Yes
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
WRONG_OBJECTTYPE -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for CIF_ORDER_OUTBOUND 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_apoord | TYPE STANDARD TABLE OF CIF_APOORD, " | |||
| lv_iv_objecttype | TYPE CIFPUDOCNR-OBJECTTYPE, " GC_PROD_ORDER | |||
| lv_wrong_objecttype | TYPE CIFPUDOCNR, " | |||
| lt_it_apoact_x | TYPE STANDARD TABLE OF CIF_APOACX, " | |||
| lt_it_aporeq_x | TYPE STANDARD TABLE OF CIF_APORQX, " | |||
| lt_it_apoinp_x | TYPE STANDARD TABLE OF CIF_APOINX, " | |||
| lt_it_apoout_x | TYPE STANDARD TABLE OF CIF_APOOUX, " | |||
| lt_it_aporel_x | TYPE STANDARD TABLE OF CIF_APORLX, " | |||
| lt_extensionout | TYPE STANDARD TABLE OF CIFBPAREX, " | |||
| lt_it_logsys | TYPE STANDARD TABLE OF CIF_DEST, " | |||
| lt_it_ccv | TYPE STANDARD TABLE OF CIF_CCVEXT, " | |||
| lt_it_ord_cus | TYPE STANDARD TABLE OF CIF_ORDCUS, " | |||
| lt_it_opr_cus | TYPE STANDARD TABLE OF CIF_OPRCUS, " | |||
| lt_it_apoopr | TYPE STANDARD TABLE OF CIF_APOOPR, " | |||
| lv_iv_confcla_send | TYPE C, " 'X' | |||
| 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_r3opr_txt | TYPE STANDARD TABLE OF CIF_OPR_TXT, " | |||
| lt_it_apoact | TYPE STANDARD TABLE OF CIF_APOACT, " | |||
| lv_iv_ciftrigger | TYPE CIFCTRLPAR-CIFTRIGGER, " 'OL' | |||
| lt_it_aporeq | TYPE STANDARD TABLE OF CIF_APOREQ, " | |||
| lv_iv_noexec | TYPE C, " SPACE | |||
| lt_it_apoinp | TYPE STANDARD TABLE OF CIF_APOINP, " | |||
| lt_it_apoout | TYPE STANDARD TABLE OF CIF_APOOUT, " | |||
| lt_it_aporel | TYPE STANDARD TABLE OF CIF_APOREL, " | |||
| lt_it_apoord_x | TYPE STANDARD TABLE OF CIF_APOORX, " | |||
| lt_it_apoopr_x | TYPE STANDARD TABLE OF CIF_APOOPX. " |
|   CALL FUNCTION 'CIF_ORDER_OUTBOUND' "NOTRANSL: OUTBOUND Versorgungsbaustein für Fertigungs-/Planaufträge |
| EXPORTING | ||
| IV_OBJECTTYPE | = lv_iv_objecttype | |
| IV_CONFCLA_SEND | = lv_iv_confcla_send | |
| IV_CIFTRIGGER | = lv_iv_ciftrigger | |
| IV_NOEXEC | = lv_iv_noexec | |
| TABLES | ||
| IT_APOORD | = lt_it_apoord | |
| IT_APOACT_X | = lt_it_apoact_x | |
| IT_APOREQ_X | = lt_it_aporeq_x | |
| IT_APOINP_X | = lt_it_apoinp_x | |
| IT_APOOUT_X | = lt_it_apoout_x | |
| IT_APOREL_X | = lt_it_aporel_x | |
| EXTENSIONOUT | = lt_extensionout | |
| IT_LOGSYS | = lt_it_logsys | |
| IT_CCV | = lt_it_ccv | |
| IT_ORD_CUS | = lt_it_ord_cus | |
| IT_OPR_CUS | = lt_it_opr_cus | |
| IT_APOOPR | = lt_it_apoopr | |
| 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_R3OPR_TXT | = lt_it_r3opr_txt | |
| IT_APOACT | = lt_it_apoact | |
| IT_APOREQ | = lt_it_aporeq | |
| IT_APOINP | = lt_it_apoinp | |
| IT_APOOUT | = lt_it_apoout | |
| IT_APOREL | = lt_it_aporel | |
| IT_APOORD_X | = lt_it_apoord_x | |
| IT_APOOPR_X | = lt_it_apoopr_x | |
| EXCEPTIONS | ||
| WRONG_OBJECTTYPE = 1 | ||
| . " CIF_ORDER_OUTBOUND | ||
ABAP code using 7.40 inline data declarations to call FM CIF_ORDER_OUTBOUND
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). | ||||
| DATA(ld_iv_objecttype) | = GC_PROD_ORDER. | |||
| DATA(ld_iv_confcla_send) | = 'X'. | |||
| "SELECT single CIFTRIGGER FROM CIFCTRLPAR INTO @DATA(ld_iv_ciftrigger). | ||||
| DATA(ld_iv_ciftrigger) | = 'OL'. | |||
| DATA(ld_iv_noexec) | = ' '. | |||
Search for further information about these or an SAP related objects