SAP ABAP Class CL_ODATA_PP_POR_API (Settings for service prodorder.release)
Hierarchy
SAP_APPL (Software Component) Logistics and Accounting
   PP (Application Component) Production Planning and Control
     ODATA_PP_SFC_PRODORDER_RELEASE (Package) Backend Settings for Service prodorder.release
Properties
Class CL_ODATA_PP_POR_API  
Short Description Settings for service prodorder.release    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status P  SAP Standard Production Program 
Category 0   
Package ODATA_PP_SFC_PRODORDER_RELEASE   Backend Settings for Service prodorder.release 
Created 20130906   SAP 
Last change 20140121   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_ODATA_PP_POR_API has no forward declaration.
Interfaces
Class CL_ODATA_PP_POR_API has no interface implemented.
Friends
Class CL_ODATA_PP_POR_API has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 CON_TIME_000000 Constant Private Type reference (TYPE) T '000000' Constant for Time '000000' 20131028
2 CON_TIME_240000 Constant Private Type reference (TYPE) CHAR6 '240000' Constant for Time '240000' 20131028
3 GC_APP_ID Constant Private Type reference (TYPE) ODATA_PP_APP_ID 'POR' Application ID 20130926
4 GC_REPORT_NAME Constant Public Type reference (TYPE) VARI_REPRT 'REP_ODATA_PP_POR_SELECTION' Name of Report for Variant 20130906
5 GS_TZONE_BUFFER Static Attribute Private Type reference (TYPE) TY_S_BUFFER_PLANT_TZONE Buffer Timezone of Plant 20131120
Methods
# Method Level Visibility Method type Description Created on
1 CHECK_MAT_PRODUCTION_ORDER Static method Public Method Check Material Availability of Production Order 20131002
2 GET_ASSIGNED_VARIANT Static method Public Method Get specific Variant assigned to User 20130909
3 GET_ASSIGNED_VARIANTS Static method Public Method Get Variants assigned to User 20130906
4 GET_MISSING_PARTS Static method Public Method Get missing parts for order or operation 20130930
5 GET_PRODUCTION_ORDER Static method Public Method Get specific Production Order 20130909
6 GET_PRODUCTION_ORDERS Static method Public Method Get Production Orders the user is assigned to 20130909
7 GET_PRODUCTION_ORDER_OPERS Static method Public Method Get specific Production Order Operations 20130909
8 GET_SELECT_OPTIONS Static method Public Method Get Select Options of a Variant 20130926
9 GET_TIME_STAMP Static method Public Method Get Time Stamp 20131028
10 GET_USER_VARIANT Static method Public Method Get specific variant assigned to a user 20130926
11 GET_USER_VARIANTS Static method Public Method Get variants assigned to a user 20130926
12 GET_VARIANT Static method Public Method Get specific Variant 20130925
13 GET_VARIANTS Static method Public Method Get possible Variants 20130925
14 RELEASE_PRODUCTION_ORDER Static method Public Method Release Production Order 20130916
15 SEARCH_PRODUCTION_ORDERS Static method Public Method Search Production Orders the user is assigned to 20131001
16 _CONCAT_DATE_TIME Static method Private Method Add Date and Time in external format 20131120
17 _CONCAT_QUANT_UNIT Static method Private Method Add Quantity and Unit 20131120
18 _GET_VARIANT_TEXT Static method Private Method Get Variant Description 20130906
Events
Class CL_ODATA_PP_POR_API has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TRTY_FIELDNAME Public See coding 20130912 TRTY_FIELDNAME TYPE RANGE OF FIELDNAME
2 TRTY_VARIANT Public See coding 20130926 trty_VARIANT TYPE RANGE OF VARIANT
3 TRTY_XUBNAME Public See coding 20130926 trty_XUBNAME TYPE RANGE OF XUBNAME
4 TTY_ODATA_PP_POR_ASS_VARIANT Public See coding 20130906 TTY_ODATA_PP_POR_ASS_VARIANT type STANDARD TABLE OF ODATA_PP_POR_ASS_VARIANT
5 TTY_ODATA_PP_POR_MISSINGPART Public See coding 20130930 tty_ODATA_PP_POR_MISSINGPART TYPE STANDARD TABLE OF ODATA_PP_POR_MISSINGPART
6 TTY_ODATA_PP_POR_PRODORD Public See coding 20130909 TTY_ODATA_PP_POR_PRODORD TYPE STANDARD TABLE OF ODATA_PP_POR_PRODORD
7 TTY_ODATA_PP_POR_PRODORD_OPER Public See coding 20130909 TTY_ODATA_PP_POR_PRODORD_OPER TYPE STANDARD TABLE OF ODATA_PP_POR_PRODORD_OPER
8 TTY_ODATA_PP_POR_SELECT_OPTION Public See coding 20130926 tty_ODATA_PP_POR_SELECT_OPTION TYPE STANDARD TABLE OF ODATA_PP_POR_SELECT_OPTION
9 TTY_ODATA_PP_POR_USER_VARIANT Public See coding 20130926 tty_ODATA_PP_POR_USER_VARIANT TYPE STANDARD TABLE OF ODATA_PP_POR_USER_VARIANT
10 TTY_ODATA_PP_POR_VARIANT Public See coding 20130925 tty_ODATA_PP_POR_VARIANT TYPE STANDARD TABLE OF ODATA_PP_POR_VARIANT
11 TY_S_BUFFER_PLANT_TZONE Private See coding 20131120 BEGIN OF ty_s_buffer_plant_tzone, plant TYPE werks_d, tzone TYPE tznzone, END OF ty_s_buffer_plant_tzone
Method Signatures

