ABAP-Interactive forms : Read-Only buttons upon runtime

Hello,
I'm fairly new at this and probably for a good reason I can't find any information pertaining to this issue.
Using the embeded Adobe Lifecycle Designer within SAP using transaction SFP, I go to the layout tab and create a button.  On this button a make a simple script that changes the caption.
On the PDF preview I can see that this works, though when I run the program using SE38 the button seems to be read-only and the cursor does not change nor is there any event that is triggered upon clicking.
From what I read this is a dynamic form since there are other tables created dynamically and filled with data upon runtime.  I don't believe WebDynpro is involved considering I'm running it from the backend and the ABAP functions forward the parameters directly to this program.
Would anybody be able to tell me why the buttons are read-only at runtime and not in 'PDF Preview'?
Thanks a bunch,
Scott

Hi Sanda,
I set DYNAMIC to 'X' and when the form is generated the buttons are still deactivated.
Although, when I also set the FILLABLE parameter to 'N' a warning message appears telling the user that the form cannot be saved and then the buttons are clickable (and button event scripts are working).
A problem here is that the form needs to be saved, is there a nice way to disable this error and allow the user to save the PDF?
I also noticed another issue; Upon form load some tables are populated, depending on what certain data is, some images are changed via JavaScript.  With these current parameters this script seems to not be working.  The data has not changed and if I turn off the dynamic/fillable parameters, the script works again, any ideas?
Thanks!  I'm almost there!
Scott Renaud

