Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Send SAPS4HANA Prices to SAP AnalyticsCloud - Posting Connection lack of Details #112

Open
JTR7 opened this issue Nov 27, 2024 · 0 comments

Comments

@JTR7
Copy link

JTR7 commented Nov 27, 2024

Describe the bug

While trying to implement a similar interface sending data from S4 to SAC, i'm facing connection issues at the final Post action. The configuration guide and details from this community field are not clear enough to understand these final posting method details. Can anyone help me please?

I'm having 2 different issues with the following relationships.

  1. Entity may not be full as described in the error message in SAP Integration Suite Monitoring

image

  1. After investigating this issue an SAP Note described this to be solved by adding "*" to the Scope of the OAUTH Credential, Which i did and then i started to receive the following

image

This now is describing as missing a grant_type. ALthough my assumption is that when an OAUTH Security Artifact is added in CPI it already consideres that type of "grant_type".

This is currently the error message i see but not sure if the previous configurations are done correctly.

For the POST method to SAC i'm using the data import API which then uses the ModelID like the following

{BaseURL}/api/v1/dataimport/models/{modelID}/factData

To Reproduce
Steps to reproduce the behavior:
Developed an interface with the following logic:

  1. CPI sends an ODATA GET Call to a particular API in S4 (Enterprise Projects), stores the data and then prepares for posting to SAC.
  2. Before posting it sends a CSRF Get Call using the metadata data import API from SAC
  3. Finally, ussing the CSRF token, sends the payload from S4 to SAC

Expected behavior
Expect that a payload coming from an S4 (or another system) is sent successfully to SAC.

Screenshots
This is the final local integration process where it connects to SAC to pull a CSRF TOken and then POST the data to SAC.

image

Additional context
As described the main idea is to get data from an S4 object ( and then also Datasphere) and send it to SAC.

Thank you in advance to anyone who can support me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant