SAP ABAP Class /BEV2/CL_CS_EMCS (EMCS Business Logik)
Hierarchy
EA-APPL (Software Component) SAP Enterprise Extension PLM, SCM, Financials
   MM-IM-ED (Application Component) Excise Duty
     /BEV2/CS (Package) Excise Duty EMCS
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Inheritance (c INHERITING FROM c_ref)  /BEV2/CL_CS_EMCS_BASE Base Class for EMCS Incl. Constant Declaration 20100528
Meta Relationship - Used By
# Relationship type Used by Short Description Created on
1 Inheritance (c INHERITING FROM c_ref)  /BEV2/CL_CS_COCKPIT Singleton for FPM GUIBB 20100531
2 Inheritance (c INHERITING FROM c_ref)  /BEV2/CL_CS_GTS GTS -> ERP Interface 20100528
3 Inheritance (c INHERITING FROM c_ref)  /BEV2/CL_CS_MIGO_BADI Include EMCS in MM Update Program 20100531
Properties
Class /BEV2/CL_CS_EMCS  
Short Description EMCS Business Logik    
Super Class /BEV2/CL_CS_EMCS_BASE Base Class for EMCS Incl. Constant Declaration 
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package /BEV2/CS   Excise Duty EMCS 
Created 20100528   SAP 
Last change 20130531   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)
Interfaces
Class /BEV2/CL_CS_EMCS has no interface implemented.
Friends
Class /BEV2/CL_CS_EMCS has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 MC_CANREA_OTHERS Instance attribute Private Type reference (TYPE) /BEV2/CS_CANCEL_REASON '0' EMCS: Cancellation Reason 20100609
2 MO_CUSTOMERS Instance attribute Private Object reference (TYPE REF TO) /BEV2/CL_CS_CUSTOMERS ED Consignee Master Data 20100611
3 MO_EXCEPTION Instance attribute Private Object reference (TYPE REF TO) /BEV2/CX_CS_EMCS Exceptions for EMCS Process 20100531
4 MO_MATERIALS Instance attribute Private Object reference (TYPE REF TO) /BEV2/CL_CS_MATERIALS ED Material Master Data 20100614
5 MO_SUPPLIERS Instance attribute Private Object reference (TYPE REF TO) /BEV2/CL_CS_SUPPLIERS ED Consignor Master Record 20100614
6 MS_MESSAGE Instance attribute Private Type reference (TYPE) SCX_T100KEY T100 key with parameters mapped to attribute names 20100601
7 MTR_EMCS Instance attribute Private Type reference (TYPE) /BEV2/T_CS_REF_EMCS_DOC_OBJ References to EMCS Document Objects 20100528
8 MTR_MM_DOC Instance attribute Private Type reference (TYPE) /BEV2/T_CS_REF_MM_DOC_OBJ References to MM-DOC Objects 20100528
9 MT_ED915 Instance attribute Private See coding 20101005
Methods
# Method Level Visibility Method type Description Created on
1 AAD_SUBMIT Instance method Private Method Call GTS Function for e-AAD Draft 20100618
2 CANCEL_MSEG_KEY Instance method Protected Method Cancel Data in MSEG Assignment Table 20101022
3 CHECK_COMPANY_WAS_SND_OF_PROC Instance method Protected Method Check If EMCS Process Was Initiated By Company 20100623
4 COD_PLANT2PLANT_MOVEMENTS Instance method Protected Method Change of Destination for Plant Posting Change -> Doc.Gener. 20101013
5 CONVERT_COMHEAD_TO_HEAD Instance method Protected Method Convert COMHEAD Structure to Header Structure 20100615
6 CONVERT_COMITEM_TO_ITEM Instance method Protected Method Convert COMITEM Structure to Item Structure 20100615
7 CONVERT_COMPART_TO_BP Instance method Protected Method Convert COMPART Structure to BP Structure 20100614
8 CONVERT_SAP_LANG_TO_ISO Instance method Private Method Convert SAP Language Key to ISO 20100617
9 CONVERT_TO_EMCS_UNITS Instance method Protected Method Convert Quantities to EMCS-Compliant Units 20101005
10 DEQUEUE_EMCS_NR Instance method Public Method Dequeue an EMCS Process 20100528
11 DETERMINE_ASSIGNED_PROCESSES Instance method Protected Method Determine Assigned EMCS Processes (Possible for BoM) 20101117
12 ENQUEUE_EMCS_NR Instance method Public Method Enqueue an EMCS Process 20100528
13 ERP_2_GTS_AAD_CANCEL Instance method Protected Method Transfer Data to GTS to Cancel an EMCS Process 20100528
14 ERP_2_GTS_AAD_CHANGE_OF_DEST Instance method Protected Method Transfer Data to GTS to Initiate a CoD 20100528
15 ERP_2_GTS_AAD_REP_OF_RECEIPT Instance method Protected Method Transfer Data to GTS to Format Report of Receipt 20100528
16 ERP_2_GTS_AAD_SUBMIT Instance method Protected Method Transfer Data to GTS to Request ARC 20100609
17 ERP_2_GTS_GET_STATUS Instance method Protected Method Online Determination of Status in GTS 20100804
18 FREE_ALL_ASSIGNED_OBJECTS Instance method Protected Method Release All Assigned EMCS and MM Objects 20101020
19 GET_CREATE_REF_TO_CUSTOMERS Instance method Protected Method Return Instance of /BEV2/CL_CS_CUSTOMERS 20100611
20 GET_CREATE_REF_TO_EMCS_DOC Instance method Private Method Return/Create Instance of /BEV2/CL_CS_EMCS_DOC 20100609
21 GET_CREATE_REF_TO_MATERIALS Instance method Protected Method Return Instance of /BEV2/CL_CS_CUSTOMERS 20100614
22 GET_CREATE_REF_TO_MM_DOC Instance method Private Method Return/Create Instnace of /BEV2/CL_CS_MM_DOC 20100609
23 GET_CREATE_REF_TO_SUPPLIERS Instance method Protected Method Return Instance of /BEV2/CL_CS_SUPPLIERS 20100614
24 GET_DATA Instance method Protected Method Return All Data 20100528
25 GET_EDART_BUKRS_EDSLAGER_BUDAT Instance method Private Method Determine ED Type, Company Code, ED Warehouse 20100615
26 GET_EMCS_NUMBER Instance method Private Method Take Number from Number Range Object 20100528
27 GET_REF_TO_EMCS_DOC Instance method Private Method Return Instance of /BEV2/CL_CS_EMCS_DOC 20100608
28 GET_REF_TO_MM_DOC Instance method Private Method Return Instance of /BEV2/CL_CS_MM_DOC 20100608
29 GTS_2_ERP_AAD_CANCEL Instance method Protected Method Treatment of Cancelled EMCS Process by GTS 20100528
30 GTS_2_ERP_AAD_NOTIFY Instance method Protected Method Treatment of Returned ARC Code by GTS 20100528
31 GTS_2_ERP_AAD_REP_OF_RECEIPT Instance method Protected Method Treatment of Inbound Report of Receipt by GTS 20100528
32 GTS_2_ERP_AAD_VALIDATED Instance method Protected Method Treatment of Inbound AAD by GTS (Consignee Part) 20100528
33 PREPARE_GTS_COMHEAD_STRUC Instance method Private Method Create COMHEAD Structure for GTS Communication 20100616
34 PREPARE_GTS_COMITEM_STRUC Instance method Private Method Create COMITEM Stucture for GTS Communication 20100616
35 PREPARE_GTS_COMPART_CUSTOMER Instance method Private Method Create COMPART Structure for Partner = Customer 20100617
36 PREPARE_GTS_COMPART_PLANT Instance method Private Method Create COMPART Structure for Partner = Plant 20100617
37 PREPARE_GTS_COMPART_SUPPLIER Instance method Private Method Create COMPART Structure for Partner = Vendor 20100617
38 PREPARE_GTS_COMREF_STRUC Instance method Private Method Create COMREF Structure for GTS Communication 20100609
39 READ_ED_CORRECTION_DOCS Instance method Protected Method Read ED Correction Documents for EMCS Transaction 20100802
40 READ_RETURN_MM_DOCS_FOR_PROC Instance method Protected Method Determine MM Returns Documents for ARC 20100803
41 RESUBMIT_UNCANCELLED_ITEMS Instance method Private Method Create EMCS Process for Items Not Reversed 20101001
42 SAVE_ARC_MSEG_KEY Instance method Protected Method Save ARC in MSEG Assignment Table 20100528
43 SAVE_ASSIGN_ARC_MM_DOC Instance method Protected Method Save Assignment of ARC to MM Returns Documents 20100802
44 SAVE_MSEG_KEY Instance method Protected Method Save Data in MSEG Assignment Table 20100614
45 SAVE_SUBMITTED_DATA Instance method Private Method Save Data from e-AAD Request 20100616
46 SET_STATUS_COMPLETED Instance method Protected Method Set Completion Status 20100630
Events
Class /BEV2/CL_CS_EMCS has no event.
Types
Class /BEV2/CL_CS_EMCS has no local type.
Method Signatures

