Enterprise Resource Planning Blogs by SAP
Get insights and updates about cloud ERP and RISE with SAP, SAP S/4HANA and SAP S/4HANA Cloud, and more enterprise management capabilities with SAP blog posts.
cancel
Showing results for 
Search instead for 
Did you mean: 
harivenkatesh_s
Product and Topic Expert
Product and Topic Expert
1,960

Introduction

In this blog, we will discuss about the new Reporting Item API of Group Reporting.  We will also show how  to create Hierarchy variables and restricted structure members for Group Reporting queries using Custom analytical queries and Services application. Additionally, we will demo on how to publish the Group Reporting based custom query in Multidimensional Analysis Grid.

 

Reporting Item API: API_CNSLDTNRLBSDGRPJRNLITM

This new API contains the Reporting Item as a field and displays it member values along with key figures and other fields. In the API without reporting item: API_CNSLDTNGRPJRNLITEM there were 3 hierarchy parameters. In this API, we have added two more  parameters: P_ConsolidationRptgItemHier and P_ConsolidationRptgRuleID. Similar to the analytical applications, for e.g. Group Data Analysis with Reporting Rules, you need to provide the ConsolidationReportingItem hierarchy  and ConsolidationReportingRuleID that are already defined in the Define Reporting Rules. Similarly, you need to provide it in the API and you can look at the sample URI:

sap/opu/odata/sap/API_CNSLDTNRLBSDGRPJRNLITM/CnsldtnRuleBsdGrpJrnlItem(P_ConsolidationUnitHierarchy='%24',P_ConsolidationPrftCtrHier='%24',P_ConsolidationSegmentHier='%24',P_KeyDate=datetime'2024-12-31T00:00:00',P_ConsolidationRptgItemHier='X2',P_ConsolidationRptgRuleID='Y10')/Results?$select=ConsolidationUnit,FinancialStatementItem,FiscalYearPeriod,ConsolidationReportingItem,ProfitCenter,SubItem,AmountInGroupCurrency&$filter=ConsolidationVersion eq 'Y10' and PeriodMode eq 'YTD' and ConsolidationGroup eq 'CG2' and FiscalYear eq '2022'

In the Video below, you will see a demo on how you can use this API for SAC using the ODATA Service:

APIVideo.png

 

Multidimensional Analysis Grid Using Group Reporting Data Source

You can now publish the Group Reporting Custom query in Multidimensional Analysis Grid. The pre-requisites are:

  • Analytical Query of type V3 (CDS Analytical Projection Views)
  • INA Service

The queries that are created in the new app: "Custom Analytical Queries and Services" are of type V3. You can watch a demo below on how to create the V3 query:

CustomQuery.png

You will notice that in the above demo you can create Variables, provide fixed values for dimensions, choose dimensions and key figures as per your use case. Most of it was possible in the previous release also using the app.: Custom Analytical Queries (but of type V1 query).

You can also create a FS Item hierarchy variables as shown below:

FSItemHierachyVariable.png

The variables can also be used in a Restricted measure or Key figure. It is possible to create restricted structure member in the custom query. Please watch the below demo that illustrates the creation of Current Year VS Previous Year for Amount in Group Currency.

CurrentYearVsPreviousYear.png

Now its time to create an INA service. Please make sure the custom query is published before creating an INA Service. In the app. "Custom Analytical Queries and Services" click the link "Manage InA Services " and follow the video below to create a service:

INAService.png

In the above example, you will see that the InA service is created out the custom query that we created in the above demo. 

Please now load the app "Manage KPI and Reports" and select the tab "Multidimensional Reports" and click the create button as shown below:

CreateMDAGRReport.png

You can select the Custom query and INA Service and publish it as shown below:

PublishMDA.png

While publishing you need to select the Business Catalog and you can create a Custom Tile.

You can see the results on loading the app. based on Multidimensional Analysis grid:

Results.png

 

Conclusion

Please feel free to share your thoughts by commenting on this blog. Also, we can use this blog as a communication tool for any clarification that you require on this topic. You can also follow my profile for more content on the analytical application for group reporting. I would recommend that you post your questions by specifying the tag: “SAP S/4HANA Finance for group reporting”.

9 Comments
SAP_ALL
Explorer
0 Kudos

Unable to play video.

harivenkatesh_s
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

Are you able to play the video after logging in?

Regards,

Hari

hgledhill
Explorer
0 Kudos

Hi @harivenkatesh_s ,

I'm also unable to play the videos. I'm asked to log in to watch the video, but do not have access - see error message below. I think only SAP employees can view them. Can you please host them somewhere publicly available?

Thanks,

Hugh

 

Error message

"AADSTS90072: User account 'XXX' from identity provider 'XXX' does not exist in tenant 'SAP SE' and cannot access the application 'https://accounts.sap.com'(SAP SE: SAPID UnifiedAuthentication PROD) in that tenant. The account needs to be added as an external user in the tenant first. Sign out and sign in again with a different Azure Active Directory user account"

harivenkatesh_s
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Hugh,

Can you please check now?

Thanks,

Hari

 

hgledhill
Explorer
0 Kudos

@harivenkatesh_s no luck, same issue.

PedroBezerra
Explorer
0 Kudos

Hi Hari, I trust all is well on your end. I'm also having issue to access the videos. any tip? also like to ask if these new functionalities are planned for Private cloud or will be only at public cloud. Thanks Pedro Bezerra

P489412
Newcomer
0 Kudos

Hello,

 

is it posible to see the videos, I have the same error, any advise on this?

harivenkatesh_s
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

Can you check if your user is part of Analytics user group?

Regards,

Hari

harivenkatesh_s
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi, 

I have now managed to changed the property of the above video. Let me know if you are able to view it.

Regards,

Hari