SAP Function Modules

SRT_SEQ_SCD_DLV_TRM_QRFC_NEW_S SAP Function module - Deliver Request to the old qrfc api







SRT_SEQ_SCD_DLV_TRM_QRFC_NEW_S 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 SRT_SEQ_SCD_DLV_TRM_QRFC_NEW_S into the relevant SAP transaction such as SE37 or SE80.

Associated Function Group: SRT_SEQ_SCD_QRFC_NEW
Released Date: Not Released
Processing type: Remote-Enabled
remote enabled module settings


Pattern for FM SRT_SEQ_SCD_DLV_TRM_QRFC_NEW_S - SRT SEQ SCD DLV TRM QRFC NEW S





CALL FUNCTION 'SRT_SEQ_SCD_DLV_TRM_QRFC_NEW_S' "Deliver Request to the old qrfc api
  EXPORTING
    if_enviroment_mode =        " srt_seq_async_border_ftype  sequence scheduler: enviroment
    it_single_sequence =        " srt_s_sequence  takeover structure to sequence scheduler
    iv_destination =            " rfcdest       Name of Function Module
    iv_physical_queuename =     " trfcqnam      Name of tRFC Queue
    iv_scenario =               " srt_seq_sdc_asfk-scenario  Sequence Scheduler Scenario
*   iv_usr_data =               " srt_s_seq_usr_data  Sequence Control data
*   iv_trace_level =            " i             Trace Level
*   iv_application_id =         " sysuuid_c     Application ID
*   iv_commtype =               " char1         Communication Type
*   iv_processing_mode =        " srt_sequence_processmode  sequence process mode , WSRM Q, Shortcut S, Gr.-ware G, Mediation M, Pl. Soap P
  EXCEPTIONS
    EX_ERROR_ON_PROCEED_ERROR = 1  "
    EX_ERROR_ON_TERMINATE_SEQ = 2  "
    EX_FATAL_ERROR_RETRY_CNT = 3  "             retry cnt has unecpected value
    EX_INSTANCING_SEQUENCE_ERROR = 4  "
    EX_RETRY_NOT_PERMITTED = 5  "               retry cnt is 0 , retry is not permitted
    EX_SEQUENCE_STOPPED_BY_ADMIN = 6  "
    EX_SEQUENCE_STOPPED_BY_ERROR = 7  "
    EX_SEQ_MANAGER_UNKNOWN = 8  "               creation of seq manager for act seq failed
    EX_SOAP_FAILURE = 9         "
    EX_SOAP_FAILURE_FAULT = 10  "
    EX_SOAP_WRONG_ARGUMENT = 11  "
    EX_UNKNOWN_LOCATION = 12    "
    EX_WSRM_CREATE_FAILED = 13  "
    EX_XMS_PERSIST_FAILURE = 14  "
    EX_WSRM_PROVIDE_PHYS_ID_FAILED = 15  "
    EX_GET_WSRM_PROTOCOL_FAILED = 16  "
    EX_RUNTIME_RESTORE_FAILED = 17  "
    EX_RUNTIME_RESUME_FAILED = 18  "
    EX_UNKNOWN_ERROR = 19       "
    EX_APPLICATION_ERROR = 20   "
    EX_PAF_ERROR = 21           "
    EX_USER_RESTORE_FAILED = 22  "
    .  "  SRT_SEQ_SCD_DLV_TRM_QRFC_NEW_S

ABAP code example for Function Module SRT_SEQ_SCD_DLV_TRM_QRFC_NEW_S





The ABAP code below is a full code listing to execute function module SRT_SEQ_SCD_DLV_TRM_QRFC_NEW_S 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).


DATA(ld_if_enviroment_mode) = '123 '.
DATA(ld_it_single_sequence) = '123 '.
DATA(ld_iv_destination) = '123 '.
DATA(ld_iv_physical_queuename) = '123 '.

SELECT single SCENARIO
FROM SRT_SEQ_SDC_ASFK
INTO @DATA(ld_iv_scenario).

