Adobe Interactive Form as an Attachment
Hi we have requirement to make Adobe Interactive Form as an attachment in work item (workflow).
Does any body come across with this requirement? How we make Adobe Interactive Form as an attachment ?
Many thanks
Hi,
i have the same requirement. But im not able to solve this problem by the link, which is posted. I also used the search function, but no results.
I know how to send the Interactive Form via email, and it works nice, but how can i create an object out of the Interactive Form and pass it to a workflow container?
Im using FM SO_OBJECT_INSERT but there is something wrong with the conversion, everytime i try to open the attachment i get a error message that the file is broken.
Any suggestions how to solve it?
Kind Regards
Michael
Similar Messages
-
Adobe interactive form and workflow attachment
I use an ABAP webdynpro to trigger a WF. The WD is an interactive adobe form step for users to enter data. Then before triggering the WF, I would like to save the form as an PDF form so I can send it to the subsequent work item processors. Is this possible? If yes, what do I need to do to make this happen.
Thanks.Hi Raja,
If i understand well the only way to have Adboe forms in ABAP Wrokflow is to use ISR , that's right ?
Here's my scenario.
An User trigger with an abap program a Specific flow , then i send several mails with Adobe forms inside . Thoses forms are send back by mail and process by the abap system .
My problem is to make sure that all forms have been process and for this i had to develop a specific program in abap in order to check it.
So Is it possible to define a SAP Abap workflow where on each workitem i will add as attachment my pdf form . Then i can used standard Notification and Standard functionnality of reminding of ABAP Workflow.
Best regards.
Bertrand -
Trigger workflow from ABAP webdynpro and attach an Adobe interactive form
I have a need to create an ABAP Webdynpro that will upload a completed Adobe interactive form and then route the form to multiple approvers thru workflow. I am having trouble finding any documentation or examples of passing the Adobe form in the workflow. Do I have to save the content of every field on the form to an internal table and then have every workitem call an ABAP webdynpro to render the form? Any help or suggestions would be greatly appreciated.
Hi Joyce,
This can be done as follows :
[pdf as an attachment|https://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/60ff6ad3-729b-2b10-6582-fedc82680a29&overridelayout=true]
Regards,
Geet -
Attachment of files in an Adobe Interactive form
Hi,
Is it possible have 'File attachment' attach any type of file inside and Adobe Interactive form .. ?
Thanks
SivarajYes, you can attach all kind of filetypes to an AIF.
-
Using Adobe Interactive Form - Attach The Static PDF.
Dear Experts,
Is it possible to attach the static pdf along with dynamic pdf, which is been created at run time in using NW 7.0 adobe interactive form(Interactive Form UI Element)., If yes then kindly let me know how can be done ..
Any help will greatly appreciated.
Thanks
ABSolved my self, converted PDF into image and used that pdf as a static image in Adobe Interactive Form.
-
Adobe Interaction form as Attachment of Email
hi experts,
my requirement:
I have a report and an Adobe form.
my report will generate this form in each loop and mail it.
I am getting the PDF form object and passing it to the Email FM: SO_NEW_DOCUMENT_ATT_SEND_API1
the mail is getting send with the Attachment
but the Attachment is NOT OPENING from the Inbox.
Says " No pages to display".
Can anyone provide a code for attaching PDF Interactive form in a mail?
ags.[link to Adobe Interaction form as Attachment of Email|http://www.sdn.sap.com/irj/scn/abap-elearning]hi,
see the below link -
Calling webservice in Adobe interactive form
Hi,
I have a webservice created for a function module which in turn calls the BAPI_PR_CREATE (purchase requisition creation) BAPI. I am trying to call this webservice from an Adobe interactive form I've created. Basically the user will enter all necessary data inside the form and when he presses a button the webservice should be called and the purchase requisition should be created.
My question is what type of "Control type" should I use for the button "Regular", "Execute" or "Submit" and how should the javascript code look like?
I have tried a lot of solutions that I've found on the internet but nothing worked.
The ADS service is not yet installed, I know that this is a big issue but could this affect the functionality or could this be the cause why nothing seem to work?
Thank you and Best Regards,
MihaiHi Florian,
thank you for the given information.
Unfortunatelly I was waiting for a long time from the BASIS team to install the ADS. Yesterday they've told me it's finally done.
Consequently I started to retest the solutions I've found but with no result so far.
I've tried to make the button an "Execute" control type and added the Connection inside the Execute tab.
I've also tried with the following javascript inside the xml file (inside the click event of the button) and all of the button control types:
var tempsoapAddress = xfa.connectionSet.DataConnection.getElement("soapAddress").value;
var tempwsdladdress = xfa.connectionSet.DataConnection.getElement("wsdlAddress").value;
var ServerPath = body.systemConfig.system.rawValue;
var client = <Get Client from a data attribute>
var Soap_PreServerPort = "http://";
var Soap_PostServerPort = "/sap/bc/soap/rfc?sap-client=";
var SoapAddress = Soap_PreServerPort + ServerPath + Soap_PostServerPort + client ;
var Wsdl_PreServerPort = "http://";
var Wsdl_PostServerPort1 = "/sap/bc/soap/wsdl11?services=ZBAPI_PO_CREATE2&sap-client=";
var wsdlAddress = Wsdl_PreServerPort + ServerPath + Wsdl_PostServerPort1 + client ;
xfa.connectionSet.DataConnection.getElement("soapAddress").value = SoapAddress;
xfa.connectionSet.DataConnection.getElement("wsdlAddress").value = wsdlAddress;
xfa.connectionSet.DataConnection.execute(0);
xfa.connectionSet.DataConnection.getElement("soapAddress").value = tempsoapAddress;
xfa.connectionSet.DataConnection.getElement("wsdlAddress").value = tempwsdladdress;
xfa.connectionSet.DataConnection = null;
I've also found that maybe I should have attached the following roles and authorization objects to my user:
Authorization objects: S_USER_PRO, S_SERVICE and S_ICF_ADMIN, S_SRT_ADM
Roles:
a) SAP_BC_WEBSERVICE_ADMIN
b) SAP_BC_WEBSERVICE_ADMIN_BIZ
c) SAP_BC_WEBSERVICE_ADMIN_TEC
d) SAP_BC_WEBSERVICE_CONSUMER
e) SAP_BC_WEBSERVICE_DEBUGGER
f) SAP_BC_WEBSERVICE_OBSERVER
g) SAP_BC_WEBSERVICE_SERVICE_USER
Do you have ideea what could be the issue? Can you give me another solution?
Thank you and Best Regards,
Mihai -
E-mail adobe interactive form without showing it..
Hi experts!
I am trying to create a WD apllication in which when the user presses a button an adobe interactive form will be called and e-mail, without showing the actual form.
From what i saw in the corresponding tutorial, in order to attach the file to the e-mail, the file must first exist in pdf format.
But, during runtime all i have is the pdfsource.
So, the point is: how can i create the actual pdf from the pdf Source without showing it????
Thanx in advance!!!!Hi,
actually I would not recommend that. That's something which has to be programmed completely new and does not exist at the moment. If you want to have it outside in the internet for externals you will force candidates to use Adobe Acrobat reader in a certain version and might get browser problems. So technical support might become an issue.
So the only opportunities you have without creating something new, is using Web Dynpro standard or a third party tool based on flash.
Best regards -
Possible to run Adobe Interactive Forms in ABAP Webdynpro?
Hi,
Thanks all...
I was request to install Adobe Interactive Forms (Adobe Document Server) and integrate with Web Dynpro web application.
Would ABAP webdynpro could be fully integrated with Adobe Interactive Forms (Adobe Document Server)???
How could i proceed with this?
Anyone can send me guidance regarding this??
Appreciate yours assisting.
THANKS!!!
BR
TerryI required to load JAVA engine in my sys in order to run ADS (Adode document Server) follow the attached procedure?
to do a java add-in.
-Run sapinst
-use option Java Add-in for ABAP in Additional Software Life-Cycle Tasks.
Please correct me if i was wrong.
THousand thanks,
BR,
Terry -
Problem while running Adobe Interactive Forms
Hi,
I had developed an application using adobe interactive forms, and I am not able to view the form in the browser when i run the application.
the error stack is as below..
Error stacktrace:
com.sap.tc.webdynpro.pdfobject.core.PDFObjectRuntimeException: Service call exception; nested exception is:
java.net.SocketTimeoutException: Read timed out
at com.sap.tc.webdynpro.pdfobject.core.PDFObject.doSoapCall(PDFObject.java:201)
at com.sap.tc.webdynpro.pdfobject.core.PDFObject.createPDF(PDFObject.java:142)
at com.sap.tc.webdynpro.clientserver.adobe.AdobeFormHelper.createPDFDocumentForUIElement(AdobeFormHelper.java:398)
at com.sap.tc.webdynpro.clientserver.uielib.adobe.impl.InteractiveForm.afterHandleActionEvent(InteractiveForm.java:104)
at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.afterHandleActionEvent(ClientApplication.java:1085)
at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.handleActionEvent(WebDynproMainTask.java:393)
at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.execute(WebDynproMainTask.java:635)
at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:59)
at com.sap.tc.webdynpro.clientserver.cal.ClientManager.doProcessing(ClientManager.java:249)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doWebDynproProcessing(DispatcherServlet.java:154)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:116)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:48)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:385)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:263)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:340)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:318)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:821)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:239)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:147)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)
at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162)
Caused by: java.rmi.RemoteException: Service call exception; nested exception is:
java.net.SocketTimeoutException: Read timed out
at com.sap.tc.webdynpro.adsproxy.ConfigBindingStub.rpData(ConfigBindingStub.java:77)
at com.sap.tc.webdynpro.adsproxy.ConfigBindingStub.rpData(ConfigBindingStub.java:87)
at com.sap.tc.webdynpro.pdfobject.core.PDFObject.doSoapCall(PDFObject.java:198)
... 27 more
Caused by: java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:129)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:183)
at java.io.BufferedInputStream.read(BufferedInputStream.java:201)
at com.sap.engine.services.webservices.jaxm.soap.HTTPSocket.readLine(HTTPSocket.java:628)
at com.sap.engine.services.webservices.jaxm.soap.HTTPSocket.getInputStream(HTTPSocket.java:317)
at com.sap.engine.services.webservices.jaxm.soap.HTTPSocket.getResponseCode(HTTPSocket.java:219)
at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.HTTPTransport.getResponseCode(HTTPTransport.java:344)
at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.handleResponseMessage(MimeHttpBinding.java:710)
at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.call(MimeHttpBinding.java:1118)
at com.sap.tc.webdynpro.adsproxy.ConfigBindingStub.rpData(ConfigBindingStub.java:71)
... 29 more
Can somebody suggest me about what could be the problem?... Points assured for helpfull answers.
Regards,
UmaHi Uma,
SP 14 should normally be OK, SP 15 is currently attached to the Note. They are downward compatible. I suggested reinstalling after properly uninstalling, because it has fixed problems before.
I also looked at your original post again, which mentions the read time-out. This may be related to a general server setting. See my suggestion in this thread:
SocketTimeoutException: Read timed out - Context Is Too Large
If all this doesn't help, you'll probably have to create a message on component BC-SRV-FP.
Kind regards,
Markus -
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 -
Adobe Interactive Forms Set Fillable through SFP
Hello Gurus,
I have a question regarding adobe interactive forms. I have created an interface and form in transaction SFP. The form is being called as an email attachment during an issue creation. What i want to do is set the form fillable in the import structure /1BCDWB/DOCPARAMS. I tried to do this through the code initialization in the interface but it does not set the form fillable. I have no other code interaction with the from besides in the code initialization section of the interface. Is there a straight forward way to set it fillable? Thanks.Hello Timothy
You must be generating the PDF and emailing it as an attachment in background in your program.
Refer to code below, It should work
* get the name of the generated function module
try.
call function 'FP_FUNCTION_MODULE_NAME'
exporting
i_name = 'DEMO_ADOBE_OFFLINE'
importing
e_funcname = fm_name.
catch cx_fp_api.
assert 1 = 2.
endtry.
* set output parameters and open spool job
fp_outputparams-preview = 'X'. " do not launch print preview
fp_outputparams-nodialog = 'X'. " suppress print dialog
fp_outputparams-connection = cl_fp=>get_ads_connection( ).
fp_outputparams-getpdf = 'X'.
call function 'FP_JOB_OPEN'
changing
ie_outputparams = fp_outputparams
exceptions
cancel = 1
usage_error = 2
system_error = 3
internal_error = 4
others = 5.
assert sy-subrc = 0.
* set the form to be editable
* Try to set fp_docparams- FILLABLE = 'F' instead of fp_docparams- FILLABLE = 'X'
fp_docparams-fillable = 'F'.
* call the generated function module to generate the pdf
call function fm_name
exporting
/1bcdwb/docparams = fp_docparams
/1bcdwb/docxml = xml
importing
/1bcdwb/formoutput = fp_result
exceptions
usage_error = 1
system_error = 2
internal_error = 3
others = 4.
assert sy-subrc = 0.
* close spool job
call function 'FP_JOB_CLOSE'
* IMPORTING
* E_RESULT =
exceptions
usage_error = 1
system_error = 2
internal_error = 3
others = 4.
Regards
Sandy -
Adobe Interactive Form / Web Service - Connection question
Hi
We have CRM 2007 and want to use Adobe Interactive forms for our sales managers to upload customer information when they're out in the field. Before they leave all information about the customer will be downloaded to an Adobe Interactive Form. The client sees the customer and then enters the information required to e.g. create a sales order. He has an Internet connection but is not neccessarily logged into CRM 2007. He is a registered user in CRM 2007.
My question is: if we create the web services to send and receive data to the CRM 2007 system, does the sales manager have to be online and signed into the CRM system to upload the Adobe Interactive Forms back to the server, or does the web service handle this?
Kind regards
DeclanHello Declan,
You can send the information captured in an SAP Interactive Form by Adobe to your CRM system in two ways based on the way in which your form is designed -
1] By making a direct web service call : A typical use case is that the user fills out all the necessary fields in the form and simply clicks a submit button; on clicking, the particular web service is called and the input data is transferred to SAP CRM. It should be noted that the web service authorizations should be in place to enable this kind of usage.
2] By utilizing SAP CRM via Email scenario : A typical use case here would be that the user fills out all the necessary fields in the form and simply clicks a submit via email button; on clicking, an email is composed with all the form input infomration added as an attachment. The user can then send this email to the SAP CRM system. It should be noted that SAP CRM via Email application should be setup on the SAP CRM system and the particular SAP CRM via Email service & web service should have proper authorizations.
An interesting point to note here is that while scenario 1] would require the user to have just internet access for this to work, scenario 2] could work in a fashion such that if the user isn't having internet access, he/she could still fill out the forms thereby creating emails which would then reside in the outbox of the user's email client. Once the user is having internet acces, the email client would send these emails automatically, thereby achieving a different flavour of "offline functionality".
Hope this info helps!
Best regards,
Sandeep. -
OVS implementation in Adobe Interactive Form
Hi,
I have to implement OVS in Adobe Interactive form, which will be part of WebDynpro component. I have done this in webDynpro, but i am not able to figure out how it is implemented in AIF.
I am using NW04s SP09 , patch 2.
Any documentation for implementing OVS in AIF is would be a great help.
Thanks & Regards,
MamtaHi 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 -
Error in FormCalc Script of Adobe Interactive Forms
Hi,
We created certain <b>Custom I.S.R. Scenarios</b> and attached them to Workflows. So in these regards, we had already created the needed forms in Adobe Interactive Forms Transaction(SFP) and launched the Scenario successfully in Enterprise Portal.
But we have a couple of requirements like during <b>Create</b> mode of the form, I should be able to modify certain contents of the form, and during the <b>Change</b> mode of the form, I should be able to modify certain other fields of the form. So I had opted for <i>FormCalc</i> Scripting in these regards.
I used the following code...
if($record.CONTROL_PARAM.ISR_MODE == "CHANGE")
then
this.access = "readOnly"
else
this.access = ""
endif
Well, I used the same script in two of my forms. For one form, it's working very perfect. But for other form, it's giving the following error..
Error : accessor '$record.CONTROL_PARAM.ISR_MODE' is unknown.
I am very much mazed, why the same code behaves in 2 ways in two different forms.
So can anyone help me in these regards?
Regards,
Raja SekharHi,
I solved the problem by applying alternate solution.
I used Java Script instead of FormCalc Script.
That cleared my errors.
Regards,
<b><i>Raja Sekhar</i></b>
Maybe you are looking for
-
Lock Box - Cleared items (Urgent please)
Hi all Can anyone please help me getting a report, to get the below information. 1.How many customer invoices have been cleared through Lock Box Clearing program -- I wanted to findout how many customers have been cleared automatically (How can I fin
-
Recipient error. []: [CrystalEnterprise.Smtp] error
I am getting the following error message when scheduling a Crystal Report in InfoView: recipient error. []: CrystalEnterprise.Smtp The email is sent successfully, but this error is returned indicating it failed. The schedule is set to run the Crysta
-
I need serious help!!! I am a new mac user...I've had my computer for less than a year and I just found out after not being able to log into my root account that you shouldnt use it for everyday usage and I have and now I can't log into it. How do I
-
Pictures not tranferring from my digital camera
Haven't used my Kodak V550 camera in a while....took some pics, placed camera in dock, hit "share" button, iPhoto opens, shows camera under Devices, but in main window am only getting the dotted outlines of amount of pics on the camera rather than th
-
Are there any solutions? I haven't found anything that doesn't put a big ugly watermark on the image. Yes I know there is all kinds of stuff to buy but this will probably be the one and only time I ever need to do this.