SAP ABAP Class /SPE/CL_QRFC_SERVICES (Generic services for qrfc inbound queues)
Hierarchy
SAP_APPL (Software Component) Logistics and Accounting
   LO-SPM-X (Application Component) Cross-Application Topics
     /SPE/IF_SERVICES (Package) Service tools for SPE Interfaces
Properties
Class /SPE/CL_QRFC_SERVICES  
Short Description Generic services for qrfc inbound queues    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package /SPE/IF_SERVICES   Service tools for SPE Interfaces 
Created 20040416   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class /SPE/CL_QRFC_SERVICES has no interface implemented.
Friends
Class /SPE/CL_QRFC_SERVICES has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 C_QUEUE_CRM Constant Public Type reference (TYPE) TRFCQOUT-QNAME 'R3AUORDER*' Qualified Name 20050330
2 C_QUEUE_DLV Constant Public Type reference (TYPE) TRFCQOUT-QNAME 'DLV*' Qualified Name 20050330
3 C_QUEUE_EWM Constant Public Type reference (TYPE) TRFCQOUT-QNAME 'EWM*' Name of tRFC Queue 20050331
4 C_QUEUE_QM Constant Public Type reference (TYPE) TRFCQOUT-QNAME 'QM*' Qualified Name 20050330
5 C_QUEUE_REPORT Constant Public Type reference (TYPE) PROGRAMM '/SPE/QUEUE_DISPLAY_TOOLS' Display Program for the Queue 20050330
6 C_X Constant Public Type reference (TYPE) XFELD 'X' Yes 20050317
7 SC_LOG_DISABLED Constant Private Type reference (TYPE) CHAR1 'D' Log 20040902
8 SC_LOG_ERROR Constant Private Type reference (TYPE) CHAR1 'E' Log 20040902
9 SC_LOG_SUCCESS Constant Private Type reference (TYPE) CHAR1 'S' Log 20040902
10 SC_MSG_ID Constant Public Type reference (TYPE) MSGID '/SPE/IF_SERVICES' Message identification 20050322
11 SC_OBJECT Constant Public Type reference (TYPE) BALOBJ_D '/SPE/QUEUE' Application log: Object name (Application code) 20040416
12 SC_OBJECT_OUT Constant Public Type reference (TYPE) BALOBJ_D '/SPE/MSG_OUT' Application Log: Object Name (Application Code) 20050324
13 SC_SUBOBJECT_E Constant Public Type reference (TYPE) BALSUBOBJ 'QUEUE_ERROR' Application Log: Subobject 20040902
14 SC_SUBOBJECT_INB Constant Public Type reference (TYPE) BALSUBOBJ 'INB_DLV' Application Log: Subobject 20050330
15 SC_SUBOBJECT_INSP Constant Public Type reference (TYPE) BALSUBOBJ 'INSP_OUTCOME' Application Log: Subobject 20050404
16 SC_SUBOBJECT_OUTB Constant Public Type reference (TYPE) BALSUBOBJ 'OUTB_DLV' Application Log: Subobject 20050330
17 SC_SUBOBJECT_QM Constant Public Type reference (TYPE) BALSUBOBJ 'QM_EXT_INSP' Application Log: Subobject 20050404
18 SC_SUBOBJECT_RET Constant Public Type reference (TYPE) BALSUBOBJ 'RET_DLV' Application Log: Subobject 20050609
19 SC_SUBOBJECT_S Constant Public Type reference (TYPE) BALSUBOBJ 'QUEUE_SUCCESS' Application Log: Subobject 20040902
20 SC_SUBOBJECT_SUCCESS_DIRDLV Constant Public Type reference (TYPE) BALSUBOBJ 'QUEUE_SUCCESS_DIRDLV' Application Log: Subobject 20070417
21 SC_TRACE_FM Constant Public Type reference (TYPE) RS38L_FNAM 'ZZ_SPE_RETRY_TRACE' Default Function Module for Traces 20040831
22 SV_LOG_HANDLE Static Attribute Private Type reference (TYPE) BALLOGHNDL Handle: End Queue Processing 20040416
23 SV_LOG_HANDLE_OUT Static Attribute Private Type reference (TYPE) BALLOGHNDL Handle: Send Message 20050322
24 SV_LOG_SETTING_IN Static Attribute Private Type reference (TYPE) USPARAM-PARVA Parameter value 20050321
25 SV_LOG_SETTING_OUT Static Attribute Private Type reference (TYPE) USPARAM-PARVA Parameter value 20050321
26 SV_MSGCNT Static Attribute Private Type reference (TYPE) SYTABIX Counter of SLOG messages 20051227
27 SV_NO_OF_RESTARTS Static Attribute Private Type reference (TYPE) I 0 Actual number of resarts of LUW 20071031
28 SV_NO_OF_RETRIES Static Attribute Public Type reference (TYPE) I Actuall number of retry 20040428
29 SV_PREV_WAIT_TIME Static Attribute Private Type reference (TYPE) I Previous wait time 20040831
30 SV_RETRY_SETTINGS Static Attribute Private Type reference (TYPE) I Settings for retry 20040827
31 SV_RETRY_TIME Static Attribute Private Type reference (TYPE) I Wait time for retry 20040831
32 SV_TRACE Static Attribute Private Type reference (TYPE) FLAG Trace active = 'X' 20040831
Methods
# Method Level Visibility Method type Description Created on
1 ACTIVATE_QUEUE_NAVIGATION Static method Public Method Registers and activates the queue navigation 20050330
2 ADD_NEW_MESSAGES Static method Private Method Add new error messages to log 20040902
3 CHECK_IF_QUEUE_ACTIVE Static method Public Method Checks if a queue is running 20050131
4 CHECK_IF_RETRY_ALLOWED Static method Public Method Check if queue processing should be retried 20040428
5 CHECK_QUEUE_NAVIGATION Static method Public Method Check if the navigation from queue to appl log is active 20050330
6 DEBUG_ASYNCRON Static method Public Method Method to catch asyncrone calls / be carefull this is a loop 20040720
7 END_QUEUE_PROCESSING Static method Public Method In case of errors, stop queue and write error log 20040416
8 END_QUEUE_PROCESSING_DIRDLV Static method Public Method Direct Outbound Deliveries: Stop Queue, Write Error Log 20070417
9 GET_CURRENT_TID_QNAME Static method Public Method Get current transaction ID and queue name 20091014
10 GET_LOG_CONFIG Static method Private Method Get the configuration for logging 20040902
11 GET_MY_NAME Static method Public Method Get the name of the current processing step 20070828
12 GET_NAVIGATION_QUEUES Static method Private Method Here are the registered Queues 20050330
13 GET_QUEUE Static method Private Method Get the current queue results 20050317
14 HANDLE_ERROR Static method Private Method Error: write error log, stop queue 20040416
15 HANDLE_ERROR_DIRDLV Static method Private Method Direct Outbound Deliveries: Stop Queue, Write Error Log 20070417
16 HANDLE_SUCCESS Static method Private Method Success: delete old error log 20040416
17 HANDLE_SUCCESS_DIRDLV Static method Private Method Direct Outbound Deliveries: Delete Old Error Log (Success) 20070417
18 LOAD_OLD_LOG Static method Private Method Load existing log from database 20040416
19 LOAD_OLD_LOG_DIRDLV Static method Private Method Direct Outbound Deliveries: Load Log From Database 20070417
20 LOG_SEND_MSG Static method Public Method Log the send message 20050321
21 PREPARE_LOG Static method Private Method Prepare log for new error messages 20040416
22 PREPARE_LOG_DIRDLV Static method Private Method Direct Outbound Deliveries: Prepare Log for New Messages 20070417
23 REFRESH_ATTRIBUTES Static method Public Method Refresh all Attributes 20060418
24 SET_UPDATE_HANDLING Static method Public Method Sets update task local for queue processing 20100805
Events
Class /SPE/CL_QRFC_SERVICES has no event.
Types
Class /SPE/CL_QRFC_SERVICES has no local type.
Method Signatures

