Skip to Content
Jul 23, 2013 at 03:53 AM

Displaying error message inside Badi.


Hi all,

My requirement is to display error message while creating a purchase order with an asset, already in some other existing PO. User should be able to edit the values after displaying error message.

I tried following inside badi 'ME_PURCHDOC_POSTED'

1) message 'error' type 'E'.

but after displaying the error, user is not able to edit the screen.

2) message 'error' type 'I' display like 'E'.

but this time values are getting saved.

3) used a popup fm C14Z_MESSAGES_SHOW_AS_POPUP

here also values are getting saved after displaying the popup

4) used 'Leave to list-processing' after displaying popup / message of type 'I'.

again values are saved.

In Badi "After displaying an error message, keep fields in edit mode, so that user can modify the values and save it again."

I searched in related posts but couldnt find a solution for this .

Please help.


Srijith Ravindran