SAP CIF_RESTM_SEND Function Module for CIF Send Data for TM Resources
CIF_RESTM_SEND is a standard cif restm 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 CIF Send Data for TM Resources 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 restm send FM, simply by entering the name CIF_RESTM_SEND into the relevant SAP transaction such as SE37 or SE38.
Function Group: RESTM
Program Name: SAPLRESTM
Main Program: SAPLRESTM
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function CIF_RESTM_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_RESTM_SEND'"CIF Send Data for TM Resources.
EXPORTING
IS_CTRLPARAMS = "Control Parameters for Data Transfers
TABLES
IT_RESTMHEAD = "Transfer Structure for TM Resources
IT_RESTMHEADX = "Checklist for CIFRESTMHEAD
* IT_RESTMHDTXT = "Transfer Structure for TM Resources - Text
* IT_RESTMHDTXTX = "Checklist for CIFRESTMHDTXT
* IT_RESTMDOWN = "Transfer Structure for TM Resources - Downtime
* IT_RESTMDOWNX = "Checklist for CIFRESTMDOWN
* IT_RESTMDOWNTXT = "Transfer Structure for TM Resources - Downtime Text
* IT_RESTMDOWNTXTX = "Checklist for CIFRESTMDOWNTXT
* IT_EXTENSION = "Reference Structure for ExtensionIn and ExtensionOut BAPIs
IMPORTING Parameters details for CIF_RESTM_SEND
IS_CTRLPARAMS - Control Parameters for Data Transfers
Data type: CIFCTRLPAROptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for CIF_RESTM_SEND
IT_RESTMHEAD - Transfer Structure for TM Resources
Data type: CIFRESTMHEADOptional: No
Call by Reference: No ( called with pass by value option)
IT_RESTMHEADX - Checklist for CIFRESTMHEAD
Data type: CIFRESTMHEADXOptional: No
Call by Reference: No ( called with pass by value option)
IT_RESTMHDTXT - Transfer Structure for TM Resources - Text
Data type: CIFRESTMHDTXTOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_RESTMHDTXTX - Checklist for CIFRESTMHDTXT
Data type: CIFRESTMHDTXTXOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_RESTMDOWN - Transfer Structure for TM Resources - Downtime
Data type: CIFRESTMDOWNOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_RESTMDOWNX - Checklist for CIFRESTMDOWN
Data type: CIFRESTMDOWNXOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_RESTMDOWNTXT - Transfer Structure for TM Resources - Downtime Text
Data type: CIFRESTMDOWNTXTOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_RESTMDOWNTXTX - Checklist for CIFRESTMDOWNTXT
Data type: CIFRESTMDOWNTXTXOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_EXTENSION - Reference Structure for ExtensionIn and ExtensionOut BAPIs
Data type: CIFBPAREXOptional: Yes
Call by Reference: Yes
Copy and paste ABAP code example for CIF_RESTM_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_restmhead | TYPE STANDARD TABLE OF CIFRESTMHEAD, " | |||
| lv_is_ctrlparams | TYPE CIFCTRLPAR, " | |||
| lt_it_restmheadx | TYPE STANDARD TABLE OF CIFRESTMHEADX, " | |||
| lt_it_restmhdtxt | TYPE STANDARD TABLE OF CIFRESTMHDTXT, " | |||
| lt_it_restmhdtxtx | TYPE STANDARD TABLE OF CIFRESTMHDTXTX, " | |||
| lt_it_restmdown | TYPE STANDARD TABLE OF CIFRESTMDOWN, " | |||
| lt_it_restmdownx | TYPE STANDARD TABLE OF CIFRESTMDOWNX, " | |||
| lt_it_restmdowntxt | TYPE STANDARD TABLE OF CIFRESTMDOWNTXT, " | |||
| lt_it_restmdowntxtx | TYPE STANDARD TABLE OF CIFRESTMDOWNTXTX, " | |||
| lt_it_extension | TYPE STANDARD TABLE OF CIFBPAREX. " |
|   CALL FUNCTION 'CIF_RESTM_SEND' "CIF Send Data for TM Resources |
| EXPORTING | ||
| IS_CTRLPARAMS | = lv_is_ctrlparams | |
| TABLES | ||
| IT_RESTMHEAD | = lt_it_restmhead | |
| IT_RESTMHEADX | = lt_it_restmheadx | |
| IT_RESTMHDTXT | = lt_it_restmhdtxt | |
| IT_RESTMHDTXTX | = lt_it_restmhdtxtx | |
| IT_RESTMDOWN | = lt_it_restmdown | |
| IT_RESTMDOWNX | = lt_it_restmdownx | |
| IT_RESTMDOWNTXT | = lt_it_restmdowntxt | |
| IT_RESTMDOWNTXTX | = lt_it_restmdowntxtx | |
| IT_EXTENSION | = lt_it_extension | |
| . " CIF_RESTM_SEND | ||
ABAP code using 7.40 inline data declarations to call FM CIF_RESTM_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.Search for further information about these or an SAP related objects