on 02-18-2010 3:32 PM
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,
I m facing the same problem.
This is my system settings:
SAP_BASIS 700 0014 SAPKB70014 SAP Basis Component
ADS Version Information: 800.20070708051308.406522
This is the version in my ZCI form XML script:
// DO NOT MODIFY THE CODE BEYOND THIS POINT - 820.20090409114549.542109.546052 - ContainerFoundation_JS
What should I do?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ABAP user80,
Upgrade to the newest available SAP NetWeaver SP (ABAP + JAVA stack!) and downgrade the ZCI script in your form (it's from a NW7.20 release!?). Downgrade: I'm not quite sure if SFP_ZCI_UPDATE checks the version of the ZCI script when replacing it. So, if the ZCI script isn't replaced by the correct one, delete it from the form and run SFP_ZCI_UPDATE again.
Ralf
Hi,
Submit button in Adobe form is not working. I am unable to insert the Webdynpro script in the Adobe. It is showing an error as 'ERROR WHEN INSERTING WEBDYNPRO SCRIPT' in the layout of the form from Utilities-->insert the Webdynpro script. I have checked various blogs but wasn't able to find the right solution for it. I have got the 8.0 version of ALD on a netweaver version of 7.0 SP 15. My SAP GUI version is 7.2. I have checked the note
My ADS version is 802.20090911061436.597944 and my ZCI version is 802.20090911061436.597944
I am using Citrix to login into my client system. Kindly help me with this. Facing this issue from a very long time.
Thanks and regards,
Manideep Settipalli
Hi,
I am also facing similar issue with previous button on the form.
We have the below versions:
Adobe livecycle 7.1
Adobe reader 8.1(Tried with 7.1 as well)
SAP: For SAP ERP 6.0 / NW7.01( NoEHP installed)
ADS: 8.0 (800.20080828122620.490112)
IE 8.0 (Tried with IE 6.0 as well)
SAP Web AS 6.40 Java – NW701 SP6
SAP Web AS 6.40 ABAP – NW700 SP15
SAP HR - SAPKGPHD29
Thanks,
Priya
Oops
Disregard that last post. I see it is a transaction
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Liz
We are running SAP Netweaver 7.0 SP15. Program SFP_ZCI_UPDATE does not exist on our system???
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Guys
I am having the same problem in WD4A with an ADOBE form. I've looked at WDR_TEST_ADOBE and the input data (integer) is comming back so I assume ADS is correctly installed. It must have something to do with my interaactive form. Is there some script I must put behind the submit button to get it working? Please help, it seems there are many people out there experiencing the same problem. This is very frustrating.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Pam,
I am also facing the same issue. Did you get the answer? If so could you please let me know how you have resolved it.
I am usingm the following versions:
Adobe livecycle 7.1
Adobe reader 8.1(Tried with 7.1 as well)
SAP: EHP4 FOR SAP ERP 6.0 / NW7.01
ADS: 8.0 (800.20080828122620.490112)
IE 8.0 (Tried with IE 6.0 as well)
Interactive form properties:
DiplayType: Native
Enabled: True
Form layout:ZCI
Interface: XML
Submit button used from Web Dynpro Native
I am able to poulate the data on the form and also able to update the same.
Actions taken:
Removed and installed ACF again.
Refresh the WebDynpro script (ZCI Script)
Any help will be appreciated.
Ramesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have been having the same problem. I gave up and I am using the button I defined on the view. I had it fire another event onPush(). The context is being updated with the populated data from the form which allows be to validate it as necessary. Using buttons on the view also gives you the flexibility to define multiple buttons. I will watch this thread to see if another solution is found, but in the meantime I will carry on using the button on the view.
Good Luck
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That's exactly what I have:
-
ALL.#subform[0].submitToSAP1::click: - (JavaScript, client) -
// DO NOT MODIFY THE CODE BEYOND THIS POINT - 800.20070410093956.383622.376748 - SubmitToSAP.xfo
ContainerFoundation_JS.SendMessageToContainer(event.target, "submit", "", "", "", "");
// END OF DO NOT MODIFY
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Well I checked the PDF in Designer and the bindings looks okay to me. You might want to place a messagebox in the click event as well print a message in your onSubmit event.
xfa.host.messageBox("Button clicked");
// DO NOT MODIFY THE CODE BEYOND THIS POINT - 800.20070410093956.383622.376748 - SubmitToSAP.xfo
ContainerFoundation_JS.SendMessageToContainer(event.target, "submit", "", "", "", "");
// END OF DO NOT MODIFY
May be you can also share the onSubmit code here. Also I am assuming you have set the DataSource and pdfSource properties for the InteractiveFormUI element.
Chintan
Chintan. I added the MsgBox on the onSubmit button and it tested fine. Before I press the button I am able to edit the form. When I press the button the MsgBox message gets displayed, and then the form becomes read-only. Unfortunately, the data does not get transferred back into the ABAP screen.
When the Submit button is pressed what do you want to do?
In general when you press the Submit button from Adobe, control comes to onSubmit event in WD where you put your code to update the ECC through BAPI or do some validation etc.
I am not aware about ABAP but in WD JAVA a sample onSubmit would look as follows:-
1. In InteractiveFormUI element there will two events onCheck and onSubmit. For onSubmit create a new Action say SubmitData.
2. Now when you check the code it will be displayed as follows:-
public void onActionSubmitData(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
{
//@@begin onActionSubmitData(ServerEvent)
//@@end
}
3. Here you can add your code say for eg I have added as below:-
public void onActionSubmitData(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
{
//@@begin onActionSubmitData(ServerEvent)
String strFname = wdContext.currentContextElement().getFName();
wdComponentAPI.getMessageManager().reportSuccess("Hello "+strFname);
//@@end
}
4. Result expected. Whatever FName user has entered in the form it should display a success message with his fname.
I have an OnSubmit event set up on the Adobe Form object in WD. I have the same event called from a testing button that I defined. WHen I press the testing button, the event method gets executed. WHen I press the Submit button from the Adobe form, it does not get executed at all. I even put a debug breakpoint on the first line. It gets triggered from the ABAP button, but not from the Adobe Form submit button.
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
Hi Pam Laverty,
I am also facing similar problem.
The control is not returning back to the abap webdynpro once clicking on the submit button in the form.
Did your issue get resolved?? If yes can you help with the solution ??
May be i am missing a critical piece which is not getting the control back to the web dynpro.
I had also put the break-ponint in the first line of the event handler method.
Regards,
Sriram lal.
Hi all,
This seems to be a problem that pops up frequently!
Unfortunately, nobody provides enough information to find out the reason of the problem: Please post
-> The SAP NetWeaver release information (System -> Status -> click on the icon with the magnifying glass: The "Release" and" Level" information of "Software Component" SAP_BASIS is the needed information)
-> The version of the Adobe Document Services (ADS) (transaction SE38 -> report "FP_PDF_TEST_00" -> F8 -> F8: Post the version information displayed in the popup
-> The version of the ZCI script (transaction SFP -> enter the name of your form -> [Display] -> Tab "Layout" -> Tab "Hierarchie" on the left side of LiveCycle Designer-> there's a tree: select "ContainerFoundation_JS" -> the ZCI script will be displayed in the script area: The version information is in the second line starting with "// DO NOT MODIFY THE CODE BEYOND THIS POINT"
-> Steps done before the problem appeared (something like: "... upgraded from 700SP18 to 701SP3...", "...applied SAP notes ... to the system...")
Ralf
Hi Ralf,
I've the same problem with Submit button.
Here is the version information.
Versions:
ADS Version - Version Information: 800.20080218110307.448744
SAP_BASIS 700 0018 SAPKB70018 SAP Basis Component
*ZCI Script Version - 800.20080227092304.450572.448744
// DO NOT MODIFY THE CODE BEYOND THIS POINT - 800.20080227092304.450572.448744 - ContainerFoundation_JS
Could the ZCI script version a Problem?
I have an older version of ZCI script on a diff box (ADS version is higher) but the Adobe form submit is working on it.
Where can I get the latest ZCI script.
Thank you,
Vasu
I'm not sure what you're asking for, but this is what I have.
I have the Context set up in the View with the 2 fields defined as STRING. I'm binding through the DataSource Property of the InteractiveForm object. The 2 fields get transferred correctly into the Adobe form because I can see the values on the Adobe Form and the ABAP View.
When I click on the Submit button, the only thing that happens is that the Submit button gets disabled (I can't click it again). If I right-click outside the Adobe window it locks the mouse and keyboard.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In your form, click on your Submit button and check the script editor to see what code is defined in the "Click" event.
You need to have something like this:
// DO NOT MODIFY THE CODE BEYOND THIS POINT - 800.20080925121058.495967.459668 - SubmitToSAP.xfo
ContainerFoundation_JS.SendMessageToContainer(event.target, "submit", "", "", "", "");
// END OF DO NOT MODIFY
Yes Chintan. Adobe Credentials are successfully installed. readOnly is set to FALSE and Enabled is set to TRUE
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Otto. Now I understand. Yes, I do have an OnSubmit Action specifed in the OnSubmit event. I only have "dummy" code in that Action, however. I tried to debug that "dummy" line of code and when I press the Submit button on the Adobe Form, it never makes it to that Action.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Go to the screen in SE80 where you´ve put the interactive form on your WD screen. There are properties, like the form name etc. Hope you can recognize what properties I mean. And in this table (of properties) like second from bottom there is attribute where you have to write in the name of your onSubmit method. This way you tell the WD what handler (method) he is supposed to call when the form Submit button is pressed.
Otto
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Insert the ZCI script, if it is already present, refresh it. Maybe you can update the ZCI script at all?
Are you sure you have used the right submit button?
Did you maintain the onSubmit setting in interactive form element in WD designer?
I inserted the ZCI script and refreshed it by inserting it again. I used the Submit button from WebDynproNative. I'm not sure what you mean by "Did you maintain the onSubmit setting in interactive form element in WD designer".
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Insert the ZCI script, if it is already present, refresh it. Maybe you can update the ZCI script at all?
Are you sure you have used the right submit button?
Did you maintain the onSubmit setting in interactive form element in WD designer?
Otto
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes. I bound the Context to data elements on the Adobe Form. They are getting displayed correctly, and I'm able to update them. I was not aware that I had to add code to the OnSubmit Action because the documentation (and video that I watched) did not say it was necessary. Do you have any examples of code that I could look at?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Have you binded the WD context with the field on Adobe Form? Check the bindings inside ALD.
Also you need to write the code in onSubmit action handler.
Chintan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.