SAP ABAP Class /ISDFPS/CL_PM_UPS_COMMAND (Process UPS Command)
Hierarchy
EA-DFPS (Software Component) SAP Enterprise Extension Defense Forces & Public Security
   PM-WOC (Application Component) Maintenance Processing
     /ISDFPS/PM (Package) SDP BW Enhancements in PM
Properties
Class /ISDFPS/CL_PM_UPS_COMMAND  
Short Description Process UPS Command    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class /ISDFPS/UPS_COMMAND    
Program status     
Category 0   
Package /ISDFPS/PM   SDP BW Enhancements in PM 
Created 20080310   SAP 
Last change 20080626   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)
2 KUPS Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class /ISDFPS/CL_PM_UPS_COMMAND has no interface implemented.
Friends
Class /ISDFPS/CL_PM_UPS_COMMAND has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 CON_COMMAND_TYPE_AFTER Constant Public Type reference (TYPE) CHAR1 'A' Command Type "AFTER PROCESSING" 20080310
2 CON_COMMAND_TYPE_AFTER_ERR Constant Public Type reference (TYPE) CHAR1 'C' Command Type "AFTER PROCESSING WITH ERROR" 20080310
3 CON_COMMAND_TYPE_BEFORE Constant Public Type reference (TYPE) CHAR1 'B' Command Type "BEFORE PROCESSING" 20080310
4 GC_COMMAND_TYPE Instance attribute Private Type reference (TYPE) CHAR1 UPS Command Type 20080310
5 GC_DIRECTION Instance attribute Private Type reference (TYPE) UPS_DIRECT ALE Distribution Packet: Distribution Direction 20080310
6 GC_LOG_HANDLE Instance attribute Private Type reference (TYPE) BALLOGHNDL Application Log: Log Handle 20080310
7 GC_LOG_LOCAL Instance attribute Private Type reference (TYPE) ABAP_BOOL Log Generated Locally? 20080310
8 GC_MSGTXT Instance attribute Private Type reference (TYPE) STRING Message 20080310
9 GC_UPS_INSTID Instance attribute Private Type reference (TYPE) UPS_INSTID ALE Distribution Packet: ID for Instantiation 20080310
10 GI_ERROR_MSG Instance attribute Private Type reference (TYPE) I No. of Error Messages 20080310
11 GS_UPSHDR Instance attribute Private Type reference (TYPE) UPSHDR ALE Distribution Unit: Header Data 20080310
12 GT_COMMANDS Instance attribute Private Type reference (TYPE) TT_COMMANDS Commands for UPS Processing - Table 20080310
13 GT_COMMANDS_ALL Instance attribute Private Type reference (TYPE) TT_COMMANDS Commands for UPS Processing - Table 20080310
14 GT_UPSITEM Instance attribute Private Type reference (TYPE) OUT_TUPSITM ALE Distribution Unit: Source Object List (Output Structure) 20080310
Methods
# Method Level Visibility Method type Description Created on
1 CHECK_COMMAND_CLASS Instance method Private Method Check ABAP Class of Command 20080310
2 CHECK_UPS_HEADER Instance method Private Method Check Header Data of Distribution Unit 20080310
3 CONSTRUCTOR Instance method Public Constructor CONSTRUCTOR 20080310
4 DEQUEUE_COMMAND_TYPE Instance method Private Method Dequeue Command Type 20080310
5 ENQUEUE_COMMAND_TYPE Instance method Private Method Enqueue Command Type 20080310
6 GET_UPS_OBJECT_TYP Instance method Private Method Get UPS Object Type Depending on Command Type 20080310
7 INITIALIZE Instance method Private Method Initialization 20080310
8 LOG_INITIALIZE Instance method Private Method Log: Initialize/Create Log 20080310
9 LOG_MESSAGE Instance method Private Method Log: Add Message to Log 20080310
10 LOG_MESSAGES_FROM_RETURN_TAB Instance method Private Method Log: Save Messages from BAPI Return Table 20080310
11 LOG_SAVE Instance method Private Method Log: Save Log 20080310
12 LOG_START_LOGINFO Instance method Private Method Log: Set Initial Log Messages 20080310
13 PROCESS_COMMAND Instance method Private Method Process Single UPS Command 20080310
14 PROCESS_COMMANDS Instance method Private Method Process UPS Commands of Unit 20080310
15 PROCESS_COMMAND_CLASS Instance method Private Method Process Single UPS Command - ABAP Class 20080310
16 UI_PROCESS_BEFORE_COMMAND Instance method Public Method UI: Start Processing Single BEFORE Command 20080310
17 UI_START_PROCESSING Instance method Public Method UI: Start Processing All Commands of Command Type 20080310
18 UPS_CLOSE_UNIT Instance method Private Method UPS Processing: Close Distribution Unit 20080310
19 UPS_OPEN_UNIT Instance method Private Method UPS Processing: Open Distribution Unit 20080310
20 UPS_READ_UNIT Instance method Private Method UPS Processing: Read Distribution Unit 20080310
Events
Class /ISDFPS/CL_PM_UPS_COMMAND has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TS_COMMANDS Private See coding Commands for UPS Processing 20080310 begin of ts_commands, direct type ups_direct, ups_command type char060, call_type type char1, call_obj type char30, end of ts_commands
2 TT_COMMANDS Private See coding Commands for UPS Processing - Table 20080310 tt_commands type standard table of ts_commands
Method Signatures