Method CHECK_MAT_PRODUCTION_ORDER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_RETURN Call by reference Type reference (TYPE) BAPIRET2 Return Parameter 20131002
2 Exporting ET_DETAIL_RETURN Call by reference Type reference (TYPE) BAPIRETTAB Table with BAPI Return Information 20131002
3 Importing IV_AUFNR Call by reference Type reference (TYPE) AUFNR Order Number 20131002

Method CHECK_MAT_PRODUCTION_ORDER on class CL_ODATA_PP_POR_API has no exception.

Method GET_ASSIGNED_VARIANT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_ASSIGNED_VARIANT Call by reference Type reference (TYPE) ODATA_PP_POR_ASS_VARIANT prodorder.release Entity Type: AssignedVariant 20130909
2 Exporting EV_SUBRC Call by reference Type reference (TYPE) SYSUBRC Return Code 20130919
3 Importing IV_SERVICE_NAME Call by reference Object reference (TYPE REF TO) STRING Technical Service Document Name 20131206
4 Importing IV_USERID Call by reference Type reference (TYPE) XUBNAME SY-UNAME User Name in User Master Record 20130909
5 Importing IV_VARIANT_ORDER Call by reference Type reference (TYPE) ODATA_PP_POR_VARIANT_ORDER Relative Position of the Variant 20130909

Method GET_ASSIGNED_VARIANT on class CL_ODATA_PP_POR_API has no exception.

Method GET_ASSIGNED_VARIANTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_ASSIGNED_VARIANT Call by reference Type reference (TYPE) TTY_ODATA_PP_POR_ASS_VARIANT prodorder.release Entity Type: AssignedVariant 20130906
2 Importing IV_SERVICE_NAME Call by reference Object reference (TYPE REF TO) STRING Technical Service Document Name 20131206
3 Importing IV_USERID Call by reference Type reference (TYPE) XUBNAME SY-UNAME User Name in User Master Record 20130906

Method GET_ASSIGNED_VARIANTS on class CL_ODATA_PP_POR_API has no exception.

