SAP CO_RI_TIMETICKETCONF_CREATE Function Module for Enter Confirmation Time Ticket









CO_RI_TIMETICKETCONF_CREATE is a standard co ri timeticketconf create SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Enter Confirmation Time Ticket 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 ri timeticketconf create FM, simply by entering the name CO_RI_TIMETICKETCONF_CREATE into the relevant SAP transaction such as SE37 or SE38.

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



Function CO_RI_TIMETICKETCONF_CREATE 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_RI_TIMETICKETCONF_CREATE'"Enter Confirmation Time Ticket
EXPORTING
* ORDER_CATEGORY = 0 "Order Category
* NO_DATA_RESET = ' ' "
* POST_WRONG_ENTRIES = '0' "Ind.: Incorrect Data in Error Pool
* TESTRUN = ' ' "
* PROPOSE = "
* FLG_LINECHECK_IN = ' ' "
* TRANS_CATEGORY = "
* I_ACOMP = ' ' "All Components on Goods Movement Overview
* I_NO_ORDER_POST = ' ' "

IMPORTING
RETURN = "Return Parameter(s)

TABLES
TIMETICKETS = "Table of Confirmations
* GOODSMOVEMENTS = "Table of Goods Movements
* LINK_CONF_GOODSMOV = "Linkage Table for Conf./Goods Movement
* CHAR_WIPBATCH = "
* LINK_CONF_CHAR_WIPBATCH = "Linkage of Confirmation with Characteristics WIP Batch
* WIPBATCH_WA = "GI Batches for WIP Batch of Confirmation
* CHAR_BATCH = "
* LINK_GM_CHAR_BATCH = "
* DETAIL_RETURN = "Return parameter for confirmation table
.



IMPORTING Parameters details for CO_RI_TIMETICKETCONF_CREATE

ORDER_CATEGORY - Order Category

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

NO_DATA_RESET -

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

POST_WRONG_ENTRIES - Ind.: Incorrect Data in Error Pool

Data type: BAPI_CORU_PARAM-INS_ERR
Default: '0'
Optional: Yes
Call by Reference: No ( called with pass by value option)

TESTRUN -

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

PROPOSE -

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

FLG_LINECHECK_IN -

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

TRANS_CATEGORY -

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

I_ACOMP - All Components on Goods Movement Overview

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

I_NO_ORDER_POST -

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

EXPORTING Parameters details for CO_RI_TIMETICKETCONF_CREATE

RETURN - Return Parameter(s)

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

TABLES Parameters details for CO_RI_TIMETICKETCONF_CREATE

TIMETICKETS - Table of Confirmations

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

GOODSMOVEMENTS - Table of Goods Movements

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

LINK_CONF_GOODSMOV - Linkage Table for Conf./Goods Movement

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

CHAR_WIPBATCH -

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

LINK_CONF_CHAR_WIPBATCH - Linkage of Confirmation with Characteristics WIP Batch

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

WIPBATCH_WA - GI Batches for WIP Batch of Confirmation

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

CHAR_BATCH -

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

LINK_GM_CHAR_BATCH -

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

DETAIL_RETURN - Return parameter for confirmation table

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

Copy and paste ABAP code example for CO_RI_TIMETICKETCONF_CREATE 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_return  TYPE BAPIRET1, "   
lt_timetickets  TYPE STANDARD TABLE OF AFRUD, "   
lv_order_category  TYPE AUFK-AUTYP, "   0
lv_no_data_reset  TYPE XFELD, "   SPACE
lt_goodsmovements  TYPE STANDARD TABLE OF IMSEG, "   
lt_link_conf_goodsmov  TYPE STANDARD TABLE OF BAPI_LINK_CONF_GOODSMOV, "   
lv_post_wrong_entries  TYPE BAPI_CORU_PARAM-INS_ERR, "   '0'
lv_testrun  TYPE XFELD, "   SPACE
lt_char_wipbatch  TYPE STANDARD TABLE OF BAPI_CHAR_WIPBATCH, "   
lv_propose  TYPE BAPI_PP_CONF_PROP, "   
lt_link_conf_char_wipbatch  TYPE STANDARD TABLE OF BAPI_LINK_CONF_CHAR_WIPBATCH, "   
lt_wipbatch_wa  TYPE STANDARD TABLE OF CORU_WIPBATCH_WA, "   
lv_flg_linecheck_in  TYPE XFELD, "   SPACE
lt_char_batch  TYPE STANDARD TABLE OF BAPI_CHAR_BATCH, "   
lv_trans_category  TYPE TRUS-CATEGORY, "   
lv_i_acomp  TYPE TCORU-ACOMP, "   SPACE
lt_link_gm_char_batch  TYPE STANDARD TABLE OF BAPI_LINK_GM_CHAR_BATCH, "   
lt_detail_return  TYPE STANDARD TABLE OF BAPI_CORU_RETURN, "   
lv_i_no_order_post  TYPE XFELD. "   SPACE

  CALL FUNCTION 'CO_RI_TIMETICKETCONF_CREATE'  "Enter Confirmation Time Ticket
    EXPORTING
         ORDER_CATEGORY = lv_order_category
         NO_DATA_RESET = lv_no_data_reset
         POST_WRONG_ENTRIES = lv_post_wrong_entries
         TESTRUN = lv_testrun
         PROPOSE = lv_propose
         FLG_LINECHECK_IN = lv_flg_linecheck_in
         TRANS_CATEGORY = lv_trans_category
         I_ACOMP = lv_i_acomp
         I_NO_ORDER_POST = lv_i_no_order_post
    IMPORTING
         RETURN = lv_return
    TABLES
         TIMETICKETS = lt_timetickets
         GOODSMOVEMENTS = lt_goodsmovements
         LINK_CONF_GOODSMOV = lt_link_conf_goodsmov
         CHAR_WIPBATCH = lt_char_wipbatch
         LINK_CONF_CHAR_WIPBATCH = lt_link_conf_char_wipbatch
         WIPBATCH_WA = lt_wipbatch_wa
         CHAR_BATCH = lt_char_batch
         LINK_GM_CHAR_BATCH = lt_link_gm_char_batch
         DETAIL_RETURN = lt_detail_return
. " CO_RI_TIMETICKETCONF_CREATE




ABAP code using 7.40 inline data declarations to call FM CO_RI_TIMETICKETCONF_CREATE

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 AUTYP FROM AUFK INTO @DATA(ld_order_category).
 
DATA(ld_no_data_reset) = ' '.
 
 
 
"SELECT single INS_ERR FROM BAPI_CORU_PARAM INTO @DATA(ld_post_wrong_entries).
DATA(ld_post_wrong_entries) = '0'.
 
DATA(ld_testrun) = ' '.
 
 
 
 
 
DATA(ld_flg_linecheck_in) = ' '.
 
 
"SELECT single CATEGORY FROM TRUS INTO @DATA(ld_trans_category).
 
"SELECT single ACOMP FROM TCORU INTO @DATA(ld_i_acomp).
DATA(ld_i_acomp) = ' '.
 
 
 
DATA(ld_i_no_order_post) = ' '.
 


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!