Method AAD_SUBMIT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_COMHEAD Call by reference Type reference (TYPE) /BEV2/S_CS_COMHEAD GTS Kommunikation: Kopfdaten 20100618
2 Importing IT_COMDOCS Call by reference Type reference (TYPE) /BEV2/T_CS_COMDOCS GTS Kommunikation: Dokumente 20100618
3 Importing IT_COMITEM Call by reference Type reference (TYPE) /BEV2/T_CS_COMITEM GTS Kommunikation: Positionsdaten 20100618
4 Importing IT_COMITEM_REF Call by reference Type reference (TYPE) /BEV2/T_CS_COMITEM_REF GTS Kommunikation: Referenzen zu Positionen 20100618
5 Importing IT_COMPACK Call by reference Type reference (TYPE) /BEV2/T_CS_COMPACK GTS Kommunikation: Verpackungsinformation 20100618
6 Importing IT_COMPART Call by reference Type reference (TYPE) /BEV2/T_CS_COMPART GTS Kommunikation: Parterdaten 20100618
7 Importing IT_COMREF Call by reference Type reference (TYPE) /BEV2/T_CS_COMREF GTS Kommunikation: Referenzdaten 20100618
8 Importing IT_COMTEXT_HD Call by reference Type reference (TYPE) /BEV2/T_CS_COMTEXT_HD GTS Kommunikation: Kopftexte 20100618
9 Importing IT_COMTEXT_IT Call by reference Type reference (TYPE) /BEV2/T_CS_COMTEXT_IT GTS Kommunikation: Positionstexte 20100618
10 Importing IT_COMTRANS Call by reference Type reference (TYPE) /BEV2/T_CS_COMTRANS GTS Kommunikation: Transportdaten 20100618
11 Importing IT_COMWINEOP Call by reference Type reference (TYPE) /BEV2/T_CS_COMWINEOP GTS Kommunikation: Weinbehandlung 20100618
12 Importing IV_EMCSNR Call by reference Type reference (TYPE) /BEV2/CS_EMCSNR EMCS Vorgangsnummer 20100618
# Exception Resumable Description Created on
1 /BEV2/CX_CS_EMCS Exceptions for EMCS process 20100618

