Executing a WebService in Online Adobe Form
Hi All,
I am facing an issue while executing the webservice from an application developed inWDJava, that contains an Adobe Form. This Adobe Form is required to execute webservice, and this form has 2 input fields say First Name & last name. When i fill in the first name and last name fields in the application itself and attempt to execute the webservice, i don't get my response fields back.
But in case i download my form from that WDJava online application, and then try to execute the service, i get back the results.
*I am using Adobe Designer: 8.0
Adobe Reader: 9.0*
Any pointers to this..??
Any ideas would be helpful.
Thanks,
Amita
Edited by: amita arora on Mar 26, 2009 8:41 AM
Call the webservice, and use the call to fill up a variable. It will then drop the return value, be it a structure or whatever into your local variable. Like this :
var response = SOAP.request ({
cURL: url,
oRequest: request,
cAction: "http://adobe.com/ES/GetMaterials",
oAuthenticate: authentication });
Similar Messages
-
Strange error in online Adobe form for the date field
Hi Experts,
I am facing strange problem with online Adobe forms. I could able to save data when i click save button on the form.
But some times in the form the date field is throwing error message 'MMDDYYYY field is invalid' when i click on save button.
Is this the problem with versions of Adobe liveCycle designer, Adobe reader or GUI?
Thanks in advance,
RamHi
Check the format (in the object pallete) of the date field in Adobe liveCycle Designer, If it is not set already set it according to your requirement. then see if it works
Hope this helps
Regards
Amita -
Search Help Online Adobe form WDABAP
Hi,
How to get F4 help in online adobe form? If the values are maintined in the domain then in the form Im able to see all the values by using Enumarated drop down. But if for the particular filed any Value Table is assigned , then how to get those values in F4 of Adobe form? It can be done by binding to UI elemtn or Do I need to do any coding for getting this?
Actually I have gone through few links in SDN but Im not clear. Im not working on ISR. It is a normal BAPI and adobe form is designed based on that form , ZCL type.
Appreciate your help
Regards,
RaviIts solved Thank you
Regards,
Ravi.D -
Online Adobe forms in Guided Procedures
Calling SAP GP experts,
Has anyone been able to successfully implement online Adobe forms in a Guided procedures. If yes, can you share tricks involved..
The objective is to throw open an online Adobe form to the user to fill in.. The Adobe form will have pre-filled data (from previous Actions in the GP) and there will be the Approval process step after the form is filled...
Cheers
NiteshDear Alan,
Yes i have generated the form's submit URL... It works fine when the pdf is saved in the users desktop and upon clicking the submit button it kicks of a Process with a Visual Approval callable object..
However my requirement is that the Adobe form be submitted online during GP runtime.. The process is initiated by the User in the portal (not offline) who wants to put in a request. When the user initiates a process an Adobe form is opened to him in which he fills in his request. This request is then <b>forwarded for Approval</b>.. After Approval a digital signature need to be attached to the document and further on it needs to be sent out to other User Groups.. In case the request is <b>rejected</b> then the control goes back to the requestor who can either modify his request and send it again for approval or simply delete the request.. Throughout the whole process Print of the request can be taken at any time. Considering the requirements of Print & Digital signature i think using Adobe would be the way to go.. What do you think about implementing such a requirement in GP with Adobe UIs? Is it the right way of going about it?
Quite an interesting nut to crack.. Ain't it ??
Cheers
Nitesh -
Hello All,
I have developed an Adobe Form integrated within a Webdynrpo (for ABAP) View. This form can be launched from the portal.
Now I have been given a requirment that the form needs to be routed to 2-3 persons for approval and then submitted (or processed in SAP). The approving personnel will look at their UWL on the portal and approve/dissapprove.
I do not have much hands on experience on the Online Adobe forms with workflow scenario as above. I am looking at solutions such as ISR or Guided procedures. Guided procedure seems to be working only with WDN Java not ABAP. Please correct me if I am wrong.
I will really appreciate it if anyone can advise as to how I need to proceed here.
Thanks in advance, LizHello,
I have no experience with GP (and don´t know anybody who has, if you would choose the technology and be able to create a thing using it, I would really appreciate if you could share your sources and describe the solution fur us here). And I think that is for WD Java (or designed from NWDI, or something like that).
For a start with GP I have found this:
I have no experience with ISR either. But (correct me if I am wrong) I think that is a little old framework, which is now replaced (i hope it is) by HCM PF. I would love to learn that, but have never found neither time nor a colleague to start.
I remember I have found some useful things about HCM PF here:
http://help.sap.com/saphelp_erp60/helpdata/EN/42/f273461e5132c3e10000000a1553f6/frameset.htm
(there is the tutorial, last in the left menu)
Hope that helps, Otto -
How can i create validation Checks in Online Adobe Form
Hi Gurus
i am trying to create Online Adobe form.how can i do the validation checks while the user enter the values in Adobe form (For Ex: lets take personnel Number if the end user enter the personnel number it must go and check the Data base table , if its right personnel number then processes next value or if its not right personnel number then it must show the error message). please help me.
Thanks in Advance
Edited by: Reddy on Nov 24, 2011 10:08 AMHI Reddy,
I think you can use either 'Submit' button or web service for the validation. When we use the web service then it will work in offline mode also(user has to be on intranet - either via remote connectivity using VPN or office network) .
if you are going for 'Submit' and If you want to validate the number when the user enter value, then write the code in 'Exit' event .
Write the below code in the event.
ContainerFoundation_JS.SendMessageToContainer(event.target, "submit", "", "", "", "");
This code will trigger the submit event in the web Dynpro component.
Hope this will helps you.
Regards
Shaira. -
Table fields Validation in online adobe form WDABAP
Hi,
I have a table in Online Adobe form, and one of the field in the table is Check Box, if the check box is selected the next field(with in the same table) should be left blank else it should issue some error like leave blank.
Can some one tell me how to to do this using javascript?
RaviRavi,
For eg:- Lets assume you have a table name Table1 with 2 rows (Row1 and Row2) & 3 columns.
Row 1 has three cells --> Cell1 (which contains check box), Cell2(InputField which needs to be kep blank), Cell3( Assume its a numeric field)
Similarly Row 2 has three cells --> Cell1 (which contains check box), Cell2(InputField which needs to be kep blank), Cell3( Assume its a numeric field)
So the hierarchy will be
Table1
|--- Row1
|-----CheckBox1
|-----Cell2
|-----Cell3
|--- Row2
|-----CheckBox2
|-----Cell2
|-----Cell3
Now write following code in JavaScript in the change event of CheckBox1.
var currVal = Table1.Row1.CheckBox1.rawValue;
//xfa.host.messageBox("Current Val is : "+currVal);
if(currVal == 1) // Means checkbox is selected
xfa.host.messageBox("Please Leave Next Field blank");
Table1.Row1.Cell2.access = "readOnly";
else
Table1.Row1.Cell2.access = "open";
Similarly, you need to write code for CheckBox2 of Row2.
Chintan -
Search Help in online adobe form WDABAP
Hi,
How to get F4 help in online adobe form? If the values are maintined in the domain then in the form Im able to see all the values by using Enumarated drop down. But if for the particular filed any Value Table is assigned , then how to get those values in F4 of Adobe form? It can be done by binding to UI elemtn or Do I need to do any coding for getting this?
Actually I have gone through few links in SDN but Im not clear. Im not working on ISR. It is a normal BAPI and adobe form is designed based on that BAPI and form is ZCL type.
Appreciate your help
Regards,
RaviHi,
please see the link below
link: F4 Value Help on Adobe Interactive Form with Web Dynpro ABAP
link:F4 help in Interactive forms with Webdynpro abap
link:F4 Value help on adobe form doesn't work
link:Search Help from SAP values using WebDynpro ABAP in ADOBE Interactive Form
regards
Pranav -
Can i attach attachment to Online Adobe Form
Dear all,
is it possible that i attach files ( eg, excel document, word document, image etc ) to a online adobe form and later store the attachment to a server? Please give me a brieft idea if this can be done. thank you
Regards,
JoanHi,
the attachments are part of the PDF. The ADS can extract and return them. It is up to you what to do with the attachments received from ADS:
- Store in DMS
- Do something other
Take care,
Thomas -
Consuming a Webservice & 'bapi_transaction_commit' in adobe form
Hi All,
I am working on a scenario wherein i am consuming a webservice in an offline adobe form.
This webservice is a function module exposed as webservice.
Now if i attempt to use following statement in my Function Module:
call function 'bapi_transaction_commit'.
This webservice stops returning me the response from Function Modules, Any clues on this front??
Any inputs would be of great help!!
Thanks,
AmitaHello Amita,
SAP recommends using BAPI_Transaction_Commit and not using Commit Work in the BAPI to control transation in a "client" system.
but its up to you to decide how you want to do it.
Kirill -
"Error attempting to read file" at Webservice call from Adobe Form.
Hi Experts,
We have designed a Webservice form a Function Module in ECC 6.0, In the soamanager transaction the webservice works fine. But at the time of call from the Adobe form, it gives an error stating that "Error attempting to read from file" and then the URL of the Webservice to be excuted.
and if i attempt to open that file, it gives me this error:
- <soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/">
<soap-env:Header />
- <soap-env:Body>
- <soap-env:Fault>
<faultcode>soap-env:Server</faultcode>
<faultstring xml:lang="en">SRT: Wrong Content-Type and empty HTTP-Body received</faultstring>
- <detail>
- <ns:SystemFault xmlns:ns="http://www.sap.com/webas/710/soap/runtime/abap/fault/system/">
<Host>undefined</Host>
<Component>COREMSG</Component>
- <ChainedException>
<Exception_Name>CX_SOAP_CORE</Exception_Name>
<Exception_Text>SRT: Wrong Content-Type and empty HTTP-Body received</Exception_Text>
</ChainedException>
</ns:SystemFault>
</detail>
</soap-env:Fault>
</soap-env:Body>
</soap-env:Envelope>
In case I give my user the "SAP_ALL" role, this all works fine, so i think it is somewhere related to a missing role to be assigned.
any clues..??
any help would be appreciated, Please help..
Thanks,
AmitaHi Juergen,
I am using it as a WSDL based data connection.
How do i check this WSDL through a web browser? I have checked it through SICF Transaction code, It gives the output in explorer as given in the first post of this thread..
Please help me resolving this issue, i feel that this issue is somewhere related to the role assignment of the user as if i provide this user an authorization of SAP_ALL then everything starts working fine, but after removing SAP_ALL this error is encountered, do u hav any pin points on this??
Thanks
Amita -
Webservice from static adobe form
Hi,
My requirement is to call the web service when users opens the static adobe form. can this be possible and how?
Thanks in advance.
PoojaHave you enabled Show Console on errors and warnings in Adobe reader. You can find this property under
Edit -> Preferences -> JavaScript
Once you have enabled the above mentioned checkbox, it will show you error.
We have integrated WS with Adobe forms and these forms are opened using Adobe reader.
So that is not the case. It should work with both.
You said, you created the Adobe form using LiveCycle designer and integrated the WS in it. I think it is the issue, you have to design the form using SFP and activate. Try this, it may work.
Regards,
Amit
Edited by: wipro.com on Feb 10, 2012 7:46 PM -
WebService Calls in Adobe Forms Offline Scenario
Hi,
I think this topic was discussed, but I have a very specific question.
I need to create an interactive form to be used in an offline scenario but consuming a webservice from an ABAP backend on user request.
I understand you need to create and configure the web service on ABAP side using SOAMANAGER, and you need to create a data connection using the binding WSDL in the Forms Designer.
For security reasons I would like to have a basic authentication at least. According to several blog entries this should be possible.
Now the dilemma: it seems that in SOAMANAGER you can only create a web service with basic authentication using HTTPS.
BUT: Adobe Life Cycle Designer does not support HTTPS.
The only option to not use authentication at all is not an option for me.
So, does anybody have the same problem and a solution?
Is SOAMANAGER changed that way or did I just not find the right configuration possibilities?
If it is that restrictiveL since when? It was different in NW 7.0, SP 14. I am currently working with SP 18.
Please respond if you can provide any helpful insight.
MichaelI hope you are putting the code in the click event of a a custom Regular button and not using the one that can be drag-drop from the connectionset.
Try sap-username as parameter instead of sap-user in above code statement.
var cURL = "http://....?sap-client=<client no>&sap-username=<username>&sap-password=<password>" ; -
Webservices in Adobe form fails even when it works fine in Portals.
Hi All,
I am new to web services in adobe form, can somebody help me to understand the reason of failing web service call in my adobe form.
We are working on a simple adobe form with a simple webservice. the web service is in SAP CRM 7.0 and we are designing the form in Livecycle designer stand alone not through SFP tcode.
problem is when we execute the web service from adobe form nothing happens.
There is no script in the adobeform to check if the web serive is called. the technical team claims there is no hit happening to the service. but when we execute the same web service with in a simple web dynpro app in portal it does work.
earlier we had some similar forms with web service which used to work, now they are also not working from adobeform.
Are we missing something, when importing/data connection a webservice how do we make sure from the form that the connection and trigger are successful.
Please let me know if you need any more information.
Thanks & Regards
Sai Krishna.Hi All,
Just a small update on the query I posted.
I searched tru and found couple of posts in Adobe fourm which says
Adobe readers cannot execute web services, to do so we need to have Reader Extension on the Adobe reader.
Is this the problem for my form, if i just dont understand why such restrictions for developers at the design time itself..?
Regards,
Sai Krishna. -
Guided Procedures and online interactive adobe forms.
Hi Experts,
Scenario : User have to log into GP runtime, When he clicks the first action it should display the adobe form. He has to fill the details and submit the form. This form is routed for Approver 1 for review. The first approver will log into portal,view it (UWL),approve it and sent for second approver.The same process happens with the second approver.After both approvals, a BAPI updates the data in the interactive form in R/3
All the process have to be done in Guided Procedures, then integrated with Portal at the end.
We have tried creating an Wdynpro Java app with online adobe form and executed successfuly in NWDS and also in Webdynpro content administrator.
issue:-
When we create a callable object(webdynpro app(gp interface CO)) in GP and test, we were unable to view the form.
Now our question is : what are we mising ?
Is it possible to integrate online interactive adobe form with guided procedures?
Is our approach to solve the scenario right?
any links or tutorials will be greatly appreciated
TIA,Hi
See the following Link: [http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/8a696cea-0c01-0010-d494-9b0b8ce7565f&overridelayout=true]
Kind Regards
Mukesh
Maybe you are looking for
-
Loading multiple files with SQL Loader
Hello. I will appreciate your recommendation about the way to load multiple files (to multiple tables) using SQL Loader with only one Control file. file1 to load to Table1, file2 to load to Table2 etc. How the Control file should look like? I was loo
-
My ipod nano is not showing under the devices tab in iTunes however, is is recognized in My Computer (Devices and Printers) as "Unspecified" I just want to be able to sync and add/remove music!!!
-
Can I open an encrypted pdf file from Dropbox with my iPhone, iPad, or iPad Mini?
Mac OS 10.9.3 encrypts a pdf file using Acrobat XI, then sends it to Dropbox. Mobile device retrieves encrypted file from Dropbox. Then can mobile device user open (unencrypt) the pdf file?
-
Directory Browsing and Virtural Directories
Hello, And thank you in advance for any help anyone can give me. Environment Windows 2003 IIS 6.0 JRUN4 When I enter the site http://<subdomain>.web.domain.com/ext/gtr the site works perfectly it starts the index.jsp page and everything functions. Wh
-
How to create FI Document in Idoc.....
Hi Abapers, I hve small doubt that how to create FI Document in Idoc.....?????s I was new to the Idoc creation ....... can u give me step by step process.............. Thanks & Regard Ravi Sarma