Similar Messages

  • Differentiate between button events in WD ABAP Interactive form ?

    Hi ,
       I have a senario in which I have  2 buttons in a Webdynpro ABAP Interactive form.
    Button1 is to fectch some values from the back and set in the context so that it is populated in the form.
    Button2 is submit button which calls a BAPI in the backed..
    I need to differentiate between the events of these 2 buttons in my Webdynpro ABAP onSubmit event..
    Is there any way to differentitate which button I have clicked in the form.. ????
    Thanks
    Siva

    Hi Sivaraj,
    you can try defining an action on OnCheck action. I think it should work.
    If it doesnt work then, define an attribute in the context, and place it on the form, make this field invisible. Then on click on button set some values in this attribute. Read the attribute value in the ABAP. And perform the action according to that.
    Hope this helps,
    Amit

  • Drop down list button in the WDP Abap interactive form

    Hi Gurus,
    I wanted to implement the drop down list button in the WDP Abap interactive form. Once the users clicks on the drop down button, an RFC should be called and display the details under the drop down button. Please give me the logic with code. Its very urgent...please help me. Please note that it is in WDP Abap interactive forms. We are using NW2004S, ECC6.0.

    hi david,
    all the UI elements in the adobe form are generally connected to your web-dynpro Context.
    whatever you type in the online adobe form is reflected in the respective context attributes of the dynpro Context of the view where "ur Interactive form UI element is".
    that means you can yourself fill the contents of ur interactive form by working on the get/set methods of the context attributes.
    Likewise you can clear the form by setting all context attributes to blank eg ""
    with regards,
    -Amol Gupta

  • WD ABAP Interactive form to xml to xstring

    Hi All,
    I have created one WD ABAP interactive form with a submit button. After user enter the values in the form, once submits, it should trigger a workflow and I should send the whole PDF form as an attachment to a workitem.
    For triggering  work flow is not a problem. But this pdf should be generated again at workitem attachment.
    For converting to PDF and attachming the pdf to workitem I already have a business object.But now the problem is I have to generate the XML file from the context values and send this as xstring to my program, so that by using this value, it will re genarate the pdf with this updated values.
    So, i need a way to generate xml out of user filled interactive form
    and pass it as xstring.
    Appreciate your help.
    Regards,
    Ravi

    Hi ravi,
    These are the function modules  which converts table to String and the String to Xstring.
             SOTR_SERV_TABLE_TO_STRING  "Table to String
             SCMS_STRING_TO_XSTRING "String to Xstring
    For triggering work flow is not a problem. But this pdf should be generated again at workitem attachment.
    For converting to PDF and attachming the pdf to workitem I already have a business object
    Can you tell me how you are attaching document to Workflow and how you are triggering workflow on click of Submit button and what is the businees object to send the attachements to workitems.

  • Make form read only if a field is filled in

    Is there a way to make an entire form read only if a certain text field is filled in?  I know that adding a digital signature field to a form, increases the size of the form, so I would prefer not to add a digital signature field to my form.  However, I would like the feature that says after the form is signed, it is read only.  I added a text box to the form and tried to add some script that read:  if (this.rawValue != "") (this.access = "readOnly"), but that didn't work.  Is there a way I can accomplish this without adding a signature field to the form?

    Hi,
    It depends on where you placed the script, probably best place is the exit event.
    if (this.rawValue != null || this.rawValue != "")
         this.access = "readOnly";
    else
         this.access = "open";
    This will only lock the field that the script is inside.
    You should check out Paul's example LockAllFields, which contains a function in a script object. While Paul calls this from a click event in a button, you could call it fromthe exit event of the particular text field.
    Re: Saving Fillable Form as non-fillable PDF
    Hope that helps,
    Niall
    Assure Dynamics

  • Tabular Form - Read only condition for certain users

    Is it possible to make a select list field in a tabular form read-only to certain users? Here's the situation:
    The tabular form lists the users who need to select "Approve" or "Reject" in that field (they are approving or rejecting an engineering change)
    I want all of them to see the approval/rejection of their team, but only have access to edit the select list associated with their record.
    Thanks in advance.
    Apex 4.0.0.00.46

    You could use either "authorisations" tab or "conditional display" for the relevant column attribute.
    Report Attributes->Column Attributes->authorisationsIt would be better to have some more detail about what you are trying to get (maybe a quick mock up of the form, for example) but, I can envision something along the lines of the following:
    For each approval/rejection field:
    1. Create an authorisation appropriate for access to to each approval/rejection field e.g. authorisation scheme "FOO"
    2. In the relevant fields column attributes, set the authorisation to "FOO"
    3. now create a read only "public" copy of the above field, using the "display as text (based on LOV does not save state)" - set the authorisation for this field as "{NOT FOO}"
    (if you don't want to use authorisations, you could build an equivalent using "conditional display" instead, which is basically the same thing, except column specific)
    The downside is of course that you're duplicating fields in your query, which creates a bit of redundancy. There may be better ways to achieve this (maybe you could make use of the APEX_ITEM api, for example) but this is fairly easy to set up IMO.

  • Best practice for making form read-only at certain steps in process?

    I have a process with a single form and 4 Assign Task operations.  During Assign Task operations 1 and 3, the form is edited.  During Assign Task operation 2 and 4, it should be read-only (it is reviewed and acknowledged, but not changed).   There is no single criteria in the form data that indicates whether a form should be read-only or not -- this is only signaled by the step in the process.  What is the best way to manage the read-only state?
    Is there a way to make the form read-only via a setting in Workbench, or should I do this via a script in the form?
    Thanks!
    Toby

    I have a process with a single form and 4 Assign Task operations.  During Assign Task operations 1 and 3, the form is edited.  During Assign Task operation 2 and 4, it should be read-only (it is reviewed and acknowledged, but not changed).   There is no single criteria in the form data that indicates whether a form should be read-only or not -- this is only signaled by the step in the process.  What is the best way to manage the read-only state?
    Is there a way to make the form read-only via a setting in Workbench, or should I do this via a script in the form?
    Thanks!
    Toby

  • Make detail items in master/detail form read only

    I want to make detail items in master/detail form read only for certain conditions (master STATUS = Closed). I see how to do this on the master record items but not on detail items.

    Take a look at this thread: Re: Conditionally make a tabular form uneditable
    You will need to modify the code, but it should help since a master detail is just a standard form with a tabular form attached to it..
    Thank you,
    Tony Miller
    Webster, TX
    Time flies like the wind, but fruit flies like bananas.

  • To make RFQ form or Quotation form read only after the satus is made closed

    Hi All,
    I have a requirement where we need to make all the fields either on RFQ or Quotation form read only/freezed/greyed out once the document status is made Closed from Active satus. The User should not be able to change any value in the RFQ or Quotation form. The same needs to be achieved in core purchasing module. Looking forward towards kind suggestions. Thanks.
    With Best Regards,
    Nirabh Nayan

    Hi,
    Please perform form personalization.
    Triggering event : WHEN-NEW-RECORD-INSTANCE, WHEN-VALIDATE-RECORD
    Triggering object : PO_HEADERS
    condition : :PO_HEADERS.STATUS='Closed'
    In action, Type : property
    Object type : Block
    Target object : PO_Headers
    Property name : update_allowed
    value : false.
    Like this, you need to create a actions for all the Blocks available in RFQ/Quotation Form ( ex: PO_lines, PO_Shipments etc)
    Thanks,
    Subhashini

  • Make adobe form -read only after Submit button

    Hi,
    I have an Interactive form withuser input fields.
    I am submitting it via E-mail.How do I make it read only after I click Submit ?
    I am using javscript for sending e-mail.
    rgds
    vara

    Resolved it : in click event javascript
    ADOBE_DATA.form.field.access = "readOnly";

  • ABAP Interactive Form Information/Advice Needed

    Hello all.  I have some questions for all of the Interactive Form experts out there.
    We have a business requirement where we need to do some data collection around Material Master data offline and load the data back into SAP.  We are considering using the interactive form solution however there are a couple of general questions that we have.  We are currently running Netweaver 2004 WAS 6.40.  We have a J2EE Engine up and running with ADS however we are not currently set up to support JAVA Development so our preference is to accomplish this in ABAP.  Here are my questions:
    1.  It is my understanding that you must put "scripts" in the Adobe Form to load the data back into SAP.  This functionality is not provided in ABAP.  How difficult is it to do this within the form?  What is the best approach for the ABAP Functionality needed to load this data back into SAP, BAPI, Web Service, other?
    2.  Since we do not currently have Web Dynpro available, is it possible to make the form available via some type of web page such as a BSP?
    3.  Could anyone who has done an ABAP implementation of interactive forms provide some general feedback as to what there experiences are with this?
    4.  Is it worth the effort to consider a JAVA Web Dynpro solution?  We currently do not have any development infrastructure or deep JAVA knowledge in house but if the pros of this approach far outweigh the cons it is something that we might consider.
    Any help would be greatly appreciated and points will be rewarded.
    Best regards,
    Chris Hanshew

    Hello Chris,
    it is actually possible to generate interactive PDF forms using ABAP (with transaction SFP) in Web AS 6.40. You need to set the flag (F)illable to "X" and then the PDF forms generated with SFP will be interactive.
    However to get the data back from the form into the SAP system you will need to do some custom ABAP coding. You will need to decide if you want to get the data back via HTTP, Web Services or E-Mail (all three are supported by PDF forms). Lets assume you just use plain HTTP... In this case put a "HTTP Submit Button" on the form (you can find the Button in the standard Designer library). You configure the HTTP Button with the URL you want to submit the XML data to.
    On the Server side you will need to write the ABAP code which can handle the incoming HTTP message, parse the XML and post it to the right BAPI or RFC.
    Please keep in mind that you need a license from SAP if you want to use custom interactive PDF forms in production  (they are not part of the free functionality in NetWeaver).
    Cheers,
    Matthias Zeller
    Sr. Product Manager
    Adobe Systems

  • F4 Help WD ABAP interactive form

    Hi,
    Im designing an online interactive form in WD ABAP. I got the context from a BAPI and mapped to view context. Now how to map F4 field from data view to UIelemnt?
    Im dragging value help dropdown list from webdynpro activex palette to the form and selecting that field from dataview and dropping on the value help dropdown which i placed before. Doing like this the field is changing to text filed.
    Is this the right of way doing for getting f4 helps in to interactive form? Should my filed in dataview should have anyother properties to be a f4 help?
    Can some one help me on this?
    Regards,
    J.Smitha

    Hi,
    You can refer to this help. What it says is very clear.
    [http://help.sap.com/saphelp_nw70/helpdata/EN/42/fb2fe500553ee4e10000000a1553f7/frameset.htm]

  • Tabular Form Read Only Date Picker

    Hello,
    I have two or three Items with date pickers and do not want to implement
    this code because it will be too many buttons on my form. I need to clear one item
    at a time when the datepicker is readonly but, in a tabular form.
    function f_clear_items()
        {$x('P1_ITEMA').value = ''};
        {$x('P1_ITEMB').value = ''};
        }Then once I create a url button and pass this function I can clear the datepicker's. But, I
    was wondering is there a cleaner way to this.
    I have other items on the page that are named the same but, in different tables. I only want
    to clear each date picker item at a time. This code works fine for a regular form.
    -Element Post Element Text for the Item to Clear
    a href="javascript:setValue('P1_ITEMA','');">Clear Date</aThere is a thread named 'How to clear a read only page Item...?' that states how this code works but, does not
    work for a tabular form in a Master Detail page. There is a link on side the Date Picker to clear item specified but, in a tabular form Item, there is no Element tab, any ideas on how to clear a readonly date picker item using a tabular form
    and not using a button for each item, thanks in advance. I am using Application Express 3.2.0.00.27.

    Dan,
    I totally understand your point of view. So, this tabular form aspect was not tested once the Clear Date link was discovered to clear a Read Only date field. Yes, using a button to clear a date is great but, I do not want to clear every date or specified item with the click of one button for this application. It is very useful but, not for my needs at the moment.
    Basically, if a date is selected and it needs to be cleared out you can just delete the value. But, if the date is readonly you can not clear/delete the date value unless you have the Clearing functionality for a particular item using the datepicker. It may not be worth the trouble Dan like you state by adding this extra code to the calender. If an invalid date is entered an error will appear anyway.
    Thanks alot Dan for expanding my mind and showing me some JQuery and providing me with this link to do some further research if needed, thanks again.

  • Interactive Form Reader Toolbar

    Hi,
    I am developing web dynpro application with interactive forms in NWDS 7.0.6 SP16.
    Firstly, the readonly property of the interactive form does not seem to be working. I have to go ahead with enabled = false property for it. Is there any particular reason for this?
    Also, i am using the "Hide Reader Toolbar" from the Webdynpro library to hide the toolbar on the interactive form. When i set enabled = false for the interactive form, i see that this toolbar does not get hidden. Please let me know if there is any workaround for it.
    Thanks,
    Jyoti

    Hi Jyoti,
    Refer to the links given below :
    <a href="/people/juergen.hauser2/blog/2006/01/31/access-mode-and-presence-of-fields-on-adobe-interactive-forms Mode and Presence of Fields on Adobe Interactive Forms</a>
    <a href="Read Only InteractiveForm the readability of a single field on interactive form using the Form Ready Event</a>
    Regards
    Siddharth

  • Making a JSP Form read only based on the form value present in DB

    I need suggestions/examples as i am newbie into java stream.
    I have two JSP pages 'Add Page' and 'Edit Page' .
    Add Page -> In add Page,I have many text boxes,select drop-downs options. In one select drop-down I have values as Locked and open .I can save this page contents in DB by entering those form values.
    Edit Page -> In eidtPage,once saved in DB, based on 'select drop-down- Locked and open' If it is locked i have to make all the fields (text boxes and select drop downs) as read only and if it is open i have to make it editable.
    I am taking all the values from DB,setting to 'form bean' and then setting up the values in session and forwarding it to JSP page to populate there .I am using beehive net UI tages in JSP. Please help me out.

    Not sure I'm following what you want, but this might help:
    In your select tag, put something like an 'onchange' event that calls a javascript function. In the javascript function it you add code to enable or disable your other fields based on the item selected from the drop down box.
    To determine what item was selected in a select tag, you write something like the following. I'm not sure of the exact syntax. You can look it up in a javascript book:
    var optionSelected = document.forms[0].selectTagName.options[document.forms[0].selectTagName.selectedIndex].value;
    To enable or disable a textfield, search for this in google:
    'jquery disable input'

Maybe you are looking for

  • Export to disk to the same file twice or more

    Post Author: Koen CA Forum: Exporting Hello, i am writing an application in vs 2008 en cr 2008. The purpose of the application is to send offers to the customer throug e-mail. The report is exported to filename "Offer Nr : 70012.pdf" in the report th

  • Uploading Time data to HR Clusters B1 and B2

    Hi All, My agenda is download Time data ( Hr cluster B1 and B2 ) from One SAP System ( 4.7 ) using Macr RP-IMP-C1-B1, RP-IMP-C2-B2 and upload to a ECC 6.0 SAP System using Macro RP-EXP-C1-B1, RP-EXp-C2-B2. Though uploading can be achieved using repor

  • AddOn O.S. error after updating new release and/or patches

    I have had some problems after installing new release or patches on existing SAP B1 installation. A system error message is shown while attempting to starting SAP B1 AddOns. The problem occurs on several clients but not with a specific rule. Some SAP

  • Info on cisco 881

    Hi to all, on cisco site i cannot find the datasheet of this model and i need much more info about it, i want to know what kind of backup is avaiable for this model. I'm not fure of it but i think this model have 4 pstn interface?fxs of fxo? Thanks a

  • Printer Help Needed

    I have a MBPro 17 running osx10.4.8. I have a home network which I utilize multiple printers. I am having trouble with the driver for my kyocera mita FS-9100DN. I have gone to the mfr's website and downloaded the osx104.sit file which is explained to