Method CANCEL_MSEG_KEY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_MSEG Call by reference Type reference (TYPE) TY_MSEG 20101022
2 Importing IV_EMCSNR Call by reference Type reference (TYPE) /BEV2/CS_EMCSNR EMCS Vorgangsnummer 20101022
3 Importing IV_TIMESTAMP Call by reference Type reference (TYPE) TIMESTAMP UTC-Zeitstempel in Kurzform (JJJJMMTThhmmss) 20101022
# Exception Resumable Description Created on
1 /BEV2/CX_CS_EMCS Exceptions for EMCS process 20101022

Method CHECK_COMPANY_WAS_SND_OF_PROC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_EMCS_NO Call by reference Type reference (TYPE) /BEV2/CS_EMCSNR EMCS Vorgangsnummer 20100623
2 Returning RV_IS_SENDER Value transfer Type reference (TYPE) ABAP_BOOL = ABAP_TRUE wenn Firma Initiator des EMCS Processes ist 20100623
# Exception Resumable Description Created on
1 /BEV2/CX_CS_EMCS Exceptions for EMCS process 20100623

Method COD_PLANT2PLANT_MOVEMENTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_MSEGARC Call by reference Type reference (TYPE) /BEV2/T_CS_MSEGARC EMCS Prozess: ARC in Materialbelegpositionen 20101118
2 Importing IV_EMCS_NO Call by reference Type reference (TYPE) /BEV2/CS_EMCSNR EMCS-Vorgangsnummer 20101013
3 Importing IV_NEW_RECIPIENT Call by reference Type reference (TYPE) CHAR10 neues Zielwerk 20101013
# Exception Resumable Description Created on
1 /BEV2/CX_CS_EMCS Exceptions for EMCS process 20101013

Method CONVERT_COMHEAD_TO_HEAD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_COMHEAD Call by reference Type reference (TYPE) /BEV2/S_CS_COMHEAD GTS Kommunikation: Kopfdaten 20100615
2 Importing IS_COMHEAD_VAL Call by reference Type reference (TYPE) /BEV2/S_CS_COMHEAD_VAL GTS Kommunikation: Kopfdaten e-VD 20100615
3 Returning RS_HEAD Value transfer Type reference (TYPE) /BEV2/S_CS_HD EMCS Prozess: Kopfdaten 20100615

Method CONVERT_COMHEAD_TO_HEAD on class /BEV2/CL_CS_EMCS has no exception.

Method CONVERT_COMITEM_TO_ITEM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_COMITEM Call by reference Type reference (TYPE) /BEV2/S_CS_COMITEM GTS Kommunikation: Positionsdaten 20100615
2 Importing IS_COMITEM_ROR Call by reference Type reference (TYPE) /BEV2/S_CS_COMITEM_ROR GTS Kommunikation: Positionsdaten Rückmeldung 20100615
3 Importing IS_COMITEM_VAL Call by reference Type reference (TYPE) /BEV2/S_CS_COMITEM_VAL GTS Kommunikation: Positionsdaten für eingehende eVD 20100927
4 Returning RS_ITEM Value transfer Type reference (TYPE) /BEV2/S_CS_IT EMCS Prozess: Positionen 20100615

Method CONVERT_COMITEM_TO_ITEM on class /BEV2/CL_CS_EMCS has no exception.

Method CONVERT_COMPART_TO_BP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_COMPART Call by reference Type reference (TYPE) /BEV2/S_CS_COMPART GTS Kommunikation: Parterdaten 20100614
2 Returning RS_BP Value transfer Type reference (TYPE) /BEV2/S_CS_BP EMCS Prozess: Partner 20100614

Method CONVERT_COMPART_TO_BP on class /BEV2/CL_CS_EMCS has no exception.

Method CONVERT_SAP_LANG_TO_ISO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_SAP_LANG Call by reference Type reference (TYPE) SPRAS Sprachenschlüssel 20100617
2 Returning RV_ISO_LANG Value transfer Type reference (TYPE) LAISO Sprache nach ISO 639 20100617

Method CONVERT_SAP_LANG_TO_ISO on class /BEV2/CL_CS_EMCS has no exception.

Method CONVERT_TO_EMCS_UNITS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_EMCS_QUANTITY Call by reference Type reference (TYPE) /BEV2/CS_ITEM_QUAN EMCS: Menge 20101006
2 Exporting EV_EMCS_QUANTITY_UNIT Call by reference Type reference (TYPE) /BEV2/CS_ITEM_QUAN_UNIT EMCS: Maßeinheit der Menge 20101006
3 Importing IS_EDMAT Call by reference Type reference (TYPE) /BEV2/S_CS_MATERIAL VB Stammsatz Material 20101005
4 Importing IS_MSEG Call by reference Type reference (TYPE) MSEG Belegsegment Material 20101005

Method CONVERT_TO_EMCS_UNITS on class /BEV2/CL_CS_EMCS has no exception.

Method DEQUEUE_EMCS_NR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_EMCS_NO Call by reference Type reference (TYPE) /BEV2/CS_EMCSNR EMCS Vorgangsnummer 20100601

Method DEQUEUE_EMCS_NR on class /BEV2/CL_CS_EMCS has no exception.

Method DETERMINE_ASSIGNED_PROCESSES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_MSEGARC Call by reference Type reference (TYPE) /BEV2/T_CS_MSEGARC EMCS Prozess: ARC in Materialbelegpositionen 20101117
2 Importing IV_EMCS_NO Call by reference Type reference (TYPE) /BEV2/CS_EMCSNR EMCS-Vorgangsnummer 20101117

