Adding data into default form

Hi All,
I'm newbie to SDK. I've created an UDO for a user table of object type master data and Default form is created. now i want to enter data into that by using SDK. How can this be done.
Thanks in advance
jaideep
Edited by: jaideep amuloju on Apr 20, 2009 12:55 PM
Edited by: jaideep amuloju on Apr 20, 2009 12:56 PM

It's not clear to me what's you need to do.
If you want to use UDO, for simple data editing, you doesn't need to use SDK.
If your needs are more complex, I suggest you to build your own form with screen painter and with SDK write the necessary code for the addon.
I can send you some example if you need.
Bye.
Diego

Similar Messages

  • Importing data into dynamic form

    I have not yet had a chance to work with LiveCycle, and I have been given a project which I need to determine if LiveCycle would be the correct solution. The client originally wanted this to be a Microsoft Word form, but I doubt that I can meet the requirements using Word.
    I need to design a form which a user can enter multiple line items either manually, or by importing existing data. The data itself would be about 40-50 distinct pieces of data, in a block of  several sections and multiple lines (i.e Name, Address block, Phone/fax/email, contact and comment section, etc) and would be a combination of text fields and checkboxes. There would be 2-3 of these blocks per page (with a static header/footer), plus a cover page with data fields for the organization using the form.
    I know that I could create this type of dynamic form in LiveCycle to be entered manually, but I don’t know what options, if any, I would have in giving the user the ability to import existing data from an unknown source (could be a text file, a local or hosted database, excel, etc.).
    My questions are about the feasibility of LiveCycle for this project:
    Can data be imported from a data source the user chooses? Are there any limitations to what kinds of data sources can be used? Would I need to program a custom function to allow the user to match the proper fields for the import, or is there a built in function to handle this?
    Would there be any platform/application limitations? Can the form be used with Reader on a desktop computer (Mac or PC), or on a tablet (and if so, is a specific app necessary instead of the default app)?
    Are there any other foreseeable issues I may have to deal with?

    Thanks for the info. A few followup questions if you don't mind:
    1. Needs to configure an ODBC-connection on every system it is used.
    This form will be sent to our client, and they will send it to their customers. Can the connection setup be scripted, or is it simple enough that a generic set of instruction can be given to the end user to allow them to setup the connection and map their fields to the form's content easily?
    2. Requires Acrobat or a reader-enabled from to use in Reader. Data is automatically populated in the form fields. Only xml files for import allowed. Allows to use XSLT to format imported data.
    I doubt that the end user would have their data in a compatible XML format, so this option may not be necessary. Is Reader-enabling a form in LiveCycle comparable to the process in Acrobat? I have heard LiveCycle Enterprise is very expensive and required for certain functions, does this apply here? Does this require a specific server setup for these forms?
    3. Difficult scripting to update field values automatically. Works in Reader and Acrobat.
    The data would not need to be updated automatically, just pull current data into the form. This would be a one-way operation, there would be no need to update the data source from values within the form. I would still need to give the user a way to map their fields to the form.
    Are you aware of any tutorials or example files that would help give me a start? I had a brief look at the LiveCycle Designer ES2 Scripting Reference, but I"m not sure which objects to look into.
    None of these methods will work on mobile devices as there is currently no support of XFA in Reader Mobile.
    Good to know. The same is probably true if I were to create the form in Word/Office.

  • Merging Excel data into a form created in LiveCycle

    Hello,
    I've made a form in LiveCycle.  The first of the 5 pages I want to pre-populate with data before I distribute the final form.  My data is in Excel and I have ensured that the header titles match the field names on the form.  Could someone help me to get the data into the form please.  I'm pretty new to xml and have found following the Help difficult.
    Thanks
    Scott

    Please re-ask in the LiveCycle Designer forum  http://forums.adobe.com/community/livecycle/livecycle_es/livecycle_designer_es  That is where people who use the Designer product hang out.

  • Import data into a form in Acrobat Pro X

    Have followed directions on importing data in text format into a form in Acrobat Pro X . Does not work. Is it possible to import a large amount of data into a form and have multiple forms created? Very frustrating and disappointing.

    Here's a recent topic that discusses this type of thing: http://forums.adobe.com/message/3397600
    Note that some of the code that was posted isn't correct, but you will see the general approach outlined. It does require some JavaScript programming. Have you done any before?

  • Fill data into a form programmatically and print the form afterwards

    Folks,
    until recently a lab assistant took measurements and filled the data into a paper form (see attached pdf). Now we are building a test stand that does the measurement semiautomatically. The software of the test stand will be programmed in LabVIEW, of course. The test stand shall generate a printed protocol very similar to the attached pdf in future as well.
    What's the best way to fill the acquired data into the form and to print the form afterwards? The form can be read by our code in either pdf or html. There is no Microsoft Office installed on the computer.
    Modifying the html code? Converting the pdf to a picture and fill the data into the picture? Any hint will be highly appreciated.
    Thanks,
    Peter
    Attachments:
    Form.pdf ‏121 KB

    Hmmm... must have misunderstood what you were saying.
    XSL is a language that allows you to generate an HTML document. The XSL basically defines the style, and the XML specifies the data. HTML is the combination. You can find out more here.
    Unfortunately, since you don't have Office, you won't be able to use the ActiveX interface to control Word, so that's out.
    With the template in HTML format you could use the DOM for an HTML file to set the value of the HTML elements. The easiest way to do this is to use IE (I'm assuming you're on Windows here) to open the HTML template and then you can use the DOM from there. As for how feasible this is, it would depend on your HTML format. Can you post the template in HTML format?
    With the template in PDF format I know that some PDF files that are forms can be generated in such a way that they still act like forms when you open them in, say, Acrobat Reader. Acrobat has an ActiveX interface so you should be able to programmatically do this, but I can't say for sure. You can check the Adobe site for more info. You just need to make sure it doesn't require the full version of Acrobat.

  • Adding Data into text and graphic frames - PLEASE CAN SOMEONE HELP?

    Hello Script buddies,
    Here is my script and I want to place data into the frames which I set up already in the inDesign template which loads correctly but unable to place the data into the frames, please refer to comments and if anyone can help me I will be very grateful.
    strFile = "C:\Users\dean.brooks\Documents\PoolSigns.xlsx"
    Set objExcel = CreateObject("Excel.Application")
    objExcel.Workbooks.Open strFile
    intRow = 2
    Set objSheet = objExcel.ActiveWorkbook.WorkSheets(1)
    ' Cycle through cells in Pool Sign Schedule to retreive data
    Do Until objSheet.Cells(intRow, 3).Value = ""
    PoolSignScheduleSignNo = Trim(objSheet.Cells(intRow, 1).Value)
    PoolSignScheduleTemplate = Trim(objSheet.Cells(intRow, 3).Value)
    PoolSignScheduleDepth = Trim(objSheet.Cells(intRow, 5).Value)
    PoolSignScheduleWarningFile = Trim(objSheet.Cells(intRow, 7).Value)
    PoolSignScheduleWarningText = Trim(objSheet.Cells(intRow, 8).Value)
    PoolSignScheduleRegFile = Trim(objSheet.Cells(intRow, 10).Value)
    PoolSignScheduleRegText = Trim(objSheet.Cells(intRow, 11).Value)
    ' Open InDesign Template that corresponds to PoolSignScheduleTemplate
    Set myInDesign = CreateObject("InDesign.Application.CS3")
    Set myDocument = myInDesign.Open(PoolSignScheduleTemplate)
    'Frames, these commands won't work, can someone please help??
    Set DepthMarker = myDocument.Textframes.Item
    DepthMarker.Contents = PoolSignScheduleDepth
    Set WarningText = myDocument.Textframes.Item
    WarningText.Contents = PoolSignScheduleWarningText
    Set WarningSymbol = myDocument.Graphicframes.Item
    WarningSymbol.Contents = PoolSignScheduleWarningFile
    Set RegText = myDocument.Textframes.Item
    RegText.Contents= PoolSignScheduleRegText
    ' Save InDesign File to C:\ to be moved manually later to appropriate location
    myDocument.Save("C:\Pools\PoolSign\PoolSignScheduleSignNo.indd")
    myDocument.Close
    intRow = intRow + 1
    Loop
    objExcel.Quit
    WScript.Quit

    Hi Robert,
    Your problem starts here:
    Set DepthMarker = myDocument.Textframes.Item
    ...which item? Item takes either an integer (the index of the item) or a string (the contents of the label property, if any).
    Next, however, is that you should be more specific about *where* the text frame is in the document. What page or spread is it on? Let's say that the frame "DepthMarker" is on page 1:
    Set DepthMarker = myDocument.Pages.Item(1).TextFrames.Item(1)
    If there's only one frame on that page, you're in great shape. If not, you need to come up with some way to differentiate one frame from another. Script labels are a great way to do this. Let's say you've used the Script Label panel to add the label "DepthMarker" to the relevant frame on page 1, and added the label "WarningText" to another frame. In that case, you'd use something like this:
    Set DepthMarker = myDocument.Pages.Item(1).TextFrames.Item("DepthMarker")(0)
    Set WarningText = myDocument.Pages.Item(1).TextFrames.Item("WarningText")(0)
    ...When you use a string to refer to a page item by its label, InDesign returns an array, so you need to get the first item in the array (assuming that there's only one page item on the page with that label).
    Hope this makes sense! I'm typing it off the top of my head because I have to go speak at a conference tomorrow and am short on time--but it should get you pointed in the right direction.
    Thanks,
    Ole

  • I am trying to create a Form that will act as a list.  I want to import data into the form from exce

    My table has a list of names with product information in corresponding columns.  I want to create a form that I can import this into where every row makes a new part of the form list I create.  Is this possible?
    Example of what I have in excel:
    Name
    Product 1
    Product 2
    Product 3
    Total
    a
    1
    2
    3
    6
    b
    0
    3
    4
    7
    c
    1
    3
    4
    8
    d
    1
    3
    5
    9
    Example of what I want in Form:
    Customer a    1     2     3     6
    Customer b    0     3     4     7
    etc.
    I want to put this info into a form to make it more presentable.  Can anyone help me with this?

    Look at the Import/Export form data functionalities already built-in into Acrobat.

  • Copy & Paste data into Planning form in Workspace 11.1.2.2

    Hi there!
    I'm dealing with a weird problem with Planning 11.1.2.2 over workspace. I cannot paste copied data into data forms (whether I copy from an Excel sheet, a file, or another cell of the same form).
    However, when I access Planning directly through :8300/HyperionPlanning/LogOn.jsp (old-styled Planning), pasting data works fine.
    I tried using Ctrl + V and menu buttons, and didn't work.
    Thanks in advance!

    Hi,
    Not sure which web browser you were working on, but this is from the 11.1.2.2 Known issues for Planning
    12360405 -- With Firefox, you cannot copy and paste data from Microsoft Excel into a Planning form.
    Hope this helps..!!
    Thanks,
    hyperionEPM
    Please mark answers as helpful or correct for others to find them easily.

  • Adding data to system form

    hi experts
    I want to put DocDate and TaxDate into payments form how to do this.
    i tried to add like this
    no form load
    Form frm = APL_Form.Polaczenie.pApp.Forms.GetFormByTypeAndCount(pVal.FormType,pVal.FormTypeCount);
    (frm.Items.Item("10").SPecific as editText ).Value="15/04/08";
    but it doesn`t work.
    i also tried to add this data by DataSources.
    this is in  ORCT.DocDate
    Regards
    Edited by: Michal Wieczorek on Jul 16, 2008 10:46 AM

    Michal,
    If pVal.FormType = "170" And pVal.EventType = SAPbouiCOM.BoEventTypes.et_FORM_LOAD And pVal.Before_Action = False Then
                Try
                    oform = sbo_Application.Forms.GetFormByTypeAndCount(170, 1)
                    oform.Items.Item("10").Specific.value = "20080719"
                    oform.Items.Item("90").Specific.value = "20080719"
                Catch ex As Exception
                    MsgBox(ex.Message)
                End Try
            End If
    1) date has to be entered in yyyymmdd format.
    2) exchange rate has to be updated for the date that you are passing. or else a window for the same will open.
    HTH
    Binita
    Edited by: Binita  Joshi on Jul 16, 2008 12:08 PM

  • Adding data into a custom table through a report transaction

    Is it possible to add data into a table through a report transaction. I have been asked to create a report in which when we add certain data in the selkection screen it updates thoses particular fields and the rest of the records can be fille dout in the output. Basically I have a customised allocation table called zalloc. I have to create a report with selection screen having receiving plant, material document of the original transfer psoting , issuning plant , line item number , batch, receiving and issuning storage location. I need to validate this against the mseg table and whatever entry I make in teh selection screen should update my zalloc table from here.
    Can anyone help me with this please.
    Thanks

    Hi Aarav,
    Yes, It is possible to add records to a table using a report transaction. You can use Update or Modify to insert records in a table.Convert the data fetched from the ZALLOC and convert it into an internal table of the same format as that of the ZALLOC table and simply do an
    loop at itab_zalloc into wa_zalloc.
    *INSERT INTO ZALLOC FROM WA_zalloc*.
    endloop.
    OR
    INSERT ZALLOC FROM TABLE ITAB_ZALLOC
    OR
    UPDATE ZALLOC FROM TABLE ITAB__ZALLOC .
      Update will modify if that record exist and returns sy-subrc as non zero if entry does not exist.
    OR
    MODIFY updates an existing DB entry or, in no matching entry exists, inserts a new entry into the DB table

  • Importing Access Data into Oracle Forms through Forms 10g

    Sirs,
    How can i import the data of Access file into Oracle tables.
    i have the tables in access of approx 10 how can it be imported in oracle with same data structure.
    ThanX in advance

    DECLARE
    kAccess client_ole2.obj_type;
    kdb client_ole2.obj_type;
    ktables client_ole2.obj_type;
    krec client_ole2.obj_type;
    kcurr client_ole2.obj_type;
    begin
    kaccess:=client_ole2.create_obj('Access.application);
    kdb:=client_ole2.invoke_obj(kaccess,'open','D:\acc.mdb');
    ktables:=client_ole2.get_obj_property(kdb,'tables',1);
    //then process teh data of the table which is at 1 using another
    krec:=client_ole2.invoke_obj(ktables,'count');
    for s in 1 .. krec
    loop
    /// code for sinserting the current records data into the oracle tables.
    kcurr:=client_ole2.get_obj_type(ktables,'recordset',s);
    // then access each filed in kcurr and then insert in oracle table
    end loop;
    end;
    the above code is not tested your can alter any syntatical error if any.

  • How to Post Xml data into interactive form in web dynpro

    Hi,
    I want to be creating the xml source for web dynpro programatically.
    This is because my adobe form is highly dynamic where even the kind of ui elements and the position is decided at runtime.
    It is a highly interactive chart which I am planning.
    I want to then bind this dynamically generated xml to the pdf.
    Let me know your ideas.
    Thanks,
    Harish

    Conclusion from my point of view:
    1) You cannot have this thing interactive if you want to work with all the features of OM, if you want to cover all the details. In that case you need to create some tool for drawing the pictures for you and then only send the picture into the form. If anybody would like to do the changes you would add the table at the bottom of the page where a guy can say something like "chair A move under the big banana B" or "fire Mr. C, remove the position of Mr. C". That is probably the thing I would go for
    2) I am afraid you or your employer do not understand how the Adobe forms work. This is possible, but as I said before, that would be a nightmare for the developer (I cannot tell the price, would start with like 20 MDs).
    3) If you would like to mimic some existing solution and don´t want to buy that, then it´s ok for me. But don´t try to re-create the existing .NET or Java stuff in ABAP. I am skilled Java programmer and I can tell the freedom and the speed of the development is quite different. If the customer/ boss insist on developing such thing, use WEB development, go for PURE JAVA (I would go this way), use Java Connector in a JSP/ J2EE stuff and then incorporate the result into the portal.
    Hope that clarifies the problem a little,
    regards Otto

  • Error when adding data into ODS

    I have created a SS->Info area->Infoobject catalog->Info objects->Application component->Info source->ODS->Info cube.This is how i have created my structure.And i have created the appropriate transfer rules and update rules.And am choosing automatic update of data into the info cube.Say i have a set of 10 transactional data which i am loading and i have choosen initialize delta process and initilization with data transfer in the update and i have loaded the data.I get the correct resulting my 10 datas in the infocube but when i am trying to add 5 more data along with this 10 and loading it in i am not getting the result it shows some error and i have choosen delta process in the update before loading..can some one tell me why i get a error.

    Hi,
    did you make settings in the "ODS Activate ODS data"?. if this was not done then then you have to activate manually then system will update data to cube automatically.
    So you missed the settings for activation.
    Hope this will help.
    Cheers
    Manju

  • Using .csv file and adding data into database

    hi,
    i'm working on a project which shows all the share prices on a webpage from the FTSE100..
    my problem is..i connect to yahoo.co.uk to get my share price information which is updated every 15mins..they return a .csv file to me...at the moment, i am just printing the information onto my website, but is there any way that i could store this information into a database if i needed the data to be used elsewhere...thanx for the help in advance

    below is my code which i used to get my info onto the web...i'd just like to know how i would use this to store the data into a database..
    import java.net.*;
    import java.io.*;
    import java.lang.*;
    import java.util.*;
    public class SharePrice
         private String line;
         private int maxShares = 101;//maximun shares a user can have
         private int details = 5;//five details, name,date,time,price,change.
         public String [][] shareData = new String[maxShares][details];
    public SharePrice(String [] shares) throws Exception
              getShare(shares);
         //returns a double array containing share data of each share as a seperate row in the array
    public String [][] getShare(String [] sh) throws Exception
                   for(int i=0; i<sh.length; i++)
                        //if the entry is null we have reached the end of the array
                        if(sh!=null)
                             String share = sh[i];
                             //part of url of the resource
                             String address ="http://uk.finance.yahoo.com/d/quotes.csv?s=";
                             //adds the share tothe url so that particular shares data is retieved
                             address = address+share;
                             System.out.println(address);
                             try
                                  //connection is created to the resource and input stream opened to read data
                                  URL url = new URL(address);
                                  BufferedReader in = new BufferedReader(
                                            new InputStreamReader(
                                            url.openStream()));
                                  line = in.readLine();
                                  in.close();
                             }catch(Exception e){System.err.println("Exception: " + e.getMessage());
                                  e.printStackTrace();}
                             //the line of data retrieved is spli and placed in a single row of the array
                             //beause the each piece of data is seperated by commas it is easily seperated.
                             StringTokenizer t = new StringTokenizer(line, ",");
                             int count = t.countTokens();
                             System.out.println(" count= "+count);
                             while(t.hasMoreTokens())
                                  for(int j=0; j<count; j++)
                                       String s = t.nextToken();
                                       shareData[i][j] = s;
              return shareData;

  • Adding data into the InfoCube

    i have follow a step by step guide to do this BI solution but i can load the data into the info. is there any way to load data into the info cube?? thanks for your help.

    Hi,
    Please follow the below steps to load your data
    Here are the steps,
    1.Open Administrator Workbench: Modeling, from the menu or using the transaction RSA1
    2.Go to Source Systems (File)and Create a new System.
    3. Double click on the datasources, create data source
    4.Entitle the Datasource, choose Transaction Data as Data Type Datasource
    5. In next screen, Go to Extraction , Activate the data source
    6.Go to Preview. Press Read Preview Data.
    7.Data will be loaded: Save and activate the datasource
    8.Go to InfoProvider, go to Info area and create Infocube
    9.Entitle the infocube, press create
    10.Display all info objects: . Choose your info objects ,Move the characteristics and key figure to the infocube by drag and drop adn activate
    11.Go to InfoCube, create transformation
    12.Click on the ‘Show Navigator’ button. Match the fields in navigator. Save and activate.
    13.go to info provider, your info cube, create data transfer process
    14.Choose: Extraction Mode: full
    Update: Valid records update, Reporting possible (Request green)
    Activate, execute
    14.Double click on the data source, Read Preview Data
    15.Create an InfoPackage by right clicking on the datasource. Execute the load into PSA.
    16.Verify data was loaded into PSA before proceeding with the next step.
    17. Execute the Data Transfer Process
    18.Monitor the results (Menu: GoTo: DTP Monitor)
    19.Try to display the data at the BW Frontend.
    Hope this is helpfull.
    Harish

Maybe you are looking for

  • Error #1009 in my Platform Game! Please Help!!!

    In my basic platform game I have a "hero" that can walk and jump on the "ground." There is also a door to the next scene, which is the next level.The first scene works fine, but "TypeError: Error #1006: value is not a function. at Charles3_fla::MainT

  • How to lookup an object?

    hi, i am new to jndi and lookup method,and i wrote this code : InitialContext cntxt = getInitialContext(); dao = (SellerInterface) cntxt.lookup("LoginEJB/SellerDAO"); and this exception was thrown: javax.servlet.ServletException: #{loginBean.login}:

  • Need to render everytime I re-open project in PP3

    My problem: On a particular project, I need to re-render everything everytime I re-open project even after I have saved and closed project. I also experience SERIOUS ERROR crashes or simply PP3 freezes while trying to render whole timeline, I need to

  • HT1428 I want to change the name of my macbook Help ?

    I tried enabling the rooy account and then renaming the folder with the house on it which was my account but it does not allow my to change my acoount's name Help ? Thanks

  • Filter and Sort Transient Attribute from Query Panel

    Jdev 11.1.1.3 Hello, i am not able to filter a transient attribute from the standard query panel (with result table). I did following things: -Call an Initial AppMod Service Method from my Bounded Task Flow, and fill the Transient Attribute with some