SAP Knowledge Base Article - Public

3781881 - Ghost Ticket Created Without a Subject When Confirming Save on Close in Ticket QC

Symptom

A ghost ticket (no subject) is created in the system after closing the Ticket quick creation view and confirming the save prompt.

Environment

SAP Cloud for Customer

Reproducing the Issue

  1. Go to Service Work Center
  2. Go to Tickets view.
  3. Click Create New Ticket.
  4. In the Ticket quick creation view, attempt to create a ticket without filling in the mandatory Subject field.
  5. Observe the error: "Subject is required."
  6. Click the Close (X) icon on the New Ticket.
  7. In the popup “There are unsaved changes. Do you want to save your changes?”, select “Yes.”

Cause

  • When the user selects “Yes” in the close confirmation, the standard UI controller mandatory validation is not executed in this scenario.
  • Subsequent partner development (PDI) save logic runs and does not validate the application-defined mandatory conditions for Subject.
  • As a result, the ticket is saved without the mandatory Subject field.

Resolution

From the PDI perspective, using false as the initial default value is considered a safer approach, as it minimizes the risk of unintended save operations and helps prevent the creation of records when mandatory field validation has not been successfully completed.

Keywords

ghost ticket, no subject, unsaved changes, save on close, subject is required, close prompt, mandatory field , KBA , LOD-CRM-SRP , Service Request Processing , How To

Product

SAP Cloud for Customer add-ins all versions ; SAP Cloud for Customer core applications all versions