SAP ABAP Class /DSD/CL_EMSE_BADI_HELPER_SL (Helper class for internal BAdI for Route Settlement)
Hierarchy
EA-APPL (Software Component) SAP Enterprise Extension PLM, SCM, Financials
   LE-DSD (Application Component) Direct Store Delivery
     /DSD/EMSE (Package) Direct Store Delivery: Add-on Development for FBS SAP DSD
Properties
Class /DSD/CL_EMSE_BADI_HELPER_SL  
Short Description Helper class for internal BAdI for Route Settlement    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package /DSD/EMSE   Direct Store Delivery: Add-on Development for FBS SAP DSD 
Created 20130723   SAP 
Last change 20131127   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 /DSD/CL_EMSE_BADI_HELPER_SL has no interface implemented.
Friends
Class /DSD/CL_EMSE_BADI_HELPER_SL has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GC_FIELD_ALREADY_PROCESSED Constant Public Type reference (TYPE) FIELDNAME '/EMSE/ALREADY_PROCESSED' Field Name 20130826
2 GC_FIELD_PRES_PROCSTAT Constant Public Type reference (TYPE) FIELDNAME '/EMSE/PRES_PROCSTAT' Field Name 20130826
3 GC_FIELD_SOURCE_SHIPMENT Constant Public Type reference (TYPE) FIELDNAME '/EMSE/SOURCE_SHIPMENT' Field Name 20130826
4 GC_FIELD_SOURCE_VISITLIST Constant Public Type reference (TYPE) FIELDNAME '/EMSE/SOURCE_VISITLIST' Field Name 20130826
5 GC_FIELD_UNIQUE_VISIT_ID Constant Public Type reference (TYPE) FIELDNAME '/EMSE/UNIQUE_VISIT_ID' Field Name 20131023
6 GC_FIELD_UPLOAD_STATUS Constant Public Type reference (TYPE) FIELDNAME '/EMSE/UPLOAD_STATUS' Field Name 20130826
7 SR_BINDING Static Attribute Public Object reference (TYPE REF TO) /DSD/IF_EMSE_GENERIC_BADI=>TS_BINDING Data reference for binding 20130826
8 SS_BINDING Static Attribute Public Type reference (TYPE) /DSD/IF_EMSE_GENERIC_BADI=>TS_BINDING Binding structure 20130826
9 SS_EXECUTE_VALUES Static Attribute Public Type reference (TYPE) TS_PARAMETER 20130826
10 SS_MESSAGE Static Attribute Public Type reference (TYPE) BAPIRET2 Return Parameter 20130826
11 ST_ARC_STATUS Static Attribute Public Type reference (TYPE) TT_STATUS 20130826
12 ST_ARC_STATUS_H Static Attribute Public Type reference (TYPE) TT_STATUS_H 20130826
13 ST_ASSIGNMENTS Static Attribute Public Type reference (TYPE) /DSD/SL_VISITS_DELIVERY_CUST_T Assignment Delivery - Customer Visit ID 20130826
14 ST_BINDING Static Attribute Public Type reference (TYPE) /DSD/IF_EMSE_GENERIC_BADI=>TT_BINDING Binding table 20130826
15 ST_CUSTOMER_VISIT_HEADER Static Attribute Public Type reference (TYPE) /DSD/HH_RACVHD_S_TT Table Type Customer Visit 20130826
16 ST_CUSTOMER_VISIT_HEADER_NEW Static Attribute Public Type reference (TYPE) /DSD/HH_RACVHD_S_TT Table Type Customer Visit 20130826
17 ST_RADELHD Static Attribute Public Type reference (TYPE) /DSD/HH_RADELHD_S_TT Table Type Outbound Delivery Header 20130826
18 ST_TOUR_HEADER_OLD Static Attribute Public Type reference (TYPE) /DSD/HH_RAHD_S_TT Table Type Tour Header 20130826
19 ST_VTTP_NOT_PROCESSED Static Attribute Public Type reference (TYPE) TAB_VTTP 20130826
20 SV_BADI_ACTIVE Static Attribute Public Type reference (TYPE) ABAP_BOOL SPACE BAdI implemented 20130826
21 SV_ERROR_CODE Static Attribute Public Type reference (TYPE) SYSUBRC Return Value of ABAP Statements 20130826
22 SV_INTERNAL_ERROR Static Attribute Public Type reference (TYPE) ABAP_BOOL Internal error 20130826
23 SV_IS_EMSE_PROCESS Static Attribute Public Type reference (TYPE) ABAP_BOOL Is SUP process 20130826
24 SV_PARTIAL_UPLOAD Static Attribute Public Type reference (TYPE) ABAP_BOOL SPACE EMSE partial upload flag 20130826
25 SV_RETURN_VALUE Static Attribute Public Type reference (TYPE) STRING Return value 20130826
Methods
# Method Level Visibility Method type Description Created on
1 BADI_DETERMINE_DOCMAP Static method Public Method BAdI /DSD/SL_FSR_DEFFMT_P: Definition of a Specific Mapping 20130826
2 BADI_ORDHDR_CHANGE Static method Public Method BAdI /DSD/SL_FSR_DEFFMT_P: Specific Data Order Header 20130826
3 BADI_ORDHDR_CHANGE_UNCHANGED Static method Public Method BAdI /DSD/SL_FSR_DEFFMT_P: Data Order HDR in Unchang. Order 20130826
4 BADI_ORDITM_CHANGE Static method Public Method BAdI /DSD/SL_FSR_DEFFMT_P: Specific Data Order Item 20130826
5 DRVD_AUART_VWPOS_LFART Static method Public Method Set auart, vwpos and lfart for SL Run Driver Documents 20130826
6 DRVD_CSTA_TYPE_DRV Static method Public Method Change Customer Sales Transaction Type for SL Run Driver Doc 20130826
7 EXECUTE Static method Public Method Execute 20130826
8 GET_BADI Static method Public Method Get BAdI instance for Route Settlement 20130826
9 GET_INDICATOR Static method Public Method Get application type indicator 20130826
10 GET_REFERENCES Static method Public Method Set bindings 20130826
11 SET_CONTENT Static method Public Method Set/reset content 20130826
12 SET_INDICATOR Static method Public Method Set application type indicator 20130826
13 SET_REFERENCES Static method Public Method Set bindings 20130826
Events
Class /DSD/CL_EMSE_BADI_HELPER_SL has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TS_PARAMETER Public See coding 20130826 BEGIN OF ts_parameter, tour_id TYPE /dsd/hh_tour_id, driver TYPE /dsd/rp_driver1, tknum TYPE tknum, upload_status TYPE numc1, subrc TYPE sysubrc, flag TYPE abap_bool, END OF ts_parameter
2 TT_STATUS Public See coding 20130826 TT_STATUS TYPE STANDARD TABLE OF /dsd/st_status
3 TT_STATUS_H Public See coding 20130826 TT_STATUS_H TYPE STANDARD TABLE OF /dsd/st_status_h
Method Signatures

