cancel
Showing results for 
Search instead for 
Did you mean: 

Error While Generating or Displaying XML in eDocument Cockpit (EDOC_Cockpit) - KSA E-Invoicing

AashishS
Discoverer
0 Kudos
157

Dear All,

I am currently implementing KSA E-Invoicing using the SAP Document & Reporting Compliance solution on S4HANA. I have completed the required SAP notes implementation and post-implementation steps as outlined in the following SAP note:

[Main SAP Note: 3095262](https://me.sap.com/notes/3095262/E)

After completing the configuration, I can view Invoices/Billing documents in the `EDOC_COCKPIT` transaction. However, when attempting to "Generate XML" or "Display" an invoice, I encounter the following error:

The data object could not be created: The type does not exist.

AashishS_0-1731153960306.png

I would appreciate assistance in resolving this issue, as it has become a roadblock.

Here is a high-level process flow we aim to achieve:

SAP Invoices (EDOC_COCKPIT) ⟶ SAP PI/PO ⟶ Third Party Vendor ⟶ ZATCA

In addition to the error above, I am seeking guidance on the following points:

1. Sending XML to SAP PI/PO Endpoints configuration in S4HANA (EDOC COCKPIT)
2. QR Code Confirmation: How and where the QR code confirmation will be received and saved.
3. Validated Invoice Transmission: How the validated invoice will be sent to the customer through `EDOC_COCKPIT`.

Any help on the above points or guidance on related configurations and documentation would be greatly appreciated.

Regards,
Aashish

 

Accepted Solutions (0)

Answers (2)

Answers (2)

AashishS
Discoverer
0 Kudos

Hello Everyone,

Just to add on above issue, i did the configuration again and now i am getting below error -

Error when calling &EDOC_AIF_GENERIC_CHECK&

Character string as message or exception with OTR text

Please help!

amontella96
Active Contributor
0 Kudos

Hi AashishS

 as you didn't mentioned any steps, the answer is you didn't "set up integration scenarios using the integration package SAP DRC: Electronic Invoice for Saudi Arabia" as per Integrating With SAP Integration Suite . 

for the other topics, i recommend you open different threads and be more descriptive

Cheers!A

AashishS
Discoverer
0 Kudos

Hi Amontella,

Thank you for your response.

I didn't specify the exact steps as implementing the notes and completing all post-installation steps for both Phase 1 and Phase 2 should cover the configuration in full. However, I double-checked each configuration step using the link you provided, yet the error persists.

Since I'm not using IS, I haven’t installed the IS package included for the KSA E-Invoicing solution. As mentioned, my data will be passed through SAP PO middleware to a vendor API, which then submits it to ZATCA for validation.

I've successfully connected my SAP PO API endpoint via SOAMANAGER services, and the ping test is working as expected. However, when I try to display or generate the XML, I still encounter the error shown in the screenshot I previously shared. Could you let me know if you’ve experienced this issue before and how you resolved it?

Thank you in advance for your assistance.

Best regards,
Aashish

amontella96
Active Contributor
0 Kudos
yeah ... my answer was not fitted for your scenario. apologies for that