Skip to Content

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

Regarding Forms

We have some 8 to 10 user-defined screens. We are unable to open 2 0r 3 screens at a time as we do the original SBO screens. Please help with any procedure that we could use for opening many screens at a time rather than opening one by one.

Thanks,

Jona

replied

Hi, Jona!

You have to play with <i>Form.UniqueID</i>. I use something like timestamp for this purpose

sResourceFile = "myForm.xml"
oXMLDoc.Load(sResourceFile)

creationPackage = SBO_Application.CreateObject(BoCreatableObjectType.cot_FormCreationParams)
creationPackage.UniqueID = "myForm_" & Format (Now, "HHmmssffff")
creationPackage.FormType = "myForm"
creationPackage.BorderStyle = BoFormBorderStyle.fbs_Fixed
creationPackage.XmlData = oXMLDoc.InnerXml

oForm = SBO_Application.Forms.AddEx(creationPackage)

Regards,

Sergey

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question