Skip to Content

[C4C - SDK] Export Excel in the background with PDI

We'd like to send weekly reports as e-mails with an excel file attached.

The reason we can't use Broadcasts is that we want to send the emails based on Business Role, not user-specific.

We'd like to know if it is possible to create an excel file in the PDI side with the fields (queries) we want.

1 - Is it possible to enhance the broadcast work center?

2 - Is it possible to extract reports (with PDI) created in Business Analytics work center?

3 - Is there another way to export an excel with using PDI?

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Jul 10, 2020 at 04:36 PM

    Hi,

    Based on my experience you cannot generate an excel in PDI but instead, you can generate a CSV for data export.

    Also, there is no way to enhance broadcasting recipient scope to the business roles instead of the business user. BUT you can utilize the "Attribute For Email" field where you can pass a dummy field that contains email address of some DL (Distribution List) and then the system can send out the email to everyone within that email DL.( This DL will contains everyone from desired business role)

    If you want to access the report data within PDI then SAP don't expose a direct object to access reporting data within ABSL script. Rather you need to build an Odata Query from UI for that report or data source and then call the same odata via ABSL to retrieve the reporting data within ABSL.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.