SAP ABAP Class /SRMERP/CL_H_SC_ITM_DEFAULTS (Helper for Retrieving the Item's Default Values)
Hierarchy
SAP_APPL (Software Component) Logistics and Accounting
   MM-PUR-SSP (Application Component) Self-Service Procurement
     /SRMERP/OL_BO_SC (Package) BPO Shopping Cart
Properties
Class /SRMERP/CL_H_SC_ITM_DEFAULTS  
Short Description Helper for Retrieving the Item's Default Values    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package /SRMERP/OL_BO_SC   BPO Shopping Cart 
Created 20100930   SAP 
Last change 20110908   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class /SRMERP/CL_H_SC_ITM_DEFAULTS has no forward declaration.
Interfaces
Class /SRMERP/CL_H_SC_ITM_DEFAULTS has no interface implemented.
Friends
Class /SRMERP/CL_H_SC_ITM_DEFAULTS has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GT_DOCUMENT_TYPE Static Attribute Private Type reference (TYPE) T_DOC_TYPE Document Types for Given Root Keys 20101027
Methods
# Method Level Visibility Method type Description Created on
1 GET_DEFAULT_COMPANY_CODE Static method Public Method Set Default Company Code 20100930
2 GET_DEFAULT_CURRENCY Static method Public Method Set Default Currency 20100930
3 GET_DEFAULT_DELIVERY_DATE Static method Public Method Set Default Delivery Date 20100930
4 GET_DEFAULT_FACTORY_CALENDAR Static method Public Method Set Default Fabric Calendar 20100930
5 GET_DEFAULT_PLANT Static method Public Method Set Default Plant 20100930
6 GET_DEFAULT_PURCHASING_ORG Static method Public Method Set Default Purchasing Organisation 20100930
7 GET_DEFAULT_QUANTITY Static method Public Method Set Default Quantity 20100930
8 GET_DOCUMENT_TYPE_FROM_ROOT Static method Public Method Read Document Type From Root (Works for All SC (UI) BOs/COs) 20101027
9 GET_PERSON_ORG_ASSIGNMENT Static method Public Method Get Organizational Assignment of Author 20100930
Events
Class /SRMERP/CL_H_SC_ITM_DEFAULTS has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 S_DOC_TYPE Private See coding Document Type for a Given Root Key 20101027 begin of s_doc_type. types root_key type /bobf/conf_key. types document_type type /srmerp/document_type. types end of s_doc_type
2 T_DOC_TYPE Private See coding Document Types for Given Root Keys 20101027 t_doc_type type standard table of s_doc_type
Method Signatures

Method GET_DEFAULT_COMPANY_CODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_KEY Call by reference Type reference (TYPE) /BOBF/CONF_KEY NodeID 20100930
2 Returning RV_BUKRS Value transfer Type reference (TYPE) BUKRS Company Code 20100930

Method GET_DEFAULT_COMPANY_CODE on class /SRMERP/CL_H_SC_ITM_DEFAULTS has no exception.

Method GET_DEFAULT_CURRENCY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_KEY Call by reference Type reference (TYPE) /BOBF/CONF_KEY NodeID 20100930
2 Returning RV_WAERS Value transfer Type reference (TYPE) WAERS Currency Key 20100930

Method GET_DEFAULT_CURRENCY on class /SRMERP/CL_H_SC_ITM_DEFAULTS has no exception.

Method GET_DEFAULT_DELIVERY_DATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_KEY Call by reference Type reference (TYPE) /BOBF/CONF_KEY NodeID 20100930
2 Returning RV_LFDAT Value transfer Type reference (TYPE) LFDAT Delivery date 20100930

Method GET_DEFAULT_DELIVERY_DATE on class /SRMERP/CL_H_SC_ITM_DEFAULTS has no exception.

Method GET_DEFAULT_FACTORY_CALENDAR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_FABKL Value transfer Type reference (TYPE) FABKL Factory calendar key 20100930

Method GET_DEFAULT_FACTORY_CALENDAR on class /SRMERP/CL_H_SC_ITM_DEFAULTS has no exception.

Method GET_DEFAULT_PLANT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_WERKS Value transfer Type reference (TYPE) EWERK Plant 20100930

Method GET_DEFAULT_PLANT on class /SRMERP/CL_H_SC_ITM_DEFAULTS has no exception.

Method GET_DEFAULT_PURCHASING_ORG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_KEY Call by reference Type reference (TYPE) /BOBF/CONF_KEY NodeID 20100930
2 Returning RV_EKORG Value transfer Type reference (TYPE) EKORG Purchasing Organization 20100930

Method GET_DEFAULT_PURCHASING_ORG on class /SRMERP/CL_H_SC_ITM_DEFAULTS has no exception.

Method GET_DEFAULT_QUANTITY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_KEY Call by reference Type reference (TYPE) /BOBF/CONF_KEY NodeID 20100930
2 Returning RV_MENGE Value transfer Type reference (TYPE) /SRMERP/ORDER_QTY Order Quantity 20100930

Method GET_DEFAULT_QUANTITY on class /SRMERP/CL_H_SC_ITM_DEFAULTS has no exception.

Method GET_DOCUMENT_TYPE_FROM_ROOT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_READ Call by reference Object reference (TYPE REF TO) /BOBF/IF_FRW_READ Interface to Read Data 20101027
2 Importing IV_BO_KEY Call by reference Type reference (TYPE) /BOBF/OBM_BO_KEY BO/CO Key 20101027
3 Importing IV_NODE_KEY Call by reference Type reference (TYPE) /BOBF/OBM_NODE_KEY Node Key 20101027
4 Importing IV_ROOT_KEY Call by reference Type reference (TYPE) /BOBF/CONF_KEY Instance Key of Root 20101027
5 Returning RV_DOCUMENT_TYPE Value transfer Type reference (TYPE) /SRMERP/DOCUMENT_TYPE Purchasing Document Type 20101027
# Exception Resumable Description Created on
1 /BOBF/CX_FRW BOPF Exception Class 20101027

Method GET_PERSON_ORG_ASSIGNMENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RT_PERSON_ORG_ASSIGNMENT Value transfer Type reference (TYPE) /SRMERP/T_PERSON_ORG_ASSGN Organizational Assignments 20100930

Method GET_PERSON_ORG_ASSIGNMENT on class /SRMERP/CL_H_SC_ITM_DEFAULTS has no exception.
History
Last changed by/on SAP  20110908 
SAP Release Created in 606