SAP Knowledge Base Article - Public

3193714 - Project number is skipping in Plan Customer Projects

Symptom

Customer has either BAdI Project Determination or Generate Project IDs implemented.

In some occasions the IDs are skipping one value.

Environment

SAP S/4HANA Cloud

Reproducing the Issue

  1. Go to plan customer projects.
  2. Create a project to serve as reference.
  3. Click create again, fill the fields and then cancel.
  4. Now click create and create the project.
  5. The ID will have skipped by 1.

Cause

Standard behavior of the sample code.

The sample code uses a number range object. On every execution it generates next available number in sequence.

If it is not used it cannot be retrieved back on next execution.

Resolution

Customer may implement a logic using the released CDS views, for example, I_EngagementProject, to get the next available ID.

Keywords

custom code, project ID, Custom Logic, Create Customer Projects, F0719 , KBA , CA-CPD-SS , S/4HANA Public Cloud – Professional Service Projects , Problem

Product

SAP S/4HANA Cloud all versions