2010 Feb 17 8:54 AM
Hi all,
We are trying to do certain validation for MB1C and MB1A. We are using the User-Exit EXIT_SAPMM07M_001, include ZXMBCU02 to do this validation. This is functioning properly, but the issue is:
If the validation fails, we throw an error message and stop further processing. When the error message is displayed, the screen becomes Un-Editable. Is there a way to make the screen fields ready for input?
Note: I do not have access to screen fields in the exit and hence i cannot loop at screen, neither can i write it in chain..endchain.
Kindly assist on this regard.
Thanks & Regards,
Ram.
Hi all,
We are trying to do certain validation for MB1C and MB1A. We are using the User-Exit EXIT_SAPMM07M_001, include ZXMBCU02 to do this validation. This is functioning properly, but the issue is:
If the validation fails, we throw an error message and stop further processing. When the error message is displayed, the screen becomes Un-Editable. Is there a way to make the screen fields ready for input?
Note: I do not have access to screen fields in the exit and hence i cannot loop at screen, neither can i write it in chain..endchain.
Kindly assist on this regard.
Thanks & Regards,
Ram.
2010 Feb 17 10:12 AM
I thnik this exit is not suitable for validation checks, the documentation says that its to add the segement text in the items.
Please specify what validation you are doing , so that i can suggest you any other exits or Badi's.
2010 Feb 17 10:17 AM
Hi Keshav,
We are validating the process by tracking the flow. It involves comparision of Movement Type, Reason for Movement and Recipient. Based on this combination if any step of the process is bypassed we need to stop the processing stating that the user has to follow appropriate steps.
Thanks & Regards,
Ram.
2010 Feb 17 10:27 AM
You can try Badi MB_CHECK_LINE_BADI.
Mean while ill let you know if i come across any exits.
If you are using MIGO transaction then there are other badis available.
2010 Feb 17 11:13 AM
Hi Keshav,
The BADI that you have mentioned is not called while Saving the document. I need to do the check while saving the MB1C/ MB1A transactions.
Thanks & regards,
Ram.
2010 Feb 17 10:30 AM
i try throwing a error message type success
and try checking that
with regards
s.janagar
2010 Feb 17 11:58 AM
Hi these two badi;s gets triggred for me in MB1C
MB_QUAN_CHECK_BADI
MB_CHECK_LINE_BADI
Goto class cl_exithandler
place a debug point in method get_instance
run the transaction
You will find these two badis getting called.
2010 Jun 11 8:25 AM
As there was no User Exit for validations, the customer was convinced for the screen behaviour.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |