Symptom
You noticed that the Route Group in Dynamic Visit Planning was saved as draft automatically.
Environment
SAP Cloud for Customer
Reproducing the Issue
- Navigate to Dynamic Visit Planning Work Center.
- Go to Route Groups Work Center View.
- Click New (+).
- Fill in data and leave one/few mandatory fields empty.
- There is no Save as draft option.
- Click save.
- See the error message "Failed to change route group status. Mandatory attribute ABC cannot be empty" (where ABC is the mandatory field).
- Close the creation view.
- Go back to the Route Groups View.
- The Route Group will be there with draft status.
Cause
When the Route Group is created from UI for the first time, a draft Route Group is created and saved immediately. This is to prevent data to be lost in case the tab is closed or browser or the network disconnects.
Resolution
From the UI, if all the mandatory attributes are filled and saved, the Route Group will automatically be In Preparation status.
Keywords
DVP; Dynamic Visit Planning; Route; Group; Route Groups; Draft; Save; C4C; Sales; Add-On; , KBA , LOD-CRM-DVP , SAP Sales Cloud, dynamic visit planning add-on , How To