RSAQ_COMPUTE_CODING_ORDERS_SEG is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name RSAQ_COMPUTE_CODING_ORDERS_SEG into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
AQCK
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'RSAQ_COMPUTE_CODING_ORDERS_SEG' "
EXPORTING
update_flag = " aqs_flag
i_sgna = " aqs_tname
IMPORTING
error_count = " aqadef-error_cnt
error_found = " aqadef-flag
TABLES
clogsg_input = " aqclsg
dbsg_input = " aqdbsg Logical database structure
dbsf_input = " aqdbsf
dbzt_input = " aqdbzt Additional tables
dbzc_input = " aqdbzc
dbzl_input = " aqdbzl
dbdp_input = " aqdbdp
dbsa_input = " aqdbsa
dbjt_input = " aqdbjt
dbjc_input = " aqdbjc
dban_input = " aqdban
dbpa_input = " aqdbpa
dbwr_input = " aqdbwr Currency/Units References
dbar_input = " aqdbar Access References
dbft_input = " aqdbft
dbob_input = " aqdbob
dbos_input = " aqdbos
dbif_input = " aqdbif
sgtext_input = " aqtxsg
* error = " aqerror
CHANGING
headsg_input = " aqhdsg
maxsg_tindx_input = " aqadef-tindx Max. Text Index
. " RSAQ_COMPUTE_CODING_ORDERS_SEG
The ABAP code below is a full code listing to execute function module RSAQ_COMPUTE_CODING_ORDERS_SEG including all data declarations. The code uses 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 original method of declaring data variables up front. 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).
| ld_error_count | TYPE AQADEF-ERROR_CNT , |
| ld_error_found | TYPE AQADEF-FLAG , |
| it_clogsg_input | TYPE STANDARD TABLE OF AQCLSG,"TABLES PARAM |
| wa_clogsg_input | LIKE LINE OF it_clogsg_input , |
| it_dbsg_input | TYPE STANDARD TABLE OF AQDBSG,"TABLES PARAM |
| wa_dbsg_input | LIKE LINE OF it_dbsg_input , |
| it_dbsf_input | TYPE STANDARD TABLE OF AQDBSF,"TABLES PARAM |
| wa_dbsf_input | LIKE LINE OF it_dbsf_input , |
| it_dbzt_input | TYPE STANDARD TABLE OF AQDBZT,"TABLES PARAM |
| wa_dbzt_input | LIKE LINE OF it_dbzt_input , |
| it_dbzc_input | TYPE STANDARD TABLE OF AQDBZC,"TABLES PARAM |
| wa_dbzc_input | LIKE LINE OF it_dbzc_input , |
| it_dbzl_input | TYPE STANDARD TABLE OF AQDBZL,"TABLES PARAM |
| wa_dbzl_input | LIKE LINE OF it_dbzl_input , |
| it_dbdp_input | TYPE STANDARD TABLE OF AQDBDP,"TABLES PARAM |
| wa_dbdp_input | LIKE LINE OF it_dbdp_input , |
| it_dbsa_input | TYPE STANDARD TABLE OF AQDBSA,"TABLES PARAM |
| wa_dbsa_input | LIKE LINE OF it_dbsa_input , |
| it_dbjt_input | TYPE STANDARD TABLE OF AQDBJT,"TABLES PARAM |
| wa_dbjt_input | LIKE LINE OF it_dbjt_input , |
| it_dbjc_input | TYPE STANDARD TABLE OF AQDBJC,"TABLES PARAM |
| wa_dbjc_input | LIKE LINE OF it_dbjc_input , |
| it_dban_input | TYPE STANDARD TABLE OF AQDBAN,"TABLES PARAM |
| wa_dban_input | LIKE LINE OF it_dban_input , |
| it_dbpa_input | TYPE STANDARD TABLE OF AQDBPA,"TABLES PARAM |
| wa_dbpa_input | LIKE LINE OF it_dbpa_input , |
| it_dbwr_input | TYPE STANDARD TABLE OF AQDBWR,"TABLES PARAM |
| wa_dbwr_input | LIKE LINE OF it_dbwr_input , |
| it_dbar_input | TYPE STANDARD TABLE OF AQDBAR,"TABLES PARAM |
| wa_dbar_input | LIKE LINE OF it_dbar_input , |
| it_dbft_input | TYPE STANDARD TABLE OF AQDBFT,"TABLES PARAM |
| wa_dbft_input | LIKE LINE OF it_dbft_input , |
| it_dbob_input | TYPE STANDARD TABLE OF AQDBOB,"TABLES PARAM |
| wa_dbob_input | LIKE LINE OF it_dbob_input , |
| it_dbos_input | TYPE STANDARD TABLE OF AQDBOS,"TABLES PARAM |
| wa_dbos_input | LIKE LINE OF it_dbos_input , |
| it_dbif_input | TYPE STANDARD TABLE OF AQDBIF,"TABLES PARAM |
| wa_dbif_input | LIKE LINE OF it_dbif_input , |
| it_sgtext_input | TYPE STANDARD TABLE OF AQTXSG,"TABLES PARAM |
| wa_sgtext_input | LIKE LINE OF it_sgtext_input , |
| it_error | TYPE STANDARD TABLE OF AQERROR,"TABLES PARAM |
| wa_error | LIKE LINE OF it_error . |
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| ld_headsg_input | TYPE AQHDSG , |
| ld_error_count | TYPE AQADEF-ERROR_CNT , |
| ld_update_flag | TYPE AQS_FLAG , |
| it_clogsg_input | TYPE STANDARD TABLE OF AQCLSG , |
| wa_clogsg_input | LIKE LINE OF it_clogsg_input, |
| ld_maxsg_tindx_input | TYPE AQADEF-TINDX , |
| ld_error_found | TYPE AQADEF-FLAG , |
| ld_i_sgna | TYPE AQS_TNAME , |
| it_dbsg_input | TYPE STANDARD TABLE OF AQDBSG , |
| wa_dbsg_input | LIKE LINE OF it_dbsg_input, |
| it_dbsf_input | TYPE STANDARD TABLE OF AQDBSF , |
| wa_dbsf_input | LIKE LINE OF it_dbsf_input, |
| it_dbzt_input | TYPE STANDARD TABLE OF AQDBZT , |
| wa_dbzt_input | LIKE LINE OF it_dbzt_input, |
| it_dbzc_input | TYPE STANDARD TABLE OF AQDBZC , |
| wa_dbzc_input | LIKE LINE OF it_dbzc_input, |
| it_dbzl_input | TYPE STANDARD TABLE OF AQDBZL , |
| wa_dbzl_input | LIKE LINE OF it_dbzl_input, |
| it_dbdp_input | TYPE STANDARD TABLE OF AQDBDP , |
| wa_dbdp_input | LIKE LINE OF it_dbdp_input, |
| it_dbsa_input | TYPE STANDARD TABLE OF AQDBSA , |
| wa_dbsa_input | LIKE LINE OF it_dbsa_input, |
| it_dbjt_input | TYPE STANDARD TABLE OF AQDBJT , |
| wa_dbjt_input | LIKE LINE OF it_dbjt_input, |
| it_dbjc_input | TYPE STANDARD TABLE OF AQDBJC , |
| wa_dbjc_input | LIKE LINE OF it_dbjc_input, |
| it_dban_input | TYPE STANDARD TABLE OF AQDBAN , |
| wa_dban_input | LIKE LINE OF it_dban_input, |
| it_dbpa_input | TYPE STANDARD TABLE OF AQDBPA , |
| wa_dbpa_input | LIKE LINE OF it_dbpa_input, |
| it_dbwr_input | TYPE STANDARD TABLE OF AQDBWR , |
| wa_dbwr_input | LIKE LINE OF it_dbwr_input, |
| it_dbar_input | TYPE STANDARD TABLE OF AQDBAR , |
| wa_dbar_input | LIKE LINE OF it_dbar_input, |
| it_dbft_input | TYPE STANDARD TABLE OF AQDBFT , |
| wa_dbft_input | LIKE LINE OF it_dbft_input, |
| it_dbob_input | TYPE STANDARD TABLE OF AQDBOB , |
| wa_dbob_input | LIKE LINE OF it_dbob_input, |
| it_dbos_input | TYPE STANDARD TABLE OF AQDBOS , |
| wa_dbos_input | LIKE LINE OF it_dbos_input, |
| it_dbif_input | TYPE STANDARD TABLE OF AQDBIF , |
| wa_dbif_input | LIKE LINE OF it_dbif_input, |
| it_sgtext_input | TYPE STANDARD TABLE OF AQTXSG , |
| wa_sgtext_input | LIKE LINE OF it_sgtext_input, |
| it_error | TYPE STANDARD TABLE OF AQERROR , |
| wa_error | LIKE LINE OF it_error. |
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name RSAQ_COMPUTE_CODING_ORDERS_SEG or its description.