2010 Feb 15 1:45 PM
Dear All,
While creating PM order in IW31, system is creating PRs in back for each line item at the time of release. We have some validation on PR part with the enhancement M06B0005. I kept one error message for one scenario and its working fine from PR. But when the same condition met while creating PM order and inturn creating PR, its throwing same error message. We have expected that and we need it as well. But after getting error message, if I press enter its going to short dump. If I use warning message or information message, its just showing message and in back ground it releases PM order. How can we avoid shot dump and allow the system to change the specific values based on condition, so that system will produce PR wihtout any error.
Kindly provide some solution. I tried to with Roll back also but could not succeed.
Regards,
CSY.
Dear All,
While creating PM order in IW31, system is creating PRs in back for each line item at the time of release. We have some validation on PR part with the enhancement M06B0005. I kept one error message for one scenario and its working fine from PR. But when the same condition met while creating PM order and inturn creating PR, its throwing same error message. We have expected that and we need it as well. But after getting error message, if I press enter its going to short dump. If I use warning message or information message, its just showing message and in back ground it releases PM order. How can we avoid shot dump and allow the system to change the specific values based on condition, so that system will produce PR wihtout any error.
Kindly provide some solution. I tried to with Roll back also but could not succeed.
Regards,
CSY.
2010 Feb 15 1:54 PM
Hi!
What's exactly the short dump?
You might try to put the check to an another exit, like
IWO10009 - PM Order save
IWO10002 - PM maintenance order: Customer check for order release
In most common we are using checks and give error messages from these exits.
Regards
Tamá
2010 Feb 15 2:41 PM
Hi,
I tried all those options, but after these two enhancements only, its going to PR related enhancement and getting an error message based on given condition. Then If I press enter, its going to short dump. Kindly provide some solution.
Regards,
CSY.
2010 Feb 15 9:13 PM
Instead of direct invoking the error message you might try to use message macros used in PO and PR. Include name is MM_MESSAGES_MAC "Macro Definitions for Event Handling". Use as follows:
* MESSAGE e685(06) INTO gl_dummy.
mmpur_message 'E' '06' '685' '' '' '' ''.
This shoud add the error message into the PR log and prevent PR saving.
Edited by: Sergey Korolev on Feb 16, 2010 12:15 AM
2010 Feb 16 5:26 AM
Hi,
I am creating PR from PM order and kept some conditions in that exit and its working fine. My problem here is that I am validating some of the conditions in PR side and throwing error messages for them. Thats also working fine. But while creating PR in background from PM order, it will check those conditions in PR as well and throws error. So whenever I get any error in PR while creating from PM order, it shows that error message in IW31 and if I press enter, then its going to dump. But I want to be there in IW31 so that user can change the PM order according and then process release. Hope its clear now.
So I want to show those error messages in PM order log and I have to stop PR as well as PM order release. Once we change the PM order and if we dont get that error then only It has to save PR and PM order.
Regards,
CSY.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |