SAP ABAP Class CL_WSPT_COMMUNICATION_AT (Class for AT webservice communication)
Hierarchy
SAP_APPL (Software Component) Logistics and Accounting
   FI-LOC (Application Component) Localization
     ID-SIGN-PT (Package) Localization - Digital Signature Portugal
Properties
Class CL_WSPT_COMMUNICATION_AT  
Short Description Class for AT webservice communication    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class WSPT    
Program status     
Category 0   
Package ID-SIGN-PT   Localization - Digital Signature Portugal 
Created 20130510   SAP 
Last change 20140121   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)
2 WSSEC Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_WSPT_COMMUNICATION_AT has no interface implemented.
Friends
Class CL_WSPT_COMMUNICATION_AT has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 CO_AES128_ECB Constant Protected Type reference (TYPE) STRING 'http://www.portaldasfinancas.gov.pt/SAFT#aes128-ecb' AES128_ECB Algorythm 20130826
2 CO_COUNTRY_PT Constant Protected Type reference (TYPE) CHAR30 'PT' Constante 'PT' 20130826
3 CO_CUSTOMER_TAX_ID Constant Protected Type reference (TYPE) STRING 'CUSTOMER_TAX_ID' Choice for customer 20130826
4 CO_LOG_OBJECT Constant Protected Type reference (TYPE) BALHDR-OBJECT 'WSPT' Information Log Object 20130826
5 CO_LOG_RETENTION_PERIOD Constant Protected Type reference (TYPE) I 90 Information log retention period (days) 20130826
6 CO_LOG_SUBOBJECT Constant Protected Type reference (TYPE) BALHDR-SUBOBJECT 'MONITOR' Information Log SubObject 20130826
7 CO_MSG_CREATE_FROM_FIELDS Constant Public Type reference (TYPE) CHAR1 'C' Create Message in Log 20130826
8 CO_MSG_TYPE_A Constant Public Type reference (TYPE) SYMSGTY 'A' Message Type 20130826
9 CO_MSG_TYPE_E Constant Public Type reference (TYPE) SYMSGTY 'E' Message Type 20130826
10 CO_MSG_TYPE_I Constant Public Type reference (TYPE) SYMSGTY 'I' Message Type 20130826
11 CO_MSG_TYPE_W Constant Public Type reference (TYPE) SYMSGTY 'W' Message Type 20130826
12 CO_MSG_UPDATE_LOG Constant Public Type reference (TYPE) CHAR1 'U' Update log with message 20130826
13 CO_OMISSO Constant Protected Type reference (TYPE) CHAR30 'omisso' Texto Omisso 20130826
14 CO_PARVW_WE Constant Protected Type reference (TYPE) PARVW 'WE' Partner Function - Ship-to Party 20130826
15 CO_PUBL_KEY Constant Protected Type reference (TYPE) STRING 'CN=Chave Cifra Publica AT' Public Key Issuer for Testing purposes 20130826
16 CO_SAPSECULIB Constant Protected Type reference (TYPE) SSFTOOLKIT 'SAPSECULIB' SSF: Selection of security product 20130826
17 CO_SECSTORE_NAMESPACE Constant Protected Type reference (TYPE) STRING '/WSPT/DELIVERY/' Namespace for Secure Store 20130826
18 CO_SEPARATOR Constant Protected Type reference (TYPE) CHAR1 ';' Single-Character Indicator 20130826
19 CO_SSFCONTEXT_WSSE Constant Protected Type reference (TYPE) PSECONTEXT 'WSSE' Application Context of a PSE 20130826
20 CO_SSF_WSSCRT Constant Protected Type reference (TYPE) SSFARGS-APPLIC 'WSSCRT' SSF Application 20130826
21 CO_STATUS_APPROVED Constant Public Type reference (TYPE) WSPT_DOC_STATUS 'A' Document Status for PT Websevice 20130826
22 CO_STATUS_ERROR Constant Public Type reference (TYPE) WSPT_DOC_STATUS 'E' Document Status for PT Websevice 20130826
23 CO_STATUS_REJECTED Constant Public Type reference (TYPE) WSPT_DOC_STATUS 'R' Document Status for PT Websevice 20130826
24 CO_SUPPLIER_TAX_ID Constant Protected Type reference (TYPE) STRING 'SUPPLIER_TAX_ID' Choice for supplier 20130826
25 CO_TAX_ID_DEFAULT Constant Protected Type reference (TYPE) STCEG '999999990' VAT Registration Number 20130826
26 CO_TEXT_ID Constant Protected Type reference (TYPE) THEAD-TDID 'GLDV' Text ID 20131001
27 CO_TEXT_OBJECT Constant Protected Type reference (TYPE) THEAD-TDOBJECT 'VBBK' Texts: Application Object 20131001
28 CO_WAITING_TIME Constant Public Type reference (TYPE) I 60 Number of attempts to enqueue 20130826
29 CO_X509V3_FORMAT Constant Protected Type reference (TYPE) SSFFORM 'X509v3' SSF format 20130826
Methods
# Method Level Visibility Method type Description Created on
1 BUILD_ENTRY_ID_FOR_SEC_STORE Static method Public Method Build Entry_id 20130826
2 BUILD_HEADER Static method Private Method Build the header 20130826
3 BUILD_MESSAGE_LOG Static method Public Method Build Message for system log 20130826
4 CALL_PROXY Static method Private Method Call the AT webservice 20130826
5 CIPHER_FIELDS Static method Private Method Header Cipher fields 20130826
6 COMMUNICATION_AT_DELIV Static method Public Method Webservice invocation 20130826
7 CONV_STRING_TO_XSTRINGUTF8 Static method Private Method Code to substitute SSFH_STRING_TO_XSTRINGUTF8 20130927
8 CONV_STR_TO_XSTR Static method Private Method Convert String to Xstring 20130927
9 CREATE_LOG Static method Public Method Create Information Log 20130826
10 CREATE_NONCE Static method Private Method Creates a generic nonce 20130826
11 FORMAT_VAT_NUMBER Static method Private Method Format VAT Number 20130826
12 GET_ADDRESS_DETAILS Static method Private Method Get Address Details 20130826
13 GET_APPROVAL_ID Static method Public Method Get Document Approval ID 20130826
14 GET_CERTIFICATE Static method Private Method Get Certificate from STRUST 20130826
15 GET_CUSTOMIZING Static method Public Method Get customizing 20130826
16 GET_MAP_FIELDS_DELIV Static method Public Method Get fields from delivery 20130826
17 GET_ODN_FROM_CERTIFICATION Static method Private Method Get the ODN form Certification if active 20130927
18 GET_UNIT_PRICE Static method Private Method Get unit price for line 20130826
19 GET_USER_PASS_SECURE_STORE Static method Private Method Get fields from secure store 20130826
20 GET_VBTYP_N Static method Public Method Get vbtyp_n from vbeln 20130826
21 PREPARE_WSPT_LIKP Static method Public Method Prepare data for wspt_likp 20130826
22 READ_SECURE_STORE Static method Private Method Read username and password from secure store 20130826
23 READ_TEXT_DELIVERY Static method Private Method Read the Global delivery number from delivery header text 20131001
24 REPLACE_SPECIAL_CHARACTERS Static method Private Method Replace Special Characters 20130826
25 SAVE_LOG Static method Public Method Save Information Log 20130826
26 UPDATE_LOG Static method Public Method Update status in log 20130826
27 VALIDATE_POSTAL_CODE Static method Private Method Validations for Postal Code field 20130826
28 VALIDATE_RESPONSE_WS Static method Public Method Validate errors 20130826
Events
Class CL_WSPT_COMMUNICATION_AT has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 LTY_CUSTOMER_DATA Private See coding Felds for BADI get customer data 20131011 begin of lty_customer_data, kunnr type kunnr, adrnr type adrnr, stceg type stceg, xcpdk type xcpdk, end of lty_customer_data
2 LTY_LIKP Private See coding LIKP Fields 20130826 begin of lty_likp, erzet type erzet, erdat type erdat, vstel type vstel, vkorg type vkorg, vbtyp type vbtyp, lfart type lfart, kunnr type kunwe, kunag type kunag, lifnr type elifn, tddat type tddat_d, tduhr type tduhr, wadat_ist type wadat_ist, spe_wauhr_ist type wauhr, xblnr type xblnr_likp, kalsp type kalsp, end of lty_likp
3 LTY_LIPS Private See coding LIPS Fields 20130826 begin of lty_lips, posnr type posnr, matnr type matnr, lfimg type lfimg, meins type meins, vrkme type vrkme, arktx type arktx, vgbel type vgbel, vgpos type vgpos, kcmeng type kcmeng, uecha type uecha, netwr type netwr, end of lty_lips
4 LTY_SHIPING_DATA Private See coding Felds for BADI ship from/to data 20130826 begin of lty_shiping_data , adrnr type adrnr, end of lty_shiping_data
5 LTY_TRANSP_TIME Private See coding Time date fields 20130826 begin of lty_transp_time, date type dats, time type tims, end of lty_transp_time
6 LTY_VENDOR_DATA Private See coding 20131011 begin of lty_vendor_data , lifnr type lifnr, adrnr type adrnr, stceg type stceg, xcpdk type xcpdk, end of lty_vendor_data
Method Signatures

