SAP ABAP Class CL_EAML_BAPI_UTIL (LAM Utility Functions for BAPIs)
Hierarchy
SAP_APPL (Software Component) Logistics and Accounting
   PM-EQM (Application Component) Technical Objects
     EAML (Package) EAM: Linear Feature Extension - unswitched
Properties
Class CL_EAML_BAPI_UTIL  
Short Description LAM Utility Functions for BAPIs    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package EAML   EAM: Linear Feature Extension - unswitched 
Created 20091013   SAP 
Last change 20110908   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_EAML_BAPI_UTIL has no forward declaration.
Interfaces
Class CL_EAML_BAPI_UTIL has no interface implemented.
Friends
Class CL_EAML_BAPI_UTIL has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GC_FIRST_OFFSET_NAME Constant Private Type reference (TYPE) FIELDNAME 'FIRST_OFFSET_TYPE_CODE_NAME' Field Name 20091130
2 GC_SECOND_OFFSET_NAME Constant Private Type reference (TYPE) FIELDNAME 'SECOND_OFFSET_TYPE_CODE_NAME' Field Name 20091130
3 GS_AFVGD_OLD Static Attribute Private Type reference (TYPE) AFVGD Order: Dialog table for Table AFVG (order operation) 20100331
4 GT_LFE_MAPPING Static Attribute Private Type reference (TYPE) GTY_LFE_MAPPING_TAB 20091109
5 GT_MPLAN_ITEMS Static Attribute Private Type reference (TYPE) EAML_T_LFE_DATA_MPOS_API_T Table type for EAML_S_LFE_DATA_MPOS_API 20091015
6 GT_MPLAN_ITEMS_UPD Static Attribute Private Type reference (TYPE) EAML_T_LFE_DATA_MPOS_API_UPD_T Table type for EAML_S_LFE_DATA_MPOS_API_UPD 20091015
7 GT_TIMETICKETS Static Attribute Private See coding 20091014
Methods
# Method Level Visibility Method type Description Created on
1 CHECK_DATA_BAPI Static method Public Method Check LFE fields from BAPI 20091013
2 CHECK_SET_DATA_MDOC Static method Public Method Check / Set LFE fields for measurement document 20091014
3 CLASS_CONSTRUCTOR Static method Public Constructor CLASS_CONSTRUCTOR 20091109
4 GET_OPERATION_DATA_BUF Static method Public Method Get buffered old operation data when changing operation 20100331
5 MAP2E_LFE_TO_BAPI Static method Public Method Mapping of LFE fields to BAPI structure 20091013
6 MAP2I_BAPI_TO_LFE Static method Public Method Mapping of BAPI structure to LFE fields 20091013
7 RESET_TIMETICKETS_BUF Static method Public Method Set buffered confirmations 20091209
8 SET_DATA_BAPI Static method Public Method Set LFE fields from BAPI 20091013
9 SET_DATA_CONF Static method Public Method Set LFE fields for confirmation 20091014
10 SET_DATA_MPLAN_ITEM Static method Public Method Set LFE fields for Mplan item 20091015
11 SET_DATA_MPOINT Static method Public Method Set LFE fields for measurement point 20091014
12 SET_DATA_ORDER_CREATE_INTERNAL Static method Public Method Buffer old operation data when changing operation 20101206
13 SET_DATA_TOB_CHANGE Static method Public Method Set LFE fields from BAPI when changing technical object 20091013
14 SET_MPLAN_ITEMTAB_BUF Static method Public Method Set buffered Mplan item 20091015
15 SET_MPLAN_ITEM_BUF Static method Public Method Set buffered Mplan item 20091015
16 SET_OPERATION_DATA_BUF Static method Public Method Buffer old operation data when changing operation 20100331
17 SET_TIMETICKETS_BUF Static method Public Method Set buffered confirmations 20091014
Events
Class CL_EAML_BAPI_UTIL has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 GTY_LFE_MAPPING Private See coding 20091109 begin of gty_lfe_mapping, fname_ext type fieldname, fname_int type fieldname, fname_iso type fieldname, fname_desc type fieldname, end of gty_lfe_mapping
2 GTY_LFE_MAPPING_TAB Private See coding 20091109 gty_lfe_mapping_tab type standard table of gty_lfe_mapping
Method Signatures

