Modifying excisting SBO forms using SDK

I have just started to learn SDK and I wardering If its possible to make changes to forms that comes with SBO. For instance lets say one wants to add an extra textbox to form Phone Book under Human Resources, how can that be done?

Hello
You have SAP Sample 11.SystemFormManipulation to modify Order form
or the Technical Demo Add On here:
https://www.sdn.sap.com/irj/sdn/softwaredownload?download=/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/business_packages/a1-8-4/add-on technical demo v2 for sap business one 2005.zip
Message was edited by: Sébastien Danober

Similar Messages

  • Set value of System Matrix Form using SDK

    Is is possible to set matrix value using SDK of user defined form. Plz forward code for same.

    Yes it is possible. You need to get the form and into the form the item, cast it to a matrix and then set the values into it.
    There is plenty of samples you can use to learn about UI API. You can download them directly from SDN.

  • Set active column of matrix using SDK

    Hi,
    How do i set active (FormSettings>TableFormat>Active Checkbox) column of matrix in order form using SDK?
    Thanks

    HI
    replace the COLID with the id of the column, and put this code into the form_load event and beforeaction=false
            oMatrix.Columns.Item("COLID").Editable = True
            oMatrix.Columns.Item("COLID").Visible = True
    regards,
    J.
    if the answer is ok, please reward.

  • Non-SBO Form Threading Complication ... Lost  oCompany

    I have created a non-SBO form using several controls not available through B1 in order to gather and manage data from my user community.
    However, I am experiencing great difficulty in using the SBObobsCOM objects to be able to save data collected using the native B1 business objects.  Specifically, I am attempting to save updates to existing Quotations and add new Quotations.  Later, I will update/add to our Business Partners from this form as well.
    The problem I am experiencing is that the new thread that is launched to manage the form does not inherit the oCompany object's paramters, which (in turn) prevents me from initializing new business objects, such as a Quotation.
    Do I have to reconnect to the system, initializing the oApplication object?  If so, how?
    My code follows.  Any ideas would be welcomed.  Thank you.
    Scott Young
    ==> CODE IS LAUNCHED BY A MENU BUTTON EVENT <==
                If (pVal.MenuUID = "B1SalesMgmtMenu" And pVal.BeforeAction = False) Then
                    Dim newThread1 As System.Threading.Thread
                    newThread1 = New Thread(AddressOf Launch_SalesMgmtCenter)
                    newThread1.IsBackground = True
                    newThread1.SetApartmentState(ApartmentState.STA)
                    newThread1.Start()
                End If
    ==> THIS SUBROUTINE IS RUN IN ITS OWN THREAD <==
        Private Sub Launch_SalesMgmtCenter()
            Dim oForm As frmB1SalesMgmtCenter
            oForm = New frmB1SalesMgmtCenter
            oForm.ShowInTaskbar = False
            oForm.ShowDialog()
        End Sub

    This code is contained within a B1 Add-On.  It is launched from a MenuItem event, as noted in the code.
    The Launch_SalesMgmtCenter() subroutine is placed within its own new Thread, as shown; so, it runs independent of the main Business One client process.  However, it doesn't seem to have the same context as the thread from which it was created.  Is there something I must do to initialize another oCompany and oApplication object in the new thread in order to be able to create a business object that I can add/update based upon the operations within the new form?
    Getting this new form working would be HUGE to our firm.  I would be very pleased to post a How-To guide with my code as a sample if we can work through these final issues.
    Thank you for your help!
    Scott

  • Form settings using SDK

    Hi Friends
    I am doing on Purchase order form.i need to set visible some column of matrix visible and active (in table Format and RowFormat) with out using form setting inter face , means through code using SDK.Is it possible
    Thanks

    sorry, i haven't yet get a solution.
    actually i need to  position my userfield in between Quandity and UnitPrice. In Table CPRF I Changed its 'VisualIndx' and 'ExpandIndx'
    Now in Table CPRF Record is Like below
    ColID                            VisualIndx             ExtendIndx
    Quantity(Coulumn11)             13                          13
    UnitPrice(Coulnn 14)              17                         257
    UserField -                            14                          14
    But still dispalying my UserField on last Column.
    I did all the process after SAPB1 Application stoped
    Edited by: Muna on Jul 24, 2008 12:03 PM
    Edited by: Muna on Jul 24, 2008 12:05 PM

  • Form Setting using SDK

    Hi,
    How i will do form setting using SDK.
    Regards,
    Avijit

    Hi,
    Refer this.
    Form settings using SDK
    Regards,
    Mahendra

  • Print a report in crystal Report using SDK

    Hi Dear;
    any body can publish a sample code how can i print a report built in crystal report using SDK?
    regards;

    Hi Dany,
    Hope the following code will help u .
    before calling the function make a XML by using dataset.writexml, in which you have to pass the name of your stored procedure.
    for this you have to decalre commantype as stored procedure.
    first parameter of this is rpt name . asecon paramer is ur xml name which you got from DAtaset.writexml.
    Sub ShowReport(ByVal rptName As String, ByVal SourceXML As String)
            Try
                Dim oSubReport As CrystalDecisions.CrystalReports.Engine.SubreportObject
                Dim rptSubReportDoc As CrystalDecisions.CrystalReports.Engine.ReportDocument
                Dim rptView As New CrystalDecisions.Windows.Forms.CrystalReportViewer
                Dim rptPath As String = System.Windows.Forms.Application.StartupPath & "\" & rptName
                Dim rptDoc As New CrystalDecisions.CrystalReports.Engine.ReportDocument
                rptDoc.Load(rptPath)
                For Each oMainReportTable As CrystalDecisions.CrystalReports.Engine.Table In rptDoc.Database.Tables
                    oMainReportTable.Location = System.Windows.Forms.Application.StartupPath & "\" & SourceXML
                Next
                For Each rptSection As CrystalDecisions.CrystalReports.Engine.Section In rptDoc.ReportDefinition.Sections
                    For Each rptObject As CrystalDecisions.CrystalReports.Engine.ReportObject In rptSection.ReportObjects
                        If rptObject.Kind = CrystalDecisions.Shared.ReportObjectKind.SubreportObject Then
                            oSubReport = rptObject
                            rptSubReportDoc = oSubReport.OpenSubreport(oSubReport.SubreportName)
                            For Each oSubTable As CrystalDecisions.CrystalReports.Engine.Table In rptSubReportDoc.Database.Tables
                                oSubTable.Location = System.Windows.Forms.Application.StartupPath & "\" & SourceXML
                            Next
                        End If
                    Next
                Next
                rptView.ReportSource = rptDoc
                rptView.Show()
                Dim oFrm As New System.Windows.Forms.Form
                rptView.DisplayGroupTree = False
                rptView.Dock = System.Windows.Forms.DockStyle.Fill
                rptView.Location = New System.Drawing.Point(0, 0)
                oFrm.AutoScaleBaseSize = New System.Drawing.Size(5, 13)
                oFrm.Controls.Add(rptView)
                oFrm.Name = "rptForm"
                oFrm.Text = "rptForm"
                oFrm.ResumeLayout(False)
                oFrm.WindowState = System.Windows.Forms.FormWindowState.Maximized
                oFrm.TopMost = True
                oFrm.ShowDialog()
            Catch ex As Exception
                oApplication.MessageBox(ex.Message)
            End Try
        End Sub

  • Is there a way to Update and SaveAs, an XFA form using VBA or similar ?

    All:
    Need help to auto-fill and auto-save PDFs using VBA or some other means.
    I have created an XFA form using LiveCycle ES ( v8 ) with a few fields.
    What I need to do is repeat these steps below for 200+ PDF forms
    Open the blank PDF form
    Update 3 fields
    Save the PDF with a new name
    My Excel VBA code so far ( ** Copied from another post ) where dFile = "C:\temp.pdf" and dAccount = "Any Account"
    Sub rxOpenPDF_UpdateFields(dFile, dAccount )
        Dim pdfApp As Acrobat.AcroApp, pdfPDDoc As Acrobat.AcroPDDoc, jso As Object
        Dim str1$, bolOpen As Boolean, strFile$
        Set pdfApp = CreateObject("AcroExch.App")
        Set pdfPDDoc = CreateObject("AcroExch.PDDoc")
        bolOpen = pdfPDDoc.Open(dFile)
        Set jso = pdfPDDoc.GetJSObject
        str1 = jso.getfield("Account_Name").Value ' Will appreciate if there is a way to set a field value
        pdfApp.Exit
        Set pdfApp = Nothing
        Set pdfPDDoc = nothing
        Set jso = Nothing
    End Sub
    Excel VBA is shutting down ( cannot recover ) when it runs the pdfPDDoc.Open statement
    Any help will be very appreciated
    Aubrey
    I am on Windows XP,
    In VBA, I have created Tool References to [Adobe Acrobat 9.0 Type Library]
    Downloaded the Acrobat v9 SDK but am lost trying to locate any help for simple VBA.

    lrosenth,
    Would I be able to Update & SaveAs with a newer version of LiveCycle ( does Adobe still have a LiveCycle line ) ?
    I was looking at InDesign but am not sure if it has the functionality that I need ( i.e. create multiple forms from an Excel list)
    .. also am unsure of the learning curve.
    Aubrey

  • How do I do validation using SDK.

    How do I do validation using SDK.
    We have created different warehouses for the client business operations.
    For eg:
    1. Inspection Stores
    2. Rejection Stores
    3. Main Stores
    In Goods Return & A/P Credit Memo, other than RejectionStores is
    selected, we want to generate a warning message.
    How do I do this through SDK.
    I need the code sample for the following activity:
    1. Reading the data available at each row of the current form (Goods
    Return/ A/P Credit memo)
    2. Validate the data with a paricular warehouse
    3. Generate warning message.
    I could not find any samples related to this.

    There is a method called MessageBox for the Application object. Have a look at
    the documentation, everything is there.

  • How to delete checkbox in pdf form using adobe acrobat professional 6.

    I  am trying to modify a pdf form having a single layer. There are some checkboxes which i want to delete. I am using Adobe acrobat 6 professional. USing Advanced Editing tools -> Touchup Object Tool , i have try to delete the checkbox, it deletes all fields and tables in the form and there is only text left on the form. Any help would be appreciated. . Thanks@

    You do not use the "Object Tool" to edit forms. There should be a "Form" menu option and under this option you will have the opton "Edit form in Acrobat". This is the way one should edit/create a form in Acrobat.

  • How to add new fields in sap copied standard form using itcsy structure

    hi guys,
      i want add some fields in sap script copied standard form using itcsy structure.
    let me know the procedure with any example.
    thanks,
    anitha.

    Hii anitha
    plz c code below
    Syntax goes like this
    /: PERFORM <form> IN PROGRAM <prog>
    /: USING &INVAR1&
    /: USING &INVAR2&
    /: CHANGING &OUTVAR1&
    /: CHANGING &OUTVAR2&
    /: ENDPERFORM
    INVAR1 and INVAR2 are variable symbols and may be of any of the four SAPscript symbol types.
    OUTVAR1 and OUTVAR2 are local text symbols and must therefore be character strings.
    Example:
    In script form
    /: PERFORM READ_TEXTS IN PROGRAM 'Z08M1_FORM_EKFORM1'
    /: USING &EKKO-EKORG&
    /: USING &EKPO-WERKS&
    /: USING &EKKO-EKGRP&
    /: USING &EKKO-BSTYP&
    /: CHANGING &COMPNAME&
    /: CHANGING &SENDADR&
    /: CHANGING &INVCADR&
    /: CHANGING &COMPADR&
    /: CHANGING &COVERLTR&
    /: CHANGING &SHIPADR&
    /: CHANGING &REMINDER&
    /: CHANGING &REJECTION&
    /: CHANGING &POSTADR&
    /: CHANGING &LOGO&
    /: ENDPERFORM
    In program
    FORM Read_texts - To extract the standard texts from the table *
    FORM READ_TEXTS TABLES IN_PAR STRUCTURE ITCSY
    OUT_PAR STRUCTURE ITCSY.
    DATA : L_EKORG TYPE EKORG,
    L_WERKS TYPE WERKS_D,
    L_BSTYP TYPE BSTYP,
    L_EKGRP TYPE BKGRP.
    READ TABLE IN_PAR WITH KEY 'EKKO-EKORG' .
    CHECK SY-SUBRC = 0.
    L_EKORG = IN_PAR-VALUE.
    READ TABLE IN_PAR WITH KEY 'EKPO-WERKS' .
    CHECK SY-SUBRC = 0.
    L_WERKS = IN_PAR-VALUE.
    READ TABLE IN_PAR WITH KEY 'EKKO-EKGRP' .
    CHECK SY-SUBRC = 0.
    L_EKGRP = IN_PAR-VALUE.
    READ TABLE IN_PAR WITH KEY 'EKKO-BSTYP' .
    CHECK SY-SUBRC = 0.
    L_BSTYP = IN_PAR-VALUE.
    CLEAR Z08M1_ORG_TEXTS.
    SELECT SINGLE * FROM Z08M1_ORG_TEXTS WHERE EKORG = L_EKORG
    AND WERKS = L_WERKS
    AND EKGRP = L_EKGRP
    AND BSTYP = L_BSTYP.
    IF SY-SUBRC NE 0.
    SELECT SINGLE * FROM Z08M1_ORG_TEXTS WHERE EKORG = L_EKORG
    AND WERKS = L_WERKS
    AND EKGRP = L_EKGRP
    AND BSTYP = SPACE.
    ENDIF.
    READ TABLE OUT_PAR WITH KEY 'COMPNAME'.
    OUT_PAR-VALUE = Z08M1_ORG_TEXTS-TXT_COMP.
    MODIFY OUT_PAR INDEX SY-TABIX.
    READ TABLE OUT_PAR WITH KEY 'SENDADR'.
    OUT_PAR-VALUE = Z08M1_ORG_TEXTS-TXT_ADRS.
    MODIFY OUT_PAR INDEX SY-TABIX.
    READ TABLE OUT_PAR WITH KEY 'INVCADR'.
    OUT_PAR-VALUE = Z08M1_ORG_TEXTS-TXT_INVC.
    MODIFY OUT_PAR INDEX SY-TABIX.
    READ TABLE OUT_PAR WITH KEY 'COMPADR'.
    OUT_PAR-VALUE = Z08M1_ORG_TEXTS-TXT_CPAD.
    MODIFY OUT_PAR INDEX SY-TABIX.
    READ TABLE OUT_PAR WITH KEY 'COVERLTR'.
    OUT_PAR-VALUE = Z08M1_ORG_TEXTS-TXT_COVR.
    MODIFY OUT_PAR INDEX SY-TABIX.
    READ TABLE OUT_PAR WITH KEY 'SHIPADR'.
    OUT_PAR-VALUE = Z08M1_ORG_TEXTS-TXT_SHIP.
    MODIFY OUT_PAR INDEX SY-TABIX.
    READ TABLE OUT_PAR WITH KEY 'REMINDER'.
    OUT_PAR-VALUE = Z08M1_ORG_TEXTS-TXT_RMDR.
    MODIFY OUT_PAR INDEX SY-TABIX.
    READ TABLE OUT_PAR WITH KEY 'REJECTION'.
    OUT_PAR-VALUE = Z08M1_ORG_TEXTS-TXT_RJCT.
    MODIFY OUT_PAR INDEX SY-TABIX.
    READ TABLE OUT_PAR WITH KEY 'POSTADR'.
    OUT_PAR-VALUE = Z08M1_ORG_TEXTS-TXT_POST.
    MODIFY OUT_PAR INDEX SY-TABIX.
    READ TABLE OUT_PAR WITH KEY 'LOGO'.
    OUT_PAR-VALUE = Z08M1_ORG_TEXTS-TXT_LOGO.
    MODIFY OUT_PAR INDEX SY-TABIX.
    ENDFORM.
    reward points if useful
    regards
    Jaipal

  • How to process (populate & merge) XFA PDF Forms using Adobe library in Java

    We have the XFA Forms (.pdf) created in Adobe LiveCycle designer 8.2 ES. We have the following requirement :
    1. We need to populate data in those forms using standalone Java programs.
    2. We need to merge the populated forms and create a single PDF out of these forms, using standalone Java programs.
    Can both of these be done using Adobe PDF Library or Acrobat SDK?
    What is the difference between Adobe PDF Library or Acrobat SDK?
    We already have the licensed version of Adobe Acrobat Professional 9 with LiveCycle Designer 8.2 ES. Where can I get the relevant Adobe Java APIs from?
    Can someone provide some sample code that could be used for the above requirements?
    Please provide your inputs on these. We have been using IText, but facing some limitations in that recently.

    The answer looks quite clear, and the conclusion is essentially simple: Don't use LiveCycle Designer.
    Keep in mind that LiveCycle Designer originated as design tool for the according servers (that's way back in JetForms's days). For reasons I still can follow, Adobe decided to thow this design tool after any Acrobat Pro for Windows buyer. And the forms industry is now suffering from the mess that created.
    Also, keep in mind that the term "Server" is used here as "service providing application".
    Rants aside, was there a specific feature making you chose XFA (aka LiveCycle Designer)? Knowing these reasons can help us finding suitable workarounds.
    HTH.
    Max Wyss.

  • Data mapping to SAP B1 using SDK

    is there any way around to do the data mapping from other system database to SAP B1
    database without using field to field mapping?
    ex: we want to migrate from other system to B1 we need to transfer their old data to a new one..and of course the database structure is not the same..and it would be a lot of task if we migrate their old PO to B1 (i'm thinking using field to field mapping so we must know the data structure from the old system and provide the information needed when we want migrate it to B1)
    is there any thoughts?
    hope u understand what i mean
    PS: all the migrate things is using SDK
    thanks,
    erick

    Hi Erick,
    I think, using DI API should be better.
    I know that, all data in the database is not supported.
    But, most simple idea is,
    1. Get objects from old company database
    2. review the data by SDK (validating and user field mapping)
    3. add modified objects to new company database
    This should be most same, and you can process many process automatically in process 2.
    Hope this helpful for you.
    Hyunil Choi.

  • How to move columns in SBO forms

    Hello,
    I would like to know if it is possible to move columns in SBO form tables.
    If yes, what is the way to do that?
    Thank you.
    Thibault

    Hi Thibault,
    In the 2005 SDK there is a new object in the DI-API called <i>ColumnsPreferences</i>. Maybe you should look into that. The <i>TabsOrder</i> property is the one you need I guess...
    Do a search on this forum on <i>ColumnPreferences</i> and you should find a few examples how to get the right column (it's tricky).
    Hope it helps,
    Rowdy

  • Call Another Form using Forms Personalization

    Hi All,
    I have created a Custom form using TEMPLATE.fmb and created functions in Apps and assigned to Responsibility etc and it all works OK.
    Now, I need to call this Custom form from another seeded(PO form) Via Tools -> Menu.
    using Forms personalization I can get the Menu Entry and Actions to execute the Form successfully from the PO Form.
    BUT, I need it to automatically query records in my CUSTOM form based on my current PO_HEADER_ID value on my PO Form.
    How can I do it ?
    Do I need to modify my Block and add some parameters and then pass a value via Personalization ?
    Please help !
    Thanks
    Shankar

    Duplicate thread (please post only once).
    calling Custom Form from Another Form
    calling Custom Form from Another Form
    Thanks,
    Hussein

Maybe you are looking for

  • Printer Prints fine for Admin Account, but not for "Regular" User Account.

    Printer works perfectly when signed on as Administrator, but not when we use non-admin login.  I can see the printer - it says ready, but it won't print.. although job does not sit in printer queue. I did a full driver install FROM the local account,

  • Removing scroll bar from product pages

    I need to remove the scroll bar that appears on the product pages. It doesn't matter if I have only one product or 100 on the page with the small images, I still get a scroll bar on the right side. I've tried adding and removing margins and padding,

  • PGI Should get block - without material cost in material master

    Hi All, The scenario is we want to show error message while doing PGI if the material does not have any material cost in material master. How it is possible? Will we able to do with standards? Scenario: Material cost is nil in the material master, sy

  • URGENT !!! Detail Event in Agenda

    Hello, I have made an Agenda. But I have a problem with that. My Agenda show upcoming events. If I click on an event then I get every upcoming events. I know that if you link a report with a report, you must use a bind variable in your detail report

  • Get Table Meta Data with RFC

    Hi, I wonder if there is a way to get the meta data from a table or structure using RFCs. More detailed: I am using RFCs to read data from tables and structures. It would be nice to have a way to also get the table definitions, like column headers, c