How to Change the Visible property of Adobe Form Dynamically - URGENT

Hi,
    I am woking on a scenario where when I click a button in Adobe Form,
another Adobe Form should be displayed. This is using Web Dynpro Java.
For this I have made the second form invisible and I want to make this VISIBLE when the button is Clicked. I am unable to get a method where this property of interactive form can be changed.
Also, If there is any other way this can be done please let me know.
I am using NWDS 7.0.09 with Adobe Live cycle designer 7.1.
Thanks in Advance,
Vasu

You need to get the handler to the adobe form in your webdynpro program. If you are using webdynpro for java the following code snipped could be useful...
IWDPDFDocumentInteractiveFormHandler iFormHandler = WDPDFDocumentFactory.getDocumentHandler(wdThis.wdGetAPI(),"YourAdobeForm");
     // Get appearance setter. 
     IWDPDFDocumentAppearance appearance =
          iFormHandler.getDocumentContext().getAppearance();
     //appearance.
     // Set page layout option
     appearance.setPageLayout(pageLayoutOption);
     // Set show option.
     appearance.setShowOption(showOption);    
     // Hide menu bar.
     appearance.hideMenuBar(true); 
     // Hide tool bars.
     appearance.hideToolBars(true);
     // Hide window controls.
     appearance.hideWindowControl(true); 
     // Show full screen.   
     appearance.showFullScreen(true);
Reward points if the post is helpful
Thanks!
Surya.

