"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
Similar Messages
-
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 2Hi 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 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,
NonikHi 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. -
SAP adobe interactive form does not open via LE 2.5
I try to open interactive form (created from SAP) via Nokia E71 and LE 2.5 but it says that i need newer version of reader??! What is newer versio and where i could find it?
Thanks
SAP manwaw what it is ??? :)
-
Good day,
We are currently going through an upgrade to EHP6. We have set up a test parallel environment that was copied from prod and applied EHP6 for a compare.
During our initial tests, we have found that Adobe interactive forms are not loading properly following the upgrade. 11 out of the 13 interactive forms currently implemented in the portal are no longer editable. When you go to select a value from the drop-downs or input a value in the field the fields remain blank. This is a high priority as all users perform their PA actions via MSS and through workflow approvals using Abode interactive forms.
Does anyone have any ideas of how to fix this issue or have come across this issue before?
Thanks in advance,
ChristineHi Christine,
maybe a restart of the ADS-Server helps you out. I can remember a similar case where the restart helped.
IF not, check if you got the latest patch of the ADS, maybe the upgrade of the erp causes this error, because it pass now more data to the ads than before.
IT's just a suggest. Let us know, if that helped you out.
Regards
Florian -
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 -
Adobe Interactive Form is not working - Specify Stream Source
Hi Experts:
I am having an issue, where the system I am on is SAP ERP Central Component 5.0 (ECC5.0). There is no Layout Tab to define ZCI or xACF in transaction SFP. I'm not sure if this is relevant, except that, I cannot get my custom Interactive form to work.
All PDF tests in SAP are passing, but being on ECC5.0, I do not have the following programs (among many others):
FP_CHECK_DESTINATION_SERVICE
FP_CHECK_HTTP_DATA_TRANSFER
When I call my Adobe Interactive Form and set sfpdocparams-fillable = 'X' I get an error:
Error creating PDF Document -PDF Exception: Stream does not represent a PDF document.
I have applied the Usage Rights credential properly and my form displays read-only when sfpdocparams-fillable = BLANK. While in transaction SFP, I can see that my interactivity works when displaying the form through the Preview PDF tab.
Also, I know that my credential works because when I test form ISR_FORM_SPEG, I do have interactivity.
In parsing through the ADS log file of my custom AIF, I noticed the following:
Parse template node
Template:
Source = Stream
Name = TEMPLATE
But I believe it should be something like:
Parse template node
Template:
Source = URL
Name = dest:FP_ICF_DATA_<My_System_ID>//sap/bc/fp/form/layout/<My_Form_Name>.
Does anyone have any suggestions as to how I can change the source of my stream?
Thanks for your time experts,
SeanHi Sean
In the Visual Admin of the server that runs the ADS check under server->services->destinations click on http folder. There should be something under that called FP_ICF_DATA_<sid of backend>. If there is not then create one in there.
Regards
Thashin
Edited by: Thoshin Naicker on Jan 12, 2009 7:09 AM
Edited by: Thoshin Naicker on Jan 12, 2009 7:10 AM -
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
SagarOk, 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 -
Adobe interactive form: Fields not fillable
Hi,
I followed this fantastic e-learning session on [Send, Receive, and Process Interactive Forms via Email in SAP Application Server - ABAP (Session 4A)|http://www.sdn.sap.com/irj/scn/elearn?rid=/library/uuid/5087262b-59ef-2910-abb1-957000b7c3d4].
I created a form and successfully sent it to my non-sap mail box. I opened the pdf attachment in acrobat reader and found input fields and a sendmail button as designed. But I could not use the input fields and the send button does not work.
Do I need additional software or maybe anything is wrong with my form?
Regards,
ClemensBonjour Bertrand,
my relevant code is
ls_sfpoutputparams-getpdf = 'X'.
CALL FUNCTION 'FP_JOB_OPEN'
CHANGING
ie_outputparams = ls_sfpoutputparams
EXCEPTIONS
cancel = 1
usage_error = 2
system_error = 3
internal_error = 4
OTHERS = 5.
IF sy-subrc <> 0.
ASSERT 1 = 2.
ENDIF.
* create pdf
DATA:
fp_docparams TYPE sfpdocparams,
fp_result TYPE fpformoutput,
lv_pdf TYPE xstring.
fp_docparams-fillable = abap_true.
fp_docparams-langu = sy-langu.
CALL FUNCTION lv_funcname
EXPORTING
/1bcdbw/docparams = fp_docparams
co_head = ls_co_head
IMPORTING
/1bcdwb/formoutput = fp_result
EXCEPTIONS
OTHERS = 1.
IF sy-subrc <> 0.
ASSERT 1 = 2.
ENDIF.
lv_pdf = fp_result-pdf.
* Close spool job.
CALL FUNCTION 'FP_JOB_CLOSE'
EXCEPTIONS
usage_error = 1
system_error = 2
internal_error = 3
OTHERS = 4.
IF sy-subrc <> 0.
ASSERT 1 = 2.
ENDIF.
I could not find anything to control if my form is generated "interactive", I just create in SFP and actiavte it.
I do not understand fully, what 'FP_JOB_OPEN' and 'FP_JOB_CLOSE' is good for - without 'FP_JOB_CLOSE' it runs as well.
Regards,
Clemens -
Submit button in Cap 7 quiz does not advance learner to next quiz slide
I created a 5 question MC quiz in Cap 7. When I take the quiz in the preview mode, I am able to advance to the next slide by clicking on the submit button. Well, when I click on the submit button, a pop up appears that says: Correct - click anywhere or press 'y' to continue. Once I click anywhere, *then* I am taken to the next question.
However, when I take the quiz in a web browser, I cannot advance to the next slide, even when I answer the question correctly. I click the submit button. The same pop up appears as in the preview mode: Correct - click anywhere or press 'y' to continue. So, I click anywhere but nothing happens. The slide does not advance.
I've created a few quizzes before in Cap 7 using the same settings so I was stumped when the quiz didn't work this time. Maybe I accidentally changed a setting??The jump to slide works great. Yes, the user goes right back to the quiz after remediation. The user can then change her answer and click submit. However, she can not advance forward. Sigh.
I am a freelancer who inherited the template from the former freelancer. I was told to use her template to create the trainings. So I am. I was supposed to use all the settings she used, too. That's why the Required is set to: User must answer every question'
I can try your idea and the Requirements in the settings.
What's odd, though, is that I've developed a Quiz using these same exact settings and it worked perfectly. That's why it's odd that the Quiz is no longer working correctly.
Okay, let me try to change the Required settings.
By the way, the submit button works fine in the Preview mode, just not the Web Browser mode. -
Adobe Interactive Form are not Interactive
Hi Gurus,
I'm trying to follow this guide https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/7089e001-fcd3-2b10-b08d-f36d78326c6e?overridelayout=true.
All works fine, but the interactive Forms that send by email are not interactive.
I'm in CRM 7.10. I have already check all the ADS connection and they are correct.
Thaks
Reguards
Nicola BisinellaHi Gurus,
I have solved my problem with a few of DD (Debug Day )
This is my modify of standard code.
CLASS: CL_CRM_WFD_ASSIGNMENT_FOLLOWUP
METHOD: GET_ATTACHMENT
ORIGINAL CODE:
cl_crm_oi_ads=>call_ads(
EXPORTING
iv_xml_string = lv_ws_data
iv_xdp_string = lv_template_data
iv_returntype = lv_doc_type "cl_crm_oi_ads=>gc_doc_type_pdf
IMPORTING
ev_result_document = lv_pdf_xstring
NEW CODE
cl_crm_oi_ads=>call_ads(
EXPORTING
iv_xml_string = lv_ws_data
iv_xdp_string = lv_template_data
*{ INSERT CRDK900138 1
* Modify for correct Interactive Form
iv_fillable = 'X'
*} INSERT
iv_returntype = lv_doc_type "cl_crm_oi_ads=>gc_doc_type_pdf
IMPORTING
ev_result_document = lv_pdf_xstring -
Guided Procedures - Adobe Interactive Form : Subform not working
Hello All,
I am trying to develop a GP Process. This has a Callable Object ( User Interface-> Webdynpro Component GP Interface).
The Callable Object has an Interactive Adobe form with "Subform" functionalities. When clicked on a button, it should call a Subform within the Adobe form. At present Adobe form is displayed but, on click of the button doesnot display the subform.
When testing the adobe independently, the subform opens.
Please let me know if I need to consider anyother parameters. I have now chosen, Default Language as Form Calc.
Your inputs will be very helpful.
Thank you.
Best Regards,
Suyukti B NHi Satya,
Thanks for your reply.
I got my mistake with the help of my colleague.
I had missed to add the below code in wdDoModifyView. It now works well :
Code I added is this -
IWDInteractiveForm iForm1 = (IWDInteractiveForm) view.getElement("InteractiveForm");
iForm1.setDynamicPDF(true);
Thanks,
Best Regards,
Suyukti B N -
'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 -
Webservice giving error "couldn't post data to " in adobe interactive form
Hi Gurus
My requirment in to place a submit button in adobe interactive form , when the user clicks on it the data in the form has to update the table. For this purpose i have configured webservice in my crm 2007 server. Now webservice is working and i m getting the response. but when i create a data connection in the adobe form and when i execute the webservice i getting " Couldn't post data to ". "
error . Plz help me out to resolve this issue
Thanks in advance
Regards
JohnyHi Jhonny,
Make the Submit button a regular one instead of execute and place the following code in the click event(JavaScript).
var cURL = "Provide the Soap Address url which is present in WSDL";
var service = SOAP.connect(cURL);
xfa.connectionSet.DataConnection.execute(0);
Regards,
Mathan
Maybe you are looking for
-
How can I make an invalid dynamic disk Array available to the OS again
Hello Storage Pros The setup I have a Promise VTrak E610f head unit with 2 VTrak 610j expansion units attached to it together giving me over 27 TB of usable storage space. At the hardware level I slip the storage into 6 parts containing 7 1TB disks
-
Time machine disk grayed out in Disk Utility - back up not working
The disk does not show in Time Machine. In Disk Utility it shows but is grayed out. Tried to repair disk. Got message that disk cannot be repaired. Tells me to back up and erase the disk. Not sure how to back it up if it is not being recognized
-
I need help. Very bad service with subscriptions
I have the worst service. Nobody helps me. I need to update my card to renew my subscription. I lost my membership 29.99 deal because I could not pay. Each time I do the process in the bank charges one dollar (allready 14 dollars), not a lot, but not
-
Since I installed the new version of Nokia PC Suite, Firefox 3 keeps asking if I want to set it as the default browser, no matter how many times I press Yes. Please help.
-
Reservation & Availablity check
Hi , To produce a material A , component B is needed . Material A is required for export customer and Domestic customer as well but the export order is very high importance due to that if the material A stock is available in stores then it should res