06-26-2015 12:26 PM
Hello,
By using the EXIT: EXIT_SAPLMLSP_030 i am displaying the error message based on some conditions in ML81N (Service entry sheet).
while saving the service entry sheet i am able to display the error message successfully.
After displaying the error message the screen becomes disabled and it is not allowing to change the values.
But the user wants to change the values after displlaying the error message.
I tried the following ways.
>Set screen '0400'.
> message type 'S/I' display like 'E'.
> leave screen
> Leave to LIST-PROCESSING
" It is displaying error message saying that in subscreen we can not set the screeen ".
> i tried displaying the error message as popup
Used the following function modules.
> HR_BEN_SHOW_ERROR_POPUP
> C14ALD_BAPIRET2_SHOW
> POPUP_WITH_TABLE_DISPLAY_OK
> POP_UP_TO_CONFIRM
Please suggest me any other way ro acieve the requirement.
Thanks in Advance.
Regards,
Dorababu P
06-26-2015 12:29 PM
Hi Check if that Exit allows you to show error messages.
other wise, please use BUS_MESSAGE_STORE.
Hope this solves
06-26-2015 1:59 PM
Hello Bhargav,
Thanks for the reply.
That EXIT is allowing me to to display error message, But it is not allowing to modify after dispalying error message.
I tried the given FM BUS_MESSAGE_STORE.
i got the error message saying that 'Set screen not allowed in Subscreens.
Regrds,
Dorababu
06-26-2015 2:05 PM
Hi Dorababu,
it clearly means that you are not allowed to show the message as error.
Show it as Information message and don't allow the transaction to SAVE until the user corrects it . Hope this is considered as a simple solution for your problem.
May be you can consider it as a tactical solution. Happy coding....