Method CHECK_DATA_BAPI 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 20091013
2 Exporting ET_RETURN Call by reference Type reference (TYPE) BAPIRETTAB Table with BAPI Return Information 20091124
3 Importing IS_BAPI_STRUCTURE Call by reference Type reference (TYPE) ANY 20091013
4 Importing IT_BAPI_ITEMS Call by reference Type reference (TYPE) ANY TABLE 20091013
5 Importing IV_AKTTYP Call by reference Type reference (TYPE) AKTTYP Activity category in transaction (Cr/Ch/D) 20091013
6 Importing IV_CATEGORY Call by reference Type reference (TYPE) C 20091201
7 Importing IV_EQUNR Call by reference Type reference (TYPE) EQUNR Equipment Number 20091013
8 Importing IV_KEY1 Call by reference Type reference (TYPE) ANY 20091013
9 Importing IV_OBART Call by reference Type reference (TYPE) EAML_OBART Object Type for LFE Data 20091013
10 Importing IV_TPLNR Call by reference Type reference (TYPE) TPLNR Functional Location 20091013

Method CHECK_DATA_BAPI on class CL_EAML_BAPI_UTIL has no exception.

Method CHECK_SET_DATA_MDOC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_LINEAR_DATA Call by reference Type reference (TYPE) EAML_S_LFE_DATA_API Linear Data - to be used in APIs 20100125
2 Exporting ES_RETURN Call by reference Type reference (TYPE) BAPIRET2 Return Parameter 20091014
3 Importing IS_LINEAR_DATA Call by reference Type reference (TYPE) EAML_S_LFE_DATA_API Linear Data - to be used in APIs 20091014
4 Importing IV_AKTTYP Call by reference Type reference (TYPE) AKTTYP 'H' Activity category in transaction (Cr/Ch/D) 20091014
5 Importing IV_CHECK_ONLY Call by reference Type reference (TYPE) XFELD SPACE Checkbox 20091014
6 Importing IV_MDOCM Call by reference Type reference (TYPE) IMRC_MDOCM Measurement Document 20091014
7 Importing IV_MPOBJ Call by reference Type reference (TYPE) IMRC_MPOBJ Object Number for the Measuring Point Object 20091014
8 Importing IV_POINT Call by reference Type reference (TYPE) IMRC_POINT Measuring Point 20100125

Method CHECK_SET_DATA_MDOC on class CL_EAML_BAPI_UTIL has no exception.

Method CLASS_CONSTRUCTOR Signature

Method CLASS_CONSTRUCTOR on class CL_EAML_BAPI_UTIL has no parameter.
Method CLASS_CONSTRUCTOR on class CL_EAML_BAPI_UTIL has no exception.

Method GET_OPERATION_DATA_BUF Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_AFVGD_OLD Call by reference Type reference (TYPE) AFVGD Order: Dialog table for Table AFVG (order operation) 20100331

Method GET_OPERATION_DATA_BUF on class CL_EAML_BAPI_UTIL has no exception.

Method MAP2E_LFE_TO_BAPI Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_BAPI_STRUCTURE Call by reference Type reference (TYPE) ANY 20091013
2 Importing IS_LFE_DATA Call by reference Type reference (TYPE) EAML_S_LFE_DATA_UI Linear Feature Extension - for use in UI 20091013

Method MAP2E_LFE_TO_BAPI on class CL_EAML_BAPI_UTIL has no exception.

Method MAP2I_BAPI_TO_LFE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_LFE_DATA Call by reference Type reference (TYPE) EAML_S_LFE_DATA_UI Linear Feature Extension - for use in UI 20091013
2 Importing IS_BAPI_STRUCTURE Call by reference Type reference (TYPE) ANY 20091013
3 Importing IS_BAPI_STRUC_X Call by reference Type reference (TYPE) ANY 20091126

Method MAP2I_BAPI_TO_LFE on class CL_EAML_BAPI_UTIL has no exception.

Method RESET_TIMETICKETS_BUF Signature

Method RESET_TIMETICKETS_BUF on class CL_EAML_BAPI_UTIL has no parameter.
Method RESET_TIMETICKETS_BUF on class CL_EAML_BAPI_UTIL has no exception.

