SAP Knowledge Base Article - Preview

2714940 - currentDate function returns different result for year in 7.50 release

Symptom

You are using a mapping with the standard function currentDate from the function category Date. You have noticed that the function returns a different result in your 7.10 or 7.31 or 7.40 system than it returns in your 7.50 system.

You use currentDate with format: yMMdd (or any other format where only y or yy is included). The day of the test in this example is 2018. November 1 (20181101).

  • In your 7.10, 7.11, 7.30, 7.31 and 7.40 system the currentDate functions returns 181101.
  • In your 7.50 system the currentDate functions returns 20181101.


Read more...

Environment

  • SAP NetWeaver 7.1
  • SAP enhancement package 1 for SAP NetWeaver 7.1
  • SAP NetWeaver 7.3
  • SAP enhancement package 1 for SAP NetWeaver 7.3
  • SAP NetWeaver 7.4
  • SAP NetWeaver 7.5

Product

SAP NetWeaver 7.3 ; SAP NetWeaver 7.4 ; SAP NetWeaver 7.5 ; SAP NetWeaver Process Integration 7.1 ; SAP enhancement package 1 for SAP NetWeaver 7.3 ; SAP enhancement package 1 for SAP NetWeaver Process Integration 7.1

Keywords

Process Integration 7.10, PI 7.10, Process Integration 7.11, PI 7.11, Process Integration 7.30, PI 7.30, Process Integration 7.31, PI 7.31, Process Orchestration 7.40, PI 7.40, PO 7.40, Process Orchestration 7.50, PI 7.50, PO 7.50, NetWeaver, XI, AEX, currentDate, JVM, Java 6, Java 8, mapping, Date, java.util.Date , KBA , BC-XI-IBD-MAP , Integration Builder Design - Mapping , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.