Skip to Content
Technical Articles
Author's profile photo James Taylor

Greece Tax Authority AADE(myDATA) subscription step by step and connectivity check from SCPI

Introduction

In this article I’m going to show how to subscribe to AADE myDATA Portal, the Greece Tax System, as requirement to configure the SCPI package “SAP Document Compliance: Electronic Tax Register Books for Greece” and how to check the connectivity from SCPI.

You read the SAP official guide “Greece Electronic Tax Register Books (e-Books): Setting Up SAP Cloud Platform Integration (SAP ERP, SAP S/4HANA)” and wondered what you need to deploy in your SCPI Security Material (paragraph 5.2 of the above guide). Here below how to obtain the credentials.

Disclaimer

Currently AADE myDATA production environment is not available, it will as of October 1.

Subscription steps

To subscribe you have to:

  • Fill in the form
  • Confirm the subscription from the received email

Go to the subscription form.

https://mydata-register.azurewebsites.net/

I’ve translated it from Greek to English so to reach out to a broader audience.

The input parameters are the following.

Username It’s the userId to authenticate SCPI against myDATA, you will deploy it in your SCPI Security Material; you can put your VAT number here
Code It’s the password to log in myDATA portal
Email It’s the email to log in myDATA portal; it’s used for receiving communications from AADE myDATA
Name First name
Last name Last name
VAT Number VAT Number of your Greek company
Input key It’s the password to authenticate SCPI against myDATA, you will deploy it in your SCPI Security Material: leave it blank, it will be automatically generated by myDATA and be available in your Profile (see below)

Once you’ve clicked on Sign up, the Input key gets generated (you can copy it now or later from your Profile) and you receive an email with a confirmation link.

Open your mailbox and click on the confirmation link.

Here’s myDATA portal.

To get the primary key to deploy in SCPI, click on Show under section “Your subscriptions”.

myDATA web services

From the home page, go to API METHODS.

Click on myDATADev.

And find the web service url (here below the SenInvoices).

Testing the connectivity

If you want to test the connectivity between SCPI and myDATA but you haven’t done the required installation on your SAP back-end system, therefore you can’t fire off the request from SAP backend, you can just simulate a call from SCPI.

First of all, let’s look at the Greece Send Invoice iflow. The receiver endpoint and the credentials are set at runtime.

In particular, the credentials are set as headers.

Let’s create an iflow triggered once by a timer that calls myDATA web service to test the user credentials obtained before. Set the credentials as constant in the header tab of a content modifier (when configuring the standard iflow you deploy them under Security Material as per the official guide).

Then check the result from the message monitor.

Thanks for reading.

Assigned Tags

      6 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Sissy Haegele
      Sissy Haegele

      Hi James, thanks for the step by step guide. very valuable.
      customer are wondering which Service they should use on Cloud Platform. I always recommend “Integration Suite” as CPI will be removed from the list of Eligible Cloud Services as of January 1st, 2021.

      https://discovery-center.cloud.sap/index.html#/serviceCatalog/process-integration

      Author's profile photo James Taylor
      James Taylor
      Blog Post Author

      Hi Sissy,

      thanks for the remark, yes, terminology does make the difference, very appreciated.

      Regards.

      Author's profile photo Martin Lin
      Martin Lin

      Hi Sissy, I think the statement that CPI will be removed from the list of eligible cloud services as of January 1, 2021 might lead to confusion if kept like this:

      1. SCP/CPI is not being sun-set as a cloud solution, meaning only on-prem PI or PO will be available.
      2. SAP changed its CPI offering and licensing this past spring/summer. What was available were two options - PI and Enterprise Editions on Neo.
      3. The CPI offering has been restructured with  new packages and material codes - Basic, Standard and Premium on Cloud Foundry.
      Author's profile photo Rajesh Nittala
      Rajesh Nittala

      Hi James,

      Thank you,

      Could you please advise on how to register for Production myData server for subscription keys and credentials for GoLive. Didn't get any clue from the dev portals. Thanks.

      Author's profile photo Brendan Farthing
      Brendan Farthing

      Hi James,

      We are currently setting up this integration for Greece within our company. One thing we are unsure of. In the SAP Cloud Integration settings there is a field for "Receiver_PROD_URL" and "Receiver_TEST_URL".

      Is there a separate hostname for TEST vs PROD? Or do they both use https://mydata-dev.azure-api.net/<OPERATION NAME> ?

      I know there is a separate Mode field and we are setting that as TEST or PROD, but we are not sure if we need to also adjust the URLs?

      Are there two different hostnames, one for TEST and one for PROD? Or do TEST and PROD use the same hostname? I cannot find any information on this anywhere, I can only see the https://mydata-dev.azure-api.net host mentioned.

       

      Thanks,

      Brendan

      Author's profile photo James Taylor
      James Taylor
      Blog Post Author

      Hi Brendan,

      for prod they've changed it to mydatapi.aade.gr. Test is still the same.

      JT