Method ACTIVATE_QUEUE_NAVIGATION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_DEREGISTER Call by reference Type reference (TYPE) FLAG Allg. Kennzeichen 20050401
# Exception Resumable Description Created on
1 FOREIGN_LOCK 20050330
2 NO_STANDARD 20050330

Method ADD_NEW_MESSAGES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_MESSAGE Call by reference Type reference (TYPE) BAPIRETTAB Tabelle mit BAPI-Rückgabeinformationen 20040902
2 Importing LOG_HANDLE Call by reference Type reference (TYPE) BALLOGHNDL Application Log: Log Handle 20050511

Method ADD_NEW_MESSAGES on class /SPE/CL_QRFC_SERVICES has no exception.

Method CHECK_IF_QUEUE_ACTIVE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning ACTIVE Value transfer Type reference (TYPE) FLAG Allg. Kennzeichen 20050131

Method CHECK_IF_QUEUE_ACTIVE on class /SPE/CL_QRFC_SERVICES has no exception.

Method CHECK_IF_RETRY_ALLOWED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning EV_RETRY Value transfer Type reference (TYPE) XFELD Ankreuzfeld 20040428

Method CHECK_IF_RETRY_ALLOWED on class /SPE/CL_QRFC_SERVICES has no exception.

Method CHECK_QUEUE_NAVIGATION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_ACTIVE Value transfer Type reference (TYPE) FLAG Allg. Kennzeichen 20050330
# Exception Resumable Description Created on
1 NO_STANDARD 20050330