Method CHECK_COMMAND_CLASS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing PS_COM_DEF Call by reference Type reference (TYPE) TS_COMMANDS Kommandos für UPS-Verarbeitung 20080310
# Exception Resumable Description Created on
1 /ISDFPS/CX_PM_UPS_COMMAND UPS-Kommando verarbeiten 20080310

Method CHECK_UPS_HEADER Signature

Method CHECK_UPS_HEADER on class /ISDFPS/CL_PM_UPS_COMMAND has no parameter.
# Exception Resumable Description Created on
1 /ISDFPS/CX_PM_UPS_COMMAND UPS-Kommando verarbeiten 20080310
2 /ISDFPS/CX_PM_UPS_COMMAND_IGNO UPS-Kommando verarbeiten 20080310

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing PC_COMMAND_TYPE Call by reference Type reference (TYPE) CHAR1 Typ eines UPS-Kommandos 20080310
2 Importing PC_DIRECTION Call by reference Type reference (TYPE) UPS_DIRECT '2' ALE-Verteilungspaket : Verteilungsrichtung 20080310
3 Importing PC_LOG_HANDLE Call by reference Type reference (TYPE) BALLOGHNDL Anwendungs-Log: Handle eines Protokolls 20080310
4 Importing PS_UPSHDR Call by reference Type reference (TYPE) UPSHDR ALE-Verteilungseinheit : Kopfdaten 20080310
# Exception Resumable Description Created on
1 /ISDFPS/CX_PM_UPS_COMMAND UPS-Kommando verarbeiten 20080310

Method DEQUEUE_COMMAND_TYPE Signature

Method DEQUEUE_COMMAND_TYPE on class /ISDFPS/CL_PM_UPS_COMMAND has no parameter.
Method DEQUEUE_COMMAND_TYPE on class /ISDFPS/CL_PM_UPS_COMMAND has no exception.

Method ENQUEUE_COMMAND_TYPE Signature

Method ENQUEUE_COMMAND_TYPE on class /ISDFPS/CL_PM_UPS_COMMAND has no parameter.
# Exception Resumable Description Created on
1 /ISDFPS/CX_PM_UPS_COMMAND UPS-Kommando verarbeiten 20080310

Method GET_UPS_OBJECT_TYP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing PC_COMMAND_TYPE Call by reference Type reference (TYPE) CHAR1 Typ eines UPS-Kommandos 20080310
2 Returning PC_OBJTYP Value transfer Type reference (TYPE) UPS_OBJTYP ALE-Verteilungspaket : Objekttyp 20080310
# Exception Resumable Description Created on
1 /ISDFPS/CX_PM_UPS_COMMAND UPS-Kommando verarbeiten 20080310

Method INITIALIZE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing PC_COMMAND_TYPE Call by reference Type reference (TYPE) CHAR1 Typ eines UPS-Kommandos 20080310
2 Importing PS_UPSHDR Call by reference Type reference (TYPE) UPSHDR ALE-Verteilungseinheit : Kopfdaten 20080310
# Exception Resumable Description Created on
1 /ISDFPS/CX_PM_UPS_COMMAND UPS-Kommando verarbeiten 20080310

Method LOG_INITIALIZE Signature

Method LOG_INITIALIZE on class /ISDFPS/CL_PM_UPS_COMMAND has no parameter.
# Exception Resumable Description Created on
1 /ISDFPS/CX_PM_UPS_COMMAND UPS-Kommando verarbeiten 20080310

Method LOG_MESSAGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing PC_DETLEVEL Call by reference Type reference (TYPE) BAL_S_MSG-DETLEVEL '3' Anwendungs-Log: Detaillierungsgrad 20080310
# Exception Resumable Description Created on
1 /ISDFPS/CX_PM_UPS_COMMAND UPS-Kommando verarbeiten 20080310

Method LOG_MESSAGES_FROM_RETURN_TAB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing PT_RETURN Call by reference Type reference (TYPE) TUPSBAPIRET2 Tabellentyp zu BAPIRET2 20080310
# Exception Resumable Description Created on
1 /ISDFPS/CX_PM_UPS_COMMAND UPS-Kommando verarbeiten 20080310

Method LOG_SAVE Signature

Method LOG_SAVE on class /ISDFPS/CL_PM_UPS_COMMAND has no parameter.
# Exception Resumable Description Created on
1 /ISDFPS/CX_PM_UPS_COMMAND UPS-Kommando verarbeiten 20080310

Method LOG_START_LOGINFO Signature

Method LOG_START_LOGINFO on class /ISDFPS/CL_PM_UPS_COMMAND has no parameter.
# Exception Resumable Description Created on
1 /ISDFPS/CX_PM_UPS_COMMAND UPS-Kommando verarbeiten 20080310

Method PROCESS_COMMAND Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing PC_COMMAND Call by reference Type reference (TYPE) STRING UPS-Command 20080310
2 Importing PC_OBJTYP Call by reference Type reference (TYPE) UPS_OBJTYP ALE-Verteilungspaket : Objekttyp 20080310
3 Importing PS_COM_DEF Call by reference Type reference (TYPE) TS_COMMANDS Kommandos für UPS-Verarbeitung 20080310
# Exception Resumable Description Created on
1 /ISDFPS/CX_PM_UPS_COMMAND UPS-Kommando verarbeiten 20080310

Method PROCESS_COMMANDS Signature

Method PROCESS_COMMANDS on class /ISDFPS/CL_PM_UPS_COMMAND has no parameter.
# Exception Resumable Description Created on
1 /ISDFPS/CX_PM_UPS_COMMAND UPS-Kommando verarbeiten 20080310

Method PROCESS_COMMAND_CLASS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing PC_COMMAND Call by reference Type reference (TYPE) STRING UPS-Command 20080310
2 Importing PC_OBJTYP Call by reference Type reference (TYPE) UPS_OBJTYP ALE-Verteilungspaket : Objekttyp 20080310
3 Importing PS_COM_DEF Call by reference Type reference (TYPE) TS_COMMANDS Kommandos für UPS-Verarbeitung 20080310
# Exception Resumable Description Created on
1 /ISDFPS/CX_PM_UPS_COMMAND UPS-Kommando verarbeiten 20080310

Method UI_PROCESS_BEFORE_COMMAND Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing PC_COMMAND Call by reference Type reference (TYPE) CHAR060 Kommando für UPS-Verarbeitung 20080310
# Exception Resumable Description Created on
1 /ISDFPS/CX_PM_UPS_COMMAND UPS-Kommando verarbeiten 20080310
2 /ISDFPS/CX_PM_UPS_COMMAND_IGNO UPS-Kommando verarbeiten 20080310

Method UI_START_PROCESSING Signature

Method UI_START_PROCESSING on class /ISDFPS/CL_PM_UPS_COMMAND has no parameter.
# Exception Resumable Description Created on
1 /ISDFPS/CX_PM_UPS_COMMAND UPS-Kommando verarbeiten 20080310
2 /ISDFPS/CX_PM_UPS_COMMAND_IGNO UPS-Kommando verarbeiten 20080310

Method UPS_CLOSE_UNIT Signature

Method UPS_CLOSE_UNIT on class /ISDFPS/CL_PM_UPS_COMMAND has no parameter.
# Exception Resumable Description Created on
1 /ISDFPS/CX_PM_UPS_COMMAND UPS-Kommando verarbeiten 20080310

Method UPS_OPEN_UNIT Signature

Method UPS_OPEN_UNIT on class /ISDFPS/CL_PM_UPS_COMMAND has no parameter.
# Exception Resumable Description Created on
1 /ISDFPS/CX_PM_UPS_COMMAND UPS-Kommando verarbeiten 20080310

Method UPS_READ_UNIT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning PT_OUTITM Value transfer Type reference (TYPE) OUT_TUPSITM ALE-Verteilungspaket : Objektdaten (Ausgabestruktur) 20080310
# Exception Resumable Description Created on
1 /ISDFPS/CX_PM_UPS_COMMAND UPS-Kommando verarbeiten 20080310
History
Last changed by/on SAP  20080626 
SAP Release Created in