on 10-08-2015 5:47 AM
Dear All,
To restrict process order entry if cost does not exists for that material, I have written a code in enhancement PPCO0001 ->ZXCO1U01 and it is working ok. It gives error message if cost is not entered for that material, but after than it is showing runtime error dump with message (attached image ).
Please help me to resolve this issue.
Regards,
Archana
This error clearly indicates that the user-exit is not suitable for the syntax you are using, perhaps because, this user-exit operates after Save and at Commit. So you should try user-exit PPCO0007 instead.
KJogeswaraRao
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Pillai,
The suitable and relevant enhancement for your requirement is BADI WORKORDER_UPDATE in place of user exit PPCO0001.
It has 2 methods one is at Creation of order and second one is at Release of order with checking MBEW-LPLPR field.
BR
KK
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Archana,
the problem is you send an error, this is not allowed in this user exit. See doucmentation and for example also FAQ note 1855055 question 1.
Please don't send error or warning from this user exit. If you need a user interaction make sure the user exit allow sending of error.
Maybe BAdI workorder_update methode at_save all the sending of error but only if you raise and exception together with this. Read the documentation for further details.
BR Sabine
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Pillai,
Maybe would be better if you share here the code.
Kind Regards,
Mariano
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
97 | |
10 | |
10 | |
6 | |
3 | |
3 | |
3 | |
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.