Modification of an existing form

Hi, as mentioned by Vishnu, after using the entire code that was given by him the 'update' button did not reflect in the form,and i am not clear about what exactly should be done in this case.Will be very helpful if some one can assist in this situation.
                                                                                Regards,
                                                                                Samrat

Hi All,
I posted the same query last day.I want to know how to modify an existing form in SAP, as for example suppose in sales oppurtunity form i would like to add an 'update' button along with those add and cancel button already present out there.I will be obliged if some can provide the complete procedure to do that.
Vishnu Kumar Re...  
Posts: 114
Questions: 2
Registered: 4/28/07
Forum points: 138 
Solved problem (10)
Very helpful answer (6)
Helpful answer (2)
   Re: Modification of an existing form  
Posted: Dec 6, 2007 8:28 AM    in response to: Gangotri Infotech       Reply      E-mail this post 
Hi
In ITem Event You write the following code
iIf pVal.FormTypeEx = "320" Then
If pVal.EventType = SAPbouiCOM.BoEventTypes.et_FORM_LOAD Then
Dim oNewItem As SAPbouiCOM.Button
Dim oItem As SAPbouiCOM.Button
oForm = SBO_Application.Forms.GetFormByTypeAndCount(pVal.FormType, pVal.FormTypeCount)
oNewItem = oOrderForm.Items.Add("btnUpd", SAPbouiCOM.BoFormItemTypes.it_BUTTON)
oItem = oOrderForm.Items.Item("2")
oNewItem.Top = oItem.Top
oNewItem.Height = oItem.Height
oNewItem.Width = oItem.Width
oNewItem.Left = oItem.Right + 5
oNewItem.Specific.Caption = "UPDATE"
End If
End If
it place update button Right to Cancel button
Hope it helps you
Regards
Vishnu 
We followed this procedure but we are receiving the desired result.We need some assistance.