Method DETERMINE_ASSIGNED_PROCESSES on class /BEV2/CL_CS_EMCS has no exception.

Method ENQUEUE_EMCS_NR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_EMCS_NO Call by reference Type reference (TYPE) /BEV2/CS_EMCSNR EMCS Vorgangsnummer 20100601
2 Returning R_ENQUEUED Value transfer Type reference (TYPE) ABAP_BOOL =ABAP_TRUE wenn Sperre erfolgreich 20100601

Method ENQUEUE_EMCS_NR on class /BEV2/CL_CS_EMCS has no exception.

Method ERP_2_GTS_AAD_CANCEL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_MSEG Call by reference Type reference (TYPE) TY_MSEG 20100609
2 Importing IV_CALL_FROM_UPDATE Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE =ABAP_TRUE wenn Aufruf aus Verbucher FM 20101026
3 Importing IV_CANCEL_REASON Call by reference Type reference (TYPE) /BEV2/CS_CANCEL_REASON EMC: Stornogrund 20100609
4 Importing IV_EMCS_NO Call by reference Type reference (TYPE) /BEV2/CS_EMCSNR EMCS Vorgangsnummer 20100609
5 Importing IV_TIMESTAMP Call by reference Type reference (TYPE) TIMESTAMP UTC-Zeitstempel in Kurzform (JJJJMMTThhmmss) 20100609
# Exception Resumable Description Created on
1 /BEV2/CX_CS_EMCS Exceptions for EMCS process 20100618

Method ERP_2_GTS_AAD_CHANGE_OF_DEST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_MSEG Call by reference Type reference (TYPE) TY_MSEG 20100609
2 Importing IV_CALL_FROM_UPDATE Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE =ABAP_TRUE wenn Aufruf aus Verbucher FM 20101026
3 Importing IV_EMCS_NO Call by reference Type reference (TYPE) /BEV2/CS_EMCSNR EMCS Vorgangsnummer 20100609
4 Importing IV_NEW_RECIPIENT Call by reference Type reference (TYPE) CHAR10 Neuer Empfänger 20100609
5 Importing IV_RECIPIENT_TYPE Call by reference Type reference (TYPE) /BEV2/CS_RECIPIENT_TYPE 'W' = WE, 'L' = Lieferant, 'P'=Werk 20100610
6 Importing IV_TIMESTAMP Call by reference Type reference (TYPE) TIMESTAMP UTC-Zeitstempel in Kurzform (JJJJMMTThhmmss) 20100609
# Exception Resumable Description Created on
1 /BEV2/CX_CS_EMCS Exceptions for EMCS process 20100610

Method ERP_2_GTS_AAD_REP_OF_RECEIPT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_HD Call by reference Type reference (TYPE) /BEV2/S_CS_HD EMCS Prozess: Kopfdaten 20100616
2 Importing IT_DEV Call by reference Type reference (TYPE) /BEV2/T_CS_DEV EMCS Prozess: Informationen über Abweichungen 20100616
3 Importing IT_HDT Call by reference Type reference (TYPE) /BEV2/T_CS_HDT EMCS Prozess: Texte zu Kopfdaten 20100609
4 Importing IT_ITT Call by reference Type reference (TYPE) /BEV2/T_CS_ITT EMCS Prozess: Texte zu Positionen 20100609
5 Importing IT_IT_ROR Call by reference Type reference (TYPE) /BEV2/T_CS_IT_ROR EMCS Prozess: Positionen für Empfangsbestätigung 20100616
6 Importing IV_CALL_FROM_UPDATE Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE =ABAP_TRUE wenn Aufruf aus Verbucher FM 20101026
7 Importing IV_EMCS_NO Call by reference Type reference (TYPE) /BEV2/CS_EMCSNR EMCS Vorgangsnummer 20100609
# Exception Resumable Description Created on
1 /BEV2/CX_CS_EMCS Exceptions for EMCS process 20100616

Method ERP_2_GTS_AAD_SUBMIT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_MKPF Call by reference Type reference (TYPE) MKPF Belegkopf Materialbeleg 20100615
2 Importing IT_MSEG Call by reference Type reference (TYPE) TY_MSEG 20100610
3 Importing IT_VM07M Call by reference Type reference (TYPE) TY_T_VM07M Tabelle mit der Struktur VM07M 20101004
4 Importing IV_CALL_FROM_UPDATE Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE =ABAP_TRUE wenn Aufruf aus Verbucher FM 20101026
5 Importing IV_TIMESTAMP Call by reference Type reference (TYPE) TIMESTAMP UTC-Zeitstempel in Kurzform (JJJJMMTThhmmss) 20100610
# Exception Resumable Description Created on
1 /BEV2/CX_CS_EMCS Exceptions for EMCS process 20100618

Method ERP_2_GTS_GET_STATUS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_PROC_STATUS Call by reference Type reference (TYPE) /BEV2/T_CS_COMSTATUS Unvollständigkeitsstatus 20100804
2 Importing IV_EMCS_NO Call by reference Type reference (TYPE) /BEV2/CS_EMCSNR EMCS Vorgangsnummer 20100804
# Exception Resumable Description Created on
1 /BEV2/CX_CS_EMCS Exceptions for EMCS process 20100804

Method FREE_ALL_ASSIGNED_OBJECTS Signature

Method FREE_ALL_ASSIGNED_OBJECTS on class /BEV2/CL_CS_EMCS has no parameter.
Method FREE_ALL_ASSIGNED_OBJECTS on class /BEV2/CL_CS_EMCS has no exception.

Method GET_CREATE_REF_TO_CUSTOMERS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RO_CUSTOMERS Value transfer Object reference (TYPE REF TO) /BEV2/CL_CS_CUSTOMERS VB Stammdaten Warenempfänger 20100614