Method GET_MISSING_PARTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_MISSING_PART Call by reference Type reference (TYPE) TTY_ODATA_PP_POR_MISSINGPART Missing Parts 20130930
2 Exporting EV_INLINE_COUNT Call by reference Type reference (TYPE) INT4 Count before skip/top 20131001
3 Exporting EV_SUBRC Call by reference Type reference (TYPE) INT4 Return code 20131001
4 Importing IV_APLFL Call by reference Type reference (TYPE) PLNFOLGE Sequence 20130930
5 Importing IV_AUFNR Call by reference Type reference (TYPE) AUFNR Order Number 20130930
6 Importing IV_RSART Call by reference Type reference (TYPE) RSART Record type 20131129
7 Importing IV_RSPOS Call by reference Type reference (TYPE) RSPOS Item Number of Reservation/Dependent Requirement 20131001
8 Importing IV_SERVICE_NAME Call by reference Object reference (TYPE REF TO) STRING Technical Service Document Name 20131206
9 Importing IV_SKIP Call by reference Type reference (TYPE) INT4 Natural Number 20131001
10 Importing IV_TOP Call by reference Type reference (TYPE) INT4 Natural Number 20131001
11 Importing IV_VORNR Call by reference Type reference (TYPE) VORNR Operation/Activity Number 20130930

Method GET_MISSING_PARTS on class CL_ODATA_PP_POR_API has no exception.

Method GET_PRODUCTION_ORDER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_PRODUCTION_ORDER Call by reference Type reference (TYPE) ODATA_PP_POR_PRODORD prodorder.release Entity Type: ProductionOrder 20130909
2 Importing ITR_FIELDS Call by reference Type reference (TYPE) TRTY_FIELDNAME Subset of Fields to be retrieved 20130912
3 Importing IV_FORCE Call by reference Type reference (TYPE) BOOLE_D X = Get order regardless of status or variant options 20130920
4 Importing IV_NO_DETAILS Call by reference Type reference (TYPE) BOOLE_D X = No details (status text, material text ...) 20131001
5 Importing IV_ORDER_NUMBER Call by reference Type reference (TYPE) AUFNR Order Number 20130909
6 Importing IV_SERVICE_NAME Call by reference Object reference (TYPE REF TO) STRING Technical Service Document Name 20131206

Method GET_PRODUCTION_ORDER on class CL_ODATA_PP_POR_API has no exception.

Method GET_PRODUCTION_ORDERS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_VARIANT Call by reference Type reference (TYPE) ODATA_PP_POR_ASS_VARIANT prodorder.release Entity Type: AssignedVariant 20130919
2 Exporting ET_PRODUCTION_ORDER Call by reference Type reference (TYPE) TTY_ODATA_PP_POR_PRODORD Production Orders 20130909
3 Exporting EV_INLINE_COUNT Call by reference Type reference (TYPE) INT4 Natural Number 20130911
4 Exporting EV_SUBRC Call by reference Type reference (TYPE) SYSUBRC Return Code 20130919
5 Importing ITR_FIELDS Call by reference Type reference (TYPE) TRTY_FIELDNAME Subset of Fields to be retrieved 20130912
6 Importing IT_FILTER Call by reference Type reference (TYPE) /IWBEP/T_MGW_SELECT_OPTION Filter Select Options 20131120
7 Importing IT_SORTORDER Call by reference Type reference (TYPE) ABAP_SORTORDER_TAB Columns to sort 20131120
8 Importing IV_COUNT_ONLY Call by reference Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20130911
9 Importing IV_SERVICE_NAME Call by reference Object reference (TYPE REF TO) STRING Technical Service Document Name 20131206
10 Importing IV_SKIP Call by reference Type reference (TYPE) INT4 Natural Number 20130910
11 Importing IV_TOP Call by reference Type reference (TYPE) INT4 Natural Number 20130910
12 Importing IV_VARIANT_ORDER Call by reference Type reference (TYPE) INT2 20130930

Method GET_PRODUCTION_ORDERS on class CL_ODATA_PP_POR_API has no exception.

