SAP Knowledge Base Article - Public

3320190 - Date format issues for different regions in Analysis for Office

Symptom

There is a date format on database side and when displaying this date in Analysis for Office, depending on the region, this date can be either displayed as DD/MM/YYYY or MM/DD/YYYY and when changing its format manually to the one displayed on database level, the following warning comes in:

  • "All selections for characteristic DATE_SQL are invalid and have been discarded".

The issue is placed when using F4 help and all other prompts related to variables.

Environment

  • SAP Analysis for Microsoft Office
  • SAP Analysis for Microsoft Office 2.8

Reproducing the Issue

  1. Open a report in AO containing a variable related to date;
  2. F4 help in the affected variable;
  3. The date format will come up differently than the one presented on DB Level.

Cause

Parameter AllowLiteralMemberSelectionsInVariablesHana is set to TRUE in AO.

Resolution

Change parameter AllowLiteralMemberSelectionsInVariablesHana to FALSE.

In case this parameter is not presented under path File -> Analysis -> Customize Analysis -> Technical Configuration -> search for AllowLiteralMemberSelectionsInVariablesHana, then:

  1. Close your AO;
  2. Search for AO on OS level;
  3. Before running it, give a right click on the AO icon -> Run as administrator;
  4. Look for the same setting once again.

See Also

  • 2083067 - How to maintain settings for Analysis Office 2.x
  • 2431911 - How to create a custom package of Analysis Office
  • 2452938 - Selecting a date value raises a warning message

Keywords

AllowLiteralMemberSelectionsInVariablesHana, DATE_SQL, invalid and have been discarded, date format, region, All selections for characteristic, variable, F4 help, maintain, setting. , KBA , BI-RA-AO-XLA , Excel Addin , Known Error

Product

SAP Analysis for Microsoft Office 2.8