on 09-09-2015 7:11 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
110 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.