SAP ABAP Class /SPE/CL_ASN_ENRICHMENT (Enrich ASN)
Hierarchy
SAP_APPL (Software Component) Logistics and Accounting
   LO-SPM-INB (Application Component) Goods Receipt Process
     /SPE/INB_VALSRV (Package) Validation Service for Inbound deliveries
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  /SPE/IF_ASN_ENRICHMENT Enrich ASN 20040503
2 Interface implementation (CLASS c. INTERFACES i_ref)  /SPE/IF_CONST Constants 20060406
Properties
Class /SPE/CL_ASN_ENRICHMENT  
Short Description Enrich ASN    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package /SPE/INB_VALSRV   Validation Service for Inbound deliveries 
Created 20040503   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class /SPE/CL_ASN_ENRICHMENT has no forward declaration.
Interfaces
# Interface Abstract Final Description Created on
1 /SPE/IF_ASN_ENRICHMENT Enrich ASN 20040503
2 /SPE/IF_CONST Constants 20060406
Friends
Class /SPE/CL_ASN_ENRICHMENT has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 AS_CALL_FROM Instance attribute Public See coding Checkbox 20070619
2 AS_LIPS Instance attribute Public Attribute reference (LIKE) 20040503
3 AS_LIPS_EX Instance attribute Public Attribute reference (LIKE) 20050324
4 AS_MCHA Instance attribute Public Attribute reference (LIKE) 20040503
5 AS_PROD_BUFF Instance attribute Protected See coding Checkbox 20070619
6 AT_EINE Instance attribute Public Type reference (TYPE) TT_EINE Table type for eine 20071114
7 AT_EINE_FLAG Instance attribute Public Type reference (TYPE) XFELD Checkbox 20071114
8 AT_EKKO Instance attribute Public Attribute reference (LIKE) 20040503
9 AT_EKPO Instance attribute Public Attribute reference (LIKE) 20040503
10 AT_ENRICH_MESSAGE Instance attribute Public Attribute reference (LIKE) 20050218
11 AT_MAKT Instance attribute Public Attribute reference (LIKE) 20040503
12 AT_MARA Instance attribute Public Attribute reference (LIKE) 20040503
13 AT_MARC Instance attribute Public Attribute reference (LIKE) 20040503
14 AT_MARD Instance attribute Public Attribute reference (LIKE) 20040503
15 AT_POSMAP Instance attribute Public Attribute reference (LIKE) 20070620
16 AT_TVAP Instance attribute Public Attribute reference (LIKE) 20051025
17 AT_UI_LIPS Instance attribute Public Type reference (TYPE) SHP_VL10_LIPS_T current lips data to detect changes 20050824
18 A_LAST_LOCAL_PO Instance attribute Public Type reference (TYPE) EBELN Purchasing Document Number 20070619
19 A_LFIMG_PREV Instance attribute Public Type reference (TYPE) LIPSVB-LFIMG Actual quantity delivered (in sales units) 20071114
20 A_REF_CREATED Instance attribute Public Type reference (TYPE) XFELD Checkbox 20070619
21 A_STO_DIS_FLAG Instance attribute Private Type reference (TYPE) XFELD Checkbox 20090304
22 CS_ORD_CAT Constant Public See coding Checkbox 20070619
23 C_EXTENSION Constant Public See coding '/SPE/ASN_SHIPPING' 30 Characters 20090216
24 C_FALSE Instance attribute Public Attribute reference (LIKE) 20060406
25 C_FAUF_WE Constant Protected Type reference (TYPE) TJ01-VRGNG 'RMWF' Business Transaction 20070619
26 C_MINUS Instance attribute Public Attribute reference (LIKE) 20060406
27 C_MSGTY Instance attribute Public Attribute reference (LIKE) 20060406
28 C_NO Instance attribute Public Attribute reference (LIKE) 20060406
29 C_NOT_DEFINED Instance attribute Public Attribute reference (LIKE) 20060406
30 C_PLUS Instance attribute Public Attribute reference (LIKE) 20060406
31 C_RESULT Instance attribute Public Attribute reference (LIKE) 20060406
32 C_TRUE Instance attribute Public Attribute reference (LIKE) 20060406
33 C_UPDKZ Instance attribute Public Attribute reference (LIKE) 20060406
34 C_XFELD Instance attribute Public Attribute reference (LIKE) 20060406
35 C_YES Instance attribute Public Attribute reference (LIKE) 20060406
36 OR_ASN_DATA Instance attribute Public Attribute reference (LIKE) 20040503
37 OR_MESSAGE_COLLECTOR Instance attribute Public Attribute reference (LIKE) 20040503
38 OR_VAL_SERVICE Instance attribute Public Attribute reference (LIKE) 20040701
Methods
# Method Level Visibility Method type Description Created on
1 CHECK_LVS Instance method Protected Method Check & enrich LVS 20040701
2 CHECK_MAT_IS_PACK_MAT Instance method Public Method Check whether the material is a packaging material or not. 20060406
3 CHECK_PO_PERMISSION Instance method Private Method Check Authority and Org-data for PO Creation 20070620
4 CLEAR_SYS_MESSAGE Static method Public Method Clear all system message variable 20071004
5 CREATE_EXTENSION Instance method Private Method Extension creation for BAPI call 20090216
6 CREATE_PO_REFERENCE Instance method Protected Method Create predecessor document PO if required 20070620
7 CREATE_STO_REFERENCE Instance method Protected Method Create STO document for Additional Item Process 20090209
8 DETERMINE_PRED_DOC Instance method Public Method 20040503
9 ENRICH Instance method Public Method 20040503
10 ENRICH_COUNTRY_OF_ORIGIN Instance method Protected Method Enrich country of origin data 20040505
11 ENRICH_HEADER Instance method Public Method 20040503
12 ENRICH_ITEM Instance method Public Method 20040503
13 ENRICH_OTHERS Instance method Public Method 20040610
14 FILL_LGNUM Instance method Private Method Fill warehouse number 20040728
15 FILL_PREDECESSOR_DATA Instance method Protected Method Fill predecessor data 20040503
16 FILL_PRED_DATA_FOR_PACKING Instance method Protected Method Fill predecessor data for packing with no reference 20051006
17 FILL_PRED_DATA_FROM_PROD Instance method Protected Method Fill predecessor data from production order 20070619
18 FILL_WEIGHT_VOLUME Instance method Private Method Fill weight and volume 20090511
19 GET_STORAGE_LOCATION Instance method Public Method 20040709
20 READ_MATERIAL_BATCH Instance method Public Method 20040503
21 READ_MATERIAL_MASTER Instance method Public Method 20040503
22 REFRESH_TABLES Instance method Public Method 20040506
23 SET_REFERENCES Instance method Public Method 20040702
24 STORE_MESSAGE Instance method Protected Method Store error message into table 20070619
Events
Class /SPE/CL_ASN_ENRICHMENT has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 CTY_POSMAP Public Attribute reference (LIKE) 20070816
2 YS_CHANGE Protected See coding Change indicators for lips 20050824 BEGIN OF ys_change, pred_doc TYPE xflag, wrk_lgo TYPE xflag, matnr TYPE xflag, END OF ys_change
Method Signatures

Method CHECK_LVS Signature

Method CHECK_LVS on class /SPE/CL_ASN_ENRICHMENT has no parameter.
Method CHECK_LVS on class /SPE/CL_ASN_ENRICHMENT has no exception.

Method CHECK_MAT_IS_PACK_MAT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_MATERIAL Call by reference Type reference (TYPE) MARA-MATNR Material Number 20060406
2 Importing I_VHART Call by reference Type reference (TYPE) TVTY-TRATY Packaging Material Type 20060406
3 Returning R_PACK_MAT Value transfer Type reference (TYPE) XFELD Material is packaging material 20060406

Method CHECK_MAT_IS_PACK_MAT on class /SPE/CL_ASN_ENRICHMENT has no exception.

Method CHECK_PO_PERMISSION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing XS_LIPS Call by reference Type reference (TYPE) LIPSVB Reference structure for XLIPS/YLIPS 20070620
2 Changing XS_POSMAP Call by reference Type reference (TYPE) CTY_POSMAP 20070620

Method CHECK_PO_PERMISSION on class /SPE/CL_ASN_ENRICHMENT has no exception.

Method CLEAR_SYS_MESSAGE Signature

Method CLEAR_SYS_MESSAGE on class /SPE/CL_ASN_ENRICHMENT has no parameter.
Method CLEAR_SYS_MESSAGE on class /SPE/CL_ASN_ENRICHMENT has no exception.

Method CREATE_EXTENSION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_EXTENSION Call by reference Type reference (TYPE) BAPIPAREX_TP Table Type for BAPIPAREX 20090216
2 Exporting EV_RESULT_ERR Call by reference Type reference (TYPE) CHAR1 Error result 20090401
3 Importing IV_ITEM Call by reference Type reference (TYPE) EBELP Item Number of Purchasing Document 20090216
4 Importing IV_SHIP_EXT_ID Call by reference Type reference (TYPE) VBELN Sales and Distribution Document Number 20090216
5 Importing IV_SHIP_EXT_ITEM Call by reference Type reference (TYPE) POSNR Item number of the SD document 20090216