Method BUILD_ENTRY_ID_FOR_SEC_STORE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_ENTRY_ID Call by reference Type reference (TYPE) RSECID ID of Record in Secure Storage 20130826
2 Exporting E_MESSAGE Call by reference Type reference (TYPE) WSPT_MESSAGE_LINE WSPT: Operations Status Message 20130826
3 Importing I_BUKRS Call by reference Type reference (TYPE) BUKRS Company Code 20130826
4 Importing I_FROM_SD Call by reference Type reference (TYPE) FLAG Entry_id for SD 20130826
5 Importing I_LFART Call by reference Type reference (TYPE) LFART Delivery Type 20130826

Method BUILD_ENTRY_ID_FOR_SEC_STORE on class CL_WSPT_COMMUNICATION_AT has no exception.

Method BUILD_HEADER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_HEADER_XML Call by reference Object reference (TYPE REF TO) IF_IXML_DOCUMENT XML Header 20130826
2 Exporting E_MESSAGE Call by reference Type reference (TYPE) WSPT_MESSAGE_LINE WSPT: Operations Status Message 20130826
3 Importing I_CREATED Call by reference Type reference (TYPE) STRING Created 20130826
4 Importing I_NONCE Call by reference Type reference (TYPE) STRING Nonce 20130826
5 Importing I_PASSWORD Call by reference Type reference (TYPE) STRING Password 20130826
6 Importing I_USER Call by reference Type reference (TYPE) STRING User 20130826

Method BUILD_HEADER on class CL_WSPT_COMMUNICATION_AT has no exception.

Method BUILD_MESSAGE_LOG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_ACTION Call by reference Type reference (TYPE) CHAR1 Action to be performed 20130826
2 Importing I_AEDAT Call by reference Type reference (TYPE) AEDAT Changed On 20130826
3 Importing I_AENAM Call by reference Type reference (TYPE) AENAM Name of Person Who Changed Object 20130826
4 Importing I_AEZET Call by reference Type reference (TYPE) AEZET Time last change was made 20130826
5 Importing I_DOC_CATG Call by reference Type reference (TYPE) WSPT_DOC_CATG Document Category 20130826
6 Importing I_DOC_SR Call by reference Type reference (TYPE) WSPT_DOC_SR Serial No for wspt_likp 20130826
7 Importing I_DOC_STATUS Call by reference Type reference (TYPE) WSPT_DOC_STATUS Document Status for PT Websevice 20130826
8 Importing I_LOG_HANDLE Call by reference Type reference (TYPE) BALLOGHNDL Application Log: Log Handle 20130826
9 Importing I_MESSAGE Call by reference Type reference (TYPE) WSPT_MESSAGE_LINE WSPT: Operations Status Message 20130826
10 Importing I_MOD_STATUS Call by reference Type reference (TYPE) CHAR1 Type of modification 20130826
11 Importing I_SAVE_LOG Call by reference Type reference (TYPE) CHAR1 Saves if value 'X' 20130826
12 Importing I_TEXT Call by reference Type reference (TYPE) ITEX132 Text Symbol length 132 20130826
13 Importing I_TYPE Call by reference Type reference (TYPE) SYMSGTY Message Type 20130826
14 Importing I_VBELN Call by reference Type reference (TYPE) VBELN_VL Delivery 20130826
15 Importing I_XBLNR_ODN Call by reference Type reference (TYPE) XBLNR_LIKP Reference Document Number 20130927