Method GET_CREATE_REF_TO_CUSTOMERS on class /BEV2/CL_CS_EMCS has no exception.

Method GET_CREATE_REF_TO_EMCS_DOC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_EMCS_NO Call by reference Type reference (TYPE) /BEV2/CS_EMCSNR EMCS Vorgangsnummer 20100609
2 Returning RR_EMCS_DOC Value transfer Object reference (TYPE REF TO) /BEV2/CL_CS_EMCS_DOC EMCS-Doc data 20100609
# Exception Resumable Description Created on
1 /BEV2/CX_CS_EMCS Exceptions for EMCS process 20100609

Method GET_CREATE_REF_TO_MATERIALS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RO_MATERIALS Value transfer Object reference (TYPE REF TO) /BEV2/CL_CS_MATERIALS VB Stammdaten Materialien 20100614

Method GET_CREATE_REF_TO_MATERIALS on class /BEV2/CL_CS_EMCS has no exception.

Method GET_CREATE_REF_TO_MM_DOC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_EMCS_NO Call by reference Type reference (TYPE) /BEV2/CS_EMCSNR EMCS Vorgangsnummer 20100609
2 Returning RR_MM_DOC Value transfer Object reference (TYPE REF TO) /BEV2/CL_CS_MM_DOC MM-DOC EMCS additional data 20100609

Method GET_CREATE_REF_TO_MM_DOC on class /BEV2/CL_CS_EMCS has no exception.

Method GET_CREATE_REF_TO_SUPPLIERS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RO_SUPPLIERS Value transfer Object reference (TYPE REF TO) /BEV2/CL_CS_SUPPLIERS VB Stammdaten Lieferanten 20100614

Method GET_CREATE_REF_TO_SUPPLIERS on class /BEV2/CL_CS_EMCS has no exception.

Method GET_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_HD Call by reference Type reference (TYPE) /BEV2/S_CS_HD EMCS Prozess: Kopfdaten 20100607
2 Exporting ET_BP Call by reference Type reference (TYPE) /BEV2/T_CS_BP EMCS Prozess: Partner 20100607
3 Exporting ET_DEV Call by reference Type reference (TYPE) /BEV2/T_CS_DEV EMCS Prozess: Informationen über Abweichungen 20100610
4 Exporting ET_DOCS Call by reference Type reference (TYPE) /BEV2/T_CS_DOCS EMCS Prozess: Dokumente 20100607
5 Exporting ET_HDT Call by reference Type reference (TYPE) /BEV2/T_CS_HDT EMCS Prozess: Texte zu Kopfdaten 20100607
6 Exporting ET_IT Call by reference Type reference (TYPE) /BEV2/T_CS_IT EMCS Prozess: Positionen 20100607
7 Exporting ET_ITT Call by reference Type reference (TYPE) /BEV2/T_CS_ITT EMCS Prozess: Texte zu Positionen 20100607
8 Exporting ET_MKPF Call by reference Type reference (TYPE) MB_MKPF Tabellentyp für mkpf 20101006
9 Exporting ET_MSEG Call by reference Type reference (TYPE) TY_MSEG 20100610
10 Exporting ET_MSEGARC Call by reference Type reference (TYPE) /BEV2/T_CS_MSEGARC EMCS Prozess: ARC in Materialbelegpositionen 20100607
11 Exporting ET_MSG Call by reference Type reference (TYPE) /BEV2/T_CS_MSG EMCS Prozess: Nachrichten 20100607
12 Exporting ET_PACK Call by reference Type reference (TYPE) /BEV2/T_CS_PACK EMCS Prozess: Verpackungsinformationen 20100607
13 Exporting ET_TRANS Call by reference Type reference (TYPE) /BEV2/T_CS_TRANS EMCS Prozess: Transportdetails 20100607
14 Importing IV_EMCS_NO Call by reference Type reference (TYPE) /BEV2/CS_EMCSNR EMCS Vorgangsnummer 20100607
# Exception Resumable Description Created on
1 /BEV2/CX_CS_EMCS Exceptions for EMCS process 20100607

Method GET_EDART_BUKRS_EDSLAGER_BUDAT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_BUDAT Call by reference Type reference (TYPE) DATS Buchungsdatum 20100615
2 Exporting EV_BUKRS Call by reference Type reference (TYPE) BUKRS Buchungskreis 20100615
3 Exporting EV_EDART Call by reference Type reference (TYPE) /BEV2/EDART Art Verbrauchsteuer 20100615
4 Exporting EV_EDSLAGER Call by reference Type reference (TYPE) /BEV2/EDSLAGER Steuerlagerbezeichnung 20100615
5 Exporting EV_PLANT Call by reference Type reference (TYPE) WERKS_D Werk 20100615
6 Exporting EV_STOR_LOC Call by reference Type reference (TYPE) LGORT_D Lagerort 20100615
7 Importing IV_EMCS_NO Call by reference Type reference (TYPE) /BEV2/CS_EMCSNR EMCS Vorgangsnummer 20100615
# Exception Resumable Description Created on
1 /BEV2/CX_CS_EMCS Exceptions for EMCS process 20100615

Method GET_EMCS_NUMBER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning R_EMCS_NO Value transfer Type reference (TYPE) /BEV2/CS_EMCSNR EMCS Vorgangsnummer 20100531
# Exception Resumable Description Created on
1 /BEV2/CX_CS_EMCS Exceptions for EMCS process 20100601

