Skip to Content
author's profile photo Former Member
Former Member

Stop displaying system messagebox

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Feb 11, 2005 at 02:14 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.