Adobe Interactive Form "Submit To SAP"-Button

Hello,
I have the following problem: I have implemented a IF solution with ABAP + BSP + Interactive Forms. We have a landscape with Test, Quality and Productive System. I have a "Submit to SAP"-button on my interactive form. The Url to which I want to send my Form back to my system, should be generated dynamically depended on Test, Quality or Productive system, so that I only have to design ONE form and not THREE forms (one for each system).
So what I do is the following:
I generate the PDF-object in ABAP with my XDP-File and my Data.xml. In my Data.xml I have integrated a special tag <urltosapsystem> where I generate my URL for the button, dependend on which system I am.
On the Interactive Form I want to parse the XML-file for my special tag <urltosapsystem> via JavaScript and assign the URL for the submit-button dynamically.
So my question is:
How can I assign the URL for the submit-button dynamically via JavaScript:
- On which object (on the whole form,on the button) and which event (onClick, OnPreSubmit,...) can I insert my JavaScript code
- How does the JavaScript-Code has to look like
Thanks for your help,
Andreas

Hello Andreas,
the "submit to sap" button is intended to be used in the WebDynpro environment. Hence, there is no way to specify a URL for that button. The submitting is handled by WebDynpro.
Regards
Juergen

Similar Messages

  • Is Adobe Interactive Forms compatible with SAP-PM in ECC 6 ??

    Hi experts
    My question : is Adobe Interactive Forms compatible with SAP-PM in ECC 6 ??
    Thanks

    Hello,
    I can recommend you to search sap official documents for the standard-SAP-delivered-Adobe-forms and maybe there are some for the PM module. Would that help? Or you´ve learnt Adobe yourself? Regards, Otto

  • Adobe interactive form-submit button is not working

    hai guys,
      i am following the example in sap technical.
    i have created the adobe form in webdynpro for abap applaiction.
    but the submit button doesnt work .(it doesnt trigger the break point set in on action method)..
    reading other threads,i verify,
    the button is dragged from webdynpro library(i dont ahve native and activex libbraries but only one library)
    i am on
    sap ecc 6.0
    netweaver 7.0
    adobe life cycle designer 7.0
    acrobat 8.11
    any suggestions?

    Hi Kumar,
    When you create the Adobe Form from WebDynpro, you need to follow one step in SFP Transaction or inSE80 transaction. Open the Adobe Form in any one the transaction and now in SAP menu bar "Utilities" in that you will find the "INSERT THE WEBDYNPRO SCRIPT" just click on that one. Then you will see a new Script Object is being created with the name "ContainerFoundation_JS" under the "Variables" in the Heirarchy of the Object Pallete of the Adobe Form.
    This step is mandatory to use the SUBMIT Button of the "WebDynpro Native", to trigger the OnSubmit event of the WebDynpro.
    Thanks and Regards
    Pradeep Goli

  • Using Adobe interactive forms in CAF

    Dear,
    We're setting up the following flow :
    1/ Adobe Interactive Form -> Enter data, press button, triggers webservice, starts GP.
    2/ GP -> Does RFC call with values from form, returns different values
    These steps pose no problem at the moment, but we're unsure how to proceed with the next steps. A new interactive form needs to be sent with the new data, which should then trigger the next step in the GP upon completion.
    Is this possible, to do this and still stay in the same GP?
    We can generate a form with an RFC call if necessary, I'd even prefer this, but then how do we know what to send back to the GP to stay in the same GP? Can we call a specific step in an existing GP to trigger the next one?
    Thanks in advance,
    Frederik-Jan

    Basically this example described by SAP itself :
    http://help.sap.com/saphelp_nw04s/helpdata/en/c4/8d4a4273bb3830e10000000a155106/frameset.htm
    The problem is, I haven't found the description of how to do this. Only that it's possible, which is little help sadly enough.
    Example 1: Offline Form for In-Process Use
    You can use such form to execute certain process steps offline and get data required for the next steps in the process.
    For example, you can create a form that is sent to the processor by e-mail. The recipient enters the required data in the form offline, and submits it back to Guided Procedures (GP). The input data is then passed to the relevant parameters of the next action in the process.
    To implement this scenario, you must:
    ·        Design an appropriate interactive form with input fields for all required data, and a Submit button that sends the information back to the GP framework.
    ·        Create an interactive form callable object with the following configuration parameters selected:
    ¡        Enable Use in Guided Procedures
    ¡        Create an Offline Interactive Form and Send it by E-Mail
    ·        Add the callable object to an action, and insert the action into the relevant block and process.
    ·        Consolidate the parameters, so that the output of the interactive form is mapped to the input of the next action in the process.
    The predefined Check User block implements this scenario.

  • Web Dynpro render configuration for Adobe Interactive Forms

    Hi,
    Is there any possibility to check rendering configuration for Web Dynpro application? I built web dynpro application which shows simple Adobe Interactive Form. In Sap Adobe LiveCycle Designer all buttons of Interactive Form are working (JavaScript) but in the form showed by web dynpro application in IE buttons have no action. Do You know what is the cause or where to search?

    Hi Pawel,
    The interface of the UI element InteractiveForm contains the method SET_LEGACY_EDITING_MODE, which in turn contains a Boolean parameter. The form is then ready for input
    method WDDOMODIFYVIEW.
    data: LR_INTERACTIVE_FORM type ref to CL_WD_INTERACTIVE_FORM,
    LR_METHOD_HANDLER type ref to IF_WD_IACTIVE_FORM_METHOD_HNDL.
    check first_time = abap_true.
    LR_INTERACTIVE_FORM ?= VIEW->GET_ELEMENT(u2018INTERACTIVE_FORM_1u2019).
    LR_METHOD_HANDLER ?= LR_INTERACTIVE_FORM->_METHOD_HANDLER.
    LR_METHOD_HANDLER->SET_LEGACY_EDITING_ENABLED( abap_true ).
    endmethod.
    Regards,
    Runal

  • Adobe Interactive Form on BlackBerry device

    Hi,
    I am trying to open an adobe interactive form (generated by SAP and Adobe LifeCycle Designer) on my BlackBerry device.
    Instead of the document's content I get the following message:
    When opening a PDF document containing an XFA form on the BlackBerry 10 smartphone the following error is displayed:
    This document is an XFA form. XFA forms cannot be filled using the Mobile Adobe Reader.
    Is there any possibility to open and maintain the document anyway or what is adobe's strategy regarding this scenario?
    Thanks a lot and best regards,
    Thomas

    They haven't really announced it, because there is no product to announce. Rather the opposite.
    There are no conversion tools, so far as I know.
    XFA forms are a non-starter if you want portability.
    AcroForms are a nightmare in themselves, because the functionality is limited in Adobe Reader and varies between absent and weird in other products. No idea about Blackberry support.
    You will not find a simple recommendation. Rather, you need to use Acroforms and carefully test everything (EVERYTHING: no assumptions) on every platform you intend to support.
    Yes, rather unsatisfactory, but until Adobe realise that the future is platform equivalence or irrelevance, this is where we are.

  • Problem rendering an adobe interactive form

    Hi ,
    I have designed a sample adobe interactive form following the SAP tutrial for displaying the firstname and lastname fields.When i preview the form it looks fine.But when i deploy and run i just see a blank browser with nothing in it.Iam using adobe live cycyle designer 7.1 and Adober reader 8.0 and also ADS is confifgures in WAS.Please let me know what else is missing.Do i need a license even to run the adobe interactive form for a test purpose?

    HI SWATHI,
                    To run Adobe Interactive form applications we need license.
    Check this [faq    |https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/2a8a0a37-0301-0010-f794-aecd1bb426e0]
    To run ADS we need these [services|http://help.sap.com/saphelp_nw70/helpdata/en/61/c2d08c48aa4a80a630393fbe316ca5/frameset.htm]
    If everything is fine, then check the browser settings too whether it is stopping to open the Adobe form.
    Regards,
    Siva

  • 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

  • Submit to sap button in interactive forms

    Hi
    I'm trying to make an event happening when pushing a button in a adobe form developed in the web Dynpro. However nothing happens when pushing the Submit to SAP button. It's a standard button with no special settings. I've created an event in the view and in the properties of the interactive fom I've set the onSubmit to this action. What am I doing wrong?
    Best regards,
    Ole

    My Submit button doesnt work too. Nothing happens on clicking on it.
    I was checking the trace file defaultTrace.trc  through visual administrator of the j2ee server. I found the log file is updated with the following lines, for each click on the submit button.
    Date : 04/26/2005
    Time : 17:03:10:296
    Category :
    Message ID : 001185BBE530005D00000001000017C40003F5AD407E9064
    Severity : Warning
    Location : com.sap.engine.services.servlets_jsp.client.RequestInfo
    Source Name : com.sap.engine.services.servlets_jsp.client.RequestInfo
    Thread : SAPEngine_Application_Thread[impl:3]_14
    Message : Processing an http request to servlet [dispatcher] finished with error. The error is: com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: No valid download parameter!
         at com.sap.tc.webdynpro.serverimpl.core.url.WebDynproExchangeHandler.doExchange(WebDynproExchangeHandler.java:236)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doExchangeProcessing(DispatcherServlet.java:164)
    Datasource : 1246150:E:\usr\sap\NWD\DVEBMGS00\j2ee\cluster\server0\log\defaultTrace.trc
    Application : sap.com/tcwddispwda
    Argument Objs :
    Arguments :
    Dsr Component :
    Dsr Transaction : 986fe581b69611d99211001185bbe530
    Dsr User :
    Indent : 0
    Level : 0
    Message Code :
    Message Type : 0
    Relatives :
    Resource Bundlename :
    Session : 454
    Source : com.sap.engine.services.servlets_jsp.client.RequestInfo
    ThreadObject : SAPEngine_Application_Thread[impl:3]_14
    Transaction :
    User : J2EE_ADMIN
    Is there any solution for this?
    I am using reader 6.0.2 , ACF is also installed on my m/c.

  • 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

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

  • Submit to SAP Button in Adobe Forms

    Hi,
    I have an adobe form and i have embedded it in to a Web-dynpro view.Now i have placed a "submit to sap " button on this form so that when the user clicks on this i save the contents of this form as an attachment.
    My Issue is that the control does not come back to my web-dynpro event handler after this button has been pressed.I have tried re-installing the ACF also but of no use.
    Regards
    Santosh

    Hi Santosh ,
    I do face the same problem. Did you solve your issue?. If so, please suggest me how to do it
    Thanks & regards
    Bala

  • Problem with "Submit to SAP" button in Adobe Form

    Hello All,
    I have a problem with my Adobe form. The "Submit to SAP" button for some reason does not seems to work in the newer forms. Whenever I click on the button, no action is being triggered. However, when I load older version of the same form, the button will respond.
    Has anyone come across similar situation before ? Any suggestions/feedback will be greatly appreciated. Thank you.
    fromKwok Wei

    Hi Bhavik,
      I created different version of the forms (Eg: added new logo, additional table rows etc...) by using the save a copy function in adobe designer. Seems that the original one works but the later ones will no longer respond to the button.
      The submit action is also correctly specified in the property of the UI Element. Otherwise it will not work on any forms... is my understanding correct ?
    Thnaks
    from
    Kwok Wei

  • Web dynpro with adobe interactive forms and button submit

    Hi,
    I'am new with webdynpro and adobe interactive forms so i just trying some example with an adobe interactive form with a submit button event handler inside the webdynpro. But i can't catch the event handler submit that i creaate on onSubmit property of the interactive form.
    Can anyone help please.
    Thank you very much.

    I think I understand but just to make it clear. I use texts created using function module "SAVE_TEXT". In my Web Dynpro I  select one or more of them and use the button "insert text" (with appropriate functionality behind it) to insert them to specified location in my PDF form opened in this Web Dynpro. Considering what you said it is not possible to replace this "insert text" button by drag and drop functionality. Am I correct?
    Btw great job with the book "Next Generation ABAP Development" Thomas!

  • Submit to SAP button missing in adobe

    Hi Experts,
      I am facing a problem while trying to design an interactive form.
      I am not able to find the "Submit to SAP" button and "webdynpro" tab in Libraries.
    plz help me to solve this.
    John

    Hi John,
    Did you install the Designer provided on the SAP Service Marketplace? Usually, people using a Designer delivered by Adobe (e.g. as part of Adobe Acrobat Standard) face the issue you just described.
    Regards,
    Juergen

Maybe you are looking for

  • Mobile Accounts: Sync new accounts first time only.

    When a user logs into a computer for the first time it is set to create a mobile account, however we don't use home directory syncing because the typical size of our 200 users' home directories is over 100Gb which makes syncing home directories not v

  • Web Gallery constantly duplicating photos...

    I've made a fully open web gallery and have had 1 person so far contribute photos to the gallery. This person has sent 1 e-mail to the web gallery mail and the photos were published imediately. Around 60 photos in total.So far so good. This morning I

  • Cannot Duplicate a CD

    Hi Folks, I'm trying to duplicate a (audio) CD using the Disk Utility. I put the source CD into the optical drive and followed these instructions: 1. Insert the CD or DVD disc in your computer's optical drive and select it in the list of disks and vo

  • Problem with my iPod classic 160gb - making funny noises, and no download

    Hi, At the same point every time i try to put music on my ipod classic 160gb, it begins to make a funny noise, and itunes and the ipod freezes. I have to disconnect it unproperly, and the message "The ipod disk could not be read from or written to",

  • Why iTunes u crashes and don't download courses (iphone4,Israel)?

    Tried it all! Redownload the app, variety of courses, through wi if & 3GS ! Nothing seem to do!! Everytime it gives me the supplemental notification and crashes! Please help!