ENDE037E error in Endevor's Quickedit "Create element" function
search cancel

ENDE037E error in Endevor's Quickedit "Create element" function

book

Article ID: 251171

calendar_today

Updated On:

Products

Endevor

Issue/Introduction

CR option (create element) from Quickedit panel might fail with short message "element exists".

Hitting PF1 to display the long message shows 'ENDE037E The element already exists.  It cannot be created'

However, the element being created does not exist at the entry stage.

 

Environment

Release : 18.1

Component : Endevor

Cause

Quickedit CR (create) function has a restriction. The element being created must not exist anywhere else, neither in the environment where the create is attempted, nor in any other environment defined in C1DEFLTS table.

Note that Quickedit follows both the physical and the logical path when checking whether the element already exists. Therefore, message ENDE037E will arise in EITHER of the following cases:

  • An element with the same name, type, system and subsystem is already present in any of the stages defined in the C1DEFLTS macro (physical path)
  • The element is already present in any stage "up the map" under a mapped system/subsystem (logical path)

Note that the system and subsystem may change between a stage and the next when an element moves "up the map". This will happen if the definition of the system or the subsystem in the source stage specifies a new name in the 'next system' or 'next subsystem' fields.

If this happens, message ENDE037E will arise if an element with the same name and type is present at a mapped stage under a system/subsystem which is mapped to the system/subsystem specified in the CREATE action. This may look confusing but is absolutely correct.

Resolution

List all elements with the same name and type for all systems and subsystems in all stages.

If the same exact element/system/subsystem/type is already present at any stage, then the message is correct as the element already exists, even though it resides in a non-mapped stage.

For elements found in stages mapped from the entry stage, see whether its system/subsystem is mapped to the system/subsystem specified in the create action. If so, the message is correct as the element does in fact exist "up the map".

If the element exists "up the map", use the 'edit element' option as usual to fetch a copy of the element into the entry stage

If the element is present outside the map, then use ADD ELEMENT action of classic endevor (either via the panels or via batch) to add the element into the entry stage.