cancel
Showing results for 
Search instead for 
Did you mean: 

how to read the content of formtypeEx="0" (messagebox)?

Former Member
0 Kudos

hi,

how can i check which systemform is currently shown.

Now i use the following code to react of a message box


If pVal.FormTypeEx = "0" And pVal.EventType = SAPbouiCOM.BoEventTypes.et_FORM_LOAD

But there are many messageboxes, all of them have the formtypeex set to 0, but is it possible to read the messageString?

For example the service call, after validate the business partner there are 2 messages thrown. No credit limit and no contract.

regards

Markus

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi

You could read the string from the message box. It is a static text item if i am not mistaken. You just need to assign the item to a static text to read the item.

But alternatively, i think if you would want to validate the item after u press the 'ADD' button or something, you should use the action_success = true