Method GET_REF_TO_EMCS_DOC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_EMCS_NO Call by reference Type reference (TYPE) /BEV2/CS_EMCSNR EMCS Vorgangsnummer 20100608
2 Returning RR_EMCS_DOC Value transfer Object reference (TYPE REF TO) /BEV2/CL_CS_EMCS_DOC EMCS-Doc data 20100608
# Exception Resumable Description Created on
1 /BEV2/CX_CS_EMCS Exceptions for EMCS process 20100625

Method GET_REF_TO_MM_DOC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_EMCS_NO Call by reference Type reference (TYPE) /BEV2/CS_EMCSNR EMCS Vorgangsnummer 20100608
2 Returning RR_MM_DOC Value transfer Object reference (TYPE REF TO) /BEV2/CL_CS_MM_DOC MM-DOC EMCS additional data 20100608
# Exception Resumable Description Created on
1 /BEV2/CX_CS_EMCS Exceptions for EMCS process 20100608

Method GTS_2_ERP_AAD_CANCEL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_ARCNO Call by reference Type reference (TYPE) /BEV2/CS_ARC EMC: Referenzcode des e-VD 20100608
2 Importing IV_CANCEL_REASON Call by reference Type reference (TYPE) /BEV2/CS_CANCEL_REASON EMC: Stornogrund 20100608
# Exception Resumable Description Created on
1 /BEV2/CX_CS_EMCS Exceptions for EMCS process 20100608

Method GTS_2_ERP_AAD_NOTIFY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_ARCNO Call by reference Type reference (TYPE) /BEV2/CS_ARC EMC: Referenzcode des e-VD 20100608
2 Importing IV_EMCS_NO Call by reference Type reference (TYPE) /BEV2/CS_EMCSNR EMCS Vorgangsnummer 20100608
# Exception Resumable Description Created on
1 /BEV2/CX_CS_EMCS Exceptions for EMCS process 20100608

Method GTS_2_ERP_AAD_REP_OF_RECEIPT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_HD Call by reference Type reference (TYPE) /BEV2/S_CS_HD 20100608
2 Importing IT_DEV Call by reference Type reference (TYPE) /BEV2/T_CS_DEV 20100611
3 Importing IT_HDT Call by reference Type reference (TYPE) /BEV2/T_CS_HDT 20100608
4 Importing IT_ITT Call by reference Type reference (TYPE) /BEV2/T_CS_ITT 20100608
5 Importing IT_IT_ROR Call by reference Type reference (TYPE) /BEV2/T_CS_IT_ROR GTS Kommunikation: Positionsdaten Rückmeldung 20100616
6 Importing IV_EMCS_NO Call by reference Type reference (TYPE) /BEV2/CS_EMCSNR 20100608
# Exception Resumable Description Created on
1 /BEV2/CX_CS_EMCS Exceptions for EMCS process 20100608

Method GTS_2_ERP_AAD_VALIDATED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_HD Call by reference Type reference (TYPE) /BEV2/S_CS_HD EMCS Prozess: Kopfdaten 20100608
2 Importing IT_BP Call by reference Type reference (TYPE) /BEV2/T_CS_BP EMCS Prozess: Partner 20100608
3 Importing IT_DOCS Call by reference Type reference (TYPE) /BEV2/T_CS_DOCS EMCS Prozess: Dokumente 20100608
4 Importing IT_HDT Call by reference Type reference (TYPE) /BEV2/T_CS_HDT EMCS Prozess: Texte zu Kopfdaten 20100608
5 Importing IT_IT Call by reference Type reference (TYPE) /BEV2/T_CS_IT EMCS Prozess: Positionen 20100608
6 Importing IT_ITT Call by reference Type reference (TYPE) /BEV2/T_CS_ITT EMCS Prozess: Texte zu Positionen 20100608
7 Importing IT_PACK Call by reference Type reference (TYPE) /BEV2/T_CS_PACK EMCS Prozess: Verpackungsinformationen 20100608
8 Importing IT_TRANS Call by reference Type reference (TYPE) /BEV2/T_CS_TRANS EMCS Prozess: Transportdetails 20100608

Method GTS_2_ERP_AAD_VALIDATED on class /BEV2/CL_CS_EMCS has no exception.

Method PREPARE_GTS_COMHEAD_STRUC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_COMHEAD Call by reference Type reference (TYPE) /BEV2/S_CS_COMHEAD GTS Kommunikation: Kopfdaten 20100616
2 Exporting ET_COMPART Call by reference Type reference (TYPE) /BEV2/T_CS_COMPART GTS Kommunikation: Parterdaten 20100616
3 Exporting ET_COMTEXT_HD Call by reference Type reference (TYPE) /BEV2/T_CS_COMTEXT_HD GTS Kommunikation: Kopftexte 20100916
4 Exporting EV_TAX_WAREHOUSE Call by reference Type reference (TYPE) /BEV2/EDSLAGER Steuerlagerzulassung 20101105
5 Importing IS_MKPF Call by reference Type reference (TYPE) MKPF Belegkopf Materialbeleg 20100616
6 Importing IS_MSEG Call by reference Type reference (TYPE) MSEG Belegsegment Material 20100616
7 Importing IV_EMCSNR Call by reference Type reference (TYPE) /BEV2/CS_EMCSNR EMCS Vorgangsnummer 20100618
# Exception Resumable Description Created on
1 /BEV2/CX_CS_EMCS Exceptions for EMCS process 20100616