Method SET_DATA_BAPI Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_BAPI_STRUC_EXP Call by reference Type reference (TYPE) ANY 20091013
2 Changing CT_BAPI_ITEMS Call by reference Type reference (TYPE) ANY TABLE 20091013
3 Changing CT_BAPI_ITEMS_X Call by reference Type reference (TYPE) ANY TABLE 20091013
4 Exporting ES_RETURN Call by reference Type reference (TYPE) BAPIRET2 Return Parameter 20091013
5 Exporting ET_RETURN Call by reference Type reference (TYPE) BAPIRETTAB Table with BAPI Return Information 20091125
6 Importing IS_BAPI_STRUCTURE Call by reference Type reference (TYPE) ANY 20091013
7 Importing IS_BAPI_STRUC_X Call by reference Type reference (TYPE) ANY 20091126
8 Importing IT_BAPI_ITEMS_X Call by reference Type reference (TYPE) ANY TABLE 20091126
9 Importing IV_AKTTYP Call by reference Type reference (TYPE) AKTTYP Activity category in transaction (Cr/Ch/D) 20091013
10 Importing IV_CATEGORY Call by reference Type reference (TYPE) C 20091201
11 Importing IV_DEFAULT_KEY1 Call by reference Type reference (TYPE) ANY 20100125
12 Importing IV_DEFAULT_KEY2 Call by reference Type reference (TYPE) ANY 20100125
13 Importing IV_DEFAULT_OBART Call by reference Type reference (TYPE) EAML_OBART Object Type for LFE Data 20100125
14 Importing IV_EQUNR Call by reference Type reference (TYPE) EQUNR Equipment Number 20091013
15 Importing IV_ITEM_EQUNR Call by reference Type reference (TYPE) EQUNR Equipment Number 20100331
16 Importing IV_ITEM_TPLNR Call by reference Type reference (TYPE) TPLNR Functional Location 20100331
17 Importing IV_KEY1 Call by reference Type reference (TYPE) ANY 20091013
18 Importing IV_KEY2 Call by reference Type reference (TYPE) ANY 20091013
19 Importing IV_NO_DEFAULTS Call by reference Type reference (TYPE) XFELD SPACE Flag: No defaulting 20100125
20 Importing IV_OBART Call by reference Type reference (TYPE) EAML_OBART Object Type for LFE Data 20091013
21 Importing IV_TPLNR Call by reference Type reference (TYPE) TPLNR Functional Location 20091013

Method SET_DATA_BAPI on class CL_EAML_BAPI_UTIL has no exception.

Method SET_DATA_CONF Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_DETAIL_RETURN Call by reference Type reference (TYPE) TY_T_BAPI_CORU_RETURN Table Type for Return Information Confirmation APIs 20091126
2 Exporting EV_LINEAR Call by reference Type reference (TYPE) XFELD Checkbox 20091203
3 Importing IV_AKTTYP Call by reference Type reference (TYPE) AKTTYP 'H' Activity category in transaction (Cr/Ch/D) 20091014
4 Importing IV_APLZL Call by reference Type reference (TYPE) CO_APLZL General counter for order 20100125
5 Importing IV_AUFPL Call by reference Type reference (TYPE) CO_AUFPL Routing number of operations in the order 20100125
6 Importing IV_EQUNR Call by reference Type reference (TYPE) EQUNR Equipment Number 20091014
7 Importing IV_RUECK Call by reference Type reference (TYPE) CO_RUECK Completion confirmation number for the operation 20091014
8 Importing IV_TABIX Call by reference Type reference (TYPE) SYTABIX Index of Internal Tables 20091014
9 Importing IV_TPLNR Call by reference Type reference (TYPE) TPLNR Functional Location 20091014

Method SET_DATA_CONF on class CL_EAML_BAPI_UTIL has no exception.

Method SET_DATA_MPLAN_ITEM 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 20091015
2 Importing IS_ITEM Call by reference Type reference (TYPE) MPLAN_MPOS Maintenance Items for API 20091015
3 Importing IS_ITEM_OLD Call by reference Type reference (TYPE) MPLAN_MPOS Maintenance Items for API 20091015

