Updation of Ztable clicking on submit button in adobe interactive forms

Hi all,
In my adobe interactive form i have student details and one SUBMIT BUTTON.After clicking on that button i need to update the details in my Ztable. How Can I do?Where Can I write the code?
Please reply me.
Thanks in advance.

Hi, I'm afraid I think there is no place where you can "catch" click on button in interactive form in sapgui, but you can:
use http submit button and send data to your web service, which receive dataa and update your ztable,
or you can create webdynpro, where you can catch click on submit button a in this event you can update yout ztable (my previous post).
Please remember, that you can run your webdynpro application in sapgui:
REPORT  DEMO_START_WD_IN_PLACE1 MESSAGE-ID SWDP_RUNTIME.
start-of-selection.
  CALL FUNCTION 'WDY_EXECUTE_IN_PLACE'
    EXPORTING
     PROTOCOL               = 'HTTP'       " HTTP | HTTPS
    INTERNALMODE           = 'X'    "SPACE - browser is started
    PARAMETERS             =
      APPLICATION            = 'your_webdynpro_application
     CONTAINER_NAME         = 'SAP Formuláře'
    EXCEPTIONS
      INVALID_APPLICATION    = 1
      BROWSER_NOT_STARTED    = 2
      OTHERS                 = 3.
  IF sy-subrc EQ 1.
    MESSAGE a400.
  ELSEIF sy-subrc = 2.
    MESSAGE a401.
  ELSEIF sy-subrc = 3.
    MESSAGE a667.
  ENDIF.