Method CREATE_EXTENSION on class /SPE/CL_ASN_ENRICHMENT has no exception.

Method CREATE_PO_REFERENCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_LIPS Call by reference Type reference (TYPE) LIPSVB Reference structure for XLIPS/YLIPS 20070620
2 Changing RV_ERROR Call by reference Type reference (TYPE) XFELD Checkbox 20070620

Method CREATE_PO_REFERENCE on class /SPE/CL_ASN_ENRICHMENT has no exception.

Method CREATE_STO_REFERENCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_PLANT Call by reference Type reference (TYPE) EWERK Plant 20090302

Method CREATE_STO_REFERENCE on class /SPE/CL_ASN_ENRICHMENT has no exception.

Method DETERMINE_PRED_DOC Signature

Method DETERMINE_PRED_DOC on class /SPE/CL_ASN_ENRICHMENT has no parameter.
Method DETERMINE_PRED_DOC on class /SPE/CL_ASN_ENRICHMENT has no exception.

Method ENRICH Signature

Method ENRICH on class /SPE/CL_ASN_ENRICHMENT has no parameter.
Method ENRICH on class /SPE/CL_ASN_ENRICHMENT has no exception.

Method ENRICH_COUNTRY_OF_ORIGIN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_UP_INDEX Value transfer Type reference (TYPE) SYTABIX Index of Internal Tables 20050824

Method ENRICH_COUNTRY_OF_ORIGIN on class /SPE/CL_ASN_ENRICHMENT has no exception.

Method ENRICH_HEADER Signature

Method ENRICH_HEADER on class /SPE/CL_ASN_ENRICHMENT has no parameter.
Method ENRICH_HEADER on class /SPE/CL_ASN_ENRICHMENT has no exception.

Method ENRICH_ITEM Signature

Method ENRICH_ITEM on class /SPE/CL_ASN_ENRICHMENT has no parameter.
Method ENRICH_ITEM on class /SPE/CL_ASN_ENRICHMENT has no exception.

Method ENRICH_OTHERS Signature

Method ENRICH_OTHERS on class /SPE/CL_ASN_ENRICHMENT has no parameter.
Method ENRICH_OTHERS on class /SPE/CL_ASN_ENRICHMENT has no exception.

Method FILL_LGNUM Signature

Method FILL_LGNUM on class /SPE/CL_ASN_ENRICHMENT has no parameter.
Method FILL_LGNUM on class /SPE/CL_ASN_ENRICHMENT has no exception.

Method FILL_PREDECESSOR_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_CHANGE Call by reference Type reference (TYPE) YS_CHANGE Change indicators for lips 20050824
2 Importing IV_POSNR Call by reference Type reference (TYPE) POSNR Positionsnummer des Vertriebsbelegs 20040503
3 Importing IV_UP_INDEX Value transfer Type reference (TYPE) SYTABIX SYST-TABIX as Structure 20050824

Method FILL_PREDECESSOR_DATA on class /SPE/CL_ASN_ENRICHMENT has no exception.

Method FILL_PRED_DATA_FOR_PACKING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_CHANGE Call by reference Type reference (TYPE) YS_CHANGE Change indicators for lips 20051006
2 Importing IV_POSNR Call by reference Type reference (TYPE) POSNR Item number of the SD document 20051006
3 Importing IV_UP_INDEX Value transfer Type reference (TYPE) SYTABIX SYST-TABIX as Structure 20051006

Method FILL_PRED_DATA_FOR_PACKING on class /SPE/CL_ASN_ENRICHMENT has no exception.

Method FILL_PRED_DATA_FROM_PROD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_UP_INDEX Value transfer Type reference (TYPE) SYTABIX Index of Internal Tables 20070619

Method FILL_PRED_DATA_FROM_PROD on class /SPE/CL_ASN_ENRICHMENT has no exception.

