Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

cycle form item

hello every one,

i've a problem. I load my form ( created by screen scraper) after the click of a button created by me.

But when i open it once when i click the button. I want to open this form every time I click the button. How can I make it? thanks

If pVal.ItemUID = "button1" And pVal.EventType = SAPbouiCOM.BoEventTypes.et_CLICK And pVal.Before_Action = True Then


end if

Private Sub CreateForm()

'//load form created by Screen Painter

Dim oXmlDoc As MSXML2.DOMDocument

oXmlDoc = New MSXML2.DOMDocument

If Not (oXmlDoc.load("C:\Documents and Settings\neos\Desktop\Demo\primo_form.srf")) Then

MsgBox("Error Loading xml")

End If


oForm = SBO_Application.Forms.ActiveForm

'//support Settings feature for grid/matrix

'//Add condition to the CFL bound to the button

End Sub

Former Member
Not what you were looking for? View more on this topic or Ask a question