Matching an "Edit Text" in a form with a Field in a Table

Hi Every Body,
I've succeed to add a new "Edit Text" in the invoice Form (133) with c# :
oItem = oInvoiceForm.Items.Item("103");
                    oNewItem = oInvoiceForm.Items.Add("EditText1", SAPbouiCOM.BoFormItemTypes.it_EDIT);
                    oNewItem.Left = oItem.Left;
                    oNewItem.Width = oItem.Width;
                    oNewItem.Top = oItem.Top + oItem.Height + 1;
                    oNewItem.Height = oItem.Height;                   
                    oNewItem.Enabled = false;
                    oEditText = ((SAPbouiCOM.EditText)(oNewItem.Specific));
and I've added a new Field in an existing table (OINV) Documents Marketing.....
What I want to do now is to link the new "Edit Text" to the added Field so that informations could be retreived from the table. How can I proceed? Have I to use User Interface, Data Interface? Have I to use datasource, DataBind??
I have to say that I'm a little bit lost in the code
Thank you for helping me.

Hi Haifa,
you have to bind the field to a dbdatasource named "OINV", your field.
Regards
Ad

Similar Messages

  • How to edit text in a form edited in LCD / Acrobat 9?

    So I have a few minor edits to a form that was created in LCD 9 and Acrobat Pro 9.  Apparently this seemingly simple task is now impossible with the latest versions.  When I try to edit it in Acrobat XI I get the message "This form cannot be edited in Acrobat" but I have no way to edit the text in LCD.
    Are users of forms from release 9 really stranded?

    I may still have a version of AA9 available to play with. If so, I will try to check things out and see if there are alternatives. Of course, you could recreate the form in Acrobat XI (that is where printing to a new PDF or extracting the info would be useful). You could also try Forms Central that is part of XI. It may be that Forms Central can deal with a LCD form, never tried it (but I tend to doubt it). If you did not use any of the fancy features of LCD forms, you might be better off just transferring it to AcroForms in XI.
    OK, I opened an AcroForms file in Designer for AA9 and saved. I then opened the file in AA9 and was surprised that I would edit the text of the form. When I went to edit the form fields it took me to Designer as would be expected. I played around in Designer a bit and could not find a way to edit the text, but the text could be edited in AA9. I think this is what you had described.
    I then opened the LCD form in AA XI and found the same result that you did. I was not able to edit either the text or the forms. However, I was able to export the form with most fields to DOCX. The result was pretty good for the form I was working with (suggesting it had reasonable tagging -- but that may also have been done by Designer, I am not sure). There were a few form fields that did not seem to come out, but most did on the 4 page form. I then used PDF Maker to create a new PDF and the result gave most of the form fields, similar to the docx file. It may be that this conversion process might be the most useful, unless you possibly have a form with dynamic fields that is unique in Designer.
    Hope that at least clarifies a few things for all of us and gives you some ideas. You might find additional input from the folks in the forms sub-forum.

  • What are the security settings to lock down a form with fillable fields and yet allow someone with Reader to fill in the fields as will as save the form and print it?

    What are the security settings to lock down a form with fillable fields and yet allow someone with Reader to fill in the fields as will as save the form and print it?

    You want to allow someone to open your document and fill out the form (in the fields you have created), but not change or edit the form, right? Here's the answer - assuming you are using Acrobat Pro and someone will be opening the PDF using at least Acrobat Reader 9 and up:
    Tools > Protection > Encrypt < Encrypt with Password
    Answer YES to change the security.
    A new window opens:
         Do NOT select Document Open (or that will require a password to open the document.)
         Select: Permissions (Check the box next to "Restrict editing and printing of the document.")
         Change the following 2 settings from the drop-down box:
              Printing Allowed: Select High Resolution
              Changes Allowed: Select Commenting, filling in form fields, and signing signature fields
              Leave selected: "Enable text access for screen reader devices for the visually impaired"
              Change Permissions Password (insert a strong password)
              Leave all other settings alone in "Options"
              OK - OK
              Re-enter the Permissions Password (the one you entered above)
              OK - OK
              Save the PDF to apply the security [notice that (SECURED0 will appear after the document title]

  • How can I allow the application to line through a field that has been locked after being digitally signed?  We have multiple sections on a form with some fields being proposed information and other in another section having the approved information. once

    How can I allow the application to line through a field that has been locked after being digitally signed?
    We have multiple sections on a form with some fields being proposed information and other in another section having the approved information. once the approved information is entered we line through the proposed field so the data entry clerk won't pick up the wrong information.  However we are receiving an error when attempting to enter data  in the field which we have this edit.  Error property: line through cannot be set because doing so would violate the document permission setting.  any idea how we can get around this issue?

    You can control which fields are locked down after signing by setting up a collection. Then those that are not locked can be changed after signing. If this is not possible, then the line outs must occur prior to signing.

  • Pdf form for data from another form with data, xml or pdf, tables not expanding

    Sir,
    I am using Adobe Acrobat 9 Pro and LifeCylce to do these forms. I have made several subforms for a Risk Assessment for the mission they fly. I have also made up another form with tables that would connect with each subform data. This form also will give me and others a % of the values received from the data to help us with seeing problem area towards Safety.
    I am able to connect the data to the form from the Risk Forms but when I go and add another group of data it over writes the data that was already in the data collection form. The tables are dynamic and able to expand with the generated data but when I compile several Risk Forms, xml. data into one single data group, the receiving tables will not except this data. To compile the data I am in Acrobat and using the form-manage form data-merge data to spreadsheet than enter as a report that is xml. Still not working. I also tried to save the form, with data already in the tables, and then opened it again and add data to it, it will over write the existing data in the form. This form does work great with the generated data in LiveCycle.
    Any suggestions???

    Thanks Paul
    Did as you said and for each subform binding tab made sure I have "Repeat subform for each data item" checkbox and still no change when I add the data.
    I even tried to combine the xml data and that file just has the main page and not the data pages. just another problem that is happening.
    Any other suggestions on this expanding tables and receive single forms one at a time.
    Bill

  • Saving forms with interactive fields.

    I am using Adobe Reader XI.  I am filling out a form with interactive fields and the purple bar at the top which states "data typed into this form can be saved".  However, when I save the form and then reopen it, the form is blank.  Is there anything I can do to save the completed form?

    Worked for me (Yahoooo!    Have been asking for this for over a decade)
    Opened .pdf with form field in reader X1
    Type in a few numbers into form field
    Did a save as, save was greyed out.
    Closed file, reopened in reader X1
    Closed file, reopened in Acrobat Pro X, flashed without form field or purple bar, then 3 seconds later falshed again and purple bar and form contents appeared, seems to have to think about whether to show or not

  • XML form SPS13 error saving form with user field

    Hello gurus!
    After upgrading to SPS13 all XML Forms with imput field type 'user' produce error when saving data: incorrect user id. But I select user id from user list! ID can't be incorrect.
    Please, help.
    bestRegards, RO-man

    Hi Roman,
       I am using EP 60 SPS13 Patch 3, have you installed this patch ?
    You have to create a sibling node, for instance "usuario", don't forget to define it as user (data detail).
    Then you add a browse object in your form, and change action property as user.
    Then you establish a relation between usuario and your browse object.
    Patricio.

  • How to edit text in a form

    I downloaded a form to pay taxes, I compiled it inserting my dates but I wuold like to edit text: how can I do it?
    thank you and excuse me for my bad english

    I was going to comment yesterday and did not. I think I will chime in anyway for what it is worth. As Claudio mentioned, editing PDFs is not really recommended. If you have downloaded a government form, there may be some implications if you actually tried to change the form (to make it look better) and it could be rejected. I remember some time back I has a passport or visa form I think where the size of the field entry was rediculous. I lived with it and the limitations.
    The form was also restricted from editing, that would have made it a bit more difficult and might have invalidated any submission. I do not know if there are any legal implications of making such changes, but there may be some aspects of the form not being accepted if you try to change it.
    If you are talking about no fields available, you might want to recheck the source of the form to see if they have one with fields included (the IRS used to have forms with and without fields). If the form allows adding fields and that is the issue, then simply select the TOOLS>Advanced editing and use the form tools you need. If the form is locked, it is probably best to print the form and start using a pen.
    Another option in the latter case is to print the form and then fill is in using a word processor, playing around with the placement of the text until the two line up. Then you just print the form and then reprint the text on top of it. That used to be the method folks used.

  • Editing Text In Data Forms

    I have a data form with accounts listed on the rows. I want to make some of these members bold or maybe another color. What is the easiest way to achieve this? Is there anyway besides java scripting?

    You can customize the Cascading Style Sheets but that won't effect just certain members :- http://download.oracle.com/docs/cd/E17236_01/epm.1112/hp_admin/frameset.htm?ch13s03.html
    If it is defined members you want to change the font style then I would say it would be custom javascript.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Combing PDF forms with identical field names while retaining unique values.

    I have several PDF files of the same form that has been filled out by multiple users. I need to create a combined file of all the responses for reporting purposes. However, the forms (obviously) all have the same field names, and when I combine them the values of the first form autofill the values of the matched fields on the other forms. I need a way to combine the forms while retaining the unique field values. I thought I could write a js to rename the fields, but that isn't possible.
    *EDIT: The fields need to retain editability because some contain long, scrolling text. Flattening or read-only isn't an option, not that either fixes the above problem.
    Suggestions?

    UPDATE:
    I solved this problem, at least for my own needs. Following try67's advice in a related post, I had to delete the existing fields and create new ones with new names. Given my desired outcome, this meant collecting all of the field properties of the fields (with some variation by field type), storing it, erasing the existing fields, and using that stored information to create new, identical fields (again with some variation by field type). Since I didn't want to retain actions or javascript, this was a perfect solution. I also no longer needed the buttons to function (since I wasn't retaining their javascript), so I made them read-only. I'm listing my working code below, in case anyone else could benefit from some or all of it.
    My question to the community is this: Why doesn't Adobe allow for fields to be renamed via javascript? Is it a security issue? My life would have been a lot easier the last few days if I could simply rename existing fields.
    The following script is used in a Combine Files action via the Action Wizard. The PDF optimizer is also used to strip out or flatten additional items.
    //This script is used to rename all the fields in a document while also removing any javascript or actions associated with those fields. Makes buttons read only without renaming.
    //Function to create a random alphanumeric ID.
    function makeid(n) {
        var text = "";
        var possible = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
        for( var i=1; i <=n; i++ )
            text += possible.charAt(Math.floor(Math.random() * possible.length));
        return text;
    //List variables for collecting arrays of field properties.
    var fieldNum = this.numFields;
    var fieldNameArray = new Array();
    var fieldTypeArray = new Array();
    var pageNumArray = new Array();
    var fieldRectArray = new Array();
    var fieldValueArray = new Array();
    var borderStyleArray = new Array();
    var borderColorArray = new Array();
    var borderThicknessArray = new Array();
    var fillColorArray = new Array();
    var textColorArray = new Array();
    var textFontArray = new Array();
    var textSizeArray = new Array();
    var textAlignmentArray = new Array();
    var textMultilineArray = new Array();
    var checkmarkStyleArray = new Array();
    var radiowidgetNumArray = new Array();
    var radiowidgetRectArray = new Array();
    var radiowidgetPageNumArray = new Array();
    //Get the properties of all the current fields, including widgets.
    for (var i = 0; i < fieldNum; i++) {
        var currentField = this.getNthFieldName(i);
        fieldNameArray[i] = makeid(5);
        fieldTypeArray[i] = this.getField(currentField).type;
        borderStyleArray[i] = this.getField(currentField).borderStyle;
        borderColorArray[i] = this.getField(currentField).strokeColor;
        borderThicknessArray[i] = this.getField(currentField).lineWidth;
        fillColorArray[i] = this.getField(currentField).fillColor;
        textColorArray[i] = this.getField(currentField).textColor;
        textFontArray[i] = this.getField(currentField).textFont;
        textSizeArray[i] = this.getField(currentField).textSize  
        if (this.getField(currentField).type == "text") {
            fieldRectArray[i] = this.getField(currentField).rect;
            pageNumArray[i] = this.getField(currentField).page;
            fieldValueArray[i] = this.getField(currentField).value;
            textAlignmentArray[i] = this.getField(currentField).alignment;
            textMultilineArray[i] = this.getField(currentField).multiline;
        if (this.getField(currentField).type == "checkbox") {
            fieldRectArray[i] = this.getField(currentField).rect;
            pageNumArray[i] = this.getField(currentField).page;
            fieldValueArray[i] = this.getField(currentField).value;
            checkmarkStyleArray[i] = this.getField(currentField).style;
        if (this.getField(currentField).type == "radiobutton") {
            checkmarkStyleArray[i] = this.getField(currentField).style;
            fieldValueArray[i] = this.getField(currentField).value;
            var n = 0;
            while (this.getField(currentField + "." + n) != null) {
                radiowidgetNumArray[n] = this.getField(currentField + "." + n).name;
                n++;
            for (x = 0; x < radiowidgetNumArray.length; x++) {
                radiowidgetRectArray[x] = this.getField(radiowidgetNumArray[x]).rect;
                radiowidgetPageNumArray[x] = this.getField(radiowidgetNumArray[x]).page;
    //Delete all the current fields, except for buttons, which become read-only.
    for (var i = (fieldNum - 1); i > -1; i--) {
        var currentField = this.getNthFieldName(i);
        if (this.getField(currentField).type != "button") {
            this.removeField(currentField);
        } else {
            this.getField(currentField).readonly = true;
    //Using the stored arrays of field properties, generate new, identical fields.
    for (var i = 0; i < fieldNum; i++) {
        if (fieldTypeArray[i] == "text") {
            var newField = this.addField(fieldNameArray[i], fieldTypeArray[i], pageNumArray[i], fieldRectArray[i]);
            newField.value = fieldValueArray[i];
            newField.borderStyle = borderStyleArray[i];
            newField.strokeColor = borderColorArray[i];
            newField.lineWidth = borderThicknessArray[i];
            newField.fillColor = fillColorArray[i];
            newField.textColor = textColorArray[i];
            newField.textFont = textFontArray[i];
            newField.textSize = textSizeArray[i];
            newField.alignment = textAlignmentArray[i];
            newField.multiline = textMultilineArray[i];
            newField.doNotSpellCheck = true;
        if (fieldTypeArray[i] == "checkbox") {
            var newField = this.addField(fieldNameArray[i], fieldTypeArray[i], pageNumArray[i], fieldRectArray[i]); 
            newField.value = fieldValueArray[i];
            newField.borderStyle = borderStyleArray[i];
            newField.strokeColor = borderColorArray[i];
            newField.lineWidth = borderThicknessArray[i];
            newField.fillColor = fillColorArray[i];
            newField.textColor = textColorArray[i];
            newField.textFont = textFontArray[i];
            newField.textSize = textSizeArray[i];
            newField.style = checkmarkStyleArray[i];
            newField.readonly = true;
        if (fieldTypeArray[i] == "radiobutton") {
            for (y = 0; y < radiowidgetNumArray.length; y++) {
                var newField = this.addField(fieldNameArray[i], fieldTypeArray[i], radiowidgetPageNumArray[y], radiowidgetRectArray[y]);
                newField.value = fieldValueArray[i];
                newField.borderStyle = borderStyleArray[i];
                newField.strokeColor = borderColorArray[i];
                newField.lineWidth = borderThicknessArray[i];
                newField.fillColor = fillColorArray[i];
                newField.textColor = textColorArray[i];
                newField.textFont = textFontArray[i];
                newField.textSize = textSizeArray[i];
                newField.style = checkmarkStyleArray[i];
                newField.readonly = true;           
    //End script.

  • Multiple Page flowed form with expandable field, causing a blank page

    I have a 3 page form with an expandable field on page 1.  I've set the pages up as flowable with positioned subforms and everything is working well, until you type a lot of info into the expandable field and it moves everything else in page 1 down to page 2, the problem appears after the text is moved, there is a huge blank space after the text that was moved.  Basically the rest of the information is moved to page 3 and then there is a page 4.  Hope this makes sense.
    Original - Page 1, Page 2, Page 3
    Expanded past the page - Page 1&2 (then big blank space), Page 3, Page 4
    I'd just like the pages to flow together so if the expanded box moves to the next page the sections just continue to follow without a huge blank space on page 2.

    It sounds as if some of your content is set to not allow page breaks within it.  Have you checked all containing sub forms for the option below?

  • Form with fillable fields on iPad

    I have a form created in Adobe Acrobat pro with fillable fields. When I save it to my iPad, the fields are no longer fillable. How can I make the fields fillable on the iPad? Thanks!

    Hi Nick,
    You can use Adobe Fill & Sign DC for the purpose.
    Adobe Fill & Sign DC is a free mobile app that can be used all by itself, or with Acrobat DC. While Acrobat lets you work with fillable PDF forms and draw a signature with your finger, Fill & Sign gives you an easy way to work with paper forms or PDFs that haven’t been optimized for form filling. With Fill & Sign on an iPad or Android tablet device, you can:
    Open a PDF file, take a photo, or pick an image from your mobile device
    Type answers right onto the form, or accept auto-fill suggestions
    Sign your form by typing or drawing your signature, or using an image
    Edit your personal auto-fill collection so you don’t have to retype frequently-used information each time you complete a new form.
    If you want to edit the pdf form then you need to purchase the subscription to Adobe Acrobat DC.
    For more information please refer the FAQ: FAQ | Acrobat DC mobile app
    Adobe FormsCentral has reached end of life and is no longer supported.
    Installation of Acrobat DC on the PC removes the older version of Acrobat and FormsCentral.
    Regards,
    Rave

  • Problem in Webdynpro and Adobe form with signature field

    Hi experts!
    I have a problem with Signature Field in Adobe Form showed in a Web Dynpro Abap.
    During the execution I fill the Signature field correctly but when I push any other button of the Webdynpro, the Adobe Form shows me the next error.
    After click OK, the webdynpro is hang and not respond.
    Any idea why not respond?
    Thanks.

    Hi friend,
    Its not like that the Adobe created using SFP is non interactive.
    We can create interactive forms using SFP transaction using java code.
    I think it will be the problem with ADS just check with your basis people i think they will configure you the settings which works fine.
    To check whether the settings are perfect you can try executing the standard programs FP_TEST_00 and
    FP_PDF_TEST_00. If it works fine then some other problem exists else check with your basis team.
    Just check this and revert me if you have any issues. I will help you
    Thanks,
    Sri Hari

  • Error in smart form with currency  fields

    while i am using with currency fields in samrt forms error is comming in while i am giving print-preview in se38 "<b>Reference field WA_EKPO-NETPR unknown in form."</b>

    In smart forms if we want to display quantity and currency fields. We cannott directly display currency field and quantity fields.
    To display the mdo like this
    Ex: GLOBAL Definitions
    WA_NETPR LIKE EKPO-NETPR
    For that we have to create an extra variable in global definitions
    Ex: netpr FIELD of EKPO
    CREATE program lines and specify WA_NETWR = itab-netpr.
    Close the thread once your question is answered.
    Regards,
    SaiRam

  • Use Formule on FORM with REPORT - result stored at table

    Hi all,
    What is the best solution for?
    I have region with FORM WITH REPORT on the same PAGE.
    Values stored at table INFO with column ID, MYDATE, TIME_START_HOUR, TIME_START_MIN, TIME_END_HOUR, TIME_END_MIN, SUM1, SUM2
    ITEMS on the form:
    P1_ID (hidden)
    P1_MYDATE (date picker)
    P1_TIME_START_HOUR (select list)
    P1_TIME_START_MIN (select list)
    P1_TIME_END_HOUR (select list)
    P1_TIME_END_MIN (select list)
    P1_SUM1 (hidden)
    P1_SUM2 (hidden)
    After user fill in MYDATE, TIME_START_HOUR, TIME_START_MIN, TIME_END_HOUR, TIME_END_MIN then I need proces for calculation SUM1 en SUM2. Result stored (one record) at table INFO.
    Report shows all columns. User had possibility to update the record
    Formule:
    Select
    (CASE
    when to_char(mydate,'DY','nls_date_language=dutch') in ('ZA','ZO')
    THEN substr(to_timestamp (mydate||':'||TIME_END_HOUR||':'||TIME_END_MIN ||':00','DD-MM-YY:HH24:MI:SS') -
    to_timestamp (mydate||':'||TIME_START_HOUR||':'||TIME_START_MIN ||':00','DD-MM-YY:HH24:MI:SS') -
    (interval '00 00:00:00' day to second)
    ,12,5)
    ELSE '08:00'
    END) SUM1,
    (CASE
    when to_char(mydate,'DY','nls_date_language=dutch') in ('ZA','ZO')
    THEN substr(to_timestamp (mydate||':'||TIME_END_HOUR||':'||TIME_END_MIN ||':00','DD-MM-YY:HH24:MI:SS') -
    to_timestamp (mydate||':'||TIME_START_HOUR||':'||TIME_START_MIN ||':00','DD-MM-YY:HH24:MI:SS') -
    (interval '00 04:00:00' day to second)
    ,12,5)
    ELSE '04:00'
    END) SUM2
    FROM INFO
    where id=:ID
    What is the best way for the calculation: computation or processes or etc? The calculation after or before user push button(New:create button of Update:Apply Changes)?
    How to fill the answer (SUM1 and SUM2) at table INFO?
    Thanks Walter

    I have something similar I use:
    DECLARE
      str_day      VARCHAR2(10);
      dt_indx      DATE;
      db_dt_indx   VARCHAR2(20);
      str_st_tm    VARCHAR2(20);
      dt_st_tm     DATE;
      db_st_tm     VARCHAR2(20);
      str_ed_tm    VARCHAR2(20);
      dt_ed_tm     DATE;
      db_ed_tm     VARCHAR2(20);
      shft_flag    NUMBER;
    BEGIN
      str_day    := :P1050_DATE_MM || '/' || :P1050_DATE_DD || '/' ||  :P1050_DATE_YYYY;
      dt_indx    := to_date(str_day, 'MM/DD/YYYY');
      db_dt_indx := to_char(dt_indx, 'MM/DD/YYYY');
      str_st_tm  := str_day || ' ' || :P1050_TIME_IN_HH || ':' || :P1050_TIME_IN_MI || ' ' || :P1050_TIME_IN_AM;
      dt_st_tm   := TO_DATE(str_st_tm, 'MM/DD/YYYY HH:MI AM');
      str_ed_tm  := str_day || ' ' || :P1050_TIME_OUT_HH || ':' || :P1050_TIME_OUT_MI || ' ' || :P1050_TIME_OUT_AM;
      dt_ed_tm   := TO_DATE(str_ed_tm, 'MM/DD/YYYY HH:MI AM');
      --Alter date if night shift
      SELECT NVL(:P1050_NIGHT_FLAG,0) into shft_flag from dual;
      IF dt_ed_tm < dt_st_tm THEN
        dt_ed_tm := dt_ed_tm + 1;
      END IF;
      db_st_tm   := to_char(dt_st_tm + shft_flag,'MM/DD/YYYY HH:MI AM');
      db_ed_tm   := to_char(dt_ed_tm + shft_flag,'MM/DD/YYYY HH:MI AM');
    end;You'll need to modify it for your page variables.

Maybe you are looking for