cancel
Showing results for 
Search instead for 
Did you mean: 

Stop displaying system messagebox

Former Member
0 Kudos

Hi,

Does any one know how to prevent B1 from showing a system messagebox. I want to change the quantity in the Reorder Recommendation Report matrix without the system asking me if I want to update the price. I have written some SDK that applies all my required cell data (100+ rows) but for every row that is changed I get this messagebox.

Help!!!!!!!!!

I can't expect my customer to physically confirm 100's of system messages for what is supposed to be an automated process.

Many thanks...

Accepted Solutions (1)

Accepted Solutions (1)

FOA
Advisor
Advisor
0 Kudos

Hello John,

There's no specific object for disabling system messages. You will have to catch the event when the system message comes up and to simulate a click on it.

System Messages have Formtype = 0 and are loaded of course with a FORM_LOAD event. You can use EventSpy to check this out.

Then it will be transparent for the user.

Here some code to give you just a suggestion of how it might be.

If pVal.BeforeAction = False And pVal.FormType = 0 Then

If pVal.EventType = SAPbouiCOM.BoEventTypes.et_FORM_LOAD = True Then

Dim oMessageForm As SAPbouiCOM.Form

oMessageForm = B1_Application.Forms.Item(pVal.FormUID)

oMessageForm.Items.Item("1").Click()

End If

End If

HTH,

Felipe

Answers (0)