Method SET_DATA_MPLAN_ITEM on class CL_EAML_BAPI_UTIL has no exception.

Method SET_DATA_MPOINT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_LINEAR_DATA Call by reference Type reference (TYPE) EAML_S_LFE_DATA_API Linear Data - to be used in APIs 20091014
2 Importing IV_AKTTYP Call by reference Type reference (TYPE) AKTTYP 'H' Activity category in transaction (Cr/Ch/D) 20091014
3 Importing IV_EQUNR Call by reference Type reference (TYPE) EQUNR Equipment Number 20091027
4 Importing IV_POINT Call by reference Type reference (TYPE) IMRC_POINT Measuring Point 20091014
5 Importing IV_TPLNR Call by reference Type reference (TYPE) TPLNR Functional Location 20091027

Method SET_DATA_MPOINT on class CL_EAML_BAPI_UTIL has no exception.

Method SET_DATA_ORDER_CREATE_INTERNAL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_CAUFVD Call by reference Type reference (TYPE) CAUFVD 20101206

Method SET_DATA_ORDER_CREATE_INTERNAL on class CL_EAML_BAPI_UTIL has no exception.

Method SET_DATA_TOB_CHANGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_DATA_GENERALX Call by reference Type reference (TYPE) BAPI_ITOBX PM: Flag Structure for BAPI_ITOB (For Change BAPIs) 20091013
2 Changing CS_DATA_GENERAL_EXP Call by reference Type reference (TYPE) BAPI_ITOB PM: BAPI Structure for ITOBAPI_CREATE + READ Fields 20091013
3 Exporting ES_RETURN Call by reference Type reference (TYPE) BAPIRET2 Return Parameter 20091013
4 Importing IS_DATA_GENERAL Call by reference Type reference (TYPE) BAPI_ITOB PM: BAPI Structure for ITOBAPI_CREATE + READ Fields 20091013
5 Importing IS_ITOB Call by reference Type reference (TYPE) ITOB Generated Table for View ITOB 20091013
6 Importing IS_ITOB_OLD Call by reference Type reference (TYPE) ITOB Generated Table for View ITOB 20091013
7 Importing IV_OBART Call by reference Type reference (TYPE) EAML_OBART Object Type for LFE Data 20091013

Method SET_DATA_TOB_CHANGE on class CL_EAML_BAPI_UTIL has no exception.

Method SET_MPLAN_ITEMTAB_BUF Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_LINEAR_DATA Call by reference Type reference (TYPE) EAML_T_LFE_DATA_MPOS_API_T Table type for EAML_S_LFE_DATA_MPOS_API 20091015
2 Importing IT_LINEAR_DATA_UPD Call by reference Type reference (TYPE) EAML_T_LFE_DATA_MPOS_API_UPD_T Table type for EAML_S_LFE_DATA_MPOS_API_UPD 20091015

Method SET_MPLAN_ITEMTAB_BUF on class CL_EAML_BAPI_UTIL has no exception.

Method SET_MPLAN_ITEM_BUF Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_LINEAR_DATA Call by reference Type reference (TYPE) EAML_S_LFE_DATA_API Linear Data - to be used in APIs 20091015
2 Importing IS_LINEAR_DATA_UPDATE Call by reference Type reference (TYPE) EAML_S_LFE_DATA_API_UPDATE Linear Data - to be used in APIs (update flags) 20091015
3 Importing IV_WAPOS Call by reference Type reference (TYPE) WAPOS Maintenance item 20091015

Method SET_MPLAN_ITEM_BUF on class CL_EAML_BAPI_UTIL has no exception.

Method SET_OPERATION_DATA_BUF Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_AFVGD_OLD Call by reference Type reference (TYPE) AFVGD Order: Dialog table for Table AFVG (order operation) 20100331

Method SET_OPERATION_DATA_BUF on class CL_EAML_BAPI_UTIL has no exception.

Method SET_TIMETICKETS_BUF Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_TIMETICKETS Call by reference Type reference (TYPE) ANY TABLE 20091014

Method SET_TIMETICKETS_BUF on class CL_EAML_BAPI_UTIL has no exception.
History
Last changed by/on SAP  20110908 
SAP Release Created in 605