Method DEBUG_ASYNCRON Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_STOPTIME Call by reference Type reference (TYPE) I '120' 20040720
2 Importing IV_UNAME Call by reference Type reference (TYPE) SY-UNAME SAP-System, Anmeldename Benutzer 20040720

Method DEBUG_ASYNCRON on class /SPE/CL_QRFC_SERVICES has no exception.

Method END_QUEUE_PROCESSING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_MESSAGE Call by reference Type reference (TYPE) BAPIRETTAB Tabelle mit BAPI-Rückgabeinformationen 20040416
2 Importing IV_CALL_AFTER_ROLLBACK Call by reference Type reference (TYPE) RS38L_FNAM Function Module called after rollback 20050531
3 Importing IV_CHK_EVENTNAME Call by reference Type reference (TYPE) DBGLEVENT Check the name of the qRFC event 20070828
4 Importing IV_DO_COMMIT Call by reference Type reference (TYPE) XFELD 'X' 20050317
5 Importing IV_IGNORE_ERROR Call by reference Type reference (TYPE) XFELD SPACE Ignores Error Messages in IT_MESSAGE 20050419
# Exception Resumable Description Created on
1 NO_QUEUE_DETECTED 20040906

Method END_QUEUE_PROCESSING_DIRDLV Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_MESSAGE Call by reference Type reference (TYPE) BAPIRETTAB Table with BAPI Return Information 20070417
2 Importing IV_CALL_AFTER_ROLLBACK Call by reference Type reference (TYPE) RS38L_FNAM Function Module Called After ROLLBACK 20070417
3 Importing IV_DO_COMMIT Call by reference Type reference (TYPE) XFELD 'X' Perform COMMIT WORK 20070417
4 Importing IV_IGNORE_ERROR Call by reference Type reference (TYPE) XFELD SPACE Ignore Error Messages in IT_MESSAGE 20070417
5 Importing IV_OBJECT Call by reference Type reference (TYPE) BALOBJ_D Application Log: Object Name (Application Code) 20070417
6 Importing IV_SUBOBJECT_NEW Call by reference Type reference (TYPE) BALSUBOBJ Application Log: Subobject New 20070417
7 Importing IV_SUBOBJECT_OLD Call by reference Type reference (TYPE) BALSUBOBJ Application Log: Subobject Old 20070417
# Exception Resumable Description Created on
1 NO_QUEUE_DETECTED No Queue Detected / Raise First Error Message of Log 20070417

Method GET_CURRENT_TID_QNAME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_ORG_TID Call by reference Type reference (TYPE) RFCCHAR24 Unique Transaction ID (LUW -> COMMIT WORK) 20091015
2 Exporting EV_QNAME Call by reference Type reference (TYPE) TRFCQNAM Name of tRFC Queue 20091014
3 Exporting EV_TID Call by reference Type reference (TYPE) ARFCTID Unique Transaction ID (LUW -> COMMIT WORK) 20091014