Similar Messages

  • Submit Button in adobe interactive form

    Hi All,
    Anyone have step by step how to use SUBMIT button in adobe interactive form?
    The scenario is:
    I am using ABAP Program (SE38) to display the form, then user will enter value some required fields in the form. After user klik SUBMIT button in the form, the value will be stored in customized table in SAP system.
    Kindly advise.
    Thanks,
    Nonik

    Hi Chintan,
    Basically, I have tried to search in the forum within this two days... But I could not find the step by step how to do it. Anyway, I will try to search again. Really appreciate if you don't mind give me the link of it.
    Hi Otto,
    I have created the WD application. Unfortunately, the requirement is online processing form which is attached in the SAP transaction. So, when user open document number of one transaction, the form will be displayed and user can fill the information in this form. Then after that user will click SAVE button to submit data to SAP.
    Any advise?
    Thanks,
    Nonik

  • "Submit" button in Adobe Interactive form does not trigred.

    Dear all
    I am working with interactive form and i am using *click event with formcalc. When I click these button nothing seem to happen.
    i tried with javascript also.
    Event has following code.
    // DO NOT MODIFY THE CODE BEYOND THIS POINT - 710.20060821084622.325745.280724 - SubmitToSAP.xfo
                          ContainerFoundation_JS.SendMessageToContainer(event.target, "submit", "", "", "", "");
                          // END OF DO NOT MODIFY
    I am using  the following versions:
    Adobe livecycle 7.1
    Adobe reader 9
    SAP: EHP4 FOR SAP ERP 6.0 / NW7.01
    Interactive form properties:
    DiplayType: Native
    Enabled: True
    Form layout:ZCI
    Interface: XML
    Submit button used from Web Dynpro Native.
    Can someone please help me resolve this issue as it is very criticial for me.
    Many thanks,
    Ravikumar.

    Hi Ravikumar,
    Your ABAP backend is of version NW7.01, but your ZCI script version is 710.20060821084622.325745.280724.
    This is a very old ZCI script, delivered with NW 7.00 SP11 or SP12.
    I assume that your ADS is still running on a NW7.00 system (JAVA stack!)
    You have to update the ADS and you have to update the ZCI script of your form. See SAP note 999998, search for "The Web Dynpro application hangs during submit". There's a detailed explanation + solution description.
    Ralf

  • Submit button on Adobe Interactive form does not send data back to ABAP

    The integration of my ABAP View and Adobe works fine getting data into the form. The form is interactive and I am able to change the data. I am using ZCI and the XML Context. I display the FirstName attribute both on the ABAP View, and the Adobe Form. When I press the SUBMIT button the first time, it disables that button, but the ABAP View is not updated. I have an ONACTION event, but it doesn't get triggered at all.
    Here are my specs:
    Adobe Reader 8.1.1. Local
    Adobe LiveCycle Designer 8.01.3250.1.491864
    NetWeaver 7.0 SP19
    HR Support Pack 48 and Enhancement Pack 2

    Hi all,
    I assume the ZCI script included in the form (800.20070410093956.383622.376748 ) is too old (I guess it's from SP13 or14).
    In general, I propose the following to analyze/fix these kind of problems (Web Dynpro ABAP only):
    1. Check the tracefile (available from SAP NetWeaver 700 SP19): Add "&sap-wd-clientDebug=X" to the application URL and open the trace by typing <CTRL><ALT><SHIFT>T (see note 999998 too):
    -> Watch for an entry "Got a message from Adobe Reader: zciReady 1: 2: 3:". If this line doesn't appear => ZCI script too old, go on with step 2
    -> Watch for an entry "Got a message from Adobe Reader: zciVersion 1: 800....". That's the version of the ZCI script included in the form
    -> Watch for entries containing "sendDataToServer" and "responseFromServer": If you can't find these entries, something went wrong transferring the form data to the ABAP server: Watch out for entries containing "Error", there might be a network problem.
    2. Execute report FP_PDF_TEST_00 to find out the used ADS version: The corresponding ADS version of SP19 is 800.20090130093518.519793 or 800.20090608122643.560369 (look at the second part of the version string. It's a timestamp: The ZCI script included in the form is from April 2007, the ADS version of SP19 is from January/June 2009!
    -> Update the ADS or patch the ADS (see notes 999998, 1229392 and 956074)
    3. optional step: Have a look at note 999998, section "related notes" (this is the complete list of available notes for Web Dynpro ABAP Interactive Forms integration): Install all notes available for your release/SP - or even better: Update SAP NetWeaver (SAP_BASIS) to the latest available SP
    4. Update the ZCI script of the form using transaction SFP_ZCI_UPDATE
    5. Repeat step 1, I'm pretty sure that it will work now!
    Regards,
    Ralf

  • SUBMIT(to SAP) Button in Adobe Interactive Forms (Web Dynpro Java)

    Hi ,
    I m using Adobe Interactive Forms with Web Dynpro Java
    But submit to SAP button is not working
    i m using NWDS 7.2 with adobe lifecycledesigner 6.0
    with adobe reader 9.0
    when i click submit to SAP button in interactive form nothing happens and
    data is not transfered into web dynpro Context
    Can anybody help me out................

    Hi Adi,
    The evniorment and versions you posted seems to be quite scattered, make sure all are of compatible and to the lates.
    Anyways this was not the reason for your problem.
    Can you tace if the button click event is triggered ....?
    1) when the PDF is published can you see any of the fields editable...? reason behind is generally when you create a form in ADLC it comes up in static PDF format if its so you need to make it dynamic.
    I dont know if adding the webdynpro script to your form might fix.
    Regards,
    Sai

  • Error message while clicking PDF Preview of a ADOBE interactive form

    Hi -
    I am creating an ADOBE interactive form having Tables, few text fields and E-mail submit button. The scripting language used is FormCalc.
    Whenever I am clicking on PDF Preview to see the form layout and to check other functionality, I am getting an error message:
    Error message -
    Error: syntax error near token '|' on line 1, column 14.
    Script failed (language is formcalc; context is xfa[0].form[0].data[0].Mainpage[0].Subform3[0].Table2[0].Row1[0].RATING[0])
    script=this.isnull || (this.rawvalue >= -32768 && this.rawvalue <= 32767
    I checked my scripts and there is no syntax error in that. My form is also working absolutely fine except getting this error message pop up whenever I try previewing my form.
    Can you please tell me, what can be the possible reason.

    I tried everything, but couldn't figure out the reason for error. I wrote the script again, but the error is still coming.
    Here is a part of my script. I have written this script on Email submit button in preSubmit event, to check if the RATING field value is less than or equal to 3. depending upon this condition, I am making the COMMENT field as mandatory. The same script is repeated for all the RATING & COMMENT fields.
    if (data.GyanMainBodyPage.Subform2.Table1.Row1.RATING1 <= 3)
    then
                  data.GyanMainBodyPage.Subform2.Table1.Row1.COMMENT1.mandatory = "error"
                  data.GyanMainBodyPage.Subform2.Table1.Row1.COMMENT1.mandatoryMessage = "Please fill corresponding comment"
    else
                  data.GyanMainBodyPage.Subform2.Table1.Row1.COMMENT1.mandatory = "disabled" 
    endif

  • File browser button on Adobe Interactive Form

    Hello,
    We have a ZCI Adobe Interactive Form with XML-Schema-Based Interface.
    There is a text field on the form with a button beside it. The requirement is that when this button is clicked, a file browser window should open up. After the user selects the file on PC, the file path should get populated in the text field.
    I have tried using xfa.host.importData() in the Click event of the button. But nothing seems to happen.
    Note that all other methods like xfa.host.messageBox() seem to work fine.
    Can anybody please help?
    Thanks in advance
    Sagar

    Ok, I was able to solve it.
    I placed a hidden text field on the form and wrote the following JavaScript on 'Click' event.
    var sFile;
    event.target.importDataObject(sFile);
    var oFile;
    oFile = event.target.getDataObject(sFile);
    pa0001.Subform.FILENAME.rawValue = oFile.path;
    var cFile;
    cFile = event.target.getDataObjectContents(sFile);
    pa0001.Subform.filecontent.rawValue = util.stringFromstreams(cFile,"utf-8");
    This will upload the file content and place it in the hidden text field. I can use this hidden text field in my Web Dynpro application.
    Just came to know that the Java Script we write in Adobe is known as AcroJS! Nice one.
    By the way, Blag can I give points to myself for answering my own question?
    Just kidding

  • 'http submit button' in Adobe forms

    Hi,
    How to use 'http submit button' in Adobe Interactive form layout?
    Actullay we need to generate xml from the data in Adobe forms.
    Thanks & Regards,
    Jeba.

    Hi,
    Please look into the blog link which explains how to use HTTP submit button .
    http://blogs.adobe.com/stevex/2006/05/http_submit.html
    Nanda

  • I need to throw an error message if the terms&conditions checkbox is not checked on click of Submit Button. Can anyone suggest.

    I need to throw an error message if the terms&conditions checkbox is not checked on click of Submit Button in webdynpro java. Can anyone suggest.

    My Apologies. The simplest way- write the following code in the action of the Submit button-
    if (<check box not checked>)
    wdComponentAPI.getMessageManager().reportException("Please accept Terms and Conditions to continue",false);
    else
         continueExecution();
    The exception message will be shown on top of the view.
    You may like to use Message Area UI element and place it at the bottom of the WD4J view to show our exception message at the bottom of the view.
    I hope this helps !
    Cheers,
    -Amol Gupta

  • On click of Submit button, i want to forward to another mxml page and also pass the paramaters to it

    Hi,
    How can forward/load a new page in Flex 4.?
    On click of Submit button, i want to forward/load to another mxml page and also pass the paramaters to it.
    How can i do it.
    Thanks,

    Checkout popupmanager and public variables

  • Need to display processing icon on click of submit button

    Hi all,
    I need to display a processing message like "Please wait....Request being processed" whenever the user clicks on submit button.There is a PL/SQL process which inserts data into the database on click of submit button.As this insertion would take time, I need to display a processing message as mentioned earlier.
    My approach was to create a javascript function and call it from the URL redirect section . when this option is selected,the processing message is displayed..but the PL/SQL process is not executed as the URL is redirected...
    Any help would be greatly appreciated....
    Thanks
    nashy

    To some degree, it will depend on just how long you think the process will take to run. If you think it's going to take several minutes (thus risking your page timing out), an approach I have taken is to run a process on submit which kicks off an oracle job (do a search for DBMS_SCHEDULER if this doesn't mean anything to you) thereafter, periodically repoll the page - you could go for a javascript method if you don't want to keep re-submitting the page - which checks to see if the job has completed.
    Once the job completes, you just show the data (or do whatever you need to do to indicate completion to the user).
    It does require a fair bit of conditional display and process control to pull off, but it is achievable.

  • How to prevent multiple clicks of submit buttons in OAF Pages

    Hi All,
    Our page takes around 30 seconds to 1 minute for processing.
    Some users are not patient enough. I have tried putting the below code in my PR method.
    OAWebBean body = pageContext.getRootWebBean();
        if (body instanceof OABodyBean)
        ((OABodyBean)body).setBlockOnEverySubmit(true);
    This code disables submit button for some time. After few seconds, the submit button can be clicked again by the user.
    Also, if I click on other browser window and come back to OAF page, the submit button can be clicked again immediately.
    Have also searched OAF forum but didn't find any satisfactory answer.
    Need answer from Oracle on this. If not answered on the forum, will raise an SR.

    Hi Amit,
    Try using the Processing Symbol , after clicking the Submit button. Which does shows you processing clock symbol once you click Submit Button.
    Regards
    Raghu

  • How to set the time in messageTextInut when i am click the submit button

    Hi
    In my form one messageTextInput field and submit button .when i am click the submit button the time (continuously)display in messageTextInput field.so plz tell me the process.

    You can associate a VO Attribute to the textinput field and set its value when the Submit button gets clicked. Thereafter you can renavigate to the same page.

  • How do I add a functional "submit button" to a pdf form in Adobe Acrobat Pro XI ? I created the pdf form in Adobe Forms Central.

    How do I add a functional "submit button" to a pdf form in Adobe Acrobat Pro XI ? I created the pdf form in Adobe Forms Central. It's for an online Diet Questionnaire. After people complete the form I'd like them to click "SUBMIT" and the completed form will be emailed to me.

    This can be a bit confusing because Acrobat 11 comes with the desktop app that allows you to create simple PDF forms without having a FormsCentral account. Some people find this helpful, but you need to understand that when you generate the PDF form, it is Reader-enabled by Acrobat. In order to edit the form further in Acrobat, you have to create a non-enabled copy of the form. You do this in Acrobat by opening the form and selecting: File > Save a Copy
    and opening the copy. It is not opened automatically.
    You can now add a button and set it up to submit by email, either using a "Submit a form" action or the submitForm JavaScript method. You can set it up to include just the form data or the entire PDF, and will want to use a mailto type URL. Submitting the form to the FormsCentral server has a number of important advantages over email (much more reliable, more secure, etc.), so you might want to consider it.
    If the form needs to be saved with Reader versions prior to 11, then you will need to Reader-enable the document. In Acrobat 11 you do this by selecting: File > Save As Other > Reader Extended PDF > Enable More Tools

  • Multiple Submit buttons in Adobe form !

    Hello Experts,
    Scenario :
    Form has Material number as input field and Material description should get automatically populated( maybe as a script or button , dont know yet ). Then the form is to be submitted at the backend.
    I have created an Adobe interactive form with Multiple Submit buttons( one is Submit toSAP) button , other is a normal pushbutton( for Material desc to be populated ) . I have been able to Submit data at backend.
    But problem is there is only one event on the Interactive form UI element properties.
    Please suggest how to achieve the above ? via script or sm code in web dynpro ?
    System Config :  WAS 6.4 /  SP12 .
    Need a quick resolution. Generous points for help.
    Regards,
    Sonika

    Hi Sonika,
    control_param structure is used in case of ISR forms, but I dont think your form is related to the ISR.
    Use a context attribute, and set its value to get the Material description from backend.
    Like you can define an attribute in context, "GETDESCRIPTION", and set its value at the exit event of Inputfield to "GET".
    $.parent.GETDESCRIPTION.rawvalue = "GET"
    app.eval("event.target.SAPSubmit();");
    And at the click event of the button you can write:
    $.parent.GETDESCRIPTION.rawvalue = "SET"
    app.eval("event.target.SAPSubmit();");
    And in the backend, read the value of this attribute and perform the desired action.
    Hope this helps,
    Amit

Maybe you are looking for

  • Tutorial: Converting Video for iPod (Read BEFORE You Post)

    Since 1/2 the bandwidth is about the same question - how to convert (Filetype X) to iPod video (MPEG-4 or H264) - here is the simplest and FREE method using one piece of FREE software and the ability to do a bunch at a time in a batch process. ------

  • Query of Queries decode

    I have a main query that does a decode on a field so that it sorts starting with KG then 01,02,03,04,05 When I then pull the QofQ it spits back the results as 01,02,03,04,05,KG. Is there a way around that?

  • How to change decimal point in Rotate Tool.

    Hi, I use the rotate tool to design gauges, like clocks, a lot. I hold the ALT button and click on the center of my drawing and then a window pops up to enter in what degree I want my object to be. Currently the decimal point only allows for hundredt

  • Spell checker in Pages for iOS - other than english

    Hello, I'm trying to get spell checking in Pages for iOS working in another language besides english. My question is- is spell checker in Pages for iOS evailable in any other language besides english? Because it doesn't seem to be- once I change keyb

  • St01-trace is not working when tracing distant user

    Hi everybody I need to do trace for authorization on distant users, and when I'm trying to do that I always get the "no records" massage, but if the same user is logged in to my computer in different session, I can do the trace properly. Is there any