Adobe form integration in webdynpro
Gudday,
I need to integrate my adobe form in webdynpro using ABAP and fill the form from the browser which should get updated in the database.
I hav form which will display fields like pernr,vorna,nachn.
After inserting the form integration element...what is context to be filled with??
how should i do the binding from my WDA to adobe forms...i tried one example..but couldnt get the result at the end..
Can anyone please.......suggest clear step-by-step procedure to proceed further.
Awaiting your reply.
Thanks,
Deepthi.
Hi,
Hope this would help you - /people/thomas.jung/blog/2006/06/20/web-dynpro-abap-demonstration-videos
Thanks and Regards,
Anto.
Similar Messages
-
Problem in submit button on adobe form integrated with web dynpro
Hello,
I'm facing prob in triggering web dynpro event onSubmit for Interactive form.
I've created a submit button from web dynpro activex pallete on adobe form (integrated with web dynpro) to send the form as email.
Then in the web dynpro view where this form is embedded i have created an action against onSubmit event and called a method within this.
However, on clicking Submit button this event is not getting triggered.
Please let me know what is lacking in this process?
Thanks.Hi,
I am also facing the same problem. i have developed a simple scenario under which user have to input his/her details and on submit button it will be updated to database.
I have tried the above solution but after adopting this solution all the editable fields become non-editable.
so the above solution is not working for me could you help me out.
I think ... try this....
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
Edited by: shailendra2sap on Mar 6, 2009 12:24 PM -
Error occured while showing adobe form in abap webdynpro application
Dear SAP-Masters ,
This is the mail regarding the error occured while showing adobe form in abap webdynpro application .
When i run the adobe form seperately it works fine but with abap web dynpro , i'll get following error .
Pls tell me how to resolve this problem .
The following error text was processed in the system D35 : WebDynpro Exception:
The error occurred on the application server DV35_D35_00 and in the work process 2 .
The termination type was: RABAX_STATE
The ABAP call stack was:
Method: UPDATE_PDF of program CL_WD_ADOBE_SERVICES==========CP
Method: CREATE_PDF of program CL_WD_ADOBE_SERVICES==========CP
Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/LADOBE==================CP
Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/LADOBE==================CP
Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/L8STANDARD==============CP
Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/L8STANDARD==============CP
Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/L7STANDARD==============CP
Method: CONV_VIEW_INTO_VE_ADAPTER_TREE of program CL_WDR_INTERNAL_WINDOW_ADAPTERCP
Method: SET_CONTENT_BY_WINDOW of program CL_WDR_INTERNAL_WINDOW_ADAPTERCP
Method: RENDER_WINDOWS of program CL_WDR_CLIENT_SSR=============CPHi Arjun ,
Thanx for ur reply ,
i got following results in ST22 dump analysis :
' An exception occurred that was not caught ' .
and
Source Code Extract
Line
SourceCde
79
x_xml = get_wd_context_as_xml( data_source = data_source ).
80
m_pdf_object->set_data( formdata = x_xml ).
81
catch cx_fp_exception into lr_fpexc.
82
raise exception type cx_wd_general
83
exporting
84
previous = lr_fpexc.
85
endtry.
86
if fillable = abap_true.
87
if m_version is initial.
88
m_version = m_pdf_object->get_version_info( ).
89
endif.
90
if version < ''.
91
set_usage_rights( m_pdf_object ).
92
endif.
93
endif.
94
endif.
95
endif.
96
97
only call the ads if requested
98
if execute_ads_call = abap_true.
99
try.
100
set document
101
m_pdf_object->set_document( pdfdata = pdf ).
102
103
execute, call ADS
104
m_pdf_object->execute( ).
105
106
get result
107
m_pdf_object->get_document( importing pdfdata = pdf ).
108
catch cx_fp_exception into lr_fpexc.
>>>>>
raise exception type cx_wd_general
110
exporting
111
previous = lr_fpexc.
112
endtry.
113
endif.
114
115
endmethod.
and
Error analysis
An exception occurred which is explained in detail below.
The exception, which is assigned to class 'CX_WD_GENERAL', was not caught and
therefore caused a runtime error.
The reason for the exception is:
WebDynpro Exception:
The occurrence of the exception is closely related to the occurrence of
a previous exception "CX_FP_RUNTIME_SYSTEM", which was raised in the program
"CL_FP_PDF_OBJECT==============CP",
specifically in line 255 of the (include) program
"CL_FP_PDF_OBJECT==============CM02Y".
The cause of the exception was:
ADS: com.adobe.ProcessingException: PDF is not interactive. Data can only be
| imported into interactive forms.(201501). -
Embedding an existing Adobe Form into a Webdynpro Application
Hi Everyone,
I have an existing adobe form created thro transaction SFP and its working well.
I need to launch the form with a Webdynpro application now. I was able to embed the adobe form into the Webdynpro View. The View's context is supposed to pick up the context of the adobe form automatically.
However I am getting the following error - Either your Interactive form UI element is not bound to a context or a corresponding context does not exist.
I am not sure how to proceed coz the I executed the Adobe from in SFP and its working perfectly and obviously its bound to a context/ interface.
Any Ideas?
thanks for your suggestions in advance !
LizPradeep,
You are right. This time I could bind the context from my interface (even though it was ABAP based).
I have one quick one for you - you mentioned earlier that when we embed an existing form into Web. View, we cannot have an Interactive form even when we check the 'enabled' property. Can you throw more light onto this pls?
The runtime error that i am encountering now says :
Adobe Processing Exception: PDF is not interactive. Data can be only imported into Interactive forms.
the source text of error is:
get result
m_pdf_object->get_document ( importing pdfdata = pdf ).
catch cx_fp_exception into lr_fpexc.
raise exception type cx_wd_general
exporting
previous = lr_fpexc
and this exception is not caught ! I am still lost
thanks again for your help!
Liz -
Gudday,
I need to integrate my adobe form in webdynpro using ABAP and fill the form from the browser which should get updated in the database.
I hav form which will display fields like pernr,vorna,nachn.
After inserting the form integration element...what is context to be filled with??
how should i do the binding from my WDA to adobe forms...i tried one example..but couldnt get the result at the end..
Can anyone please.......suggest clear step-by-step procedure to proceed further.
Awaiting your reply.
Thanks,
Deepthi.Hi Deepti,
Please check this blog,
/people/vani.krishnamoorthy/blog/2006/05/17/fillable-adobe-forms-using-abap
Thanks. -
Unable to print the adobe form Genrated by webdynpro
Hi Experts,
I have generated a adobe form using webdynpro Java. It sucessfully loading the adobe form in the browser but when I click print button above the form. It just opens acorbat reader console and doesnt print the form.
Is there any additional settign to be made to acheive it.
we are using WAS 7.0 and acrobat reader 8.0
Your suggestions are highly apprecited.
Thanks,
RajHi Raj,
Try this out. You can put the print button in the Form itself.
Go to Library -> Standrad -> Print Button
Drag the print button on to the form.
Try printing the form by clicking on the print button.
Cheers
Satya -
Adobe Forms Integration with portal
HI,
We have some Adobe forms created under SE80.
Now i need to show that forms in Enterprise Portal.
SO i have created an Iview Template and selected sap webdynapro iview --> webdynapro for abap iview and
then proided the System, Name space and Appln name of that form.
When i preview it i can see the respective form. But when i update something in the form it is not getting updated.
Regards,
RajuRaju,
I assume you have developed ActiveX enabled Adobe forms wherein whenever the user opens up the Adobe Form, and Adobe dll is downloaded on user's machine. Again there is a catch here, the user needs to have Admin rights on his/her machine so that dll downloads correctly.
If the user does not have Admin rights then the installation of DLL fails and hence you may be seeing the read cross mark.
I would suggest change the displayType to native in Adobe Form properties and also make sure to select the elements from respective library in Adobe LiveCycle Designer. For Eg: If form is native and you want a value help then select Value help from Web Dynpro Native Library Palette in Adobe LiveCycle Designer.
Chintan -
Adobe Form integration from java webdynpro to ABAP webdynpros
Developed an Interactive Forms in Web Dynpro for Java. I am trying to find a way to integrate this into ABAP webdynpros. Is it possible to do this. I found this article and it looks like it supports this.
Before the introduction of the XML-based interface, an ABAP Dictionary-based interface was created for a form during integration of the same. Such an interface, however, was not easily linked to the context of a Web Dynpro component. All the forms created from within the Web Dynpro context are not automatically equipped with an XML-based interface. In certain situations, however, it can be necessary to integrate an old form with a function module-based interface into a Web Dynpro application. The Web Dynpro runtime makes it possible, in principle, to display or print such a form within a Web Dynpro
application. In special cases, it is even possible to integrate a form of this type in an interactive mode
Any help on this is greatly appreciated.
Thanks.Hi there
Not sure if you mean converting an Interactive form built for WD JAVA into a WD ABAP application
or just using Interactive forms in general with WD ABAP - certainly this it is possible to use Interactive
Forms in general with WD ABAP as HCM Processes and Forms is WD ABAP based and uses Adobe interactive forms
Perhaps the following articles will be of use
Web Dynpro ABAP: Defining the UI [original link is broken]
Under "SAP Interactive Forms by Adobe"
Best wishes
SDtuart -
ADOBE form design in webdynpro JAVA
Hi,
I am very new in ADOBE. Someone can send the step by step method for developing the application in webdynpro java.?
Thanks,
Kundan KumarHi Kundan,
Welcome to the Adobe arena..!
Well how familer are you with Web Dynpro...?
I can explain the procedue at a higher level, for a detailed step by step example you can check in NWDS help or couple of blogs here.
Adobe component in web dynpro is like any other ui Component to your view.
when you add this component you need to specify the WDJ view's context (this can be from a node level not only entire context) to this component's data source.
once both are done when you click on the component in the view it will navigate to ADLC (adobe live cycle designer) where you can design your form.
Remember that you specified the WDJ vie'ws context as data source to this component, thus in the ADLC you will see this context in the data view which would carry your data from wdj view to this form.
Again here similar to WDJ what ever you set to this context would flow tru and backwards.
try with this approach and on a simple scenario followed by some bolgs here.
Follow the below link for some examples in SDN.
[url]
http://www.sdn.sap.com/irj/sdn/adobe?rid=/webcontent/uuid/10ccb5af-08a8-2b10-77a1-ca0d1e20baca [original link is broken]
[url]
Let me know if you are stuck ant any point, i will help you.
Cheers,
Sai -
Saving and sending Adobe Form pdf from WebDynpro
Hi,
I'm developing an application which receives data from a RFC to a R/3. The datas are displayed on a pdf-Document in a Webdynpro. This works fine.
Now I want to send this form as attachment in an email. Do I have to save it first as pdf or can I send it directly?
On SapHelp I found a tutorial how to save a form as pdf:
http://help.sap.com/saphelp_nw04/helpdata/en/dc/f1783fe3263042e10000000a114084/frameset.htm
I tried out the describtion but without success. I defined an action on the view where the form should be displayed and added the coding in the implementation of the event. In the form I added a button Submit to SAP from the Web Dynpro Library. When I press the button, nothing happens. Do I have to make any changes under Object->Field->Control Type?
Another question about the coding:
public void onActionsubmit(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
//@@begin onActionsubmit(ServerEvent)
IPrivateResultView.IContextElement contextElement =
wdContext.currentContextElement();
byte[] bytes = contextElement.getPdfSource();
try {
File file = new File("C:
temp
example.pdf");
FileOutputStream os = new FileOutputStream(file);
os.write(bytes);
os.close();
} catch (IOException e) {
// do something
e.printStackTrace();
wdThis.wdGetAPI().getComponent().getMessageManager().reportSuccess(
"You have pressed Submit!");
//@@end
The path where the pdf shall be saved is "C:
temp
example.pdf", I expected something like "C:\temp\example.pdf" on a windows machine.
Where will the pdf be saved? On the machine i deployed the application (what about rights for saving) to or localy on the machine I start the app?
Does anyone knows how to send the pdf by email when saving the form or knows a helpful tutorial?
Many thanks for your help
Mathias LangeHi all,
doing Tutorial 31 from SDN (Interactive Forms using E-Mail) I have a problem with the entries for the smtp-host in the coding.
I always get the error message:
Sending failed; nested exception is: com.sap.engine.services.javamail.exception.JavaMailMessagingException: Cannot send message to host xxx:25 using the SMTP protocol.
//@@begin onActionSendForm(ServerEvent)
Properties props = new Properties();
String host = "xxx";
props.put("mail.smtp.host", host);
In host I entered the entrie for the smtp i use in Outlook, where it works fine. In the Tutorial i get the errormessage.
I have an smtp-server from our company with which it works too, but it is not the smtp used by Outlook.
And i can't use this smtp at my customers.
Could it be a problem with the used ports or a needed authentication? In the Tutorial is no coding for this.
Does anyone use a freemailer for this tutorial and have success with the smtp of this freemailer?
Kind Regards
Mathias
Message was edited by: Mathias Lange -
Adobe form integrated with WDA Application- hanging on click of button
Hello Experts,
These are my specifications -
SAP Netweaver release - 701 Level -05
ADS Version - 802.20090618120017.572641
Version of ZCI script - 802.20090115091137.519569.519537
When I click on the submit button, the wait symbol ( a circle) keeps on coming and then after 600 secs, a connection time out occurs. We have applied note 1223121 to our system and this dint help.
I have looked at the other posts in this forums too, however dint get much help. Please advise how to proceed. We are running out of ideas here.
Appreciate your help! Thanks
Regards, LizHi Ralf,
Thanks for your reply. I was able to get the trace file. These are my observations -
I got the foll. entries - Got a message from Adobe "Got a message from Adobe Reader: zciVersion 1: 800....". Also Entries containing "sendDataToServer" and "responseFromServer" are also present.
The only error I could see is in the last line -
16:45:33.892 EventHandler.js(285) : onXmlHttpResponse : Delta response could not be loaded.
Another thing to note is the repeated occurance of the foll. statements in the end-
16:42:34.670 BrowserWindow.js(431) : onfocusin : Focus
16:42:35.045 BrowserWindow.js(478) : checkForLostFocus : Blur
16:42:35.045 BrowserWindow.js(488) : checkForLostFocus : fire lsfocuslost
16:43:28.719 BrowserWindow.js(431) : onfocusin : Focus
16:43:29.923 BrowserWindow.js(478) : checkForLostFocus : Blur
16:43:29.939 BrowserWindow.js(488) : checkForLostFocus : fire lsfocuslost
16:44:13.935 BrowserWindow.js(431) : onfocusin : Focus
16:44:15.827 BrowserWindow.js(478) : checkForLostFocus : Blur
16:44:15.874 BrowserWindow.js(488) : checkForLostFocus : fire lsfocuslost
I was wondering if you have encountered any issue like this.
Hi Chris,
No I dont have the ISR controls. Its a simple button. The button lies on the View. There is no button on the form so there is no script that I can check. Hope I understood what you were saying.
All, pls. advise if you have encountered this issue before.
Thanks in advance. Liz -
Adobe form integration with R/3
Hi,
I am working on TA FBL1N and I need to add an icon/hyperlink, clicking on that hyperlink/icon the user should be able to view a PDF/ TIFF file which is currently stored in another information server which is a Microsoft server in network.
So basically the pdf are existing on another server and I have to integrate it in Standard r/3 via ABAP.
Please let me knoe any suggestions/ways to achieve this in standard r/3 and whether I have to use Wd ABAP or bsp to achieve the same.
RegardsHi,
you want to display a document which is stored in a external repository , that's right ?
IF yes it does not concern PDF File generating by SAP , but it concern archivelink or DIR .
Let me know if you need more explanation.
Best regards -
Hi,
We have developed a webdynpro application which opens up a Adobe form . The problem is for a user who is uisng IE 7 and adobe version 8 or higher, when he runs the application the adobe form does not open up he has a small 'X' sign coming up instead.
Please let me know which version of adobe and IE are compatible for adobe forms embedded in webdynpro ABAP
Thanks.Hi,
Refer this :
Prerequisites for Form Integration
http://help.sap.com/saphelp_nw04s/helpdata/en/2c/241a427ff6db2ce10000000a1550b0/frameset.htm -
Trigger workflow from ABAP webdynpro (having an adobe form)
Hello All,
I have developed an Webdynpro (for ABAP) component that has an Adobe Form integrated within it. Now I have been given a requirment that the form (once filled out on the portal) 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 such a Workflow scenario as above. I have already completed the adobe form part and the webdynpro section.
I will really appreciate it if anyone can advise as to how I need to proceed here.
Thanks in advance, LizHi Liz,
You can use the FM SAP_WAPI_START_WORKFLOW. In webdynpro you have the button like "Submit" right? All the process has done, the user can click the submit button to get the approval. Under the button you can call this FM.
Create one workflow based on your scenario, and pass the workflow number to this FM. So once the submit button is clicked then in back end workflow will getting triggered.
For more Informations, please have a look at following links.
SAP_WAPI_START_WORKFLOW doesn't start workflow...
SAP_WAPI_START_WORKFLOW
SAP_WAPI_START_WORKFLOW help
Thanks. -
Error when Interative Adobe Form is called from Webdynpro ABAP.
Hi Experts,
I trying to call a Interactive adobe form from ABAP Webdynpro application but I am facing the below error.
Line: -
The following error text was processed in the system GJD : User session (HTTP/SMTP/..) closed after timeout
The error occurred on the application server az18u021_GJD_01 and in the work process 0 .
The termination type was: ERROR_MESSAGE_STATE
The ABAP call stack was:
Method: PREPROCESS_REQUEST of program CL_WDR_CLIENT_ABSTRACT_HTTP===CP
Method: IF_HTTP_EXTENSION~HANDLE_REQUEST of program CL_WDR_MAIN_TASK==============CP
Method: EXECUTE_REQUEST_FROM_MEMORY of program CL_HTTP_SERVER================CP
Function: HTTP_DISPATCH_REQUEST of program SAPLHTTP_RUNTIME
Module: %_HTTP_START of program SAPMHTTP
Line: -
When I uncheck the enabled property of the Interactive From in the Page of the WebDynpro I am able to execute the application successfully.But the Adobe form behaves as a Static Form when I uncheck the enabled property.
So kindly provide your valuable suggestions to avoid the above error when I am calling a Interactive adobe form from Webdynpro ABAP.
Thanks in Advance.
Regards,
Arun.Hello,
Hello, are you sure you have your ADS credentials configured correctly and valid? I guess you know that is the only difference between clicking enabled on true or false. If you are not sure, you can use SE38, search for FP_* and pick some reports to check the licencing. The names of the reports are good enough to recognize the right one.
Or maybe that is a security problem? Have you checked the ADS_ERROR string? Did you use the ADS trace?
check: http://help.sap.com/saphelp_nw70/helpdata/en/2c/241a427ff6db2ce10000000a1550b0/content.htm
and especially note 999998
Regards, Otto
Maybe you are looking for
-
A better way to auto set category to bank transactions
I have a table with bank transactions, the third cell have "Memo", some kind of description, I want to classify the transaction based on words found in the "Memo" based in another table with first column with classification and the second column with
-
Where do I set up rules for conflict resolution when syncing iTunes with Outlook?
I just got an iPhone 5 and I'm coming from a Blackberry. I've been syncing Outlook Calendar and Contacts to a portable device for over 10 years, even back in the day of the pocket pc and more recently the Blackberry. My iPhone 5 syncs great and see
-
How to determine which new add-ons were installed?
I am troubleshooting on a system that I use regularly, but I am not the primary user. When I started Firefox today I got an Add-ons window saying that "3 new add-ons have been installed". I'd like to know which 3 are the newly installed add-ons, beca
-
Recommended number mailbox server exchange 2010
Hello, What are the number of recommended mailbox server needed for 9000 mailbox of 1Go size and 2 copies/DAG ? Regards
-
I am trying set up a group of radio buttons for an election. I am able to generate the radio from my query with the exception of displaying the label, but thats another thing. It will create separate radio groups for each office title(president, vp,