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

Similar Messages

  • 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

  • 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

  • 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

  • Where to call the write Form for SAP Script

    Hello all,
    I am trying to develop a SAP script. I want to print the details of fight table in Form.
    I have defined 3 forms.
    1.form-open -contains call function for open form
    2.form-itab_print - contains logic for filling internal table and in the loop..endloop, I have called write form for printing the table details
    3. Form_close - contains call function for close_form.
    I have given the perform in the same manner..but I could not see the ouptput of this..
    your immediate help is highly appreciated..
    Thanks
    Tharani

    Hi,
    Include your write form inside your loop statement and in your sapscript form put in there the variables that you want to show. Here is a rough explanation:
    *report driver
    loop at itab.
    CALL FUNCTION 'WRITE_FORM'
    EXPORTING
       ELEMENT                        = 'TEST'
       FUNCTION                       = 'SET'
       TYPE                           = 'BODY'
       WINDOW                         = 'MAIN'
    IMPORTING
      PENDING_LINES                  =
    EXCEPTIONS
      ELEMENT                        = 1
      FUNCTION                       = 2
      TYPE                           = 3
      UNOPENED                       = 4
      UNSTARTED                      = 5
      WINDOW                         = 6
      BAD_PAGEFORMAT_FOR_PRINT       = 7
      SPOOL_ERROR                    = 8
      OTHERS                         = 9
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    endloop.
    *sapscript form
    *Assume that this is the MAIN window
    L1   ,,&ITAB-FIELD1&,,&ITAB-FIELD2&
    ***In the example above, it will show the values in your field1 and field2 of your itab.
    Hope this helps...
    P.S. Please award points for useful answers.

  • 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...

  • Best practice for java script placement on a BC page?

    Hi guys just a general ask about where the best place for java script is on a BC page.
    I just watched the this very good video on optimization http://bcgurus.com/tutorials/how-to-do-website-performance-optimization and in it it says how you should try and load the scripts at the bottom of the page so that it loads quicker.
    now I want to do this but with it being a BC site i dont know if certain scripts have to be in the head of the doc. For instance the validate script I have? Does anyone know what I can and cant move from the head?
    I was going to do what kiyuco like to practice and add all my scripts to a content holder and then add that to my pages/templates. Will BC like me adding this to the bottom of the page and not the head?
    Thanks
    Dave

    http://forums.adobe.com/docs/DOC-2964

  • Access the adobe form data in the workflow container for further processin

    HI,
    I am using HCM processes and Forms. I need to access the form data in the workflow container once the workflow kicks off.
    I need to access these data as would need it for further processing in the workflow.
    I know that TS17900110 allows to import form conatiner to
    -> WF Container in the field name and value pair. But I need to access a lot more fields than what is in the task. Is there a standard task which allow to retrieve all the fields in the form in one task or do I need to develope a custom class to do that. If so could you please provide some clue as in how to code this specific requirement as i am somewhat new to OO ABAP.
    Thanks...

    hi,
    in the livecycle designer under libary tab u have webdynpro tab--->choose submit to sap button and place it in the adobe form ur designing. u can use this button to trigger the code that u have written in webdynpro java.
    for eg if u have
    a value node details
    and under that two value attr fname,lname
    import the model (Insertdata---it has two import param fname and lname)u need for updating the data to r3 system.
    in the ctrller have a method submit.Here write the code to insert fname and lname into the db.
    IPrivateMyForm.IDetailsElement elem = wdContext.nodeDetails().currentDetailsElement();
    Insertdata_Input input = new Insertdata_Input();
    wdContext.nodeInsertdata_Input().bind(input);
    input.setFname(elem.getFname());
    input.setLname(elem.getLname());
    try
    wdContext.currentInsertdata_InputElement().modelObject().execute();
    wdContext.nodeOutput().invalidate();
    catch (Exception ex)
    { ex.printStackTrace();}
    ul bind details to the datasource.
    when u edit ur interactive ui element these attr(fname and lname) vl be visible under dataview tab u can drag and drop them to the form
    now add submit to sap button in ur form.
    this button correspond to the onactionSubmit dat u have written in the ctrller.
    so wen u click this the data vl be inserted
    Regards
    Jay

  • Access the adobe form pdf data in abap or java programs

    Hi,
    We created an adobe form, with few text boxes, and emailed to user for filing his data into the pdf file.
    He filled the text boxes and saved the pdf, and sent back the pdf file by mail.
    Now our requirement is:
    we need to read the values entered by the user in pdf and update in certain ztables using abap or java.
    case 1: using abap
    How can abap program read the entries/values in pdf.
    is there any doc/blog that shows how to access the adobe form data in abap.
    do we need to use/install any software for this.
    case 2: using java
    Is it possible to read/retrive the adobe form data into java. once the data is into java program, i can utilise the data for several puposes.

    using ABAP:
    check the program: FP_PDF_TEST_03
    This program reads the data from Adobe into XML format.
    After this you have to read the data from XML format into ABAP(hope you know how to convert XML to ABAP or simply google it).
    Thanks,
    Chandra

  • Calling the Adobe form in a workflow step for Approval

    Hi All,
    We are creating a PCR scenario using Adobe forms for "Employee seperation". This form will require 7 subsequent approvals from various agents which is to be handled using a workflow.
    I had gone through the ISR cookbook and managed to create a scenario. I have also assigned it to a PDF form and a dummy workflow. Now from my PCR iview i am able to submit the form for my scenario which also triggers the dummy workflow(through the BUS7051-CREATED event).
    Right now this dummy workflow just sends a mail(by sendmail step) to the first approver. Now i want this workflow to send a workitem to the first approver for approval of this form which will have to appear in his UWL. When the approver double clicks on the workitem in UWL he should be able to view the form along with Approve/Reject/Cancel buttons. I am not aware how to do this. My questions are,
    <b>Is this handled by a decision step or an activity?
    If it is an activity step which Task/Business object method is used to handle this?
    If it is a decision step how do we make the Adobe form also to be displayed along with approve/Reject buttons?</b>
    We are using ECC5.0 and EP6.0.
    Thanks in advance for any help.
    Prasath N

    Hi Rajasekhar,
    The UWL issue has been resolved now and i am receiving the workitems in my UWL. But i am getting the following error when i am trying to execute the workitem from my UWL.
    <b>Service cannot be reached
    What has happened?
    URL http://xxxxxxxx.xxxx.xxx.xxx:8000/webdynpro/dispatcher/sap.com/pcui_gp~isr/IsrFormApprove call was terminated because the corresponding service is not available.
    Note
    The termination occurred in system xxx with error code 404 and for the reason Not found.
    The selected virtual host was 0 .
    What can I do?
    Please select a valid URL.
    If you do not yet have a user ID, contact your system administrator.
    ErrorCode:ICF-NF-http-c:000-u:SAPSYS-l:E-i:DALSPHSB_HSB_37-v:0-s:404-r:Notfound
    HTTP 404 - Not found
    Your SAP Internet Communication Framework Team
    </b>
    I have done the following configuration settings in SWFVISU transaction :
    Task : TS500000075
    Visualization Type : WebDynpro Java
    visualization parameter: Application
    visualization Value: IsrFormApprove
    visualization parameter: Package
    visualization Value: sap.com/pcui_gp~isr
    Is there anything else that i have missed out in the configuration?
    Message was edited by:
            prasath natesan
    Message was edited by:
            prasath natesan

  • I need to align the margins of my forms with those of my website, I have looked at all the options and unfortunately I am unable to do it with access to the Adobe.form.min.CSS file which I can't access as a consumer, how else can I fix my problem

    I need to align the margins of my forms with those of my website, I have looked at all the options and unfortunately I am unable to do it with access to the Adobe.form.min.CSS file which I can't access as a consumer, how else can I fix my problem

    I need to align the margins of my forms with those of my website, I have looked at all the options and unfortunately I am unable to do it with access to the Adobe.form.min.CSS file which I can't access as a consumer, how else can I fix my problem

  • HT201240 I just got my Mac yesterday.  My kids want to access sites that need the adobe player.  When I try and download it asks for a password.   I do not even remember setting one up?  How do i find out what it is?

    I just got my Mac yesterday.  My kids want to access sites that need the adobe player.  When I try and download it asks for a password.   I do not even remember setting one up?  How do i find out what it is?

    FYI this is the legitimate Flash Player installer:
    This one is bogus:
    As X423424X wrote do not download it from any site other than the one he linked.
    Adobe does not require a password to download the Flash installer. Generally speaking passwords are not required to download software, unless you must register with the website so as to log in. In that case you should never use the same name and password you use to administer your Mac.

  • How to provide security settings for the adobe form using livecycleDesigner

    Hello,
    I am very new to form designing,
    can any one please tell me how to provide security settings for the adobe forms at client side?
    Regards,
    Menaka

    Hi,
    that is a good topic for the ADFS forum.
    ADFS forum - http://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=Geneva
    But you could pass the user-agent as incoming claim type Client User agent. User-agents can be manipulated, so if that is an issue you can look into Device Registration and the Device OS type from there. That is also a incoming claim but requires DRS and
    DRS is not available for all plattforms.
    Hth,
    Lutz

Maybe you are looking for