Urgent !!! - Java script help for events in adobe form

Hi ,
We have requirement  where we have 5 buttons on interactive form which will retrive data from R/3 system .
1) How can i distingish the event of each button  ?
For Ex : We have 5 buttons namely , GetPlantcode , GetStatus, SubmittpSAP etc..
We hav only 2 events on adobe form - Submit to SAP and SAPCheckFields.
Please let me know some alternative by which i can sent some variable to webDynpro which distinguishes them.
2) How to set a value for the context variable on button click event ?
Ex : I have a context node ( data node ) bind to adobe interactive adobe component on a webDynpro application. If i want to set Selectindicator ( value attribute in data Node ) a value on a button click , Please let me know the java script how i can do this.
Happy New Year for all
Nanda

Hi ,
We found one work around for this. It seems to solve our issue for now.
Set a text field on adobe and try to set it with some value in each button click. We can get retrived that value in webdypro application through context bind value node to text field.
Using the value in the value node we have applied different logic in same event submit to SAP.
Nanda

Similar Messages

  • Form routine for sales order adobe forms

    Hi Friends,
    I have a requirement to create z adobe forms for sales order for customized output type.
    When i checked, there is no form routine designed for calling the adobe forms.
    So, i am planning to copy the standard print program which is available for script and smartforms and creating a z form routine to include the function modules for calling the adobe form.
    Can any one please let me know whether have you worked in any of the same kind of situations and my apporach is ok or anything else can be done.
    Thanks & Regards,
    Prabu

    Hello,
    Plz check your caller program for the same and just find out the output type. for that purpose use the Tcode: NACE for finding the output type than proceed accordingly.
    Regards,
    Akg

  • Java script needed for premier elements 13

    Which version of java script is needed for Adobe premier elements 13 and for photoshop elements 13 on mac with OS X YOSEMITE? 
    And do I have to uninstall previous version of Java script?
    Any help Appreciated.   Thank You. 

    joeysudyka
    There may be, but I have not seen any reference to Java Scripting with regard to Premiere Elements.
    Consequently, you may make better gains posting your thread in the Adobe Photoshop Elements forum since Photoshop Elements is part of your workflow equation and is the most likely path to discovery of documentation in this area.
    Photoshop Elements
    Please review the following to determine if there is anything in it that is applicable to what you seek.
    Install Java (JRE) | Mac OS 10.7 and later
    Not sure of distinction for your purposes of Java and Java Scripting
    Java vs. JavaScript
    ATR

  • Button executing CloseWindow Java Script and raising event on server

    Hi All.
    Somebody can help me with this:
    <b>What i'm needing:</b> an 'END' button on a BSP, when the user click on this button just show an aswer box asking if the user wants to close the windows, in case to click yes close the current window and execute a business logic in the controller.
    <b>What i have:</b> a button with the event onClientClick invoking a Java Script function which is showing the answer box and the event onClick which raise the event on the server side. The thing is if the user click on yes then i'm closing the current window and the server event never is triggered. This is not working !!!
    Any ideas ? some sample code ?
    Thanks in advance.
    Armando.

    Hi Armando,
    The 'Yes' on the <i>Confirm dialog box</i> (Client Side Scripting) has to tell the application (Server side scripting) to call your METHOD XXX. This is done by passing querystring <i>exit=X</i> to the URL.
    1. Comment onClick event of the button.
    2. Modify the code the JS function of your End button as follows
       func_end()
    //if no
      // your original code
    // if yes
    document.location.href = document.location.href + '?exit=X';
    3. Add following code to DO_REQUEST
      IF REQUEST->GET_FORM_FIELD( NAME = 'exit' )  ne space.
    *your method will be called only when there is an exit=x in the url
           call method XXX.
    *set a page attrib as follows
           l_exit = 'X'.
      ENDIF.
    4. Add following code to your layout
    <%if l_exit = 'X'.%>
    <script>
    window.close();
    </script>
    <%endif.%>      
    Regards,
    Alwyn

  • Java Scripting help

    Hello. I am new to java, as well as still somewhat a newbie on mac. I was wondering if there is a free program out there, or on my mac, that would allow me to write java and then check it for errors? Preferably something for slower peeps like me. Also if there is a general javascript library with the basic scripts most commonly used so I can get a better idea of how to write the script? Thanks in advance!

    Hi,
    Go here: Introduction to Apple JavaScript Coding Guidelines
    Java Script Basics
    New to Mac? Getting Started on a Mac
    Switching from Windows? Switch 101
    Carolyn

  • I am getting Java Script errors for InDesign only in CS3 on my Mac OSX 10.9.1

    When I try to open InDesign (CS3) on my Mac OSX 10.9.1 I get Java Script Error
    Error Number 45
    Error String Object is Invalid
    Line 387
    later
    Line 428
    I tried checking the prompt line & I get this message
    "CGSFlushWindow" is obsolete use "GGSFlushWindowContentRegion" instead
    I have NO clue what that means
    HELP!!!!!!!!

    It means what it says: The respective function no longer exists. Anyway, ask in the ID forum. I'm sure someone there can help you fix whatever script is running amok.
    Mylenium

  • Startup shell script help for newbie?

    New to UNIX (linux)... need the bash shell script commands for my r.c local file to start my services when server boots.
    I got my ds, dps and admin server in their respective /opt directories. I need the shell commands to have these start. Of course I can start them manually but when I try a line like this in a script, it doesnt work:
    ./var/opt/sun/directory-server/slapd-dsserver/start-dsserver
    Some path problem or dot thing?

    There are a few other things you may want to consider, such as what the default browser is, are tabs being used, is the page loaded yet, etc, but Safari has a do javascript command in it's scripting dictionary. The following script will open a new document and run your specified javascript, or you can go to their NPR Program Stream Page and download a playlist that will run directly from iTunes.
    <pre style="
    font-family: Monaco, 'Courier New', Courier, monospace;
    font-size: 10px;
    margin: 0px;
    padding: 5px;
    border: 1px solid #000000;
    width: 720px; height: 335px;
    color: #000000;
    background-color: #FFDDFF;
    overflow: auto;"
    title="this text can be pasted into the Script Editor">
    set my_script to "NPR.Player.openPlayer(2, 0, '03-21-2008', NPR.Player.Action.PLAY_NOW, NPR.Player.Type.PROGRAM, NPR.Player.Mode.LIVE)"
    tell application "Safari"
    activate
    set the URL of the front document to "http://www.npr.org/"
    if my page_loaded(20) is false then error numner - 128 -- page not loaded in time
    do JavaScript my_script in document 1
    end tell
    on page_loaded(timeout_value) -- from http://www.apple.com/applescript/archive/safari/jscript.01.html
    delay 2
    repeat with i from 1 to the timeout_value
    tell application "Safari"
    if (do JavaScript "document.readyState" in document 1) is "complete" then
    return true
    else if i is the timeout_value then
    return false
    else
    delay 1
    end if
    end tell
    end repeat
    return false
    end page_loaded
    </pre>

  • Java script documentation for DRM

    Is there a doc that shows all the property values you can use in a java script?
    How do I identify the enumeration constants?

    <body onbeforeunload="ConfirmClose()" onunload="HandleOnClose()">
    where ConfirmClose() asks you if you really want to close, and HandleOnClose() does something as you close the tab.

  • Writting Java Scripts to conmpile infromation on submitted forms

    Do you know anyone who knows the script to write the java script for this process and hide the information in the batch process of a finished form.

    I realize you may not be a developer, but your question doesn't really make sense from a development standpoint. Perhaps if you described your workflow and what parts you want scripted / automated, then we would have a better idea of how to help you.

  • Help in migrating from adobe forms 6.0 to 7.1

    Hi
    I have a set of adobe templates that have been developed in Adobe Livecycle designer version 6.0.
    Now I will have to move these to Adobe LiveCycleDesigner 7.1
    I could get a document 'Compatibility of Adobe Designer 6.0 for designs with Adobe LiveCycle Designer 7.1"
    I read abt the text formatting compatibility and event model compatibility of the form designs.
    What could be the best way to do this?
    If i open the version 6.0 in Adobe LiveCycle Designer 7.1 and do a simple "save-as"...will it work??
    Appreciate your response
    Thank you

    It is not the Designer per se that decides what is supported in your template ...it is the target version that you are designing to. So when you open it in Designer 7.1 then go into Form Properties/Defaults you will be given additional options for the target version. If you target version 7 then you can test the things that you mentioned .....if it causes you issues then you can change the target version to 6 and all should be the same as before.
    Paul

  • ABAP Script value incorrectly reflected in ADOBE form interface.

    Hi ,
    I have an issue. In ABAP Script, the unit of measure value for VBDPL-VRKME is 'STK'. But it is printed as 'EA' in ADOBE form.
    Would you please suggest me an idea to fix this issue as I am new to SAP not much aware of fixing issues other than debugging.
    Best Regards

    Go to SE11 for table  VBDPL.  Find field VRKME and double-click the data element.  Then double-click the domain...MEINS.  You'll note that MEINS has the CONVERSION routine populated.   After you do a read on the database, call the conversion routine Function module (double-click the conversion field to get the name) to convert the database value to the display value.  This is what SAP programs do when there is a conversion routine...  In this case, you'll probably find that the EA is correct because 'EA' is likely the user-display value for database value STK.
    Edited by: BreakPoint on Oct 1, 2010 9:25 PM

  • Dropdown box for SAP provided Adobe Form is not populating

    Hi experts,
    I am new to Adobe Interactive Forms. Right now we are using Standard Adobe form for the (PCR) Special Payment. But the drop down box for 'Reason for spl. Payment' is not getting populated. We have defined Reason for special payments in IMG. Also the form 'ISR_FORM_SPSP' has been converted to 'ZCI' format.
    Can you please let me know is there anything else I have to configure?
    Thanks in advance,
    Phani

    Hi Antony,
    Thank you for the reply. As I said I am using the Standard Adobe form provided by SAP (Special Payment) 'ISR_FORM_SPSP'. On another note ..I am also using the form for Changing working time 'ISR_FORM_SPWT' where the dropdown box for the 'new working time' is getting populated properly. I am new to Interactive Adobe Form so I really don't know where I can find the backend code for this form.
    When I go to trasaction 'SFP' I could only see form and the interface being used. Is there a specific BADI that I need to look in? Where can I find the script for the Dropdown UI element.
    Please let me know
    Thanks
    Phani

  • Input Help F4 in Interactive Adobe Form

    Dear All,
    I want to display search help in Adobe Form.
    I have created Webdynpro Component in which I have used the PDF Source as well as created Form where I have used Value Help.In context also I have provided search help.But still I am not getting the F4 popup as SAP.But in another system same thing I have tried it is coming.Please provide any solution.
    Regards,
    Dillip Mishra

    Dear Friends,
    Any Configuration I have to make in my system so that it should process the event triggered from Adobe form.
    Regards,
    Dillip Mishra

  • Authorization check for an offline Adobe form

    Hi folks,
    Quick ques - Is there a way I can validate whether a user has the authorization to enter data on an offline Adobe form ?
    The form is going to be generated and sent to users. So when the user is ready is to fill data, there is no connection to SAP.
    Any ideas?
    Thanks for your help!
    Rds, Liz

    Hi Liz,
    Password encrypted forms are not supported by SAP but you can try with other options like putting inputs fields for user and validating them but that would not be an encrypted one.
    Password Encrypted Forms are supported from the Adobe LiveCycle ES versions 8.2 and it is a standalone tool and not supported by SAP.
    Pl refer to the following links for more information:
    [Re: Password protected PDF file;
    [pdf with password encryption;
    [Setting a security method in Adobe forms;
    Thanks and Regards,
    Jhansi Miryala

  • Printing Issue for Labels in Adobe forms

    Hi,
      I have created a form for Label printing using Adobe Forms. Label size is 6.4 X 4.3 inches..The print preview is fine, even when i take the printout, the entire label can be seen. However onsite when the client is using his Label Printer, it is printing only the below half of the Label, i.e. Only Half the Label is being printed, that too below part.
    Could someone guide me as to what can be wrong.
    Thanks and Regards,
      Vanessa

    I too am facing the same problem. The print preview looks  fin but when the client is using with his Zebra Label printer, it is eating out top 7 lines of the data and thus printing remaining data on the top half of the Label.

Maybe you are looking for

  • RH8 hangs with 100% CPU when closing a topic. Resource Manager to blame?

    Please refer to the following thread for background information: http://forums.adobe.com/thread/734972?tstart=0 I'm re-listing this issue, as it has rasied its ugly head again, and I've no resolution this time. Summary: The original issue was that RH

  • HT1296 Playing movies on the iPad

    Just taken delivery of iPad 2. Connected and found tgecsyncing with MacBook pro easy. HOWEVER the reason for the ipadvis to let the children watch movies on the go. I've a few DVD's that have an associated digital copy included. I've registered and d

  • Customer statements do not tie to to other transactions

    Hi, The Customer Statements (ZFCS), Customer Balances (F.23), Customer Line Item display (FBL5N) and Aging Report (Z_AGING) should all tie. They do in PRD now. A document number with a Invoice reference does not show up in ZFCS. This is a partial pay

  • How to execute a process in a certain server

    Hi all, We have a scheduled job to be executed in a certain server. This job trigger some process and the system do the load balancing, but we want that this processes runs in the same server than the job Is possible to do this?, How to force the sys

  • Insert 3 blanks in a database through form

    hello everybody, My query is when i assign balnks to a field like :fieldname =' ' then form makes it null & insert nulls in db is there any way to do this instead of writting On-insert trigger & whole insert statement in it. Regards