Method BUILD_MESSAGE_LOG on class CL_WSPT_COMMUNICATION_AT has no exception.

Method CALL_PROXY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_FAULT_STRING Call by reference Type reference (TYPE) STRING Fault String 20130826
2 Exporting E_MESSAGE Call by reference Type reference (TYPE) WSPT_MESSAGE_LINE WSPT: Operations Status Message 20130826
3 Exporting E_RESPONSE Call by reference Type reference (TYPE) WSPTSTOCK_MOVEMENT_RESPONSE1 Proxy Structure (generated) 20130826
4 Importing I_HEADER_XML Call by reference Object reference (TYPE REF TO) IF_IXML_DOCUMENT XML Document in DOM Representation 20130826
5 Importing I_REQUEST Call by reference Type reference (TYPE) WSPTSTOCK_MOVEMENT_REQUEST Proxy Structure (generated) 20130826

Method CALL_PROXY on class CL_WSPT_COMMUNICATION_AT has no exception.

Method CIPHER_FIELDS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_CREATED Call by reference Type reference (TYPE) STRING Created 20130826
2 Exporting E_MESSAGE Call by reference Type reference (TYPE) WSPT_MESSAGE_LINE WSPT: Operations Status Message 20130826
3 Exporting E_PASSWORD Call by reference Type reference (TYPE) STRING Password 20130826
4 Importing I_NONCE Call by reference Type reference (TYPE) XSTRING Nonce 20130826
5 Importing I_PASSWORD Call by reference Type reference (TYPE) XSTRING Password 20130826

Method CIPHER_FIELDS on class CL_WSPT_COMMUNICATION_AT has no exception.

Method COMMUNICATION_AT_DELIV Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_WSPT_LIKP Call by reference Type reference (TYPE) WSPT_LIKP Documents for Portugal Webservice 20130826
2 Exporting E_APPR_ID Call by reference Type reference (TYPE) WSPT_APPR_ID Document Approval ID 20130826
3 Exporting E_FAULT_STRING Call by reference Type reference (TYPE) STRING XML Fault String 20130826
4 Exporting E_MESSAGE Call by reference Type reference (TYPE) WSPT_MESSAGE_LINE WSPT: Operations Status Message 20130826
5 Exporting E_STATUS Call by reference Type reference (TYPE) WSPT_DOC_STATUS Document Status for PT Websevice XM Delivery 20130826
6 Exporting E_T_MESSAGE Call by reference Type reference (TYPE) WSPT_T_RESPONSE_STATUS Response Status Table 20130826
7 Importing IT_XLIKP Call by reference Type reference (TYPE) SHP_LIKP_T Current Status of Delivery Headers 20130927
8 Importing IT_XLIPS Call by reference Type reference (TYPE) SHP_LIPS_T Current Status of Delivery Items 20130927
9 Importing IT_XVBPA Call by reference Type reference (TYPE) SHP_VBPAVB_T Current Status of Delivery Partner 20131011
10 Importing IT_YLIKP Call by reference Type reference (TYPE) SHP_YLIKP_T Database Status: Delivery Header 20130927
11 Importing IT_YLIPS Call by reference Type reference (TYPE) SHP_LIPS_T Database Status: Delivery Items 20130927
12 Importing IT_YVBPA Call by reference Type reference (TYPE) SHP_VBPAVB_T Database Status: Delivery Partner 20131011
13 Importing I_DOC_CATG Call by reference Type reference (TYPE) WSPT_DOC_CATG Document Category 20130826
14 Importing I_DOC_SR Call by reference Type reference (TYPE) WSPT_DOC_SR Serial No for wspt_likp 20130927
15 Importing I_MBLNR Call by reference Type reference (TYPE) MBLNR Number of Material Document 20130826
16 Importing I_MJAHR Call by reference Type reference (TYPE) MJAHR Material Document Year 20130826
17 Importing I_VBELN Call by reference Type reference (TYPE) VBELN_VL Delivery 20130826
18 Importing I_VBTYP_N Call by reference Type reference (TYPE) VBTYP_N SD document category 20130826
19 Importing I_XBLNR_ODN Call by reference Type reference (TYPE) XBLNR_LIKP Reference Document Number 20130927