Similar Messages

  • How to change the Field Symbol, so Adobe Forms takes it as a Table?

    Hi guys,
    I created an Field Symbol, in a Interface which I use for Adobe Forms. The type of the Field Symbol is STANDARD TABLE, and this field symbol I fill with data from another program.
    But the problem is that in adobe forms, this Field Symbol is taken as TEXT FIELD and not as Table... and this shows me a Dump because it can't convert Internal Table to type C (the dump is like that).
    What I need, is how to change the Field Symbol, so Adobe Forms takes it as a Table?
    I looked at Adobe Form, and found this:
    The Type Category of the Field Symbol is DICTIONARY TYPE and I think I need to change it to Internal Table as shown in the right picture.
    Does someone have any idea?

    Hello Taly,
    To what i understand your requirement, you need to pass data from Field symbol to internal table in Adobe form.
    You have done it correct partially. I have replicated your scenario and steps are below -
    1) Create a Z structure
    2) Create Z Table Type
    3) Create Adobe Interface with Table & Field Symbol. Also do coding as shown to assign the internal table populated in driver program to filed symbol.
    4) Design Form as -
    5) Code driver as -
    *& Report  ZR_AF_FS_1
    REPORT  zr_af_fs_1.
    DATA: fm_name           TYPE rs38l_fnam,
           fp_docparams      TYPE sfpdocparams,
           fp_outputparams   TYPE sfpoutputparams,
           it_kna1           TYPE ztt_fs_1.
    * Sets the output parameters and opens the spool job
    CALL FUNCTION 'FP_JOB_OPEN'                   "& Form Processing: Call Form
       CHANGING
         ie_outputparams = fp_outputparams
       EXCEPTIONS
         cancel          = 1
         usage_error     = 2
         system_error    = 3
         internal_error  = 4
         OTHERS          = 5.
    IF sy-subrc <> 0.
    *            <error handling>
    ENDIF.
    *&---- Get the name of the generated function module
    CALL FUNCTION 'FP_FUNCTION_MODULE_NAME'           "& Form Processing Generation
       EXPORTING
         i_name     = 'ZAF_FS_1'
       IMPORTING
         e_funcname = fm_name.
    IF sy-subrc <> 0.
    *  <error handling>
    ENDIF.
    *-- Fetch the Data and store it in the Internal Table
    SELECT kunnr name1 name2 adrnr FROM kna1 INTO TABLE it_kna1 UP TO 15 ROWS.
    * Language and country setting (here US as an example)
    fp_docparams-langu   = 'E'.
    fp_docparams-country = 'US'.
    *&--- Call the generated function module
    CALL FUNCTION fm_name
       EXPORTING
         /1bcdwb/docparams        = fp_docparams
          it_data                   = it_kna1
    *    IMPORTING
    *     /1BCDWB/FORMOUTPUT       =
       EXCEPTIONS
         usage_error           = 1
         system_error          = 2
         internal_error           = 3.
    IF sy-subrc <> 0.
    *  <error handling>
    ENDIF.
    *&---- Close the spool job
    CALL FUNCTION 'FP_JOB_CLOSE'
    *    IMPORTING
    *     E_RESULT             =
       EXCEPTIONS
         usage_error           = 1
         system_error          = 2
         internal_error        = 3
         OTHERS               = 4.
    IF sy-subrc <> 0.
    *            <error handling>
    ENDIF.
    6) Output -
    BR.

  • How to change the page break in adobe forms

    Does anyone know how to change the page break on an adobe form?  I'm hoping it will be the same way you change the page view in excel.
    Can anyone help?
    Thank you in advance,
    Priscilla

    HI
          YOU CAN USE THE FOLLOWING SYSTEM FIELDS OF SMARTFORMS FOR THE MENTIONED PURPOSE
    <b>&SFSY-PAGE& </b>
         Inserts the number of the current print page into the text. You determine the  format of the page number (for example, Arabic, numeric) in the page node. 
    <b>&SFSY-FORMPAGES&</b> 
         Displays the total number of pages for the currently processed form. This  allows you to include texts such as'Page x of y' into your output
    <b>&SFSY-JOBPAGES& </b>
         Contains the total page number of all forms in the currently processed print  request.
    REGARDS
    ANOOP

  • How to change the language setting in Adobe Flash CS6, from Chinese to English?

    How to change the language setting in Adobe Flash CS6, from Chinese to English?

    Unless you have a multilanguage serial/ installer,  you are on Creative Cloud or care to run through language swap you can't. Retail serial numbers are language specific and most Adobe apps cannot be coerced or switched on the fly since without the proper language resources installed, this won't work...
    Mylenium

  • How to change the visible length in screen painter?

    Hi Guys,
    we have field in screen which is type to ATWRT but the visible length is set to 11. ATWRT is 30 char.
    Please advise on How to change the visible length in screen painter to make it 30?
    When I try to edit the defined length from 11 to 30. It wont allow me to.
    Thanks a lot!

    Hi,
    Try the below method:
    Goto Screen Painter -> Double click on Input-Output field for ATWRT another screen will appear with attributes of Input Output field -> Increase the Visible length Value there. (Option of visible length is below the Name and Text attribut of Attribute windiw.)
    If the Visible length field isn't allowing change then declare it as a Char type instead of taking the DataType for Data Dictionary.
    Thanks,
    Preyansh
    Edited by: DWIVEDP on Mar 29, 2010 12:42 PM

  • How to change the Display Pattern for Decimal Fields dynamically

    hi all,
    Can any one help me how to change the display pattern for decimal fields dynamically???
    Currently I am using z,zzz,zzz,zz9.999 Display pattern for Quantity Field. If the value is blank it is displaying as 0.000 on the Screen. But I don't want this to be printed.
    Please help me how to solve this ASAP.
    Thanks,
    Prabhu

    Hi,
    Alternatively you can handle it in the context.
    In the context area, click on the quantity. In the bottom, click on the conditions tab, and put a condition
    <quan field> NE initial.
    So the field will not be printed if there is no value.
    Regards,
    Vidya Chowdhary A.

  • How to change the date format in xml form?

    hi,
    How to change the date format in xml form?
    For example:  11/20/2008 3:00:03 PM    ->   11-20 03:00
    Any opinions greatly appreciated!
    Thanks.
    Edited by: ke wenxing on Dec 2, 2008 8:33 AM

    You could go to System - User Profile - Own Data would take you to the "maintain user profile screen"
    Click the defaults button and change the date format.This changes date format for all the dates in your login.

  • How to Change the Visible names in JDBC IView ?

    While Creating a JDBC View, in one of the steps we select the column names from a schema which we want to view in a IView.While doing so in the next step there is a text field called <b>visible names</b> which is editable to change the column names.How to change the Column aliases or visibles names as is it not getting saved when we move onto the next screen ?.How to Configure the Visible Column names while configuring a JDBC IView ?.
    Can anybody please help me !.

    Hi Abhilash
    If I'm not wrong I saw something about this here (SDN), in a technical article about how to create a JDBC iView . I tried to get the link to the article but it seems there's a problem with the site, sorry...
    By the way, I had the same problem, and according to the   article this was not possible in the version EP6 SP2 but there was a plan to implement this in newer versions. I tried also to use a SQL command with the column names I wish to display but it didn't work either.
    Try to find this article in the EP Technical Article to confirm this info, ok ?
    Rgds,
    Fernando

  • How to change the visible item of JCombobox

    hi,
    i have created a JCombobox having items A, B, C, D and E. The item that is visible on the combobox (without performing any mouse action over it) is A. i have a button "Change to Default" in the same frame. If I click on this button B should become the visible content of ComboBox in place of A. Could anyone suggest me how to do it.
    Thank you very much...

    Well, you could start by reading the documentation for JComboBox: http://java.sun.com/j2se/1.5.0/docs/api/javax/swing/JComboBox.html
    There you will find setSelectedIndex and setSelectedItem. Either of those will do it for you.

  • How to use the visible property

    Hi all,
    Im trying to implement the page(view)which has 3 trays.
    Once the page is loaded ,I want to make only the first tray visible and other 2 trays should be invisible.
    Based on the users input on the 1 st tray, the 2nd or 3rd tray shud get enabled and visible to the user.
    Please let me know how to make the tray visibl after the user input.
    Regards,
    Nithya K

    Hi Nithya,
    Please create the context attribute for the visibilty type.  Once context attribute created,
    Select type <...> button >> Dictonary Simple Type >> Dictonary >> Local Dictonary >> type com.sap.ide.webdynpro.uielementdefinitions >> Visibility OR directly put type     com.sap.ide.webdynpro.uielementdefinitions.Visibility
    Then try to implement you logic for showing the 2nd or 3rd tray in the if loop. like
    if (<condition true>)
       wdContext.currentContextElement().set<your Attribute name>(WDVisibility.VISIBLE);
    else
       wdContext.currentContextElement().set<your Attribute name>(WDVisibility.NONE);  
    Then bind the visible properties in the Tray.
    Hope it helps
    Regards
    Arun

  • How to change the browser title Window or View Dynamically.

    Hi
    I have several application calling my applicationm and i need the browser that lauches the application to have different Titles on the Browser Title.
    How can I change the Title from the Window or View?
    Please advice.
    Thank you.
    Regards,
    Vinod

    The browser title gets pulled from the WD Application Description.  Currently there is no API to change the browser title from within WDA.  Next year in 7.02 we do add such an API.  Here is an example of what will be possible in 7.02:
    data l_window_title type string.
      case lv_transaction_type.
      when wd_assist->create_mode.
      l_window_title = `Create Sales Order`.
      when wd_assist->display_mode.
      l_window_title = `Display Sales Order: ` && so_id.
      when wd_assist->change_mode.
      l_window_title = `Change Sales Order: ` && so_id.
      endcase.
      wd_this->wd_get_api( )->get_component( )->get_application( )->set_window_title( l_window_title ).
    Setting the title on a View is easier.  You can just use a Tray or Group UI element as the root of your view and set the title property of the UI element dynamically by context binding to the property.

  • How to change the Text of Dropdown by Key Dynamically thats coming from RFC

    HI All,
    I need an urgent help . I have a parameter coming from RFC -> YYTEXT with a value Range and I am binding this parameter in my DROPDOWN BY KEY .Now I have a requirement that two values coming from this parameter i need to change it
    .Can you please tell me how to get the values from this YYTEXT attribute which is in NODE1 and then set the two new texts to this attribute so that it shows different text in the droodown .
    Thank you in Advance .
    Naaz

    Will appreciate any comments on the question ?

  • How to Change the display format of Parameter form in HTML

    I have created a parameter form to allow user to choose the parameter values before printing the report. The parameter which will display in the web-browser has its own predefined format. How am i going to change this format? eg. changing the Background color, table background color, put in some pictures, set the alignment of the text and fields....
    Now I am able to change the header and footer. I can put in the company logo in the header by changing the report escape - Before form value and the footer in the report escape - after form value. How about the body which all the boilet text and fields will be display here? I need to change the alignment, the table background color and the text style and format also... where should i change this?
    Thanks

    Reports only provides limited formatting for the parameter form. In your case, you seem to need to take over greater control of the parameter form and you're halfway there.
    You've noted that you can control the header & footer values, what you need to do is extend those escapes to render the complete parameter form and remove everything from the actual reports parameter form. ie: Remove the labels/parameter form fields and render these directly in the HTML in the before parameter HTML escape. This allows you to insert any HTML you want - you probably want to start with the Reports generated HTML and move it into Frontpage to edit to your required format.
    What you are doing in this case is still using Reports url/submit mechanism and parameter form validation but bypassing Reports rendering of the parameter form.

  • How to change the font for a PE51 form

    Hi,
    We are on ERP 2005 , MSS 1.0. A custom remuneration form has been created for printing paychecks. The same form is being used in ESS for employees to view their salary statement. However, the form displayed is not aligned and does not fit in the ESS window.
    It seems there might be a need to change the font and then resize the columns using PE51.  How can the font be altered in a form that has been created using PE51. Also if there is any other way outside the form ( BADI etc) where the font can be controlled ?
    Thanks,
    Mark.

    The Password is stored in the keychain, likely the system keychain. Use Keychain Access to edit them.
    You can also remove that network from the list of preferred networks. Select it in the List under WiFi tab in Network System Preferences. When you first enter Network, select WiFi, then click Advanced.
    When you try to connect again, it should ask for a password. If not, go to Keychain Access, find the network password entry, and delete it. Then try to connect again.

  • How to change the tab order in adf forms.

    Hi,
    I design a from in adf jsff page.In the form i have 4 components. These components are surrounded with a panel form layout. Now if i put number of columns as 2 in the property inspector of the PFL.
    Components appear as 2 fields in the first row and next two fields are in the second row.
    Now my doubt is, when I tab out 1 field to another field. The tab out is Horizontal. But I want the tab out to be vertical. Please suggest how to make the tab out feature as vertical.
    Thanking in advance,
    Sudipta

    I don't think we have something called tab index in adf like in javascript. This may not possible in adf.