Method GET_CURRENT_TID_QNAME on class /SPE/CL_QRFC_SERVICES has no exception.

Method GET_LOG_CONFIG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_OUT Call by reference Type reference (TYPE) FLAG Config for outbound 20050321
2 Returning RV_LOG Value transfer Type reference (TYPE) CHAR1 20040902

Method GET_LOG_CONFIG on class /SPE/CL_QRFC_SERVICES has no exception.

Method GET_MY_NAME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning ER_SYS_EVENT Value transfer Type reference (TYPE) SYS_CALLS Structure of System Callstack (like in the Debugger) 20070828

Method GET_MY_NAME on class /SPE/CL_QRFC_SERVICES has no exception.

Method GET_NAVIGATION_QUEUES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_EVENT Call by reference Type reference (TYPE) /SPE/TT_QRFCEVENT 20050330

Method GET_NAVIGATION_QUEUES on class /SPE/CL_QRFC_SERVICES has no exception.

Method GET_QUEUE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RT_QUEUE Value transfer Type reference (TYPE) /SPE/TT_TRFCQIN Tabellentyp TRFCQIN 20050317

Method GET_QUEUE on class /SPE/CL_QRFC_SERVICES has no exception.

Method HANDLE_ERROR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_MESSAGE Call by reference Type reference (TYPE) BAPIRETTAB Tabelle mit BAPI-Rückgabeinformationen 20040416
2 Importing IV_CALL_AFTER_ROLLBACK Call by reference Type reference (TYPE) RS38L_FNAM Name of Function Module 20050531
3 Importing IV_ERROR_INDEX Call by reference Type reference (TYPE) SYTABIX Interne Tabelle, aktueller Zeilenindex 20040416
4 Importing IV_QUEUE Call by reference Type reference (TYPE) TRFCQIN Name der tRFC-Queue 20040903
5 Importing IV_STOP_QUEUE Call by reference Type reference (TYPE) XFELD ABAP_TRUE Stop the queue 20070828

Method HANDLE_ERROR on class /SPE/CL_QRFC_SERVICES has no exception.

Method HANDLE_ERROR_DIRDLV Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_MESSAGE Call by reference Type reference (TYPE) BAPIRETTAB Table with BAPI Return Information 20070417
2 Importing IV_CALL_AFTER_ROLLBACK Call by reference Type reference (TYPE) RS38L_FNAM Name of Function Module 20070417
3 Importing IV_ERROR_INDEX Call by reference Type reference (TYPE) SYTABIX Index of Internal Tables 20070417
4 Importing IV_OBJECT Call by reference Type reference (TYPE) BALOBJ_D Application Log: Object Name (Application Code) 20070417
5 Importing IV_QUEUE Call by reference Type reference (TYPE) TRFCQIN tRFC Queue Description (Inbound Queue) 20070417
6 Importing IV_SUBOBJECT Call by reference Type reference (TYPE) BALSUBOBJ Application Log: Subobject 20070417

Method HANDLE_ERROR_DIRDLV on class /SPE/CL_QRFC_SERVICES has no exception.

Method HANDLE_SUCCESS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_MESSAGE Call by reference Type reference (TYPE) BAPIRETTAB Tabelle mit BAPI-Rückgabeinformationen 20040902
2 Importing IV_QUEUE Call by reference Type reference (TYPE) TRFCQIN Name der tRFC-Queue 20040903

Method HANDLE_SUCCESS on class /SPE/CL_QRFC_SERVICES has no exception.

Method HANDLE_SUCCESS_DIRDLV Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_MESSAGE Call by reference Type reference (TYPE) BAPIRETTAB Table with BAPI Return Information 20070417
2 Importing IV_OBJECT Call by reference Type reference (TYPE) BALOBJ_D Application Log: Object Name (Application Code) 20070417
3 Importing IV_QUEUE Call by reference Type reference (TYPE) TRFCQIN tRFC Queue Description (Inbound Queue) 20070417
4 Importing IV_SUBOBJECT Call by reference Type reference (TYPE) BALSUBOBJ Application Log: Subobject 20070417

