‎2009 Aug 04 7:10 AM
Hi all,
i am doing BP validations for BP type. Upon validating and there is and error, all screen fields are greyed out hence restricting the user to enter correct data. The only way now is to cancel the transaction and execute it again which is a bit tedious. Is there any way of preventing the fields from being greyed out.
‎2009 Aug 05 12:51 AM
Hi Willard,
I'm assuming that you're using SAP gui, and doing the validations within a Z module, for transaction BP ?
In this case, if you encounter an error during the validation, donot raise the error using ABAP command MESSAGE. Instead, use the function module BUS_MESSAGE_STORE. This FM puts puts the error message into a container and the BP UI framework will display it on the screen AND then also keep the fields editable. In case the fields are greyed out when the error is thrown, just press 'ENTER' and that should make them editable again.
Directly using command MESSAGE does not return control back to the BP UI framework, and hence its unable to bring the fields into an editable form.
Hope this helps you.
Cheers,
Rishu.
‎2009 Aug 05 12:51 AM
Hi Willard,
I'm assuming that you're using SAP gui, and doing the validations within a Z module, for transaction BP ?
In this case, if you encounter an error during the validation, donot raise the error using ABAP command MESSAGE. Instead, use the function module BUS_MESSAGE_STORE. This FM puts puts the error message into a container and the BP UI framework will display it on the screen AND then also keep the fields editable. In case the fields are greyed out when the error is thrown, just press 'ENTER' and that should make them editable again.
Directly using command MESSAGE does not return control back to the BP UI framework, and hence its unable to bring the fields into an editable form.
Hope this helps you.
Cheers,
Rishu.
‎2009 Aug 05 7:24 AM
I am already using function module BUS_MESSAGE_STORE and even if i press ENTER after the error is displayed it still doesnt open up the fields for input.
‎2009 Aug 13 7:33 AM
Hi ,
Even I am facing same issue here, i am using bus_message_store, the BP screen is getting disabled after my message. please guide
ram