Method GET_PRODUCTION_ORDER_OPERS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_OPERATIONS Call by reference Type reference (TYPE) TTY_ODATA_PP_POR_PRODORD_OPER Order Operations 20130909
2 Exporting EV_INLINE_COUNT Call by reference Type reference (TYPE) INT4 Count before skip/top 20130910
3 Importing IV_AUFPL Call by reference Type reference (TYPE) CO_AUFPL Routing number of operations in the order 20131001
4 Importing IV_COUNT_ONLY Call by reference Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20130910
5 Importing IV_ORDER_NUMBER Call by reference Type reference (TYPE) AUFNR Order Number 20130909
6 Importing IV_RSNUM Call by reference Type reference (TYPE) RSNUM Number of Reservation/Dependent Requirement 20131001
7 Importing IV_SERVICE_NAME Call by reference Object reference (TYPE REF TO) STRING Technical Service Document Name 20131206
8 Importing IV_SKIP Call by reference Type reference (TYPE) INT4 Natural Number 20130910
9 Importing IV_TOP Call by reference Type reference (TYPE) INT4 Natural Number 20130910

Method GET_PRODUCTION_ORDER_OPERS on class CL_ODATA_PP_POR_API has no exception.

Method GET_SELECT_OPTIONS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_SELECT_OPTIONS Call by reference Type reference (TYPE) TTY_ODATA_PP_POR_SELECT_OPTION prodorder.release Entity Type: SelectOption 20130926
2 Importing IV_VARIANT Call by reference Type reference (TYPE) VARIANT ABAP: Name of variant (without program name) 20130926

Method GET_SELECT_OPTIONS on class CL_ODATA_PP_POR_API has no exception.

Method GET_TIME_STAMP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_24H_FLAG Call by reference Type reference (TYPE) FLAG Timestamp is 24:00:00 of previous day in Backend 20131120
2 Exporting E_TIME_STAMP Call by reference Type reference (TYPE) TIMESTAMP UTC Time Stamp in Short Form (YYYYMMDDhhmmss) 20131028
3 Importing I_DATE Call by reference Type reference (TYPE) D Date 20131028
4 Importing I_PLANT Call by reference Type reference (TYPE) WERKS_D Plant 20131028
5 Importing I_TIME Call by reference Type reference (TYPE) T Time 20131028
6 Importing I_TIME_ZONE Call by reference Type reference (TYPE) TZNZONE Time Zone 20131028

Method GET_TIME_STAMP on class CL_ODATA_PP_POR_API has no exception.

Method GET_USER_VARIANT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_USER_VARIANT Call by reference Type reference (TYPE) ODATA_PP_POR_USER_VARIANT prodorder.release Entity Type: UserVariant 20130926
2 Importing IV_USER_NAME Call by reference Type reference (TYPE) XUBNAME User Name in User Master Record 20130926
3 Importing IV_VARIANT_ORDER Call by reference Type reference (TYPE) ODATA_PP_POR_VARIANT_ORDER Relative Position of the Variant 20130926

Method GET_USER_VARIANT on class CL_ODATA_PP_POR_API has no exception.

Method GET_USER_VARIANTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_USER_VARIANT Call by reference Type reference (TYPE) TTY_ODATA_PP_POR_USER_VARIANT prodorder.release Entity Type: UserVariant 20130926
2 Importing IT_FILTER_USER_NAME Call by reference Type reference (TYPE) TRTY_XUBNAME Range table to filter user name 20130926
3 Importing IT_FILTER_VARIANT Call by reference Type reference (TYPE) TRTY_VARIANT Range table to filter variant 20130926

Method GET_USER_VARIANTS on class CL_ODATA_PP_POR_API has no exception.

Method GET_VARIANT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_VARIANT Call by reference Type reference (TYPE) ODATA_PP_POR_VARIANT prodorder.release Entity Type: Variant 20130925
2 Importing IV_VARIANT Call by reference Type reference (TYPE) VARIANT ABAP: Name of variant (without program name) 20130925

