2011 Aug 12 11:40 AM
Hello,
I am getting bleow error while saving service order.
System: Status object does not exist. Message Numner IW351
Actually I have done one enhcement in the User exit of the Sales order in the form Routine...
USEREXIT_SAVE_DOCUMENT_PREPARE
From this depending upon the some validation i am populating Error message,
I am creating sales order through service order from the Transaction IW51.
When i Try to save the service order i get the error messages which is coming from my validation which
I had put in the MV45AFZZ.
After the error messgae i press ENTER and then try to change the order by clcicking on the advance shipment.
As soon as i click on that i get a STOP messgae.
Which i as below.
System: Status object does not exist
I m not getting why it is coming.
Kindly Help.
Regards
Sachin
Hello,
I am getting bleow error while saving service order.
System: Status object does not exist. Message Numner IW351
Actually I have done one enhcement in the User exit of the Sales order in the form Routine...
USEREXIT_SAVE_DOCUMENT_PREPARE
From this depending upon the some validation i am populating Error message,
I am creating sales order through service order from the Transaction IW51.
When i Try to save the service order i get the error messages which is coming from my validation which
I had put in the MV45AFZZ.
After the error messgae i press ENTER and then try to change the order by clcicking on the advance shipment.
As soon as i click on that i get a STOP messgae.
Which i as below.
System: Status object does not exist
I m not getting why it is coming.
Kindly Help.
Regards
Sachin
2011 Aug 12 11:49 AM
Hi Sachin,
Can you paste the code.Did you check by commenting the code in the exit.
Regards,
Madhu
2011 Aug 12 12:20 PM
If I comment my code then this is not comming.
It triggers because of any error message.
If I comment all my code and put only error message messag then it comes.
actually this is a result of error message.
If I put error message in another exit USEREXIT_SAVE_DOCUMENT then same problems comes.
so it has no link with code. whenever error message will come in service order screen it will display standard message.
pls suggest.
2011 Aug 12 12:08 PM
Hi Sachin,
Comment the code in the exit and check if u dont get the error then it is problem with ur code. Paste the code to check where u have gone wrong.
Thanks & Regards,
Neela
2011 Aug 12 12:32 PM
If I comment all my code and write only error message then it comes.
but it does't come for information and warning message.
actually steps are
1. go to IW51
2. create notification then service order then sales order
3. if product hierarchy is different for material then it should display error on saving
4. it is giving error message(my error message)
5. if i press enter and then click on advance shipment icon(truck) for change it display standard message.
which turn me out of transaction.
but if i click on advance shipment icon without pressing enter its working fine..
pls suggest.
2011 Aug 12 12:47 PM
Hi Sachin,
In ur error message what is the fm you have used. Do you have yes no options? I f u have wht is the code u have written for yes and no.
Thanks & Regards,
Neela
2011 Aug 12 12:50 PM
its simple error message. message e038(zcrm)
" service line must be same".
2011 Aug 12 1:17 PM
Hi ,
You can try the below option :
MESSAGE ixxx(xxx) with param1 param2 param3 DISPLAY LIKE 'E'.
Thanks ,
Suchi .
2011 Aug 12 1:17 PM
Can we call the error message in the sales order exit save_prepare?
I am not getting why any error messgae in not working for that?
Kindly help
2011 Aug 12 1:19 PM
If i try
MESSAGE ixxx(xxx) with param1 param2 param3 DISPLAY LIKE 'E'.
It will not stop my processing, I want to stop my processing if i am getting this error,
Regards
Sachin
2011 Aug 12 2:17 PM
Hi,
After MESSAGE add STOP. :
MESSAGE ixxx(xxx) with param1 param2 param3 DISPLAY LIKE 'E'.
STOP.or If ambiguity with usage of STOP being obselete use EXIT after message.
MESSAGE ixxx(xxx) with param1 param2 param3 DISPLAY LIKE 'E'.
EXIT.BR
Dep
2011 Aug 12 2:50 PM
Hello,
I tried by putting STOP, EXIT, leave to screen , SET Screen but no success.
Please advice..
Regards
Sachin Yadav
2011 Aug 15 11:07 AM
2011 Aug 15 11:14 AM
2011 Aug 15 12:02 PM
After raising the error message it should stop processing and remain in the Service order screen,,,
It should not allow to save the service order/Sales order .
(I m creating Sales order from Service order through Tcode IW51. On Service order Screen i am saving which in turns save the sales order. Service order screen contains table control. )
Regards
Sachin
2011 Aug 16 6:19 AM
Is there any implicit or Explicit Enhacement where i can perform validation on all sales order line item?
Regards
Sachin Yadav