cancel
Showing results for 
Search instead for 
Did you mean: 

Copy Engineering Record

former_member393433
Participant
0 Kudos

Hello Gurus,

SAP allows Engineering Records to be copied only when the status is in the following and does not allow in other status

Change Enquiry

Change Request in Process

Is there any specific reason for this functionality ( not allowing you to copy Engineering Record from other status)?

Is there a config setting to override this?

Kindly advice.

Thanks & Regards

Jo

Accepted Solutions (1)

Accepted Solutions (1)

former_member214775
Contributor
0 Kudos

Hi Jo,

it can not be changed with customizing as it is hard-coded in the Engineering Record:

class/method: /PLMI/IF_EX_ECR_ENHANCEMENTS~CHECK_BEFORE_COPY

* check if change record status
* when status of template ECR is 10 or 20,only then it can be used as
* template
   IF ls_header_std-status = '10'
   OR ls_header_std-status = '20'.
     ev_veto = abap_true.
   ELSE.
     ev_veto = abap_false.
*   raise message "Change record of status "Approved" and above cannot be used
     MESSAGE e095(/plmi/ecr_bo) INTO gv_msg.


I think the reason is not technical rather it is business related.


You cannot save the change record as an engineering record template if any of the following statuses are set:

  • Change Request Approved
  • Change Order in Process
  • Change Implementation
  • Change Completed
  • Closed
  • Change Request Rejected


You can change this behaviour with imnplementing the following BAdI:


Product Lifecycle Management (PLM) - PLM Web User Interface - Objects in PLM Web UI - Engineering Record - BAdI: Change Items Settings


See documentation:

"Checks the engineering record templates for validity before copying"


Best regards

Tamas

Answers (1)

Answers (1)

former_member393433
Participant
0 Kudos

Thank you very much Tamas.

It was helpful.

Thanks & Regards

Jo Pz