Similar Messages

  • How to restrict the modification of a process form field.

    Hi,
    Is there a way out to restrict the modification of a process form field.
    I have a process form field loginid which can not be updated in a target. I want to achieve the same in OIM. I have not created any update task for the field but if the user changes the loginid field then it is getting saved in the OIM database and hence any operation thereafter is falling.
    Thanks

    Hi Kevin.
    I really appreciate your help.
    But I tested your configuration in our environment and it doesn't work. The same error (The Resource has not been configured properly) is displayed when I try a provisioning for that resource. Anyway, we could not use this configuration here, because end-users shall have the option to change some values in their process form.
    I don't know why, but seems that when I define any field as Display-Only, the prepopulate adapter runs in a post-insert schedule and a error is given cause it try to fulfill a display-only field, which is not allowed.
    I try an alternative configuration, which works properly:
    - keep the field User ID as Text Field.
    - use the prepopulate adapter to populate this field with the User Login (previously defined in the User Definition form)
    - delete the property "required = true" to this field
    - set property "visible = false" to this field
    In this way, the end-users can modify the other fields, except User ID. Otherwise, they never will can see their own User IDs while making a request. For new users it will not be a problem because their User Login (on User Definition) and User ID (on Process Form) will be exactly the same, but for users that already exists in the target system, this values will be different which can originate small issues.
    Until achieve an understanding about why a display-only field can not be filled by an pre-populate adapter, I will use this setting above.
    Regards.

  • Extending an existing form

    Hi there,
    for my introduction I have a lousy question:
    How do I extend an existing form in SBO ?
    (vice versa, how can I hide formelements in an existing form)
    I know, I have to capture an event, but which.
    Do you have sample code ? Perhaps C#-Code
    greetings,
    Holger

    Hi Holger,
    Moreless, you need to catch load event, get the form you need to extend and make the modifications.
    Here you have got an example of how to add a checkbox to an existing form. By the way, say that if you are going to make so many changes, you could improve performance saving you extended form into an xml file, and loading it when the estandar form should be loaded. I think there is an example on the help files.
    If pVal.FormType = 65 Then
       If pVal.EventType = SAPbouiCOM.BoEventTypes.et_FORM_LOAD And Not pVal.BeforeAction Then
          Dim oForm As SAPbouiCOM.Form
          oForm = con.Forms.Item(FormUID)
          CreateControls65(oForm)
       End If
    End If
    Public Sub CreateControls65(ByVal oForm As SAPbouiCOM.Form)
    Try
       Dim oItem, oBaseItem As SAPbouiCOM.Item
       Dim oCheck As SAPbouiCOM.CheckBox
       oItem = oForm.Items.Add("chkPrice", SAPbouiCOM.BoFormItemTypes.it_CHECK_BOX)
       'Create a base item'
       oBaseItem = oForm.Items.Item("14")
       oItem.Top = oBaseItem.Top
       oItem.Height = oBaseItem.Height
       oItem.Width = oBaseItem.Width + 20
       oItem.Left = oBaseItem.Left + oBaseItem.Width + 15
       oForm.DataSources.UserDataSources.Add("ID" + oForm.UniqueID.Trim(), SAPbouiCOM.BoDataType.dt_SHORT_TEXT, 3)
       oCheck = oItem.Specific
       oCheck.Caption = "Get Sales Prices"
       oCheck.Checked = False
       oCheck.DataBind.SetBound(True, "", "ID" + oForm.UniqueID.Trim())
       Catch ex As Exception
          MsgBox("Found error, msg=" + ex.Message)
       End Try
    End Sub
    Hope this example helps.
    Regards,
    Ibai Peñ

  • How do I add a field into an existing form in SharePoint Designer 2010 and...?

    I'm trying to add an existing field to an existing form in SharePoint Designer 2010. It's a URL to the employee's photo. But each time I try to "Insert as picture" the url to the photo has a trailing comma. Why and more importantly, how do I get
    rid of it?
    Thanks!

    Hello,
    See this similar thread:
    http://sharepoint.stackexchange.com/questions/10149/comma-in-url-field
    Hope it could help
    Hemendra:Yesterday is just a memory,Tomorrow we may never see
    Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • How do you create a custom button in LiveCycle to add a new form page to an existing form?

    Can someone tell me how to create a button to add a new form page to an existing form in Acrobat or Livecycle designer?

    Hi,
    You can use addInstance method to achieve your requiremnets.
    form1.#subform[1].instanceManager.addInstance()
    BR,
    Paul Butenko

  • How do you create a button to add a new form page to an existing form in Acrobat or Livecycle designer?

    Can someone tell me how to create a button to add a new form page to an existing form in Acrobat or Livecycle designer?

    In Acrobat forms you can use the 'template' object's 'spawn' metod. A Lesson in Templates for Adobe Acrobat by Dave Wrigtht

  • SAPSCRIPT: Creating new Language for existing form

    Hi Guys,
    I need add an additional language for an existing form. Italian is not available for the this existing form. How can I add this language? do I need to copy the form with language EN? how can I include that form in the existing form? or there are other way to do this? Thanks in advance!
    Regards,
    Michael Nacionales

    There is a change in the standard code.The reason for the above problem was  because of a missing Enhancemnet point in a standard function module 'CV110_DOC_CREATE_WITH_TEMPLATE'.
    IS-ADEC-MPD  - Enhancement to copy MPD data
    ENHANCEMENT-POINT CV110_DOC_CREATE_WTEMPL_01 SPOTS ES_SAPLCV110.
    +*$*$-Start: CV110_DOC_CREATE_WTEMPL_01----------------------------------------------------------$*$*+
    +**ENHANCEMENT 1  ZSF_AD_MPD_SAPLCV110.    "active version**+
    +*** copy MPD relevant data from templ. doc to current doc**+
      +**CALL FUNCTION 'MPD02_COPY_MPD_DATA'**+
        +**EXPORTING**+
          +**is_draw = ls_draw**+
        +**TABLES**+
          +**ct_drad = lt_drad.**+
    +*ENDENHANCEMENT.**$*$-End:   CV110_DOC_CREATE_WTEMPL_01----------------------------------------------------------$*$*+
    Created a custom enhancement point similar to SAP ECC6.0 EHP 3.0 system.
    The reason was the buffer was not getting cleared previously.After inserting the above code the DIR's are getting created withot any issues.
    Regards,
    Prasad.B

  • Multiple List Box showing Duplicate Options in Existing Form Library forms.

    Good day.  I currently have an InfoPath 2010 form library template that has a view containing 4 multiple selection list boxes.  These list boxes get their values from a hidden view that contains 4 repeating tables in which I've set default values
    for Value and Display name to populate the multiple selection list boxes.
    The issue I am having is this: When adding new options to the repeating tables through the Default Values option window and publish, new forms display the new selection options successfully, while existing forms in the library when opened are displayed duplicates
    of the first default value in the table in the place of the new options. (Example, Create Data[display] - 10[value] is displaying 4 times after adding 3 new options to the characteristics table that contains Create Data as it's first row item.)
    When comparing the .XML of a new form to an existing form, groupX in this case shows all options in the new form .XML, but shows the duplicates in the .XML of an existing .XML file.
    Is there a way to resolve this issue so that existing documents will display the proper selection options instead of the duplicates?  I'd like to note that another list box had a value added and it displayed the value properly when published in both
    new and existing forms.
    Thanks!

    Hi Hemendra:
    There are no rules on Section A.
    Two out of three forms used so far by the users have these problems.
    We did extensive trending study on all the submitted forms on both where the submit was successful and ones with Section A frozen up. Also, requested a user to submit a few forms per our instructions on different browsers.  Even though there are some
    forms in the past which could be claimed as success has some attachment uploaded to the Section A of the form, currently every time an attempt by any usetr to attach a smallest document the section A, it wipes out all the existing completed fields and freezes
    up all the rest of the controls of that section and not any other part of the form.
    Thanks,
    SRA
    SRAEngineer

  • Modifying Existing Form

    Hi,
    Is it possible to modify an existing form of SAP Business One? For example if one needs to put an extra button on the form of outgoing payments.
    Can anyone guide for the process.
    Many thanks in advance.

    Hello Afzal,
    It is definitely possible. Refer to SDK Help, samples are provided in it.
    Also, post your questions, related to programming, on SDK programming forum.
    Rahul

  • Modifying an existing form in SAP B1

    Hi everyone,
                      Is there any way to modify an existing form in SAP B1? If so can any one describe the complete procedure of doing that?Will highly appreciate it.

    Hi,
    Its more advisable to do it in the Menu Event rather than the Form_Load event and its got to be done in the Before_Action = False.
    In Menu Event,
    paste this...
    If pVal.BeforeAction = False Then
    Dim objNewItem As SAPbouiCOM.Item
            objItem = objForm.Items.Item("51")
            objNewItem = objForm.Items.Add("cbSQ", SAPbouiCOM.BoFormItemTypes.it_CHECK_BOX)
            objNewItem.Left = objItem.Left + objItem.Width + 10
            objNewItem.Top = objItem.Top
            objNewItem.Width = objItem.Width
            objNewItem.Height = objItem.Height
            objNewItem.FromPane = "5"
            objNewItem.ToPane = "6"
            objCheckBox = objForm.Items.Item("cbSQ").Specific
            objCheckBox.Caption = "Sales Quotation"
            objNewItem.Visible = False
            objCheckBox = objForm.Items.Item("cbSQ").Specific
            objCheckBox.DataBind.SetBound(True, "", "01")
    Endif
    The above is a small snippet for the addition of a checkbox.
    Hope this helps.
    Satish.

  • Fill out existing form

    just installed i works. want to fill out existing form. opens in pages and can not fill in form . Please help

    gina
    you need to click > Apple ID: Contacting Apple for help with Apple ID account security and follow the path down which it leads
    CCC

  • Duplicating an existing form

    How do I duplicate an existing form?  We want to keep the current form but just recreate it and make some changes to it. 

    Viewing the "My Forms" tab where your list of all of your forms is, select the form you want to duplicate and either use right click to bring up the context menu and select "Duplicate" or click on the "Duplicate" button on the toolbar:
    Thanks,
    Josh

  • Exporting an Existing form as XML

    I want to export an existing form (Item master form) as XML so I can make some changes to it and replace existing with my new one... but...
    I have tried copying to file and to clip board
    using following code but I cannot get the XML data
    'To File
    Dim oFile As System.IO.File
    Dim oWrite As System.IO.StreamWriter
    oWrite = oFile.CreateText("C:\" & pVal.FormUID & ".xml")
    oWrite.Write(sboapp.Forms.GetForm(150, 1).GetAsXML)
    oWrite.Close()
    'and to ClipBoard
    System.Windows.Forms.Clipboard.SetDataObject(sboapp.Forms.ActiveForm.GetAsXML, True)
    but the copying to clipboard doesnt work at all and to file seems to loose formating (goes in as one big string which wont load as xml..
    Any pointers would be appreciated...
    thanks

    Hello,
    The following code should work
    Dim dxl_XmlDoc As Xml.XmlDocument
    Dim dst_XmlString As String
    dxl_XmlDoc = New Xml.XmlDocument
    dst_XmlString = sboapp.Forms.Item(pVal.FormUID).GetAsXML
    dxl_XmlDoc.LoadXml(dst_XmlString)
    dxl_XmlDoc.Save("C:tempfrm.xml")
    HTH
    Sebastien

  • Datasource of existing form

    Hi,
    My company is using a application that includes pdf Forms. They are run from an Active Server Page button object. I can trace the button backto a script (basically a query) and the pdf forms link to the fieldnames in the query. So far so good.
    I can add my form, a pdf, to the list and the blank pdf opens from the application. Also good.
    What I can't figure out is how to link my fields in my pdf form to the existing datasource so that my forms open with data in them. I may not have the terminology right. I open my form in LiveDesigner Forms, add a field and enter the fieldname. I know that I'm missing a piece though because if I open an existing form provided by the application, the "fields" tab is populated (presumably filled by the datasource.)
    I'm hoping that this makes enough sense that someone can help me! I'm new to Acrobat, so feel free to patronize me!
    Thanks,
    Joanne

    I can't help you with this myself as I've not done it but there are quite a few tutorials kicking around the net.
    Simple ODBC Connections in Adobe LiveCycle:
    http://www.youtube.com/watch?v=C56_Cz-aE0c
    Connecting a form to a database:
    http://forms.stefcameron.com/2006/09/18/connecting-a-form-to-a-database/
    Database connected forms:
    http://acrobatusers.com/tutorials/database-connected-forms

  • Combining two existing forms

    I have created two different forms that I need to combine. Whether I have someone fill out Form B is conditional on an answer within Form A. It would be nice if, at completion of Form A, the user could be sent directly to Form B. Is there any way to do this with two existing forms instead of re-typing all the information every time I need to apply Form B to future forms?

    Hi,
    Sorry, we are not supporting it right now. But it's a very interesting idea, and I suggest you to add or vote on feature ideas:
    http://forums.adobe.com/community/formscentral?view=idea
    If you need to add a new idea, click "Create an idea" under "Actions" in the top right.
    Kind regards,
    Shiyao Bao

Maybe you are looking for

  • How to set up older version of Java JDK?

    I am a Java Developer, and I recently bought a Mac.  I also just started working for a Client who is using JDK 1.6.0_23, and this is not going to change.  The code fails to compile when running through the latest Java 1.6 JDK, so I REALLY need to dow

  • Performance issue on the sys.dba_audit_session

    i have the following query which is taking long time and had performance issue. SELECT TO_CHAR(current_timestamp AT TIME ZONE 'GMT', 'YYYY-MM-DD HH24:MI:SS TZD') AS curr_timestamp, COUNT(username) AS failed_count FROM sys.dba_audit_session WHERE retu

  • [Solved] Problem with a SD card which I can't mount

    Hello everybody! So, when I'm plugging in my SD card ( from my camera ) then I use the dmesg command to know that it is known as /dev/mmcblk0 Then I try to mount it by pmount /dev/mmcblk0 SD but it doesn't work : The error message is : bad block or b

  • BPC 10 Sheet Logic - Using SUMIFs

    Hi Gurus, This is a question relating to BPC's EPM excel add-in. I'm currently compiling a headcount report based on data entered into an input schedule where the user enters a 1 next to an employee who is employed per month, like so:                

  • Issues with Sound Clip.getMicrosecondPosition in Mac OS X

    Hi All I am trying to implement sound player in Java as following. public void play() throws Exception         AudioInputStream stream = AudioSystem.getAudioInputStream( new FileInputStream(new File(m_path)));         AudioFormat format = stream.getF