Method COMMUNICATION_AT_DELIV on class CL_WSPT_COMMUNICATION_AT has no exception.

Method CONV_STRING_TO_XSTRINGUTF8 Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing CODEPAGE Value transfer Type reference (TYPE) CPCODEPAGE '4110' Codepage (default UTF-8) 20130927
2 Importing CSTR_INPUT_DATA Call by reference Type reference (TYPE) STRING String to convert 20130927
3 Returning OSTR_INPUT_DATA Value transfer Type reference (TYPE) XSTRING Xstring UTF-8 20130927
# Exception Resumable Description Created on
1 CX_CONVERSION_ERROR UTF-8 conversion failed 20130927
2 CX_INTERNAL_ERROR Internal error occurred 20130927

Method CONV_STR_TO_XSTR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing CSTRING Call by reference Type reference (TYPE) STRING 20130927
2 Returning XSTRING Value transfer Type reference (TYPE) XSTRING 20130927

Method CONV_STR_TO_XSTR on class CL_WSPT_COMMUNICATION_AT has no exception.

Method CREATE_LOG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_LOG_HANDLE Call by reference Type reference (TYPE) BALLOGHNDL Application Log: Log Handle 20130826
2 Importing I_DOC_CATG Call by reference Type reference (TYPE) WSPT_DOC_CATG Document Category 20130826
3 Importing I_DOC_SR Call by reference Type reference (TYPE) WSPT_DOC_SR Serial No for wspt_likp 20130826
4 Importing I_VBELN Call by reference Type reference (TYPE) VBELN_VL Delivery 20130826

Method CREATE_LOG on class CL_WSPT_COMMUNICATION_AT has no exception.

Method CREATE_NONCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_KEY_AES Call by reference Type reference (TYPE) XSTRING Generated Key AES 20130826
2 Exporting E_MESSAGE Call by reference Type reference (TYPE) WSPT_MESSAGE_LINE WSPT: Operations Status Message 20130826
3 Exporting E_NONCE_B64 Call by reference Type reference (TYPE) STRING Encrypted & BASE64 Encoded NONCE 20130826

Method CREATE_NONCE on class CL_WSPT_COMMUNICATION_AT has no exception.

Method FORMAT_VAT_NUMBER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CV_STCEG Call by reference Type reference (TYPE) STCEG VAT Registration Number 20130826

Method FORMAT_VAT_NUMBER on class CL_WSPT_COMMUNICATION_AT has no exception.

Method GET_ADDRESS_DETAILS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_ADRNR Call by reference Type reference (TYPE) ADRNR Address 20130826
2 Returning RV_ADDRESS_DETAIL Value transfer Type reference (TYPE) WSPTADDRESS_STRUCTURE_PT Proxy Structure (generated) 20130826

Method GET_ADDRESS_DETAILS on class CL_WSPT_COMMUNICATION_AT has no exception.

Method GET_APPROVAL_ID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_APPROVAL_ID Call by reference Type reference (TYPE) WSPT_APPR_ID Document Approval ID 20130826
2 Exporting EV_MESSAGE Call by reference Type reference (TYPE) WSPT_MESSAGE_LINE WSPT: Operations Status Message 20130826
3 Importing IV_VBELN Call by reference Type reference (TYPE) VBELN Sales and Distribution Document Number 20130826

Method GET_APPROVAL_ID on class CL_WSPT_COMMUNICATION_AT has no exception.

Method GET_CERTIFICATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_CERTIFICATE Call by reference Type reference (TYPE) XSTRING Certificate 20130826
2 Exporting E_MESSAGE Call by reference Type reference (TYPE) WSPT_MESSAGE_LINE WSPT: Operations Status Message 20130826

Method GET_CERTIFICATE on class CL_WSPT_COMMUNICATION_AT has no exception.