Method FILL_WEIGHT_VOLUME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CV_LIPS_BRGEW Call by reference Type reference (TYPE) BRGEW_15 Gross Weight 20090511
2 Changing CV_LIPS_GEWEI Call by reference Type reference (TYPE) GEWEI Weight Unit 20090511
3 Changing CV_LIPS_NTGEW Call by reference Type reference (TYPE) NTGEW_15 Net Weight 20090511
4 Changing CV_LIPS_VOLEH Call by reference Type reference (TYPE) VOLEH Volume unit 20090511
5 Changing CV_LIPS_VOLUM Call by reference Type reference (TYPE) VOLUM_15 Volume 20090511
6 Importing IV_GROSS_WEIGHT Call by reference Type reference (TYPE) BRGEW Gross Weight 20090511
7 Importing IV_LFIMG_MEINS Call by reference Type reference (TYPE) LGMNG Actual quantity delivered in stockkeeping units 20090511
8 Importing IV_NET_WEIGHT Call by reference Type reference (TYPE) NTGEW Net Weight 20090511
9 Importing IV_VOLUME Call by reference Type reference (TYPE) VOLUM Volume 20090511
10 Importing IV_VOLUME_UOM Call by reference Type reference (TYPE) VOLEH Volume unit 20090511
11 Importing IV_WEIGHT_UOM Call by reference Type reference (TYPE) GEWEI Weight Unit 20090511

Method FILL_WEIGHT_VOLUME on class /SPE/CL_ASN_ENRICHMENT has no exception.

Method GET_STORAGE_LOCATION Signature

Method GET_STORAGE_LOCATION on class /SPE/CL_ASN_ENRICHMENT has no parameter.
Method GET_STORAGE_LOCATION on class /SPE/CL_ASN_ENRICHMENT has no exception.

Method READ_MATERIAL_BATCH Signature

Method READ_MATERIAL_BATCH on class /SPE/CL_ASN_ENRICHMENT has no parameter.
Method READ_MATERIAL_BATCH on class /SPE/CL_ASN_ENRICHMENT has no exception.

Method READ_MATERIAL_MASTER Signature

Method READ_MATERIAL_MASTER on class /SPE/CL_ASN_ENRICHMENT has no parameter.
Method READ_MATERIAL_MASTER on class /SPE/CL_ASN_ENRICHMENT has no exception.

Method REFRESH_TABLES Signature

Method REFRESH_TABLES on class /SPE/CL_ASN_ENRICHMENT has no parameter.
Method REFRESH_TABLES on class /SPE/CL_ASN_ENRICHMENT has no exception.

Method SET_REFERENCES Signature

Method SET_REFERENCES on class /SPE/CL_ASN_ENRICHMENT has no parameter.
Method SET_REFERENCES on class /SPE/CL_ASN_ENRICHMENT has no exception.

Method STORE_MESSAGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_CHECK_GRP1 Call by reference Type reference (TYPE) /SPE/INB_CHECK_GRP Check Group 20070619
2 Importing I_CHECK_GRP2 Call by reference Type reference (TYPE) /SPE/INB_CHECK_GRP Check Group 20070619
3 Importing I_CHECK_GRP3 Call by reference Type reference (TYPE) /SPE/INB_CHECK_GRP Check Group 20070619
4 Importing I_CHECK_GRP4 Call by reference Type reference (TYPE) /SPE/INB_CHECK_GRP Check Group 20070619
5 Importing I_CHECK_ID Call by reference Type reference (TYPE) /SPE/INB_CHECK_ID Check Method Identification 20070619
6 Importing I_MSGID Call by reference Type reference (TYPE) ANY 20070619
7 Importing I_MSGNO Call by reference Type reference (TYPE) ANY 20070619
8 Importing I_MSGTY Call by reference Type reference (TYPE) ANY 20070619
9 Importing I_MSGV1 Call by reference Type reference (TYPE) ANY 20070619
10 Importing I_MSGV2 Call by reference Type reference (TYPE) ANY 20070619
11 Importing I_MSGV3 Call by reference Type reference (TYPE) ANY 20070619
12 Importing I_MSGV4 Call by reference Type reference (TYPE) ANY 20070619
13 Importing I_NO_HOLD Call by reference Type reference (TYPE) /SPE/INB_NO_HOLD SPACE Do Not Save Inbound Delivery in HOLD Mode 20070619
14 Importing I_NO_REAL Call by reference Type reference (TYPE) /SPE/INB_NO_REAL SPACE Do Not Save Inbound Delivery in REAL Mode 20070619
15 Importing I_POSNR Call by reference Type reference (TYPE) POSNR Item number of the SD document 20070619
16 Importing I_VBELN Call by reference Type reference (TYPE) VBELN Sales and Distribution Document Number 20070619

Method STORE_MESSAGE on class /SPE/CL_ASN_ENRICHMENT has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 100