Skip to Content
avatar image
Former Member

UI: Reference System Forms

Greetings All,

I'm trying to pop-up a Delivery Note from a button on my own form. When using the GetFormByTypeAndCount I receive invalid form message.

/Snippet

Dim oForm As SAPbouiCOM.Form

Set oForm = SBO_Application.Forms.GetFormByTypeAndCount(140, 1)

/Snippet

When using the debug tool, it displays form 140 for the delivery note.

Please advise.

TIA Eli Lawson

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Apr 08, 2004 at 05:37 AM

    Hi Eli,

    Before referencing form, you have to open it. The best way to do it - ActivateMenuItem method.

    Best regards,

    Mark

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Apr 08, 2004 at 05:23 PM

    Thanks Mark that worked well. Is there a listing of the System UID's somewhere or do I have to caputre the menu-event and find the UID each time. I have the one I was working with, just curious for the future?

    Thanks again !

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi SAP-SBO people

      A list containing all (or at least the most important) MenuUIDs, FormUIDs, ControlUIDs ... (there are certainly some more enumerations too) would be very helpful for all developers!