Hide/Disable Print button on the Adobe form for my user

Hi
  How do I Hide/Disable my print option for the user viewing my Adobe form shown using WD for Java application.
Regards,
Murali.

Hello Raja Sekhar,
This object is not available anymore in Designer 7.1. This setting can now be achieved through a web dynpro (Java) API (interface <a href="https://media.sdn.sap.com/javadocs/NW04s/SPS7/wd/com/sap/tc/webdynpro/clientserver/adobe/pdfdocument/api/IWDPDFDocumentAppearance.html">IWDPDFDocumentAppearance</a>). In web dynpro ABAP you would need to use the method handler of the <b>InteractiveForm</b> UI element (IF_WD_IACTIVE_FORM_METHOD_HNDL, SET_HIDE_TOOLBARS).
Regards,
Philipp

Similar Messages

  • Handling Submit Button on the ADOBE form called from Web Dynpro

    Hi,
    I have placed a Button on the ADOBE Form. How to Handle the event on this button. When i click this button, i want to save the details of the form into a Custom table.

    Hi Majunath.
    Create an event say, SUB_EVTin the view in WD where you have the Interactive Form UI element.
    Bind this event to the onSubmit of the Form.
    Now check the display type of the form. It will be either ActiveX or Native.
    Now go to the form designer and open Library palette. Navigate to Webdynpro ActiveX or Native Library(Depending on the form display Type in WD).
    Drag and Drop Submit button.
    On click of the button, the event handler in WD view namely, onActionsub_evt will be invoked. You can write your code in this handler.
    Now in order to read data from the form. Go to the form and go to Properties tab. Check the form layout type. If it is not ZCI, run transaction SFP_ZCI_UPDATE and convert the form to ZCI type.
    Now back to the event handler.
    as an example... I will use the following context node definitions
    PDF_DATA  1..1
      ACTUAL_DATA 0..n
        ATTRIB01
        ATTRIB02
    Assume the the node PDF_DATA is bound to the data source of your form.
    Now in the event handler write the foll code
    data: lo_node type ref to if_wd_context_node,
            lt_data   type wd_this->elements_actual_data.
    lo_node = wd_context->get_child_node( name = wd_this-.wdctx_pdf_data ).
    lo_node = lo_node->get_child_node( name = wd_this-.wdctx_actual_data ).
    lo_node->get_static_attributes_table(
      importing
        table = lt_data ).
    This will get all the form data in the internal table lt_data.
    Now you can process the data the way you want and save it in your custom tables.
    Regards,
    Reema .
    Edited by: Reema Shahbazkar on Sep 16, 2008 11:39 PM
    Hope this helps!!

  • How do I add the rotate button to the main toolbar for all users

    How do I add the rotate button to the main toolbar for all users. I have a Windows 2003 Citrix farm with Adobe Reader 8. I can add it user by user but I want to add it to all users at once. All users need this rotate button,
    Thanks in advance
    ND

    Try the Reader forum. I have no clue.

  • Using the Adobe Forms for printing through portal

    Hi All,
    I've got a problem with the fact that I do not know exactly how to use the Adobe Forms from the portal.
    I've got the Form Objects done (Interface & Form using SE80) and they work OK when testing the form. The Interface gathers all the datas etc. and the form displays this correctly.
    My problem now is that I need to have this form available from the portal, and this I presume needs some WebDynPro stuff or something else? I'm totally lost on this part ...
    The customer wants to have a button or link in the portal that opens a new window with the produced PDF opened in the new window, much like opening a static PDF file. The user then has the option to print the PDF him/herself using Adobe Readers own print mechanism.
    My interface has only one Import parameter (PERNR number) and one EXPORT parameter (default). The PERNR number must be supplied to the interface so that it can gather all the needed data based on this number.
    Any help on this will be greatly appreciated and rewarded accordingly.
    Thankyou in advance,
    Kim

    Hi Arnab,
    from a forms point of view:
    (I assume you have the ADS up and running on the Java stack. Without it, the form generation doesn't work.)
    If you create your form in transaction SFP and execute the corresponding program that calls the form for testing in SE38, you get to the print dialogue. Here you may choose either locl or lp01 (or any other printer accessible through your network) and then select Print Preview. This should then display the PDF in SAP GUI.
    If you are asking about general printer setup within SAP, check the corresponding documentation: http://help.sap.com/saphelp_nw04s/helpdata/en/d9/4a8eb751ea11d189570000e829fbbd/frameset.htm
    Hope this helps,
    Markus

  • Displaying the roles in the adobe form for the corresponding system

    Hi Gurus,
    I have two fields in my WDP Abap interactive form. In first filed, 2 radio buttons are there (1. SAP R/3 system, 2. BW System) As per this selection, I need to bring the existing roles and display them in the Adobe form. I know the  technical system names for R/3 and BW as well. Please suggest me how can I achieve this. I know there should be a RFC call ... Please give me the detailed explaination.

    Hi
    Check the format (in the object pallete) of the date field in Adobe liveCycle Designer, If it is not set already set it according to your requirement. then see if it works
    Hope this helps
    Regards
    Amita

  • To disable close button of the UDF form

    Hi,
    I need to disable the close button of a UDF form. Can anyone help me pls.
    Manu.

    Hi Manu,
    Herewith a code example... This would disable the close button on the Sales Order window (and only the first window)
      Dim oform As SAPbouiCOM.Form
      <i>'loop through all the forms here if you need</i>
      <i>'i am using "-FormType" here as the UDF window has the same UID as the normal form, but with negative sign</i>
      oform = oApplication.Forms.GetForm("-139", 0)
      Dim oItem As SAPbouiCOM.Item
      <i>'Close button is 4</i>
      oItem = oform.Items.Item("4")
      <i>'Disable button</i>
      oItem.Enabled = False
    Hope it helps,
    Adele

  • Access a variable in the Adobe form for Java Scripting

    Hi,
    I am unable to know how to access the variable in a Adobe form.
    The variable is field of an internal table. My adobe form structure is as follows
    MAIN_PAGE->FORMSET->FirstFORM->EXT.
    in the EXT subform the variable(cust)  exists.
    The cust is in turn an internal table.

    Hello Sreelatha,
    I think we cannot hide a page.  as in, page is the main container.  In a container, we can hide any field using some scripting.  Even though if we hide the field, it is present on page but not visible. 
    but if some logic is there, please let me know.
    Thanks,
    Rakesh.
    Edited by: rakhi966 on Sep 8, 2011 8:54 PM

  • How to install the adobe creative cloud packager and how to apply the adobe ID for Admin user

    Hi team,
    Anyone has done install silently the captivate 8 using AAME? i try using this tool to create the msi but its not work.
    i saw the previous disussion on captivate 7 and they said cannot use AAME and need to use CCP.
    isit also applicable to Adobe Captivate 8? if yes cana anyone tell  me how to download the CCP?
    I already create my Adobe ID but when i try to login, its stated "Adobe does not recognize you as an authorized user of this web site."
    How can i access this site? appreciate your help

    The help I have been using (unsuccessfully) is here:
    >These links provide additional guidance for deployment support
    >Creative Cloud Packager Help: http://helpx.adobe.com/creative-cloud/packager.html
    Dave

  • Hide Toolbar Print Button

    I'd like to hide the toolbar print button from the user to force the user to use the forms print button which is used to validate input. I've found this peice of code.
    app.hideToolbarButton("Print");
    I've added this code in the print buttons click event. But it doesn't hide the print button in the Adobe Reader or when viewed with IE.
    1) Is that the right code?
    2) I'd like to add this to the forms ready or layout ready events but can't seem to determine where the script can be added for these two events. Where is that done at?
    If there's a better technique for validating form feilds without nagging the user everytime they tab off a field but insuring the form is validated before printing or saving I'm open to suggestions, :-).

    This won't work in a web browser or a standalone client unless you are running a trustedFunction which resides on the local machine within a Folder Level JavaScript.
    Rocky

  • Button in the Adobe Frorm

    Hi
    I have developed one application ( Interactive Form ) in Webdynpro for Java ..Iam getting the data by executing the FM .
    I need to place a button in the adobe form . How can i bind the action to button...(Interactive form)
    Thanks
    Kirankumar M

    hi u need to do nothing but palce a button in the form
    and in the interactine form properties create a action in the on submit property
    and write the codin watever u want to do in on pressin the button
    for details refer this tut which has used a button in the form.
    How To execute an RFC model with inputs from
    Interactive Forms
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/bfbcd790-0201-0010-679d-e36a3c6b89fa

  • Submit button  from Interactive adobe form in Web Dynpro ABAP

    Hi all,
    We seem to be having a problem with the 'submit' button on the Interactive Form for the Web Dynpro ABAP.  The submit button is from the Web Dynpro active X or web Dynpro Native in the form designer. The submit button doesn't trigger the action in Web Dynpro. we are currently running on support pack 9 for the ABAP stack. We have Internet Explorer browser version 6.  Could someone tell me if there are requirements for the IE version that will work in conjunction with a particular ABAP stack version.  And, are there specific IE security settings or administrative privilages required with this version of the ABAP stack.  Or, any other ideas as to why this does not seem to work. 
    Thanks in advance,
    Michelle Hong

    Hi Michelle,
    Could you tell me how you resolved the problem - as I'm facing exactly the same issue!
    Many Thanks
    Christine

  • Why doesn't firefox have a "print" button in the tool bar and why can't I add attachments to my emails MOST of the time. It only works rarely?? Frustrating!

    I cannot find an add on as a print button for the firefox toolbar. Almost every time I want to print, I have to copy and then open a document and paste it there to be able to print it.
    Also, each time I want to add an attachment to an email, it rarely lets me. I have to open internet explorer and go through my email that way to be able to add attachments.

    1. File > Print <br />
    2. There is a '''Print''' button in the Customize palette for the Toolbars. <br />
    https://support.mozilla.com/en-US/kb/How+to+customize+the+toolbar
    Considering that Firefox doesn't do email, that problem is probably caused by your webmail portal software not being totally compatible with Firefox. If you tell which webmail service you use maybe another user who is familiar with that service can help you.

  • What is the use of interface in the adobe forms

    Hi friends,
    can any one tell,
    what is the use of interface in the adobe forms for desigining the form.

    The main purpose of the form interface is to send the application data to the form.
    The form interface is created separately from the form, which consists of the form context and layout. When you create a form, you must assign it to a form interface.
    please have a look at the link below for more info:
    http://help.sap.com/saphelp_nw70/helpdata/EN/96/6ee0d5b39640d68fc0078fc575114a/frameset.htm
    http://help.sap.com/saphelp_nw70/helpdata/EN/f2/21021b911f4c0cae11459a4ce0bc62/frameset.htm
    hope this helps,
    harman

  • Help Adobe form for Purchase Request

    Hi all,
    Can anyone please send me some document or help me some pointers as to how to create or modify an ADOBE form?
    I need use the Adobe form for a Purchase Request.
    Eventually could me indicate some standard forms?
    Kindly reply immediately as this is urgent.
    Regards,
    Gaetano

    Please go through my post ..you will get all your answer.
    Query in Adobe Interactive Form!!!!
    cheers
    Satya

  • How to save ADOBE form , for trasporting to other system ?

    Hello.
    Is any body know how i can to save the ADOBE form , for transport it to other R3 system or upload to file and download in the other project ???
    Thank's in advance

    Pl execute the program "RSTXPDFT4"
    Before that, execute ur script and the spool will be generated .rite?
    Now, after execution of the above program, give the spool number of ur spool generated, and tick the option dwnload the pdf file and then give the location of the file where u want to save... Then execute it. the pdf file will be generated and then stored in ur particular location..
    Pl reward if helpful...

Maybe you are looking for

  • Can i have 2 apple id accounts working on one itunes on a pc????

    can i have 2 apple id accounts working on one itunes on a pc????

  • Anyone using Groove Agent 3 / Logic Pro 8 ?

    So far it seems that all I will be able to do is create external midi-files then import them back in which is tedious as **** when trying to create a dynamic drum track full of changes. Cutting and pasting these tracks seems to be difficult once they

  • How to make a Struts message null after used in JSP?

    Hi, In the context of Struts/JSP, An action class might write error messages by ActionError msg = new ActionError("msg.request.something"); ActionErrors msgs = new ActionErrors(); msgs.add(ActionErrors.GLOBAL_ERROR,msg); saveErrors(request,msgs); Thi

  • Mac mini using 10.10.2 crashes

    When computer is not in usage it crashes and the start up page is available to restart.

  • I have a question.Refund period.

    I have a question.Refund period becuase I buy macbook pro retina 15" but have problem.I claim 2 round to refund money. I return item complete 5 Sep and OrderNumber : xxxxxxx but no reply email for me.To check and reply me please. thank you very much.