SAP RSAQ_COMPUTE_CODING_ORDERS Function Module for
RSAQ_COMPUTE_CODING_ORDERS is a standard rsaq compute coding orders SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, 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 rsaq compute coding orders FM, simply by entering the name RSAQ_COMPUTE_CODING_ORDERS into the relevant SAP transaction such as SE37 or SE38.
Function Group: AQCK
Program Name: SAPLAQCK
Main Program: SAPLAQCK
Appliation area: S
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function RSAQ_COMPUTE_CODING_ORDERS 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 'RSAQ_COMPUTE_CODING_ORDERS'".
EXPORTING
UPDATE_FLAG = "
IMPORTING
ERROR_COUNT = "
ERROR_FOUND = "
ERROR_MESS = "Error Text
ERROR_LINE = "
ERROR_WORD = "
CHANGING
HEADSG_INPUT = "
MAXSG_TINDX_INPUT = "Max. Text Index
TABLES
CLOGSG_INPUT = "
DBJC_INPUT = "
DBAN_INPUT = "
DBPA_INPUT = "
DBWR_INPUT = "Currency/Units References
DBAR_INPUT = "Access References
DBFT_INPUT = "
DBOB_INPUT = "
DBOS_INPUT = "
DBIF_INPUT = "
SGTEXT_INPUT = "
DBSG_INPUT = "Logical database structure
* ERROR = "
DBSF_INPUT = "
DBZT_INPUT = "Additional tables
DBZC_INPUT = "
DBZL_INPUT = "
DBDP_INPUT = "
DBSA_INPUT = "
DBJT_INPUT = "
IMPORTING Parameters details for RSAQ_COMPUTE_CODING_ORDERS
UPDATE_FLAG -
Data type: AQS_FLAGOptional: No
Call by Reference: Yes
EXPORTING Parameters details for RSAQ_COMPUTE_CODING_ORDERS
ERROR_COUNT -
Data type: AQADEF-ERROR_CNTOptional: No
Call by Reference: No ( called with pass by value option)
ERROR_FOUND -
Data type: AQADEF-FLAGOptional: No
Call by Reference: No ( called with pass by value option)
ERROR_MESS - Error Text
Data type: COptional: No
Call by Reference: No ( called with pass by value option)
ERROR_LINE -
Data type: AQADEF-ERR_LINEOptional: No
Call by Reference: No ( called with pass by value option)
ERROR_WORD -
Data type: AQADEF-ERR_WORDOptional: No
Call by Reference: No ( called with pass by value option)
CHANGING Parameters details for RSAQ_COMPUTE_CODING_ORDERS
HEADSG_INPUT -
Data type: AQHDSGOptional: No
Call by Reference: No ( called with pass by value option)
MAXSG_TINDX_INPUT - Max. Text Index
Data type: AQADEF-TINDXOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for RSAQ_COMPUTE_CODING_ORDERS
CLOGSG_INPUT -
Data type: AQCLSGOptional: No
Call by Reference: No ( called with pass by value option)
DBJC_INPUT -
Data type: AQDBJCOptional: No
Call by Reference: No ( called with pass by value option)
DBAN_INPUT -
Data type: AQDBANOptional: No
Call by Reference: No ( called with pass by value option)
DBPA_INPUT -
Data type: AQDBPAOptional: No
Call by Reference: No ( called with pass by value option)
DBWR_INPUT - Currency/Units References
Data type: AQDBWROptional: No
Call by Reference: No ( called with pass by value option)
DBAR_INPUT - Access References
Data type: AQDBAROptional: No
Call by Reference: No ( called with pass by value option)
DBFT_INPUT -
Data type: AQDBFTOptional: No
Call by Reference: No ( called with pass by value option)
DBOB_INPUT -
Data type: AQDBOBOptional: No
Call by Reference: No ( called with pass by value option)
DBOS_INPUT -
Data type: AQDBOSOptional: No
Call by Reference: No ( called with pass by value option)
DBIF_INPUT -
Data type: AQDBIFOptional: No
Call by Reference: No ( called with pass by value option)
SGTEXT_INPUT -
Data type: AQTXSGOptional: No
Call by Reference: No ( called with pass by value option)
DBSG_INPUT - Logical database structure
Data type: AQDBSGOptional: No
Call by Reference: No ( called with pass by value option)
ERROR -
Data type: AQERROROptional: Yes
Call by Reference: No ( called with pass by value option)
DBSF_INPUT -
Data type: AQDBSFOptional: No
Call by Reference: No ( called with pass by value option)
DBZT_INPUT - Additional tables
Data type: AQDBZTOptional: No
Call by Reference: No ( called with pass by value option)
DBZC_INPUT -
Data type: AQDBZCOptional: No
Call by Reference: No ( called with pass by value option)
DBZL_INPUT -
Data type: AQDBZLOptional: No
Call by Reference: No ( called with pass by value option)
DBDP_INPUT -
Data type: AQDBDPOptional: No
Call by Reference: No ( called with pass by value option)
DBSA_INPUT -
Data type: AQDBSAOptional: No
Call by Reference: No ( called with pass by value option)
DBJT_INPUT -
Data type: AQDBJTOptional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for RSAQ_COMPUTE_CODING_ORDERS 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_error_count | TYPE AQADEF-ERROR_CNT, " | |||
| lv_update_flag | TYPE AQS_FLAG, " | |||
| lt_clogsg_input | TYPE STANDARD TABLE OF AQCLSG, " | |||
| lv_headsg_input | TYPE AQHDSG, " | |||
| lt_dbjc_input | TYPE STANDARD TABLE OF AQDBJC, " | |||
| lt_dban_input | TYPE STANDARD TABLE OF AQDBAN, " | |||
| lt_dbpa_input | TYPE STANDARD TABLE OF AQDBPA, " | |||
| lt_dbwr_input | TYPE STANDARD TABLE OF AQDBWR, " | |||
| lt_dbar_input | TYPE STANDARD TABLE OF AQDBAR, " | |||
| lt_dbft_input | TYPE STANDARD TABLE OF AQDBFT, " | |||
| lt_dbob_input | TYPE STANDARD TABLE OF AQDBOB, " | |||
| lt_dbos_input | TYPE STANDARD TABLE OF AQDBOS, " | |||
| lt_dbif_input | TYPE STANDARD TABLE OF AQDBIF, " | |||
| lt_sgtext_input | TYPE STANDARD TABLE OF AQTXSG, " | |||
| lt_dbsg_input | TYPE STANDARD TABLE OF AQDBSG, " | |||
| lv_error_found | TYPE AQADEF-FLAG, " | |||
| lv_maxsg_tindx_input | TYPE AQADEF-TINDX, " | |||
| lt_error | TYPE STANDARD TABLE OF AQERROR, " | |||
| lt_dbsf_input | TYPE STANDARD TABLE OF AQDBSF, " | |||
| lv_error_mess | TYPE C, " | |||
| lt_dbzt_input | TYPE STANDARD TABLE OF AQDBZT, " | |||
| lv_error_line | TYPE AQADEF-ERR_LINE, " | |||
| lt_dbzc_input | TYPE STANDARD TABLE OF AQDBZC, " | |||
| lv_error_word | TYPE AQADEF-ERR_WORD, " | |||
| lt_dbzl_input | TYPE STANDARD TABLE OF AQDBZL, " | |||
| lt_dbdp_input | TYPE STANDARD TABLE OF AQDBDP, " | |||
| lt_dbsa_input | TYPE STANDARD TABLE OF AQDBSA, " | |||
| lt_dbjt_input | TYPE STANDARD TABLE OF AQDBJT. " |
|   CALL FUNCTION 'RSAQ_COMPUTE_CODING_ORDERS' " |
| EXPORTING | ||
| UPDATE_FLAG | = lv_update_flag | |
| IMPORTING | ||
| ERROR_COUNT | = lv_error_count | |
| ERROR_FOUND | = lv_error_found | |
| ERROR_MESS | = lv_error_mess | |
| ERROR_LINE | = lv_error_line | |
| ERROR_WORD | = lv_error_word | |
| CHANGING | ||
| HEADSG_INPUT | = lv_headsg_input | |
| MAXSG_TINDX_INPUT | = lv_maxsg_tindx_input | |
| TABLES | ||
| CLOGSG_INPUT | = lt_clogsg_input | |
| DBJC_INPUT | = lt_dbjc_input | |
| DBAN_INPUT | = lt_dban_input | |
| DBPA_INPUT | = lt_dbpa_input | |
| DBWR_INPUT | = lt_dbwr_input | |
| DBAR_INPUT | = lt_dbar_input | |
| DBFT_INPUT | = lt_dbft_input | |
| DBOB_INPUT | = lt_dbob_input | |
| DBOS_INPUT | = lt_dbos_input | |
| DBIF_INPUT | = lt_dbif_input | |
| SGTEXT_INPUT | = lt_sgtext_input | |
| DBSG_INPUT | = lt_dbsg_input | |
| ERROR | = lt_error | |
| DBSF_INPUT | = lt_dbsf_input | |
| DBZT_INPUT | = lt_dbzt_input | |
| DBZC_INPUT | = lt_dbzc_input | |
| DBZL_INPUT | = lt_dbzl_input | |
| DBDP_INPUT | = lt_dbdp_input | |
| DBSA_INPUT | = lt_dbsa_input | |
| DBJT_INPUT | = lt_dbjt_input | |
| . " RSAQ_COMPUTE_CODING_ORDERS | ||
ABAP code using 7.40 inline data declarations to call FM RSAQ_COMPUTE_CODING_ORDERS
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 ERROR_CNT FROM AQADEF INTO @DATA(ld_error_count). | ||||
| "SELECT single FLAG FROM AQADEF INTO @DATA(ld_error_found). | ||||
| "SELECT single TINDX FROM AQADEF INTO @DATA(ld_maxsg_tindx_input). | ||||
| "SELECT single ERR_LINE FROM AQADEF INTO @DATA(ld_error_line). | ||||
| "SELECT single ERR_WORD FROM AQADEF INTO @DATA(ld_error_word). | ||||
Search for further information about these or an SAP related objects