cancel
Showing results for 
Search instead for 
Did you mean: 

Engineering Record and Change Master

former_member393433
Participant
0 Kudos

Guru's,

This is my scenario " I have three different ER types with different number range. I also have three different number ranges for Change Master with same as that of Eng Records. I want my ER to pick to their own respective Change Number so that they align with each other.

P.S: I also have same number range defined in SNRO for /PLMI/ECRN.

Kindly advise on how I can achieve this.

Thanks & Regards

Jo

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member188458
Active Participant
0 Kudos

Hi Jo ,

As Amarnath mentioned , the BADI is the way forward , as this isn't an SAP standard functionality .

Further , this BADI can have only a  single implementation and SAP already has one implementation done

So you would to overwrite the method , CREATE_ECN_AT_ECR_HEADER , of  the class /PLMI/CL_ER_ECN.

1) Copy the existing code in this method

2) Adjust the code to fetch the change number of the required range based on the ER type.

Hope this helps further.

Best Regards,

Rini

amarnath_singanamala2
Participant
0 Kudos

Hi Jo,

You can try using the BAdi '/PLMI/ES_CREATE_ECN' and there are couple of methods to create ECN at header level and item level you can have your logic to generate specific change number from the corresponding Number Range.

Thanks,