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

Editing System Form

Hello, I have a problem:

I want to editing system form ("Item Master Data"), I need then I create New "Item" in this form Stock Item and Sales Item (Check Box) was marked (default value) as N

I can do that in Addon (UI), but I think I can editing system form whithout addon (try to editing XML file for "Item Master Data"), if it posable plese tell me how? or where I can found System Form XML file

Thanks, sorry for my "English" 😊)

I found some documents about "How editing system form", in this examle author uses some program Fig. 1.5, but I didn't found it in SAP Portal

Edited by: Vladimir Pochinko on Jan 22, 2009 10:52 AM

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 Jan 22, 2009 at 10:32 AM

    U can update system form.First u need to access it and create object of system form as,

     Dim objForm As SAPbouiCOM.Form
     objForm = SBO_Application.Forms.GetFormByTypeAndCount("150", 1)
    

    U can add a new control label as,

    Dim  lblType As SAPbouiCOM.StaticText
     objForm.Items.Add("lblType", SAPbouiCOM.BoFormItemTypes.it_STATIC)
                lblType = objPermanentForm.Items.Item("lblType").Specific
                lblType.Caption = "Applicable to "
                objForm.Items.Item("lblType").Width = 65
                objForm.Items.Item("lblType").Height = 20
                objForm.Items.Item("lblType").Top = 2
                objForm.Items.Item("lblType").Left = 10
                objForm.Update  
    

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Just a recommendation in the FormMode=3, don't use the number, use the enum offered by the ui api, because in a new release can change this value internally but if you use the enums, when you update the dll references will work ok, this happened to us before.

      I belive it's something like BoModeMask, BoFormMode, don't remember exactly right now,

      Gabriel

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.