cancel
Showing results for 
Search instead for 
Did you mean: 

LSO_CHECK_BOOKING custom error messages are not displayed

Former Member
0 Kudos

Hi,

Good day! I am currently experiencing some problems displaying custom error messages from BADI LSO_CHECK_BOOKING. I have implemented this Badi and is appending error messages in CT_MESSAGE_TAB however when the message is displayed in portal, the custom message is not displayed. Instead, SAP displays a predefined error "Error When Creating Prebooking with the data entered..."

Is there a way for me to display my custom error message instead of the predefined SAP message?

Thanks a lot.

Cheers,

James

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi James,

I faced the same issue. Can you try to implement this latest SAP Note 1848743 specifically to address this issue ?

Regards,

Kir Chern

0 Kudos

Hi James,

You have not mentioned, which portal you are using. Please see below, that there are differences in the learning and the admin portal:

Learning Portal:

The framework of the existing design of the Learning Portal does not

allow customer specific error messages to be displayed in the portal.

Only a generic message will be displayed when prebooking in the learning

portal if the BADI LSO_CHECK_BOOKING returns an error. The design of the

application does not expect to raise an exception from the BADI. If the

BADI processing is assumed to be unsuccessful, the messages filled by

the BADI will be ignored and a general error message will be displayed

in the portal.

So this is basically a design limitation.

Administrator Portal:

Have you tried e.g. the following notes?

SAP Note 1806593 Admin Portal: Message is not displayed while prebooking

SAP Note 1575238 LSO: BADI LSO_CHECK_BOOKING does not show warning messages

Regards,

Agnes