SAP ABAP Class CL_SIPT_MOVEMENT_OF_GOODS (SAFT-PT Movement of Goods Generator Class)
Hierarchy
☛
SAP_APPL (Software Component) Logistics and Accounting
⤷
FI-LOC (Application Component) Localization
⤷
ID-SIGN-PT (Package) Localization - Digital Signature Portugal
⤷
⤷
Properties
| Class | CL_SIPT_MOVEMENT_OF_GOODS | |
| Short Description | SAFT-PT Movement of Goods Generator Class | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | ID-SIGN-PT | Localization - Digital Signature Portugal |
| Created | 20130513 | SAP |
| Last change | 20131127 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_SIPT_MOVEMENT_OF_GOODS has no interface implemented.
Friends
Class CL_SIPT_MOVEMENT_OF_GOODS has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Protected | Type reference (TYPE) | THEAD-TDID | 'GLDV' | Text ID | 20131126 | ||
| 2 | Constant | Protected | Type reference (TYPE) | THEAD-TDOBJECT | 'VBBK' | Texts: Application Object | 20131126 | ||
| 3 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_ABAP_CONV_OUT_CE | Code Page and Endian Conversion (System Format -> External) | 20130902 | |||
| 4 | Instance attribute | Public | See coding | 20130902 | |||||
| 5 | Instance attribute | Private | Type reference (TYPE) | SIPT_TT_DELIVERY_DOC | Table Type of SIPT_S_DELIVERY_DOC | 20130902 | |||
| 6 | Instance attribute | Public | See coding | 20130902 | |||||
| 7 | Instance attribute | Public | See coding | 20130902 | |||||
| 8 | Instance attribute | Public | See coding | 20130902 | |||||
| 9 | Instance attribute | Private | Type reference (TYPE) | BUKRS | Company Code | 20130902 | |||
| 10 | Instance attribute | Private | Type reference (TYPE) | I | 1 | Current Delivery Document | 20130902 | ||
| 11 | Instance attribute | Private | Type reference (TYPE) | CHAR1 | ' ' | Single-Character Indicator | 20130902 | ||
| 12 | Instance attribute | Private | Type reference (TYPE) | I | Number of Delivery Documents Read | 20130902 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Private | Method | Creates ShipTo XML Fragrament | 20130902 | |
| 2 | Instance method | Public | Method | Creates MovementOfGoods XML String fragments | 20130902 | |
| 3 | Instance method | Public | Method | Creates MovementOfGoods XML String fragments For GS | 20130902 | |
| 4 | Instance method | Private | Method | Create ShipFrom XML Fragment | 20130902 | |
| 5 | Instance method | Private | Method | Create first elements in MovementOfGoods | 20130902 | |
| 6 | Instance method | Private | Method | Create first elements in MovementOfGoods for GS | 20130902 | |
| 7 | Instance method | Private | Method | Unicode Conversion Helper Method | 20130902 | |
| 8 | Instance method | Private | Method | Format SAP Date and Time to XML Date/DateTime formats | 20130902 | |
| 9 | Instance method | Public | Method | Get Delivery Documents Table | 20130902 | |
| 10 | Instance method | Public | Method | Check if there is a next delivery document to handle | 20130902 | |
| 11 | Instance method | Public | Method | Prepara Relevant Master Tables | 20130902 | |
| 12 | Instance method | Public | Method | Read Delivery Documents | 20130902 | |
| 13 | Instance method | Public | Method | Read Delivery Documents | 20130902 | |
| 14 | Static method | Private | Method | Read the Global delivery number from delivery header text | 20131126 | |
| 15 | Instance method | Private | Method | Replace Special Characters | 20130902 | |
| 16 | Instance method | Private | Method | Save Delivery Number in WSPT_LIKP table | 20131204 | |
| 17 | Instance method | Public | Method | Save one time customer | 20130902 | |
| 18 | Instance method | Public | Method | Set Delivery Documents Table | 20130902 | |
| 19 | Instance method | Private | Method | Unicode Conversion | 20130902 | |
| 20 | Instance method | Private | Method | Unicode Conversion Helper Method | 20130902 |
Events
Class CL_SIPT_MOVEMENT_OF_GOODS has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | LTY_CUSTOMER | Public | See coding | 20130902 | BEGIN OF lty_customer ,
kunnr TYPE kunnr,
adrnr TYPE adrnr,
stceg TYPE stceg,
xcpdk TYPE xcpdk,
vbeln type vbeln,
END OF lty_customer
|
||
| 2 | LTY_ONETIME | Public | See coding | 20130902 | BEGIN OF lty_onetime ,
vbeln type vbeln,
customerid(30) type c,
END OF lty_onetime
|
||
| 3 | LTY_VENDOR | Public | See coding | 20130902 | BEGIN OF lty_vendor ,
lifnr TYPE kunnr,
adrnr TYPE adrnr,
stceg TYPE stceg,
xcpdk TYPE xcpdk,
vbeln type vbeln,
END OF lty_vendor
|
Method Signatures
Method CREATE_CUST_SHIPPING_ADDRESS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_DELIVERY_DOC | Call by reference | Type reference (TYPE) | SIPT_S_DELIVERY_DOC | Delivery Document Structure in SAFT-PT MovementOfGoods | 20130902 | |||
| 2 | IS_LIKP | Call by reference | Type reference (TYPE) | LIKP | SD Document: Delivery Header Data | 20130902 | |||
| 3 | IV_SHIP_TO | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20130902 | ||||
| 4 | IV_XML_FILE | Call by reference | Type reference (TYPE) | STRING | 20130902 | ||||
| 5 | I_DOC_CATG | Call by reference | Type reference (TYPE) | WSPT_DOC_CATG | Document Category | 20130917 |
Method CREATE_CUST_SHIPPING_ADDRESS on class CL_SIPT_MOVEMENT_OF_GOODS has no exception.
Method CREATE_MOVEMENT_OF_GOODS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_DOC_CATG | Call by reference | Type reference (TYPE) | WSPT_DOC_CATG | Document Category | 20131126 | |||
| 2 | RV_MOVEMENT_OF_GOODS | Value transfer | Type reference (TYPE) | STRING | XML String | 20130902 |
Method CREATE_MOVEMENT_OF_GOODS on class CL_SIPT_MOVEMENT_OF_GOODS has no exception.
Method CREATE_MOVEMENT_OF_GOODS_GS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_BUKRS | Call by reference | Type reference (TYPE) | BUKRS | Company Code | 20130917 | |||
| 2 | I_DOC_CATG | Call by reference | Type reference (TYPE) | WSPT_DOC_CATG | Document Category | 20130902 | |||
| 3 | RV_MOVEMENT_OF_GOODS | Value transfer | Type reference (TYPE) | STRING | 20130902 |
Method CREATE_MOVEMENT_OF_GOODS_GS on class CL_SIPT_MOVEMENT_OF_GOODS has no exception.
Method CREATE_SELF_SHIPPING_ADDRESS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CV_XML_FILE | Call by reference | Type reference (TYPE) | STRING | 20130902 | ||||
| 2 | IS_DELIVERY_DOC | Call by reference | Type reference (TYPE) | SIPT_S_DELIVERY_DOC | Delivery Document Structure in SAFT-PT MovementOfGoods | 20131023 | |||
| 3 | IS_LIKP | Call by reference | Type reference (TYPE) | LIKP | Delivery Document Structure in SAFT-PT MovementOfGoods | 20130902 | |||
| 4 | IV_SHIP_TO | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20130902 | ||||
| 5 | I_DOC_CATG | Call by reference | Type reference (TYPE) | WSPT_DOC_CATG | Document Category | 20131023 |
Method CREATE_SELF_SHIPPING_ADDRESS on class CL_SIPT_MOVEMENT_OF_GOODS has no exception.
Method CREATE_TOP_ELEMENTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_XML_STRING | Value transfer | Type reference (TYPE) | STRING | XML String | 20130902 |
Method CREATE_TOP_ELEMENTS on class CL_SIPT_MOVEMENT_OF_GOODS has no exception.
Method CREATE_TOP_ELEMENTS_GS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_XML_STRING | Value transfer | Type reference (TYPE) | STRING | 20130902 |
Method CREATE_TOP_ELEMENTS_GS on class CL_SIPT_MOVEMENT_OF_GOODS has no exception.
Method DATA_CORRECTION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_CHECK_STR | Call by reference | Type reference (TYPE) | STRING | Input String | 20130902 | |||
| 2 | RV_CHECK_STR | Value transfer | Type reference (TYPE) | STRING | Corrected String | 20130902 |
Method DATA_CORRECTION on class CL_SIPT_MOVEMENT_OF_GOODS has no exception.
Method DATE_FORMAT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_DATUM | Call by reference | Type reference (TYPE) | DATUM | Date | 20130902 | |||
| 2 | IV_NO_TIME | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20130902 | ||||
| 3 | IV_UZEIT | Call by reference | Type reference (TYPE) | UZEIT | Time | 20130902 | |||
| 4 | RV_DATE | Value transfer | Type reference (TYPE) | STRING | Date String | 20130902 |
Method DATE_FORMAT on class CL_SIPT_MOVEMENT_OF_GOODS has no exception.
Method GET_DELIVERY_DOCS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_DELIVERY_DOCS | Call by reference | Type reference (TYPE) | SIPT_TT_DELIVERY_DOC | Table Type of SIPT_S_DELIVERY_DOC | 20130902 |
Method GET_DELIVERY_DOCS on class CL_SIPT_MOVEMENT_OF_GOODS has no exception.
Method HAS_NEXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_HAS_NEXT | Value transfer | Type reference (TYPE) | CHAR1 | Single-Character Indicator | 20130902 |
Method HAS_NEXT on class CL_SIPT_MOVEMENT_OF_GOODS has no exception.
Method PREPARE_MASTER_TABLES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_DELIVERY_DOC | Call by reference | Type reference (TYPE) | SIPT_S_DELIVERY_DOC | Delivery Document Structure in SAFT-PT MovementOfGoods | 20130902 |
Method PREPARE_MASTER_TABLES on class CL_SIPT_MOVEMENT_OF_GOODS has no exception.
Method READ_DELIVERY_DOCS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_COMPANY_CODE | Call by reference | Type reference (TYPE) | BUKRS | Company Code | 20130902 | |||
| 2 | IV_END_DATE | Call by reference | Type reference (TYPE) | LFDAT_V | Delivery End Date | 20130902 | |||
| 3 | IV_INVOICED | Call by reference | Type reference (TYPE) | ABAP_BOOL | 'X' | Read Invoiced Deliveries | 20130902 | ||
| 4 | IV_REVERSED | Call by reference | Type reference (TYPE) | ABAP_BOOL | 'X' | Read Reversed Deliveries | 20130902 | ||
| 5 | IV_START_DATE | Call by reference | Type reference (TYPE) | LFDAT_V | Delivery Start Date | 20130902 |
Method READ_DELIVERY_DOCS on class CL_SIPT_MOVEMENT_OF_GOODS has no exception.
Method READ_DELIVERY_DOCS_SELOP Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_S_LFDAT | Call by reference | Type reference (TYPE) | ANY TABLE | LFDAT SelOp | 20130902 | |||
| 2 | IT_S_SHIPNO | Call by reference | Type reference (TYPE) | ANY TABLE | 20130902 | ||||
| 3 | IT_S_VBELN | Call by reference | Type reference (TYPE) | ANY TABLE | VBELN SelOp | 20130902 | |||
| 4 | IT_S_VSTEL | Call by reference | Type reference (TYPE) | ANY TABLE | VSTEL SelOp | 20130902 | |||
| 5 | IT_S_WERKS | Call by reference | Type reference (TYPE) | ANY TABLE | WERKS SelOp | 20130902 | |||
| 6 | IV_ADDTIME | Call by reference | Type reference (TYPE) | TIMS | '010000' | Field of type TIMS | 20130902 | ||
| 7 | IV_BUKRS | Call by reference | Type reference (TYPE) | BUKRS | Company Code | 20130902 | |||
| 8 | IV_INVOICED | Call by reference | Type reference (TYPE) | ABAP_BOOL | 'X' | Read Invoiced Deliveries | 20130902 | ||
| 9 | IV_MOV_START_DATE | Call by reference | Type reference (TYPE) | WSPT_MOVE_ST_DT | Movement Start Date | 20130902 | |||
| 10 | IV_MOV_START_TIME | Call by reference | Type reference (TYPE) | WSPT_MOVE_ST_TM | Movement Start Time | 20130902 | |||
| 11 | IV_REVERSED | Call by reference | Type reference (TYPE) | ABAP_BOOL | 'X' | Read Reversed Deliveries | 20130902 | ||
| 12 | IV_USECUSTTIME | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20130902 | ||||
| 13 | IV_USEPGIDATE | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20130902 | ||||
| 14 | IV_USEPLANDATE | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20130902 |
Method READ_DELIVERY_DOCS_SELOP on class CL_SIPT_MOVEMENT_OF_GOODS has no exception.
Method READ_TEXT_DELIVERY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_VBELN_GD | Call by reference | Type reference (TYPE) | VBELN_VL | Delivery | 20131126 | |||
| 2 | I_BUKRS | Call by reference | Type reference (TYPE) | BUKRS | Company Code | 20131126 | |||
| 3 | I_LFART | Call by reference | Type reference (TYPE) | LFART | Delivery type | 20131126 | |||
| 4 | I_VBELN | Call by reference | Type reference (TYPE) | VBELN_VL | Delivery | 20131126 |
Method READ_TEXT_DELIVERY on class CL_SIPT_MOVEMENT_OF_GOODS has no exception.
Method REPLACE_SPECIAL_CHARACTERS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | C_STRING | Call by reference | Type reference (TYPE) | STRING | 20130902 |
Method REPLACE_SPECIAL_CHARACTERS on class CL_SIPT_MOVEMENT_OF_GOODS has no exception.
Method SAVE_DELIVERY_NO Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_WSPT_LIKP | Call by reference | Type reference (TYPE) | WSPT_LIKP | Documents for Portugal Webservice | 20131204 | |||
| 2 | IV_DEL_NO | Call by reference | Type reference (TYPE) | XBLNR_LIKP | Reference Document Number | 20131204 | |||
| 3 | IV_VBELN | Call by reference | Type reference (TYPE) | VBELN | Sales and Distribution Document Number | 20131204 |
Method SAVE_DELIVERY_NO on class CL_SIPT_MOVEMENT_OF_GOODS has no exception.
Method SAVE_ONE_TIME_CUSTOMER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ONE_TIME_CUSTOMER | Call by reference | Type reference (TYPE) | LTY_ONETIME | 20130902 |
Method SAVE_ONE_TIME_CUSTOMER on class CL_SIPT_MOVEMENT_OF_GOODS has no exception.
Method SET_DELIVERY_DOCS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_DELIVERY_DOCS | Value transfer | Type reference (TYPE) | SIPT_TT_DELIVERY_DOC | Table Type of SIPT_S_DELIVERY_DOC | 20130902 |
Method SET_DELIVERY_DOCS on class CL_SIPT_MOVEMENT_OF_GOODS has no exception.
Method UNICODE_CONVERT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_STR | Call by reference | Type reference (TYPE) | STRING | 20130902 | ||||
| 2 | RV_STR | Value transfer | Type reference (TYPE) | STRING | 20130902 |
Method UNICODE_CONVERT on class CL_SIPT_MOVEMENT_OF_GOODS has no exception.
Method XML_UNICODE_TO_XSTR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_UNI_FLAG | Call by reference | Type reference (TYPE) | CHAR1 | Single-Character Indicator | 20130902 | |||
| 2 | EV_XSTR_MASTER | Call by reference | Type reference (TYPE) | XSTRING | 20130902 | ||||
| 3 | IV_MASTER | Call by reference | Type reference (TYPE) | STRING | 20130902 |
Method XML_UNICODE_TO_XSTR on class CL_SIPT_MOVEMENT_OF_GOODS has no exception.
History
| Last changed by/on | SAP | 20131127 |
| SAP Release Created in |