Method GET_CUSTOMIZING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_ACTIVE Call by reference Type reference (TYPE) ABAP_BOOL Call to webservice active or inactive 20130826
2 Exporting E_MESSAGE Call by reference Type reference (TYPE) WSPT_MESSAGE_LINE WSPT: Operations Status Message 20130826
3 Importing IT_XLIKP Call by reference Type reference (TYPE) SHP_LIKP_T Current Status of Delivery Headers 20130927
4 Importing IT_YLIKP Call by reference Type reference (TYPE) SHP_YLIKP_T Database Status: Delivery Header 20130927
5 Importing I_VBELN Call by reference Type reference (TYPE) VBELN Sales and Distribution Document Number 20130826
6 Importing I_VBTYP_N Call by reference Type reference (TYPE) VBTYP_N Document category of subsequent document 20130927

Method GET_CUSTOMIZING on class CL_WSPT_COMMUNICATION_AT has no exception.

Method GET_MAP_FIELDS_DELIV Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_MOVE_ST_DT Call by reference Type reference (TYPE) WSPT_MOVE_ST_DT Movement Start Date 20130826
2 Changing C_MOVE_ST_TM Call by reference Type reference (TYPE) WSPT_MOVE_ST_TM Movement Start Time 20130826
3 Exporting E_MESSAGE Call by reference Type reference (TYPE) WSPT_MESSAGE_LINE WSPT: Operations Status Message 20130826
4 Exporting E_REQUEST Call by reference Type reference (TYPE) WSPTSTOCK_MOVEMENT_REQUEST Proxy Structure (generated) 20130826
5 Exporting E_SHNUMBER Call by reference Type reference (TYPE) TKNUM Shipment Number 20131111
6 Importing IT_XLIKP Call by reference Type reference (TYPE) SHP_LIKP_T Current Status of Delivery Headers 20130927
7 Importing IT_XLIPS Call by reference Type reference (TYPE) SHP_LIPS_T Current Status of Delivery Items 20130927
8 Importing IT_XVBPA Call by reference Type reference (TYPE) SHP_VBPAVB_T Current Status of Delivery Partner 20131011
9 Importing IT_YLIKP Call by reference Type reference (TYPE) SHP_YLIKP_T Database Status: Delivery Header 20130927
10 Importing IT_YLIPS Call by reference Type reference (TYPE) SHP_LIPS_T Database Status: Delivery Items 20130927
11 Importing IT_YVBPA Call by reference Type reference (TYPE) SHP_VBPAVB_T Database Status: Delivery Partner 20131011
12 Importing I_DOC_CATG Call by reference Type reference (TYPE) WSPT_DOC_CATG Document Category 20130826
13 Importing I_DOC_SR Call by reference Type reference (TYPE) WSPT_DOC_SR Serial No for wspt_likp 20130927
14 Importing I_MBLNR Call by reference Type reference (TYPE) MBLNR Material Document Number 20130826
15 Importing I_MJAHR Call by reference Type reference (TYPE) MJAHR Material Document Year 20130826
16 Importing I_VBELN Call by reference Type reference (TYPE) VBELN_VL Delivery Document Number 20130826
17 Importing I_VBTYP_N Call by reference Type reference (TYPE) VBTYP SD document category 20130826
18 Importing I_XBLNR_ODN Call by reference Type reference (TYPE) XBLNR_LIKP Reference Document Number 20130927

Method GET_MAP_FIELDS_DELIV on class CL_WSPT_COMMUNICATION_AT has no exception.

Method GET_ODN_FROM_CERTIFICATION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_XBLNR_ODN Call by reference Type reference (TYPE) XBLNR_LIKP 20130927
2 Importing I_BUKRS Call by reference Type reference (TYPE) BUKRS Company Code 20130927
3 Importing I_LFART Call by reference Type reference (TYPE) LFART Delivery Type 20130927
4 Importing I_VBELN Call by reference Type reference (TYPE) VBELN_VL Delivery 20130927
5 Importing I_VBTYP_N Call by reference Type reference (TYPE) VBTYP_N Document category of subsequent document 20130927
6 Importing I_XLIKP Call by reference Type reference (TYPE) LIKPVB Current Status of Delivery Headers 20130927
7 Importing I_YLIKP Call by reference Type reference (TYPE) LIKP Database Status: Delivery Header 20130927

