cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

(PT) ATCUD and Digital signature in SOAP API

Ola4
Explorer
0 Kudos
231

Hello,

For sending billing documents in Portugal market, we are considering using SOAP API “CO_EDI_INVOICE_REQUEST_OUT” in S/4 (https://api.sap.com/api/CO_EDI_INVOICE_REQUEST_OUT/resource).

In Portugal it is mandatory to communicate the Digital Signature information with the billing document, in the SOAP API it is done with the following segments:

 

  • PT_DigitalSignature - optional; type PT_DigitalSignature
    • PT_DocumentNo - optional; type PT_DocumentNo - type string with restriction maxLength(20)
    • PT_QRCode - optional; type PT_QRCode - type string with restriction
    • PT_SgntrCertificate - optional; type PT_SgntrCertificate - type string with restriction maxLength(20)
    • PT_SeriesDocumentNumber - optional; type PT_SeriesDocumentNumber - type string with restriction maxLength(70)
    • PT_HashKey - optional; type PT_HashKey - type string with restriction maxLength(7)
    •  

But we must be on the wrong version of SOAP API “CO_EDI_INVOICE_REQUEST_OUT” in S/4, because these segments are not part of the API for us. So now to the question, does anyone know the class methods and/or function modules we can use to obtain this segment information (PT_DigitalSignature+sub elements) information and attach it to the API message? (We have checked the overall note 3154599 and there is nothing relevant for us..).

Thanks in advance

View Entire Topic
Lakshmipathi
SAP Champion
SAP Champion
0 Kudos


You are likely working with an older version of the API or your system hasn not been updated to include the Portugal-specific extensions. Ensure, you are working with the latest API version as per this SAP documentation  and it includes Portugal-specific segments
Check in SFW5 whether Portugal localization is active in your system because, in S/4HANA, country specific fields like PT_DigitalSignature are activated via BC sets or country specific customizing