SAP ABAP Class CL_SLS_SOC_CONTEXT (Sales Order Context)
Hierarchy
☛
SAP_APPL (Software Component) Logistics and Accounting
⤷
SD-SLS-ES (Application Component) Enterprise Services in Sales
⤷
OPS_SE_SLS (Package) Service Enabling for Sales
⤷
⤷
Properties
| Class | CL_SLS_SOC_CONTEXT | |
| Short Description | Sales Order Context | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | OPS_SE_SLS | Service Enabling for Sales |
| Created | 20090316 | SAP |
| Last change | 20110908 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_SLS_SOC_CONTEXT has no forward declaration.
Interfaces
Class CL_SLS_SOC_CONTEXT has no interface implemented.
Friends
Class CL_SLS_SOC_CONTEXT has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Static Attribute | Public | Object reference (TYPE REF TO) | CL_SLS_SOC_CONTEXT | 20090326 | ||||
| 2 | Instance attribute | Private | Type reference (TYPE) | RV45A | Data Fields for SAPMV45A | 20090324 | |||
| 3 | Instance attribute | Private | Type reference (TYPE) | VBAK | Sales Document: Header Data | 20090319 | |||
| 4 | Instance attribute | Private | Type reference (TYPE) | VBAK | Sales Document: Header Data | 20090319 | |||
| 5 | Instance attribute | Private | Type reference (TYPE) | VA_FPLAVB_T | Table for structure FPLAVB | 20090319 | |||
| 6 | Instance attribute | Private | Type reference (TYPE) | VA_FPLTVB_T | Table for structure FPLTVB | 20090319 | |||
| 7 | Instance attribute | Private | Type reference (TYPE) | TT_TEXTS | 20090330 | ||||
| 8 | Instance attribute | Private | Type reference (TYPE) | TT_TEXTS | 20090323 | ||||
| 9 | Instance attribute | Private | Type reference (TYPE) | VA_KOMV_T | Table for structure KOMV | 20090319 | |||
| 10 | Instance attribute | Private | Type reference (TYPE) | SHP_SADRVB_T | Addresses: Reference Table Type for XVBADR | 20090319 | |||
| 11 | Instance attribute | Private | Type reference (TYPE) | VA_VBAPVB_T | Table for structure VBAPVB | 20090319 | |||
| 12 | Instance attribute | Private | Type reference (TYPE) | VA_VBAPF_T | Table for Structure VBAPF | 20090319 | |||
| 13 | Instance attribute | Private | Type reference (TYPE) | VA_VBEPVB_T | Table for structure VBEPVB | 20090319 | |||
| 14 | Instance attribute | Private | Type reference (TYPE) | VA_VBFAVB_T | Table for structure VBFAVB | 20090319 | |||
| 15 | Instance attribute | Private | Type reference (TYPE) | VA_VBKDVB_T | Table for structure VBKDVB | 20090319 | |||
| 16 | Instance attribute | Private | Type reference (TYPE) | VA_VBLBVB_T | Table type for structure VBLBVB | 20090319 | |||
| 17 | Instance attribute | Private | Type reference (TYPE) | VA_VBPAVB_T | Table for structure VBPAVB | 20090319 | |||
| 18 | Instance attribute | Private | Type reference (TYPE) | VA_VBUKVB_T | Table for structure VBUKBV | 20090319 | |||
| 19 | Instance attribute | Private | Type reference (TYPE) | VA_VBUPVB_T | Table for structure VBUPVB | 20090319 | |||
| 20 | Instance attribute | Private | Type reference (TYPE) | VA_VBUVVB_T | Table type for VBUVVB | 20091125 | |||
| 21 | Instance attribute | Private | Type reference (TYPE) | VA_FPLAVB_T | Table for structure FPLAVB | 20090319 | |||
| 22 | Instance attribute | Private | Type reference (TYPE) | VA_FPLTVB_T | Table for structure FPLTVB | 20090319 | |||
| 23 | Instance attribute | Private | Type reference (TYPE) | SHP_SADRVB_T | Addresses: Reference Table Type for XVBADR | 20090319 | |||
| 24 | Instance attribute | Private | Type reference (TYPE) | VA_VBAPVB_T | Table for structure VBAPVB | 20090319 | |||
| 25 | Instance attribute | Private | Type reference (TYPE) | VA_VBAPF_T | Table for Structure VBAPF | 20090319 | |||
| 26 | Instance attribute | Private | Type reference (TYPE) | VA_VBEPVB_T | Table for structure VBEPVB | 20090319 | |||
| 27 | Instance attribute | Private | Type reference (TYPE) | VA_VBFAVB_T | Table for structure VBFAVB | 20090319 | |||
| 28 | Instance attribute | Private | Type reference (TYPE) | VA_VBKDVB_T | Table for structure VBKDVB | 20090319 | |||
| 29 | Instance attribute | Private | Type reference (TYPE) | VA_VBLBVB_T | Table type for structure VBLBVB | 20090319 | |||
| 30 | Instance attribute | Private | Type reference (TYPE) | VA_VBPAVB_T | Table for structure VBPAVB | 20090319 | |||
| 31 | Instance attribute | Private | Type reference (TYPE) | VA_VBUKVB_T | Table for structure VBUKBV | 20090319 | |||
| 32 | Instance attribute | Private | Type reference (TYPE) | VA_VBUPVB_T | Table for structure VBUPVB | 20090319 | |||
| 33 | Instance attribute | Private | Type reference (TYPE) | TT_LORD_MAPS | Screen Sequence Control: Transaction Default Values | 20090324 | |||
| 34 | Instance attribute | Private | Type reference (TYPE) | TT_LORD_MAPS | 20090325 | ||||
| 35 | Instance attribute | Private | Type reference (TYPE) | T180 | Screen Sequence Control: Transaction Default Values | 20090319 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Constructor | CONSTRUCTOR | 20090316 | |
| 2 | Static method | Public | Method | Provide a Singleton Instance of Class CL_SLS_SOC_CONTEXT | 20090316 | |
| 3 | Instance method | Public | Method | Get Sales Order Data | 20090318 | |
| 4 | Instance method | Private | Method | Initialization of the Singleton Instance | 20090319 | |
| 5 | Instance method | Public | Method | Field Mapping Lord to Classic Data Base | 20090324 | |
| 6 | Instance method | Private | Method | Read Partner from DB VBPA | 20090330 | |
| 7 | Instance method | Public | Method | Read Sales Order from DB | 20090319 | |
| 8 | Instance method | Private | Method | Read Text from Buffer (Afeter Image) | 20090330 | |
| 9 | Static method | Public | Method | Deletes context | 20100113 | |
| 10 | Instance method | Public | Method | Transfer Sales Order Data from Buffer | 20090318 |
Events
Class CL_SLS_SOC_CONTEXT has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TT_LORD_MAPS | Private | See coding | 20090324 | tt_lord_maps type table of t_lord_map
|
||
| 2 | TT_TEXTS | Public | See coding | 20090326 | tt_texts type table of t_text
|
||
| 3 | T_LORD_MAP | Private | See coding | 20090324 | begin of t_lord_map,
lord_object type tabname,
lord_field type fieldname,
bus_tabname type tabname,
bus_fieldname type fieldname,
target_tabname type tabname,
end of t_lord_map
|
||
| 4 | T_TEXT | Public | See coding | 20090326 | begin of t_text,
vbeln type vbeln,
posnr type posnr,
content type tds_text_comv,
end of t_text
|
Method Signatures
Method CONSTRUCTOR Signature
Method CONSTRUCTOR on class CL_SLS_SOC_CONTEXT has no parameter.
Method CONSTRUCTOR on class CL_SLS_SOC_CONTEXT has no exception.
Method GET_INSTANCE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RO_SLS_SOC_CONTEXT_REF | Value transfer | Object reference (TYPE REF TO) | CL_SLS_SOC_CONTEXT | Sales Order Context | 20090316 |
Method GET_INSTANCE on class CL_SLS_SOC_CONTEXT has no exception.
Method GET_SLS_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_FVBAK | Call by reference | Type reference (TYPE) | VBAK | Sales Document: Header Data | 20090319 | |||
| 2 | ES_FYVBAK | Call by reference | Type reference (TYPE) | VBAK | Sales Document: Header Data | 20090319 | |||
| 3 | ES_RV45A | Call by reference | Type reference (TYPE) | RV45A | Data Fields for SAPMV45A | 20090325 | |||
| 4 | ET_FT180 | Call by reference | Type reference (TYPE) | T180 | Screen Sequence Control: Transaction Default Values | 20090319 | |||
| 5 | ET_FXFPLA | Call by reference | Type reference (TYPE) | VA_FPLAVB_T | Table for structure FPLAVB | 20090319 | |||
| 6 | ET_FXFPLT | Call by reference | Type reference (TYPE) | VA_FPLTVB_T | Table for structure FPLTVB | 20090319 | |||
| 7 | ET_FXKOMV | Call by reference | Type reference (TYPE) | VA_KOMV_T | Table for structure KOMV | 20090319 | |||
| 8 | ET_FXVBADR | Call by reference | Type reference (TYPE) | SHP_SADRVB_T | Addresses: Reference Table Type for XVBADR | 20090319 | |||
| 9 | ET_FXVBAP | Call by reference | Type reference (TYPE) | VA_VBAPVB_T | Table for structure VBAPVB | 20090319 | |||
| 10 | ET_FXVBAPF | Call by reference | Type reference (TYPE) | VA_VBAPF_T | Table for Structure VBAPF | 20090319 | |||
| 11 | ET_FXVBEP | Call by reference | Type reference (TYPE) | VA_VBEPVB_T | Table for structure VBEPVB | 20090319 | |||
| 12 | ET_FXVBFA | Call by reference | Type reference (TYPE) | VA_VBFAVB_T | Table for structure VBFAVB | 20090319 | |||
| 13 | ET_FXVBKD | Call by reference | Type reference (TYPE) | VA_VBKDVB_T | Table for structure VBKDVB | 20090319 | |||
| 14 | ET_FXVBLB | Call by reference | Type reference (TYPE) | VA_VBLBVB_T | Table type for structure VBLBVB | 20090319 | |||
| 15 | ET_FXVBPA | Call by reference | Type reference (TYPE) | VA_VBPAVB_T | Table for structure VBPAVB | 20090319 | |||
| 16 | ET_FXVBUK | Call by reference | Type reference (TYPE) | VA_VBUKVB_T | Table for structure VBUKBV | 20090319 | |||
| 17 | ET_FXVBUP | Call by reference | Type reference (TYPE) | VA_VBUPVB_T | Table for structure VBUPVB | 20090319 | |||
| 18 | ET_FYFPLA | Call by reference | Type reference (TYPE) | VA_FPLAVB_T | Table for structure FPLAVB | 20090319 | |||
| 19 | ET_FYFPLT | Call by reference | Type reference (TYPE) | VA_FPLTVB_T | Table for structure FPLTVB | 20090319 | |||
| 20 | ET_FYVBADR | Call by reference | Type reference (TYPE) | SHP_SADRVB_T | Addresses: Reference Table Type for XVBADR | 20090319 | |||
| 21 | ET_FYVBAP | Call by reference | Type reference (TYPE) | VA_VBAPVB_T | Table for structure VBAPVB | 20090319 | |||
| 22 | ET_FYVBAPF | Call by reference | Type reference (TYPE) | VA_VBAPF_T | Table for Structure VBAPF | 20090319 | |||
| 23 | ET_FYVBEP | Call by reference | Type reference (TYPE) | VA_VBEPVB_T | Table for structure VBEPVB | 20090319 | |||
| 24 | ET_FYVBFA | Call by reference | Type reference (TYPE) | VA_VBFAVB_T | Table for structure VBFAVB | 20090319 | |||
| 25 | ET_FYVBKD | Call by reference | Type reference (TYPE) | VA_VBKDVB_T | Table for structure VBKDVB | 20090319 | |||
| 26 | ET_FYVBLB | Call by reference | Type reference (TYPE) | VA_VBLBVB_T | Table type for structure VBLBVB | 20090319 | |||
| 27 | ET_FYVBPA | Call by reference | Type reference (TYPE) | VA_VBPAVB_T | Table for structure VBPAVB | 20090319 | |||
| 28 | ET_FYVBUK | Call by reference | Type reference (TYPE) | VA_VBUKVB_T | Table for structure VBUKBV | 20090319 | |||
| 29 | ET_FYVBUP | Call by reference | Type reference (TYPE) | VA_VBUPVB_T | Table for structure VBUPVB | 20090319 | |||
| 30 | ET_HEADER_TEXTS | Call by reference | Type reference (TYPE) | TT_TEXTS | 20090326 | ||||
| 31 | ET_ITEM_TEXTS | Call by reference | Type reference (TYPE) | TT_TEXTS | 20090326 | ||||
| 32 | ET_XVBUV | Call by reference | Type reference (TYPE) | VA_VBUVVB_T | Incompletion Log | 20091126 | |||
| 33 | IV_SLS_ID | Call by reference | Type reference (TYPE) | VBELN | Sales and Distribution Document Number | 20090319 |
Method GET_SLS_DATA on class CL_SLS_SOC_CONTEXT has no exception.
Method INITIALIZATION Signature
Method INITIALIZATION on class CL_SLS_SOC_CONTEXT has no parameter.
Method INITIALIZATION on class CL_SLS_SOC_CONTEXT has no exception.
Method LORD_FIELD_MAPPING Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_AI_FPLA | Call by reference | Type reference (TYPE) | FPLAVB | Reference Structure for XFPLA/YFPLA | 20090324 | |||
| 2 | ES_AI_FPLT | Call by reference | Type reference (TYPE) | FPLTVB | Reference Structure for XFPLT/YFPLT | 20090324 | |||
| 3 | ES_AI_HEAD_TEXTS | Call by reference | Type reference (TYPE) | TDS_TEXT_COMV | Lean Order - Text (Values) | 20090324 | |||
| 4 | ES_AI_ITEM_TEXTS | Call by reference | Type reference (TYPE) | TDS_TEXT_COMV | Lean Order - Text (Values) | 20090324 | |||
| 5 | ES_AI_KOMV | Call by reference | Type reference (TYPE) | KOMV | Pricing Communications-Condition Record | 20090324 | |||
| 6 | ES_AI_RV45A | Call by reference | Type reference (TYPE) | RV45A | Data Fields for SAPMV45A | 20090324 | |||
| 7 | ES_AI_VBADR | Call by reference | Type reference (TYPE) | SADRVB | Reference structure for XSADR/YSADR | 20090324 | |||
| 8 | ES_AI_VBAK | Call by reference | Type reference (TYPE) | VBAK | Sales Document: Header Data | 20090324 | |||
| 9 | ES_AI_VBAP | Call by reference | Type reference (TYPE) | VBAPVB | Document Structure for XVBAP/YVBAP | 20090324 | |||
| 10 | ES_AI_VBAPF | Call by reference | Type reference (TYPE) | VBAPF | Order Item Flow: Dynamic Division | 20090324 | |||
| 11 | ES_AI_VBEP | Call by reference | Type reference (TYPE) | VBEPVB | Structure of Document for XVBEP/YVBEP | 20090324 | |||
| 12 | ES_AI_VBFA | Call by reference | Type reference (TYPE) | VBFAVB | Reference Structure for XVBFA/YVBFA | 20090324 | |||
| 13 | ES_AI_VBKD | Call by reference | Type reference (TYPE) | VBKDVB | Reference structure for XVBKD/YVBKD | 20090324 | |||
| 14 | ES_AI_VBLB | Call by reference | Type reference (TYPE) | VBLBVB | Reference structure for XVBLB/YVBLB | 20090324 | |||
| 15 | ES_AI_VBPA | Call by reference | Type reference (TYPE) | VBPAVB | Reference structure for XVBPA/YVBPA | 20090324 | |||
| 16 | ES_AI_VBUK | Call by reference | Type reference (TYPE) | VBUKVB | Reference structure for XVBUK/YVBUK | 20090324 | |||
| 17 | ES_AI_VBUP | Call by reference | Type reference (TYPE) | VBUPVB | Reference Structure for XVBUP/YVBUP | 20090324 | |||
| 18 | IS_SOURCE_STRUC_R | Call by reference | Type reference (TYPE) | ANY | 20090325 | ||||
| 19 | IS_SOURCE_STRUC_V | Call by reference | Type reference (TYPE) | ANY | 20090325 | ||||
| 20 | IV_OBJECT_ID | Call by reference | Type reference (TYPE) | TABNAME | Table Name | 20090324 |
Method LORD_FIELD_MAPPING on class CL_SLS_SOC_CONTEXT has no exception.
Method READ_PARTNER_AND_ADR_FROM_DB Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_SLS_ID | Call by reference | Type reference (TYPE) | VBELN | Sales and Distribution Document Number | 20090330 |
Method READ_PARTNER_AND_ADR_FROM_DB on class CL_SLS_SOC_CONTEXT has no exception.
Method READ_SLS_DATA_FROM_DB Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_LOG | Call by reference | Type reference (TYPE) | BAPIRETTAB | Table with BAPI Return Information | 20090319 | |||
| 2 | IV_SLS_ID | Call by reference | Type reference (TYPE) | VBELN | Sales and Distribution Document Number | 20090319 |
Method READ_SLS_DATA_FROM_DB on class CL_SLS_SOC_CONTEXT has no exception.
Method READ_TEXTS_FROM_BUFFER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_FXVBAP | Call by reference | Type reference (TYPE) | VA_VBAPVB_T | Document Structure for XVBAP/YVBAP | 20090330 | |||
| 2 | IV_SLS_ID | Call by reference | Type reference (TYPE) | VBELN | Sales and Distribution Document Number | 20090330 |
Method READ_TEXTS_FROM_BUFFER on class CL_SLS_SOC_CONTEXT has no exception.
Method RESET Signature
Method RESET on class CL_SLS_SOC_CONTEXT has no parameter.
Method RESET on class CL_SLS_SOC_CONTEXT has no exception.
Method TRANSFER_SLS_BUFFER_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_FVBAK | Call by reference | Type reference (TYPE) | VBAK | Sales Document: Header Data | 20090318 | |||
| 2 | IS_FYVBAK | Call by reference | Type reference (TYPE) | VBAK | Sales Document: Header Data | 20090318 | |||
| 3 | IS_RV45A | Call by reference | Type reference (TYPE) | RV45A | Data Fields for SAPMV45A | 20090325 | |||
| 4 | IT_FT180 | Call by reference | Type reference (TYPE) | T180 | Screen Sequence Control: Transaction Default Values | 20090318 | |||
| 5 | IT_FXFPLA | Call by reference | Type reference (TYPE) | VA_FPLAVB_T | Table for structure FPLAVB | 20090318 | |||
| 6 | IT_FXFPLT | Call by reference | Type reference (TYPE) | VA_FPLTVB_T | Table for structure FPLTVB | 20090318 | |||
| 7 | IT_FXKOMV | Call by reference | Type reference (TYPE) | VA_KOMV_T | Table for structure KOMV | 20090318 | |||
| 8 | IT_FXVBADR | Call by reference | Type reference (TYPE) | SHP_SADRVB_T | Addresses: Reference Table Type for XVBADR | 20090318 | |||
| 9 | IT_FXVBAP | Call by reference | Type reference (TYPE) | VA_VBAPVB_T | Table for structure VBAPVB | 20090318 | |||
| 10 | IT_FXVBAPF | Call by reference | Type reference (TYPE) | VA_VBAPF_T | Table for Structure VBAPF | 20090318 | |||
| 11 | IT_FXVBEP | Call by reference | Type reference (TYPE) | VA_VBEPVB_T | Table for structure VBEPVB | 20090318 | |||
| 12 | IT_FXVBFA | Call by reference | Type reference (TYPE) | VA_VBFAVB_T | Table for structure VBFAVB | 20090318 | |||
| 13 | IT_FXVBKD | Call by reference | Type reference (TYPE) | VA_VBKDVB_T | Table for structure VBKDVB | 20090318 | |||
| 14 | IT_FXVBLB | Call by reference | Type reference (TYPE) | VA_VBLBVB_T | Table type for structure VBLBVB | 20090318 | |||
| 15 | IT_FXVBPA | Call by reference | Type reference (TYPE) | VA_VBPAVB_T | Table for structure VBPAVB | 20090318 | |||
| 16 | IT_FXVBUK | Call by reference | Type reference (TYPE) | VA_VBUKVB_T | Table for structure VBUKBV | 20090318 | |||
| 17 | IT_FXVBUP | Call by reference | Type reference (TYPE) | VA_VBUPVB_T | Table for structure VBUPVB | 20090318 | |||
| 18 | IT_FYFPLA | Call by reference | Type reference (TYPE) | VA_FPLAVB_T | Table for structure FPLAVB | 20090318 | |||
| 19 | IT_FYFPLT | Call by reference | Type reference (TYPE) | VA_FPLTVB_T | Table for structure FPLTVB | 20090318 | |||
| 20 | IT_FYVBADR | Call by reference | Type reference (TYPE) | SHP_SADRVB_T | Addresses: Reference Table Type for XVBADR | 20090318 | |||
| 21 | IT_FYVBAP | Call by reference | Type reference (TYPE) | VA_VBAPVB_T | Table for structure VBAPVB | 20090318 | |||
| 22 | IT_FYVBAPF | Call by reference | Type reference (TYPE) | VA_VBAPF_T | Table for Structure VBAPF | 20090318 | |||
| 23 | IT_FYVBEP | Call by reference | Type reference (TYPE) | VA_VBEPVB_T | Table for structure VBEPVB | 20090318 | |||
| 24 | IT_FYVBFA | Call by reference | Type reference (TYPE) | VA_VBFAVB_T | Table for structure VBFAVB | 20090318 | |||
| 25 | IT_FYVBKD | Call by reference | Type reference (TYPE) | VA_VBKDVB_T | Table for structure VBKDVB | 20090318 | |||
| 26 | IT_FYVBLB | Call by reference | Type reference (TYPE) | VA_VBLBVB_T | Table type for structure VBLBVB | 20090318 | |||
| 27 | IT_FYVBPA | Call by reference | Type reference (TYPE) | VA_VBPAVB_T | Table for structure VBPAVB | 20090318 | |||
| 28 | IT_FYVBUK | Call by reference | Type reference (TYPE) | VA_VBUKVB_T | Table for structure VBUKBV | 20090318 | |||
| 29 | IT_FYVBUP | Call by reference | Type reference (TYPE) | VA_VBUPVB_T | Table for structure VBUPVB | 20090318 | |||
| 30 | IT_XVBUV | Call by reference | Type reference (TYPE) | VA_VBUVVB_T | Table type for VBUVVB | 20091125 |
Method TRANSFER_SLS_BUFFER_DATA on class CL_SLS_SOC_CONTEXT has no exception.
History
| Last changed by/on | SAP | 20110908 |
| SAP Release Created in | 605 |