SAP Knowledge Base Article - Public

2734389 - Main Account Does Not Reflect Selected Value in Report


You are reporting on top of data source All Activities [CODACTU]. When filtering on field Main Account you select a specific Account ID from Value Help, but in report level other IDs are reflected instead.


SAP Cloud for Customer

Reproducing the Issue

  1. Go to Business Analytics > Design Reports
  2. Find and open report ABC
  3. In report selection, click on value help for standard field Main Account
  4. In value help, select the account id NNNN (e.g. 808928)
  5. See that report results are retrieving multiple different ids, but none of them is the one you selected


You are reporting on a characteristic field which has hierarchy enabled.  It means that when selecting a value from value help you can either select the account as parent or child.
When you select the account as parent, the report results will show the account + all its children.
When it is selected as child it will show only this account.
In the above example, the parent account selected does not contain records itself, but the child accounts do have, so only the child accounts will be listed in report results.

Check into the screenshots from Attachments section for additional details.

Further, it is important to note the reason that value help for field Main Account shows results that are not visible in report results is because this is a characteristic of Master Data type context, so it will display all the values contained in master data by default, even if a given record may not be relevant for the specific report you are using.


This is a standard behavior which is expected when using a field of Master Data context type with Hierarchy enabled. To avoid misunderstanding of the report results, make sure to check if the account id you are selecting on value help contain any child ids.



Main Account values; Incorrect results in report; Report incorrect; Field Hierarchy; Characteristic Hierarchy; Report Hierarchy; Hierarchy; , KBA , AP-RC-ANA , C4C, ByD, Travel: Analytics Tools & Frameworks , How To


SAP Cloud for Customer add-ins 1802 ; SAP Cloud for Customer add-ins 1808 ; SAP Cloud for Customer add-ins 1811 ; SAP Cloud for Customer add-ins 1902


1st print for All Activities hierarchy field KBA.jpg
2nd Print for All Activities hierarchy field KBA.jpg