Method GET_ODN_FROM_CERTIFICATION on class CL_WSPT_COMMUNICATION_AT has no exception.

Method GET_UNIT_PRICE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_XLIKP Call by reference Type reference (TYPE) LIKPVB Reference structure for XLIKP/YLIKP 20131001
2 Importing IS_XLIPS Call by reference Type reference (TYPE) LIPSVB Reference structure for XLIPS/YLIPS 20131001
3 Importing IV_KALSP Call by reference Type reference (TYPE) KALSP Shipping: Pricing procedure 20130826
4 Importing IV_NETWR Call by reference Type reference (TYPE) NETWR Net Value in Document Currency 20130826
5 Importing IV_POSNR Call by reference Type reference (TYPE) POSNR Item number of the SD document 20130826
6 Importing IV_QUANTITY Call by reference Type reference (TYPE) LFIMG Actual quantity delivered (in sales units) 20130826
7 Importing IV_VBELN_REF Call by reference Type reference (TYPE) VBELN Sales and Distribution Document Number 20130826
8 Returning RV_UNIT_PRICE Value transfer Type reference (TYPE) KBETR 20130826

Method GET_UNIT_PRICE on class CL_WSPT_COMMUNICATION_AT has no exception.

Method GET_USER_PASS_SECURE_STORE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_MESSAGE Call by reference Type reference (TYPE) WSPT_MESSAGE_LINE WSPT: Operations Status Message 20130826
2 Exporting E_PASSWORD Call by reference Type reference (TYPE) XSTRING Password 20130826
3 Exporting E_USERNAME Call by reference Type reference (TYPE) STRING Username 20130826
4 Importing IT_XLIKP Call by reference Type reference (TYPE) SHP_LIKP_T Current Status of Delivery Headers 20130927
5 Importing IT_YLIKP Call by reference Type reference (TYPE) SHP_YLIKP_T Database Status: Delivery Header 20130927
6 Importing I_MBLNR Call by reference Type reference (TYPE) MBLNR Material Document Number 20130826
7 Importing I_MJAHR Call by reference Type reference (TYPE) MJAHR Material Document Year 20130826
8 Importing I_VBELN Call by reference Type reference (TYPE) VBELN_VL Delivery Number 20130826
9 Importing I_VBTYP_N Call by reference Type reference (TYPE) VBTYP_N Document category of subsequent document 20130927

Method GET_USER_PASS_SECURE_STORE on class CL_WSPT_COMMUNICATION_AT has no exception.

Method GET_VBTYP_N Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_VBTYP_N Call by reference Type reference (TYPE) VBTYP_N Document category of subsequent document 20130826
2 Importing I_VBELN Call by reference Type reference (TYPE) VBELN_VL Delivery 20130826

Method GET_VBTYP_N on class CL_WSPT_COMMUNICATION_AT has no exception.

Method PREPARE_WSPT_LIKP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_DOC_CM Call by reference Type reference (TYPE) CHAR1 Single-Character Indicator 20130826
2 Exporting E_ERROR Call by reference Type reference (TYPE) CHAR1 20130826
3 Exporting E_WSPT_LIKP Call by reference Type reference (TYPE) WSPT_LIKP Documents for Portugal Webservice 20130826
4 Exporting E_XBLNR_ODN Call by reference Type reference (TYPE) XBLNR_LIKP Reference Document Number 20130927
5 Importing IT_XLIKP Call by reference Type reference (TYPE) SHP_LIKP_T Current Status of Delivery Headers 20130927
6 Importing IT_YLIKP Call by reference Type reference (TYPE) SHP_YLIKP_T Database Status: Delivery Header 20130927
7 Importing I_DOC_CATG Call by reference Type reference (TYPE) WSPT_DOC_CATG Document Category 20130826
8 Importing I_DOC_LEVEL Call by reference Type reference (TYPE) WSPT_DOC_LEVEL Document level(for IS-OIL) 20130826
9 Importing I_DOC_TYPE Call by reference Type reference (TYPE) WSPT_DOC_TYPE Document Type 20130826
10 Importing I_FROM_MONITOR Call by reference Type reference (TYPE) FLAG Start from WSPT_MONI 20130927
11 Importing I_MBLNR Call by reference Type reference (TYPE) MBLNR Number of Material Document 20130826
12 Importing I_MJAHR Call by reference Type reference (TYPE) MJAHR Material Document Year 20130826
13 Importing I_VBELN Call by reference Type reference (TYPE) VBELN_VL Delivery 20130826
14 Importing I_VBTYP_N Call by reference Type reference (TYPE) VBTYP_N Document category of subsequent document 20130826