Method PREPARE_GTS_COMITEM_STRUC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_COMHEAD Call by reference Type reference (TYPE) /BEV2/S_CS_COMHEAD GTS Kommunikation: Kopfdaten 20100811
2 Exporting ET_COMITEM Call by reference Type reference (TYPE) /BEV2/T_CS_COMITEM GTS Kommunikation: Positionsdaten 20100616
3 Exporting ET_COMWINEOP Call by reference Type reference (TYPE) /BEV2/T_CS_COMWINEOP GTS Kommunikation: Weinbehandlung 20100616
4 Importing IS_MKPF Call by reference Type reference (TYPE) MKPF Belegkopf Materialbeleg 20100616
5 Importing IT_MSEG Call by reference Type reference (TYPE) TY_MSEG 20100616
6 Importing IT_VM07M Call by reference Type reference (TYPE) TY_T_VM07M Tabelle mit der Struktur VM07M 20101004
# Exception Resumable Description Created on
1 /BEV2/CX_CS_EMCS Exceptions for EMCS process 20100616

Method PREPARE_GTS_COMPART_CUSTOMER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_COMPART Call by reference Type reference (TYPE) /BEV2/S_CS_COMPART GTS Kommunikation: Parterdaten 20100617
2 Exporting ES_EDWEMPF Call by reference Type reference (TYPE) /BEV2/S_CS_EDWEMPF VB Stammsatz Warenempfänger 20100617
3 Importing IV_BUKRS Call by reference Type reference (TYPE) BUKRS Buchungskreis 20100617
4 Importing IV_DATE Call by reference Type reference (TYPE) DATS Feld vom Typ DATS 20100617
5 Importing IV_EDART Call by reference Type reference (TYPE) /BEV2/EDART Art Verbrauchsteuer 20100617
6 Importing IV_EDSLAGER Call by reference Type reference (TYPE) /BEV2/EDSLAGER Steuerlagerbezeichnung 20100617
7 Importing IV_EMCS_NO Call by reference Type reference (TYPE) /BEV2/CS_EMCSNR EMCS Vorgangsnummer 20100617
8 Importing IV_KUNNR Call by reference Type reference (TYPE) KUNNR Debitorennummer 1 20100617

Method PREPARE_GTS_COMPART_CUSTOMER on class /BEV2/CL_CS_EMCS has no exception.

Method PREPARE_GTS_COMPART_PLANT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_COMPART Call by reference Type reference (TYPE) /BEV2/S_CS_COMPART GTS Kommunikation: Parterdaten 20100617
2 Importing IV_BUKRS Call by reference Type reference (TYPE) BUKRS Buchungskreis 20100617
3 Importing IV_DATE Call by reference Type reference (TYPE) DATS Feld vom Typ DATS 20100617
4 Importing IV_EDART Call by reference Type reference (TYPE) /BEV2/EDART Art Verbrauchsteuer 20100617
5 Importing IV_EDSLAGER Call by reference Type reference (TYPE) /BEV2/EDSLAGER Steuerlagerbezeichnung 20100617
6 Importing IV_EMCS_NO Call by reference Type reference (TYPE) /BEV2/CS_EMCSNR EMCS Vorgangsnummer 20100617
7 Importing IV_PLANT Call by reference Type reference (TYPE) WERKS_D Werk 20100617
8 Importing IV_STOR_LOC Call by reference Type reference (TYPE) LGORT_D Lagerort 20100617
# Exception Resumable Description Created on
1 /BEV2/CX_CS_EMCS Exceptions for EMCS process 20100617

Method PREPARE_GTS_COMPART_SUPPLIER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_COMPART Call by reference Type reference (TYPE) /BEV2/S_CS_COMPART GTS Kommunikation: Parterdaten 20100617
2 Exporting ES_EDLIEFT Call by reference Type reference (TYPE) /BEV2/S_CS_EDLIEFT VB Stammsatz Lieferant 20100617
3 Importing IV_BUKRS Call by reference Type reference (TYPE) BUKRS Buchungskreis 20100617
4 Importing IV_DATE Call by reference Type reference (TYPE) DATS Feld vom Typ DATS 20100617
5 Importing IV_EDART Call by reference Type reference (TYPE) /BEV2/EDART Art Verbrauchsteuer 20100617
6 Importing IV_EDSLAGER Call by reference Type reference (TYPE) /BEV2/EDSLAGER Steuerlagerbezeichnung 20100617
7 Importing IV_EMCS_NO Call by reference Type reference (TYPE) /BEV2/CS_EMCSNR EMCS Vorgangsnummer 20100617
8 Importing IV_LIFNR Call by reference Type reference (TYPE) LIFNR Kontonummer des Lieferanten bzw. Kreditors 20100617

Method PREPARE_GTS_COMPART_SUPPLIER on class /BEV2/CL_CS_EMCS has no exception.

Method PREPARE_GTS_COMREF_STRUC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_EMCS_NO Call by reference Type reference (TYPE) /BEV2/CS_EMCSNR EMCS Vorgangsnummer 20100609
2 Returning RS_COMREF Value transfer Type reference (TYPE) /BEV2/S_CS_COMREF GTS Kommunikation: Referenzdaten 20100609

Method PREPARE_GTS_COMREF_STRUC on class /BEV2/CL_CS_EMCS has no exception.

Method READ_ED_CORRECTION_DOCS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_ED_CORR_DOCS Call by reference Type reference (TYPE) /BEV2/T_CS_EDMSE VBS Belegdaten 20100802
2 Importing IV_EMCS_NO Call by reference Type reference (TYPE) /BEV2/CS_EMCSNR EMCS Vorgangsnummer 20100802

Method READ_ED_CORRECTION_DOCS on class /BEV2/CL_CS_EMCS has no exception.