Maybe you are looking for

  • Firefox slow, laggy, choppy performance on powerful PC. Other browsers working fine. Help?

    i7 930 @ 3.8GHz, 6GB RAM@1600MHz, Intel SSD and Nvidia 660 Ti 2GB. That's my PC. It starts up in seconds, it's 100% stable, can run any video/audio production software with ease, and play any game at high/max settings. But somehow, Firefox doesn't se

  • URGENT DSC: I can write to shared variables but CANNOT read them?

    hello everyone, I'm using DSC to communicate with a DELTA DVP28SV PLC. I managed writing to a coil to to turn a fan on, and I also wrote to a register. However, when i tried to read the coil (same coil i just turned on) or when i tried to read a regi

  • How to make ROUNDED rectangle default style cp8?

    Hi, I want my smart shape style to be rounded rectangle, not squared. I have set up my object styles with color and all that good stuff, but there is no way I can see to make it the rounded shape instead of the squared off shape.  I also tried to cha

  • Dynamic calc problem while calculation another dynamic calc member

    I have 6 dimensions. Two of them are dense and are tagged as Accounts and Time. The dimension I am having problem with is called "Metrics". It was originally dense. But because the calc scripts were executing slowly, I decided to make "Metrics" a spa

  • NEw user need hepl with installation!!

    HI all i just bought a Macbook Pro. through ebay.. couple of quesitons. if anyone could help it would be greatly appreciated... 1. found out previous user did not defrag. drives. how do i clean everything out and start from scratch? if its possible.