Method PREPARE_WSPT_LIKP on class CL_WSPT_COMMUNICATION_AT has no exception.

Method READ_SECURE_STORE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_CONTENT Call by reference Type reference (TYPE) RSECDATA SECSTORE: Data 20130826
2 Exporting E_MESSAGE Call by reference Type reference (TYPE) WSPT_MESSAGE_LINE WSPT: Operations Status Message 20130826
3 Importing I_ENTRY_ID Call by reference Type reference (TYPE) RSECID ID of Record in Secure Storage 20130826

Method READ_SECURE_STORE on class CL_WSPT_COMMUNICATION_AT has no exception.

Method READ_TEXT_DELIVERY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_MESSAGE Value transfer Type reference (TYPE) WSPT_MESSAGE_LINE WSPT: Operations Status Message 20131001
2 Exporting E_VBELN_GD Value transfer Type reference (TYPE) VBELN_VL Delivery 20131001
3 Importing IS_XLIKP Call by reference Type reference (TYPE) LIKPVB Reference structure for XLIKP/YLIKP 20131001
4 Importing IS_XLIPS Call by reference Type reference (TYPE) LIPSVB Reference structure for XLIPS/YLIPS 20131001
5 Importing I_BUKRS Call by reference Type reference (TYPE) BUKRS Company Code 20131001
6 Importing I_VBELN Call by reference Type reference (TYPE) VBELN_VL Delivery 20131001

Method READ_TEXT_DELIVERY on class CL_WSPT_COMMUNICATION_AT has no exception.

Method REPLACE_SPECIAL_CHARACTERS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_STRING Call by reference Type reference (TYPE) STRING 20130826

Method REPLACE_SPECIAL_CHARACTERS on class CL_WSPT_COMMUNICATION_AT has no exception.

Method SAVE_LOG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_LOG_HANDLE Call by reference Type reference (TYPE) BALLOGHNDL Application Log: Log Handle 20130826

Method SAVE_LOG on class CL_WSPT_COMMUNICATION_AT has no exception.

Method UPDATE_LOG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_LOG_HANDLE Call by reference Type reference (TYPE) BALLOGHNDL Application Log: Log Handle 20130826
2 Importing I_MESSAGE Call by reference Type reference (TYPE) WSPT_MESSAGE_LINE Error message 20130826
3 Importing I_TYPE Call by reference Type reference (TYPE) SYMSGTY Message Type 20130826

Method UPDATE_LOG on class CL_WSPT_COMMUNICATION_AT has no exception.

Method VALIDATE_POSTAL_CODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_POST_CODE Call by reference Type reference (TYPE) AD_PSTCD1 City postal code 20130826
2 Returning R_POST_CODE Value transfer Type reference (TYPE) AD_PSTCD1 City postal code 20130826

Method VALIDATE_POSTAL_CODE on class CL_WSPT_COMMUNICATION_AT has no exception.

Method VALIDATE_RESPONSE_WS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_APPR_ID Call by reference Type reference (TYPE) WSPT_APPR_ID Document Approval ID 20130826
2 Exporting E_HAS_ERROR Call by reference Type reference (TYPE) ABAP_BOOL Validate flag 20130826
3 Exporting E_STATUS Call by reference Type reference (TYPE) WSPT_DOC_STATUS Document Status for PT Websevice 20130826
4 Exporting E_T_MESSAGE Call by reference Type reference (TYPE) WSPT_T_RESPONSE_STATUS 20130826
5 Importing I_RESPONSE Call by reference Type reference (TYPE) WSPTSTOCK_MOVEMENT_RESPONSE1 Proxy Structure (generated) 20130826

Method VALIDATE_RESPONSE_WS on class CL_WSPT_COMMUNICATION_AT has no exception.
History
Last changed by/on SAP  20140121 
SAP Release Created in