Method HANDLE_SUCCESS_DIRDLV on class /SPE/CL_QRFC_SERVICES has no exception.

Method LOAD_OLD_LOG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_ORIG_TID Call by reference Type reference (TYPE) RFCCHAR24 Original Transaction ID 20091202
2 Importing IV_QUEUE_NAME Call by reference Type reference (TYPE) TRFCQNAM Name der tRFC-Queue 20040416
3 Importing IV_SUBOBJ Call by reference Type reference (TYPE) BALSUBOBJ Anwendungsprotokoll: Unterobjekt 20040902

Method LOAD_OLD_LOG on class /SPE/CL_QRFC_SERVICES has no exception.

Method LOAD_OLD_LOG_DIRDLV Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_OBJECT Call by reference Type reference (TYPE) BALOBJ_D Application Log: Object Name (Application Code) 20070417
2 Importing IV_ORIG_TID Call by reference Type reference (TYPE) RFCCHAR24 Original Transaction ID 20091203
3 Importing IV_QUEUE_NAME Call by reference Type reference (TYPE) TRFCQNAM Name of tRFC Queue 20070417
4 Importing IV_SUBOBJ Call by reference Type reference (TYPE) BALSUBOBJ Application Log: Subobject 20070417

Method LOAD_OLD_LOG_DIRDLV on class /SPE/CL_QRFC_SERVICES has no exception.

Method LOG_SEND_MSG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_MESSAGE Call by reference Type reference (TYPE) BAPIRETTAB Additional Messages 20050321
2 Importing IV_ADDITEXT Call by reference Type reference (TYPE) CHAR30 additional text 20050914
3 Importing IV_ERROR Call by reference Type reference (TYPE) FLAG Error in Distribution 20050321
4 Importing IV_EXTNUM Call by reference Type reference (TYPE) BALNREXT 20050404
5 Importing IV_FUNCTION Call by reference Type reference (TYPE) RS38L_FNAM Name der Funktion 20050321
6 Importing IV_LOGSYS Call by reference Type reference (TYPE) LOGSYS Logisches System 20050321
7 Importing IV_QNAME Call by reference Type reference (TYPE) TRFCQNAM Name of tRFC Queue 20050322
8 Importing IV_SUBOBJ Call by reference Type reference (TYPE) BALSUBOBJ Number range sub-object 20050324

Method LOG_SEND_MSG on class /SPE/CL_QRFC_SERVICES has no exception.

Method PREPARE_LOG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_QUEUE Call by reference Type reference (TYPE) TRFCQIN Name der tRFC-Queue 20040903
2 Importing IV_SUBOBJ Call by reference Type reference (TYPE) BALSUBOBJ Anwendungsprotokoll: Unterobjekt 20040902

Method PREPARE_LOG on class /SPE/CL_QRFC_SERVICES has no exception.

Method PREPARE_LOG_DIRDLV Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_OBJECT Call by reference Type reference (TYPE) BALOBJ_D Application Log: Object Name (Application Code) 20070417
2 Importing IV_QUEUE Call by reference Type reference (TYPE) TRFCQIN tRFC Queue Description (Inbound Queue) 20070417
3 Importing IV_SUBOBJ Call by reference Type reference (TYPE) BALSUBOBJ Application Log: Subobject 20070417

Method PREPARE_LOG_DIRDLV on class /SPE/CL_QRFC_SERVICES has no exception.

Method REFRESH_ATTRIBUTES Signature

Method REFRESH_ATTRIBUTES on class /SPE/CL_QRFC_SERVICES has no parameter.
Method REFRESH_ATTRIBUTES on class /SPE/CL_QRFC_SERVICES has no exception.

Method SET_UPDATE_HANDLING Signature

Method SET_UPDATE_HANDLING on class /SPE/CL_QRFC_SERVICES has no parameter.
Method SET_UPDATE_HANDLING on class /SPE/CL_QRFC_SERVICES has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 100