Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Enabling the screen after error message

Former Member
0 Kudos

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

3 REPLIES 3

Venkat_Sesha
Advisor
Advisor
0 Kudos

Hi Check if that Exit allows you to show error messages.

other wise, please use BUS_MESSAGE_STORE.

Hope this solves

0 Kudos

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

0 Kudos

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....