SAP /ACCGO/CAS_FM_UPDATE_QREP Function Module for Update FM: Create/update/delete Contract Application documents









/ACCGO/CAS_FM_UPDATE_QREP is a standard /accgo/cas fm update qrep SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Update FM: Create/update/delete Contract Application documents 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 /accgo/cas fm update qrep FM, simply by entering the name /ACCGO/CAS_FM_UPDATE_QREP into the relevant SAP transaction such as SE37 or SE38.

Function Group: /ACCGO/CAS_QREP_DB
Program Name: /ACCGO/SAPLCAS_QREP_DB
Main Program: /ACCGO/SAPLCAS_QREP_DB
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update: 1



Function /ACCGO/CAS_FM_UPDATE_QREP 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 '/ACCGO/CAS_FM_UPDATE_QREP'"Update FM: Create/update/delete Contract Application documents
EXPORTING
* IMT_QREP_M_INS = "Table Type for Header details of Contract Application Docume
* IMT_QREP_DPQS_VAL_UPD = "Q-Rep DPQS evaluation
* IMT_QREP_DPQS_VAL_DEL = "Q-Rep DPQS evaluation
* IMT_QREP_DPQS_VOL_INS = "Q-Rep DPQS evaluation
* IMT_QREP_DPQS_VOL_UPD = "Q-Rep DPQS evaluation
* IMT_QREP_DPQS_VOL_DEL = "Q-Rep DPQS evaluation
* IMT_QREP_TOL_INS = "Q-Rep Tolerance evaluation
* IMT_QREP_TOL_UPD = "Q-Rep Tolerance evaluation
* IMT_QREP_TOL_DEL = "Q-Rep Tolerance evaluation
* IMT_QREP_OPT_INS = "Optionality table type DB
* IMT_QREP_OPT_UPD = "Optionality table type DB
* IMT_QREP_M_UPD = "Contract application items
* IMT_QREP_OPT_DEL = "Optionality table type DB
* IMT_QREP_N_INS = "Table with details of Q-repository Negotiate Data
* IMT_QREP_N_UPD = "Table with details of Q-repository Negotiate Data
* IMT_QREP_N_DEL = "Table with details of Q-repository Negotiate Data
* IMT_QREP_W_INS = "Table type : Contract Transport details
* IMT_QREP_W_UPD = "Table TYpe for Partner details
* IMT_QREP_W_DEL = "Table Type for Header details of Contract Application Docume
* IMT_QREP_Q_INS = "Contract application items
* IMT_QREP_Q_UPD = "Table type : Contract Transport details
* IMT_QREP_Q_DEL = "Table TYpe for Partner details
* IMT_QREP_DPQS_VAL_INS = "Q-Rep DPQS evaluation
.



IMPORTING Parameters details for /ACCGO/CAS_FM_UPDATE_QREP

IMT_QREP_M_INS - Table Type for Header details of Contract Application Docume

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

IMT_QREP_DPQS_VAL_UPD - Q-Rep DPQS evaluation

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

IMT_QREP_DPQS_VAL_DEL - Q-Rep DPQS evaluation

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

IMT_QREP_DPQS_VOL_INS - Q-Rep DPQS evaluation

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

IMT_QREP_DPQS_VOL_UPD - Q-Rep DPQS evaluation

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

IMT_QREP_DPQS_VOL_DEL - Q-Rep DPQS evaluation

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

IMT_QREP_TOL_INS - Q-Rep Tolerance evaluation

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

IMT_QREP_TOL_UPD - Q-Rep Tolerance evaluation

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

IMT_QREP_TOL_DEL - Q-Rep Tolerance evaluation

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

IMT_QREP_OPT_INS - Optionality table type DB

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

IMT_QREP_OPT_UPD - Optionality table type DB

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

IMT_QREP_M_UPD - Contract application items

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

IMT_QREP_OPT_DEL - Optionality table type DB

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

IMT_QREP_N_INS - Table with details of Q-repository Negotiate Data

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

IMT_QREP_N_UPD - Table with details of Q-repository Negotiate Data

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

IMT_QREP_N_DEL - Table with details of Q-repository Negotiate Data

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

IMT_QREP_W_INS - Table type : Contract Transport details

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

IMT_QREP_W_UPD - Table TYpe for Partner details

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

IMT_QREP_W_DEL - Table Type for Header details of Contract Application Docume

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

IMT_QREP_Q_INS - Contract application items

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

IMT_QREP_Q_UPD - Table type : Contract Transport details

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

IMT_QREP_Q_DEL - Table TYpe for Partner details

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

IMT_QREP_DPQS_VAL_INS - Q-Rep DPQS evaluation

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

Copy and paste ABAP code example for /ACCGO/CAS_FM_UPDATE_QREP 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_imt_qrep_m_ins  TYPE /ACCGO/CAS_TT_QR_AP_M, "   
lv_imt_qrep_dpqs_val_upd  TYPE /ACCGO/CAS_TT_Q_D_VAL_DB, "   
lv_imt_qrep_dpqs_val_del  TYPE /ACCGO/CAS_TT_Q_D_VAL_DB, "   
lv_imt_qrep_dpqs_vol_ins  TYPE /ACCGO/CAS_TT_Q_D_VOL_DB, "   
lv_imt_qrep_dpqs_vol_upd  TYPE /ACCGO/CAS_TT_Q_D_VOL_DB, "   
lv_imt_qrep_dpqs_vol_del  TYPE /ACCGO/CAS_TT_Q_D_VOL_DB, "   
lv_imt_qrep_tol_ins  TYPE /ACCGO/CAS_TT_QTOL_DB, "   
lv_imt_qrep_tol_upd  TYPE /ACCGO/CAS_TT_QTOL_DB, "   
lv_imt_qrep_tol_del  TYPE /ACCGO/CAS_TT_QTOL_DB, "   
lv_imt_qrep_opt_ins  TYPE /ACCGO/CAS_TT_QOPT_DB, "   
lv_imt_qrep_opt_upd  TYPE /ACCGO/CAS_TT_QOPT_DB, "   
lv_imt_qrep_m_upd  TYPE /ACCGO/CAS_TT_QR_AP_M, "   
lv_imt_qrep_opt_del  TYPE /ACCGO/CAS_TT_QOPT_DB, "   
lv_imt_qrep_n_ins  TYPE /ACCGO/CAS_TT_QR_AP_N, "   
lv_imt_qrep_n_upd  TYPE /ACCGO/CAS_TT_QR_AP_N, "   
lv_imt_qrep_n_del  TYPE /ACCGO/CAS_TT_QR_AP_N, "   
lv_imt_qrep_w_ins  TYPE /ACCGO/CAS_TT_QR_AP_W, "   
lv_imt_qrep_w_upd  TYPE /ACCGO/CAS_TT_QR_AP_W, "   
lv_imt_qrep_w_del  TYPE /ACCGO/CAS_TT_QR_AP_W, "   
lv_imt_qrep_q_ins  TYPE /ACCGO/CAS_TT_QR_AP_Q, "   
lv_imt_qrep_q_upd  TYPE /ACCGO/CAS_TT_QR_AP_Q, "   
lv_imt_qrep_q_del  TYPE /ACCGO/CAS_TT_QR_AP_Q, "   
lv_imt_qrep_dpqs_val_ins  TYPE /ACCGO/CAS_TT_Q_D_VAL_DB. "   

  CALL FUNCTION '/ACCGO/CAS_FM_UPDATE_QREP'  "Update FM: Create/update/delete Contract Application documents
    EXPORTING
         IMT_QREP_M_INS = lv_imt_qrep_m_ins
         IMT_QREP_DPQS_VAL_UPD = lv_imt_qrep_dpqs_val_upd
         IMT_QREP_DPQS_VAL_DEL = lv_imt_qrep_dpqs_val_del
         IMT_QREP_DPQS_VOL_INS = lv_imt_qrep_dpqs_vol_ins
         IMT_QREP_DPQS_VOL_UPD = lv_imt_qrep_dpqs_vol_upd
         IMT_QREP_DPQS_VOL_DEL = lv_imt_qrep_dpqs_vol_del
         IMT_QREP_TOL_INS = lv_imt_qrep_tol_ins
         IMT_QREP_TOL_UPD = lv_imt_qrep_tol_upd
         IMT_QREP_TOL_DEL = lv_imt_qrep_tol_del
         IMT_QREP_OPT_INS = lv_imt_qrep_opt_ins
         IMT_QREP_OPT_UPD = lv_imt_qrep_opt_upd
         IMT_QREP_M_UPD = lv_imt_qrep_m_upd
         IMT_QREP_OPT_DEL = lv_imt_qrep_opt_del
         IMT_QREP_N_INS = lv_imt_qrep_n_ins
         IMT_QREP_N_UPD = lv_imt_qrep_n_upd
         IMT_QREP_N_DEL = lv_imt_qrep_n_del
         IMT_QREP_W_INS = lv_imt_qrep_w_ins
         IMT_QREP_W_UPD = lv_imt_qrep_w_upd
         IMT_QREP_W_DEL = lv_imt_qrep_w_del
         IMT_QREP_Q_INS = lv_imt_qrep_q_ins
         IMT_QREP_Q_UPD = lv_imt_qrep_q_upd
         IMT_QREP_Q_DEL = lv_imt_qrep_q_del
         IMT_QREP_DPQS_VAL_INS = lv_imt_qrep_dpqs_val_ins
. " /ACCGO/CAS_FM_UPDATE_QREP




ABAP code using 7.40 inline data declarations to call FM /ACCGO/CAS_FM_UPDATE_QREP

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



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!