Method GET_VARIANT on class CL_ODATA_PP_POR_API has no exception.

Method GET_VARIANTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_VARIANT Call by reference Type reference (TYPE) TTY_ODATA_PP_POR_VARIANT prodorder.release Entity Type: Variant 20130925
2 Importing IT_FILTER_CREATED_BY Call by reference Type reference (TYPE) TRTY_XUBNAME Range table to filter created by user 20130926
3 Importing IT_FILTER_VARIANT Call by reference Type reference (TYPE) TRTY_VARIANT Range table to filter variant 20130926

Method GET_VARIANTS on class CL_ODATA_PP_POR_API has no exception.

Method RELEASE_PRODUCTION_ORDER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_RETURN Call by reference Type reference (TYPE) BAPIRET2 Return Parameter 20130916
2 Exporting ET_DETAIL_RETURN Call by reference Type reference (TYPE) BAPIRETTAB Table with BAPI Return Information 20130916
3 Importing IV_AUFNR Call by reference Type reference (TYPE) AUFNR Order Number 20130916

Method RELEASE_PRODUCTION_ORDER on class CL_ODATA_PP_POR_API has no exception.

Method SEARCH_PRODUCTION_ORDERS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_PRODUCTION_ORDER Call by reference Type reference (TYPE) TTY_ODATA_PP_POR_PRODORD Production Orders 20131001
2 Exporting EV_INLINE_COUNT Call by reference Type reference (TYPE) INT4 Natural Number 20131001
3 Exporting EV_SUBRC Call by reference Type reference (TYPE) SYSUBRC Return Code 20131001
4 Importing IT_FILTER Call by reference Type reference (TYPE) /IWBEP/T_MGW_SELECT_OPTION Filter Select Options 20131120
5 Importing IT_SORTORDER Call by reference Type reference (TYPE) ABAP_SORTORDER_TAB Columns to sort 20131120
6 Importing IV_SEARCH_STRING Call by reference Type reference (TYPE) STRING Search String 20131001
7 Importing IV_SERVICE_NAME Call by reference Object reference (TYPE REF TO) STRING Technical Service Document Name 20131206
8 Importing IV_SKIP Call by reference Type reference (TYPE) INT4 Natural Number 20131001
9 Importing IV_TOP Call by reference Type reference (TYPE) INT4 Natural Number 20131001
10 Importing IV_VARIANT_ORDER Call by reference Type reference (TYPE) INT2 20131001

Method SEARCH_PRODUCTION_ORDERS on class CL_ODATA_PP_POR_API has no exception.

Method _CONCAT_DATE_TIME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CV_STRING Call by reference Type reference (TYPE) STRING String to which external format is appended 20131120
2 Importing IV_DATE Call by reference Type reference (TYPE) D Date 20131120
3 Importing IV_TSTAMP Call by reference Type reference (TYPE) TIMESTAMP UTC Time Stamp in Short Form (YYYYMMDDhhmmss) 20131120

Method _CONCAT_DATE_TIME on class CL_ODATA_PP_POR_API has no exception.

Method _CONCAT_QUANT_UNIT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CV_STRING Call by reference Type reference (TYPE) STRING String to add Quantity and Unit to 20131120
2 Importing IV_QUANT Call by reference Type reference (TYPE) GAMNG Quantities 20131120
3 Importing IV_UNIT Call by reference Type reference (TYPE) MEINS Unit 20131120

Method _CONCAT_QUANT_UNIT on class CL_ODATA_PP_POR_API has no exception.

Method _GET_VARIANT_TEXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_VTEXT Call by reference Type reference (TYPE) RVART_VTXT Program variant short text 20130906
2 Importing IV_VARIANT Call by reference Type reference (TYPE) VARIANT ABAP: Name of variant (without program name) 20130906

Method _GET_VARIANT_TEXT on class CL_ODATA_PP_POR_API has no exception.
History
Last changed by/on SAP  20140121 
SAP Release Created in 618