DATA(ld_iv_usr_data) = '123 '.
DATA(ld_iv_trace_level) = '123 '.
DATA(ld_iv_application_id) = '123 '.
DATA(ld_iv_commtype) = '123 '.
DATA(ld_iv_processing_mode) = '123 '. . CALL FUNCTION 'SRT_SEQ_SCD_DLV_TRM_QRFC_NEW_S' EXPORTING if_enviroment_mode = ld_if_enviroment_mode it_single_sequence = ld_it_single_sequence iv_destination = ld_iv_destination iv_physical_queuename = ld_iv_physical_queuename iv_scenario = ld_iv_scenario * iv_usr_data = ld_iv_usr_data * iv_trace_level = ld_iv_trace_level * iv_application_id = ld_iv_application_id * iv_commtype = ld_iv_commtype * iv_processing_mode = ld_iv_processing_mode EXCEPTIONS EX_ERROR_ON_PROCEED_ERROR = 1 EX_ERROR_ON_TERMINATE_SEQ = 2 EX_FATAL_ERROR_RETRY_CNT = 3 EX_INSTANCING_SEQUENCE_ERROR = 4 EX_RETRY_NOT_PERMITTED = 5 EX_SEQUENCE_STOPPED_BY_ADMIN = 6 EX_SEQUENCE_STOPPED_BY_ERROR = 7 EX_SEQ_MANAGER_UNKNOWN = 8 EX_SOAP_FAILURE = 9 EX_SOAP_FAILURE_FAULT = 10 EX_SOAP_WRONG_ARGUMENT = 11 EX_UNKNOWN_LOCATION = 12 EX_WSRM_CREATE_FAILED = 13 EX_XMS_PERSIST_FAILURE = 14 EX_WSRM_PROVIDE_PHYS_ID_FAILED = 15 EX_GET_WSRM_PROTOCOL_FAILED = 16 EX_RUNTIME_RESTORE_FAILED = 17 EX_RUNTIME_RESUME_FAILED = 18 EX_UNKNOWN_ERROR = 19 EX_APPLICATION_ERROR = 20 EX_PAF_ERROR = 21 EX_USER_RESTORE_FAILED = 22 . " SRT_SEQ_SCD_DLV_TRM_QRFC_NEW_S
IF SY-SUBRC EQ 0. "All OK ELSEIF SY-SUBRC EQ 1. "Exception "Add code for exception here ELSEIF SY-SUBRC EQ 2. "Exception "Add code for exception here ELSEIF SY-SUBRC EQ 3. "Exception "Add code for exception here ELSEIF SY-SUBRC EQ 4. "Exception "Add code for exception here ELSEIF SY-SUBRC EQ 5. "Exception "Add code for exception here ELSEIF SY-SUBRC EQ 6. "Exception "Add code for exception here ELSEIF SY-SUBRC EQ 7. "Exception "Add code for exception here ELSEIF SY-SUBRC EQ 8. "Exception "Add code for exception here ELSEIF SY-SUBRC EQ 9. "Exception "Add code for exception here ELSEIF SY-SUBRC EQ 10. "Exception "Add code for exception here ELSEIF SY-SUBRC EQ 11. "Exception "Add code for exception here ELSEIF SY-SUBRC EQ 12. "Exception "Add code for exception here ELSEIF SY-SUBRC EQ 13. "Exception "Add code for exception here ELSEIF SY-SUBRC EQ 14. "Exception "Add code for exception here ELSEIF SY-SUBRC EQ 15. "Exception "Add code for exception here ELSEIF SY-SUBRC EQ 16. "Exception "Add code for exception here ELSEIF SY-SUBRC EQ 17. "Exception "Add code for exception here ELSEIF SY-SUBRC EQ 18. "Exception "Add code for exception here ELSEIF SY-SUBRC EQ 19. "Exception "Add code for exception here ELSEIF SY-SUBRC EQ 20. "Exception "Add code for exception here ELSEIF SY-SUBRC EQ 21. "Exception "Add code for exception here ELSEIF SY-SUBRC EQ 22. "Exception "Add code for exception here ENDIF.







ABAP code to compare 7.40 inline data declaration with original syntax

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_if_enviroment_mode  TYPE SRT_SEQ_ASYNC_BORDER_FTYPE ,
ld_it_single_sequence  TYPE SRT_S_SEQUENCE ,
ld_iv_destination  TYPE RFCDEST ,
ld_iv_physical_queuename  TYPE TRFCQNAM ,
ld_iv_scenario  TYPE SRT_SEQ_SDC_ASFK-SCENARIO ,
ld_iv_usr_data  TYPE SRT_S_SEQ_USR_DATA ,
ld_iv_trace_level  TYPE I ,
ld_iv_application_id  TYPE SYSUUID_C ,
ld_iv_commtype  TYPE CHAR1 ,
ld_iv_processing_mode  TYPE SRT_SEQUENCE_PROCESSMODE .

ld_if_enviroment_mode = '123 '.
ld_it_single_sequence = '123 '.
ld_iv_destination = '123 '.
ld_iv_physical_queuename = '123 '.

SELECT single SCENARIO
FROM SRT_SEQ_SDC_ASFK
INTO ld_iv_scenario.

ld_iv_usr_data = '123 '.
ld_iv_trace_level = '123 '.
ld_iv_application_id = '123 '.
ld_iv_commtype = '123 '.
ld_iv_processing_mode = '123 '.

Contribute (Add Comments)

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 SRT_SEQ_SCD_DLV_TRM_QRFC_NEW_S or its description.