Method BADI_DETERMINE_DOCMAP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_ITEM Call by reference Type reference (TYPE) /DSD/SL_FSR_DELFFMT_ITEM_S DSD Final Settlement Run - Delivery Execution: Item Data 20130826
2 Changing CT_MAIN_DOC_DUE_LIST Call by reference Type reference (TYPE) /DSD/SL_FSR_DELFFMT_DOC_MAP_T DSD Final Settlement Run: Worklist Document Mapping 20130826
3 Changing CV_CREATE_DOC Call by reference Type reference (TYPE) /DSD/SL_CRT_NEW_ORD DSD-RA: Create New Orders (Presales) 20130826
4 Importing IS_CSTAMAP Call by reference Type reference (TYPE) /DSD/SL_TCSTAMAP Mapping Customer Sales Transactions R/3 20130826
5 Importing IS_DEL_HEAD Call by reference Type reference (TYPE) /DSD/SL_FSR_DELFFMT_DEL_HEADER Delivery header 20130826
6 Importing IS_DEL_ITEM Call by reference Type reference (TYPE) /DSD/SL_FSR_DELFFMT_DEL_ITEM Delivery item 20130826
7 Importing IS_DUE_LIST_ENTRY Call by reference Type reference (TYPE) /DSD/SL_FSR_DELFFMT_DUE_LIST_S Current Entry from Worklist 20130826
8 Importing IS_HEADER_TO_CREATE Call by reference Type reference (TYPE) /DSD/SL_FSR_DELFFMT_DOC_CREA_S DSD Final Settlement Run - Del. Execution: Display Documents 20130826
9 Importing IS_HEADER_TO_UPDATE Call by reference Type reference (TYPE) /DSD/SL_FSR_DELFFMT_DOC_EXT_S DSD Final Settlement Run - Del. Execut.; Docs to Be Extended 20130826
10 Importing IS_MAIN Call by reference Type reference (TYPE) /DSD/SL_FSR_DELFFMT_DOC_MAP_S DSD Final Settlement Run: Worklist Document Mapping 20130826
11 Importing IS_RACAD Call by reference Type reference (TYPE) /DSD/HH_RACAD_S Customer Data (One-Time Customers) 20130826
12 Importing IS_RACVHD Call by reference Type reference (TYPE) /DSD/HH_RACVHD_S Current Visit Data 20130826
13 Importing IS_RADELHD Call by reference Type reference (TYPE) /DSD/HH_RADELHD_S Delivery Execution: Header Data 20130826
14 Importing IS_RADELIT Call by reference Type reference (TYPE) /DSD/HH_RADELIT_S Delivery Execution: Item Data 20130826
15 Importing IV_FSR_PROCNO Call by reference Type reference (TYPE) /DSD/SL_FSR_PROCNO DSD: Number of Final Settlement Run 20130826
# Exception Resumable Description Created on
1 DO_NOT_PROCESS_ENTRY Processing Error: Entry Not Processed 20130826

Method BADI_ORDHDR_CHANGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_VBAKKOM Call by reference Type reference (TYPE) VBAKKOM Communication Fields for Maintaining the SD Doc.Header 20130826
2 Changing CS_VBAKKOMX Call by reference Type reference (TYPE) VBAKKOMX Checkbox List for Maintaining the Sales Document Header 20130826
3 Changing CT_VBPAKOM Call by reference Type reference (TYPE) /DSD/SL_FSR_VBPAKOM_TT DSD Final Settlement Run Partner Data for Sales Order 20130826
4 Importing IS_HEADER Call by reference Type reference (TYPE) /DSD/SL_FSR_DELFFMT_DOC_CREA_S Header Data for Documents to Be Created 20130826
5 Importing IV_FSR_PROCNO Call by reference Type reference (TYPE) /DSD/SL_FSR_PROCNO DSD: Number of Final Settlement Run 20130826
# Exception Resumable Description Created on
1 EXC_RAISE_ERROR Identify Current Order as Incorrect 20130826
2 EXC_SKIP_ENTRY Do Not Send Entry to Order Creation 20130826

Method BADI_ORDHDR_CHANGE_UNCHANGED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_VBAKKOM Call by reference Type reference (TYPE) VBAKKOM Communication Fields for Maintaining the SD Doc.Header 20130826
2 Changing CS_VBAKKOMX Call by reference Type reference (TYPE) VBAKKOMX Checkbox List for Maintaining the Sales Document Header 20130826
3 Changing CT_XVBPA Call by reference Type reference (TYPE) VBPAVB_TAB Table Type for VBPAVB: Partner 20130826
4 Importing IS_HEADER Call by reference Type reference (TYPE) /DSD/SL_FSR_DELFFMT_DOC_EXT_S DSD Final Settlement Run - Del. Execut.; Docs to Be Extended 20130826
5 Importing IV_FSR_PROCNO Call by reference Type reference (TYPE) /DSD/SL_FSR_PROCNO DSD: Number of Final Settlement Run 20130826
# Exception Resumable Description Created on
1 EXC_RAISE_ERROR Flag current order as incorrect 20130826
2 EXC_SKIP_ENTRY Do not change order 20130826

Method BADI_ORDITM_CHANGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_VBAPKOM Call by reference Type reference (TYPE) VBAPKOM Communication Fields for Maintaining SD Document Items 20130826
2 Changing CS_VBEPKOM Call by reference Type reference (TYPE) VBEPKOM Communication Fields for Maintaining SD Doc. Schedule Lines 20130826
3 Importing IS_ITEM Call by reference Type reference (TYPE) /DSD/SL_FSR_DELFFMT_ITEM_S DSD Final Settlement Run - Delivery Execution: Item Data 20130826
4 Importing IS_KUAGV Call by reference Type reference (TYPE) KUAGV Sold-to Party View of the Customer Master Record 20130826
5 Importing IS_KURGV Call by reference Type reference (TYPE) KURGV Payer's View on Customer Master Record 20130826
6 Importing IS_KUWEV Call by reference Type reference (TYPE) KUWEV Ship-to Party's View of the Customer Master Record 20130826
7 Importing IS_VBAKKOM Call by reference Type reference (TYPE) VBAKKOM Communication Fields for Maintaining the SD Doc.Header 20130826
8 Importing IV_FSR_PROCNO Call by reference Type reference (TYPE) /DSD/SL_FSR_PROCNO DSD: Number of Final Settlement Run 20130826
# Exception Resumable Description Created on
1 EXC_RAISE_ERROR Identify Current Order as Incorrect 20130826
2 EXC_SKIP_ENTRY Do Not Send Entry to Order Creation 20130826

Method DRVD_AUART_VWPOS_LFART Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CV_AUART_QDET Call by reference Type reference (TYPE) AUART Sales Document Type 20130826
2 Changing CV_LFART_QDET Call by reference Type reference (TYPE) LFART Delivery Type 20130826
3 Changing CV_VWPOS_QDET Call by reference Type reference (TYPE) VWPOS Item usage 20130826
4 Importing IS_DIFIAC Call by reference Type reference (TYPE) /DSD/SL_DIFIAC DSD Settlement: Interim Accounts 20130826
5 Importing IS_SLD_QBAL Call by reference Type reference (TYPE) /DSD/SL_SLD_QBAL Settlement Document: Quantity Differences 20130826
6 Importing IS_SLD_QDET Call by reference Type reference (TYPE) /DSD/SL_SLD_QDET Settlement Document: Quantity Differences, Diff. Reasons 20130826
7 Importing IV_CSTATYPE Call by reference Type reference (TYPE) /DSD/SL_CS_TA_TYPE DSD Route Settlement: Customer Sales Transaction Type 20130826
8 Importing IV_CSTATYPE_BEFORE Call by reference Type reference (TYPE) /DSD/SL_CS_TA_TYPE DSD Route Settlement: Customer Sales Transaction Type 20130826
9 Importing IV_DRIVER_DOC_PHASE Call by reference Type reference (TYPE) /DSD/IF_EMSE_SL_BADI=>TV_DRIVER_DOC_PHASE_SELECT 20130826

Method DRVD_AUART_VWPOS_LFART on class /DSD/CL_EMSE_BADI_HELPER_SL has no exception.

Method DRVD_CSTA_TYPE_DRV Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CV_CSTATYPE Call by reference Type reference (TYPE) /DSD/SL_CS_TA_TYPE DSD Route Settlement: Customer Sales Transaction Type 20130826
2 Changing CV_CSTATYPE_BEFORE Call by reference Type reference (TYPE) /DSD/SL_CS_TA_TYPE DSD Route Settlement: Customer Sales Transaction Type 20130826
3 Importing IS_SLD_HEAD Call by reference Type reference (TYPE) /DSD/SL_SLD_HEAD Settlement Document Header 20130826
4 Importing IS_SLD_QDET Call by reference Type reference (TYPE) /DSD/SL_SLD_QDET Settlement Document: Quantity Differences, Diff. Reasons 20130826

Method DRVD_CSTA_TYPE_DRV on class /DSD/CL_EMSE_BADI_HELPER_SL has no exception.

Method EXECUTE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_COMMAND Call by reference Type reference (TYPE) UI_FUNC Function Code 20130826

Method EXECUTE on class /DSD/CL_EMSE_BADI_HELPER_SL has no exception.

Method GET_BADI Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RR_SL_BADI Value transfer Object reference (TYPE REF TO) /DSD/EMSE_SL_BADI 20130826

Method GET_BADI on class /DSD/CL_EMSE_BADI_HELPER_SL has no exception.

Method GET_INDICATOR Signature

Method GET_INDICATOR on class /DSD/CL_EMSE_BADI_HELPER_SL has no parameter.
Method GET_INDICATOR on class /DSD/CL_EMSE_BADI_HELPER_SL has no exception.

Method GET_REFERENCES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_FLT_VAL Call by reference Type reference (TYPE) STRING Attribute name 20130826

Method GET_REFERENCES on class /DSD/CL_EMSE_BADI_HELPER_SL has no exception.

Method SET_CONTENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_FLT_VAL Call by reference Type reference (TYPE) STRING Binding name 20130826

Method SET_CONTENT on class /DSD/CL_EMSE_BADI_HELPER_SL has no exception.

Method SET_INDICATOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_PARTIAL_UPLOAD Call by reference Type reference (TYPE) CHAR1 EMSE partial upload indicator 20130826

Method SET_INDICATOR on class /DSD/CL_EMSE_BADI_HELPER_SL has no exception.

Method SET_REFERENCES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_BINDINGS Call by reference Type reference (TYPE) /DSD/IF_EMSE_GENERIC_BADI=>TT_BINDING Bindings 20130826
2 Importing IV_FLT_VAL Call by reference Type reference (TYPE) STRING Attribute name 20130826

Method SET_REFERENCES on class /DSD/CL_EMSE_BADI_HELPER_SL has no exception.
History
Last changed by/on SAP  20131127 
SAP Release Created in