Method READ_RETURN_MM_DOCS_FOR_PROC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_RET_MM Call by reference Type reference (TYPE) /BEV2/T_CS_RET_MM_DOC Zuordnung eines retouren MM-Belegs zu einem ARC 20100803
2 Importing IV_EMCS_NO Call by reference Type reference (TYPE) /BEV2/CS_EMCSNR EMCS Vorgangsnummer 20100803
3 Importing IV_MBLNR Call by reference Type reference (TYPE) /BEV2/S_CS_MSEGARC-MBLNR 20100803
4 Importing IV_MJAHR Call by reference Type reference (TYPE) /BEV2/S_CS_MSEGARC-MJAHR Materialbelegjahr 20100803

Method READ_RETURN_MM_DOCS_FOR_PROC on class /BEV2/CL_CS_EMCS has no exception.

Method RESUBMIT_UNCANCELLED_ITEMS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_MSEGARC Call by reference Type reference (TYPE) /BEV2/T_CS_MSEGARC EMCS Prozess: ARC in Materialbelegpositionen 20101001
2 Importing IV_TIMESTAMP Call by reference Type reference (TYPE) TIMESTAMP UTC-Zeitstempel in Kurzform (JJJJMMTThhmmss) 20101001

Method RESUBMIT_UNCANCELLED_ITEMS on class /BEV2/CL_CS_EMCS has no exception.

Method SAVE_ARC_MSEG_KEY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_ARCNO Call by reference Type reference (TYPE) /BEV2/CS_ARC EMC: Referenzcode des e-VD 20100607
2 Importing IV_EMCS_NO Call by reference Type reference (TYPE) /BEV2/CS_EMCSNR EMCS Vorgangsnummer 20100607
# Exception Resumable Description Created on
1 /BEV2/CX_CS_EMCS Exceptions for EMCS process 20100607

Method SAVE_ASSIGN_ARC_MM_DOC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_RET_MM Call by reference Type reference (TYPE) /BEV2/T_CS_RET_MM_DOC 20100802
2 Importing IV_EMCS_NO Call by reference Type reference (TYPE) /BEV2/CS_EMCSNR EMCS Vorgangsnummer 20100802

Method SAVE_ASSIGN_ARC_MM_DOC on class /BEV2/CL_CS_EMCS has no exception.

Method SAVE_MSEG_KEY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_MSEG Call by reference Type reference (TYPE) TY_MSEG 20100614
2 Importing IV_EMCSNR Call by reference Type reference (TYPE) /BEV2/CS_EMCSNR EMCS Vorgangsnummer 20100614
3 Importing IV_TIMESTAMP Call by reference Type reference (TYPE) TIMESTAMP UTC-Zeitstempel in Kurzform (JJJJMMTThhmmss) 20100614
# Exception Resumable Description Created on
1 /BEV2/CX_CS_EMCS Exceptions for EMCS process 20100614

Method SAVE_SUBMITTED_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_COMHEAD Call by reference Type reference (TYPE) /BEV2/S_CS_COMHEAD GTS Kommunikation: Kopfdaten 20100616
2 Importing IS_MKPF Call by reference Type reference (TYPE) MKPF Belegkopf Materialbeleg 20100616
3 Importing IT_COMDOCS Call by reference Type reference (TYPE) /BEV2/T_CS_COMDOCS GTS Kommunikation: Dokumente 20100616
4 Importing IT_COMITEM Call by reference Type reference (TYPE) /BEV2/T_CS_COMITEM GTS Kommunikation: Positionsdaten 20100616
5 Importing IT_COMITEM_REF Call by reference Type reference (TYPE) /BEV2/T_CS_COMITEM_REF GTS Kommunikation: Referenzen zu Positionen 20100616
6 Importing IT_COMPACK Call by reference Type reference (TYPE) /BEV2/T_CS_COMPACK GTS Kommunikation: Verpackungsinformation 20100616
7 Importing IT_COMPART Call by reference Type reference (TYPE) /BEV2/T_CS_COMPART GTS Kommunikation: Parterdaten 20100616
8 Importing IT_COMREF Call by reference Type reference (TYPE) /BEV2/T_CS_COMREF GTS Kommunikation: Referenzdaten 20100616
9 Importing IT_COMTEXT_HD Call by reference Type reference (TYPE) /BEV2/T_CS_COMTEXT_HD GTS Kommunikation: Kopftexte 20100616
10 Importing IT_COMTEXT_IT Call by reference Type reference (TYPE) /BEV2/T_CS_COMTEXT_IT GTS Kommunikation: Positionstexte 20100616
11 Importing IT_COMTRANS Call by reference Type reference (TYPE) /BEV2/T_CS_COMTRANS GTS Kommunikation: Transportdaten 20100616
12 Importing IT_COMWINEOP Call by reference Type reference (TYPE) /BEV2/T_CS_COMWINEOP GTS Kommunikation: Weinbehandlung 20100616
13 Importing IT_MSEG Call by reference Type reference (TYPE) TY_MSEG 20100616
14 Importing IV_TAX_WAREHOUSE Call by reference Type reference (TYPE) /BEV2/EDSLAGER Steuerlagerzulassung 20101105
15 Importing IV_TIMESTAMP Call by reference Type reference (TYPE) TIMESTAMP UTC-Zeitstempel in Kurzform (JJJJMMTThhmmss) 20100616

Method SAVE_SUBMITTED_DATA on class /BEV2/CL_CS_EMCS has no exception.

Method SET_STATUS_COMPLETED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_COMPLETED Call by reference Type reference (TYPE) ABAP_BOOL = ABAP_TRUE wenn Prozess auf abgeschlossen gesetz wird 20101026
2 Importing IV_EMCS_NO Call by reference Type reference (TYPE) /BEV2/CS_EMCSNR 20100630
# Exception Resumable Description Created on
1 /BEV2/CX_CS_EMCS Exceptions for EMCS process 20100630
History
Last changed by/on SAP  20130531 
SAP Release Created in 606