Interactive Form with images from KM ??
hello: I need to read an image from km to incorporate it in Interactive Form, but for some reason when being generated the Form does not show it. The subject to dynamically obtain the images from km.
Thank you very much.
Hello,
Please review this link to import a KM image:
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/kmc/getting%2ban%2bimage%2bfrom%2bkm%2bdocument%2bto%2bbe%2bused%2bin%2bweb%2bdynpro
Now you must put the image to an attribute of context of type string. For it you do the following thing:
//Reading the image file......
BufferedInputStream bufIn = new BufferedInputStream(resourceimg.getContent().getInputStream());
byte[] imagebyte = new byte[bufIn.available()];
bufIn.read(imagebyte);
//Convertir a String
String imgString=new BASE64Encoder().encode(imagebyte);
wdContext.currentContextElement().setImgString(imgString);
Finally, in the Form you must add a Image Field, with the following properties:
-Tab field
URL: empty
Embebed Image Data
- Tab Binding
Default Binding: $record.ImgString
That is.
Regards
Similar Messages
-
Call WD Interactive Form with Values from ABAP Report
Hallo together,
i have a simple ABAP report with some values.
How to call a webdynpro passing these values and using them in Select-Statements to prefill the called Interactive Form
Thanks
PhilipHi Runal,
i tried this and i get the parameters in the defaulthandler event.
but now i need these values in the supply function of my node to get the values which should be display.
How to access from supply function to the defaulthandler event? I read some threads but none answered my question i think.
METHOD handledefault .
DATA: it_parameter TYPE tihttpnvp,
wa_parameter LIKE LINE OF it_parameter.
wdevent->get_data(
EXPORTING
name = if_wd_application=>all_url_parameters
IMPORTING
value = it_parameter ).
ENDMETHOD.
Thanks
Philip -
How to do an interactive form with tables
I've been asked to recreate an interactive form that was created using several tables. The tables are made up of cells that contain labels of what information is required, followed by blank cells where the user can put the information (text fields). A few of the cells are to contain drop down menus that will contain a list of answers to choose from (combo boxes). I kind of like the idea of doing it in a table just because it keeps everything lined up automatically.
I am a Lynda.com subscriber, and I found a course on that site that shows how to create interactive forms with InDesign, but it just breezes past doing it with tables. It says you can do it, but doesn't show how. The problem is, one table can contain all three types of cells that I plan to use. I can select the whole table and then choose "Type" in the Buttons and Forms panel, but I would think that would turn the whole table into just one type of field. I can't seem to figure out how to select individual cells of the table to choose different types.
Is there a way to do that?This is work around
1- Draw a rectangle frame, and without release mouse use up and right arrow key to define rows and columns count and use Ctrld+ down arrow key to reduce space between rows and Ctrl+left arrow key to reduce space between column.
2- Covert frames to Buttons. -
Prefill interactive form with data upon displaying out
Hi,
Let's say if i have a web dynpro application, with a view containing an interactive form. I would like to prefill the interactive form with data by calling a webservice or thru RFC before it display the form out. So that when the form is first displayed out, it is already prefilled with data. Is this possible?
Is there any guide out there which is similar to this scenario?
Btw, currently i only managed to consume the webservice and prefill the form with data after clicking a button which will execute the webservice.
Regards,
CindyHi,
A Presentation from tech ed
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/26e9dc90-0201-0010-a790-a7048c8bba95
A blog
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/88e7ea34-0501-0010-95b0-ed14cfbeb85a
Adobe Online Interactive Forms Integration into Web Dynpro for Java Applications - Webinar Details
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/cf8dc795-0801-0010-ae97-af93a0795b3f
Regards
Ayyapparaj -
Interactive Form with ABAP DDIC Interface
Hi,
I'm new on adobe interactive forms and I have some problems. I have a form with a abap dictionary based interface.
When I test my web dynpro application with the interactive form, it is not interactive. :-P
And yes the property "enabled" of the UI-Element is marked.
First I watched an e-Learning an build a web dynpro application with a from which has a interface based on xml.
I generated the inteface of the form from my context. It works fine.
But with a interface based on xml I dont't know how I can get a table on my PDF in the Adobe Lifecycle Designer.
So I searched snd n the forum and found a tutorial (InteractiveForm_and_Dynamic_Tables). Like in this tutorial I created a interface based on ABAP Dictionary and a form with a table. Then I choose this form on my UI-Element as templateSource and generate the context from the interface. But as i mentioned above, now the PDF isn't interactive.
Any idea?
Thx Florian
PS: when someone can tell/help me in german it would be much easier for me to understand...You can create Interactive form with ABAP dictionay based interface. You need to add following code in method "WDDOMODIFYVIEW" of your view.
DATA: LR_INTERACTIVE_FORM TYPE REF TO CL_WD_INTERACTIVE_FORM,
LR_METHOD_HANDLER TYPE REF TO IF_WD_IACTIVE_FORM_METHOD_HNDL.
CHECK FIRST_TIME = ABAP_TRUE.
LR_INTERACTIVE_FORM ?= VIEW->GET_ELEMENT( 'TEST' ).
LR_METHOD_HANDLER ?= LR_INTERACTIVE_FORM->_METHOD_HANDLER.
LR_METHOD_HANDLER->SET_LEGACY_EDITING_ENABLED( ABAP_TRUE ).
Refer:: http://help.sap.com/saphelp_nw70/helpdata/en/42/c247dc6227311ce10000000a1553f7/content.htm -
F4 Value Help on Adobe Interactive Form with Web Dynpro ABAP
Hello,
I have created an Interactive Form with ZCI type.
I placed a text field MATNR on the form.
Then I placed a Native WD UI element 'Value Help' as mentioned in the below link: http://help.sap.com/saphelp_nw70/helpdata/EN/42/fb2fe500553ee4e10000000a1553f7/frameset.htm
This form was then embeded into Web Dynpro ABAP view.
The problem is that when I click on the F4 button, nothing happens.
Is anything else needs to be done?
Thanks
SagarHi Amol,
After binding the Context variable in the view, and in the Adobe Layout Designer from the Library go to WebDynpro Native Tab and drag and drop the Value Help and for this automatically JavaScript is being generated, go that script and edit the line
Var fieldname = "yourfieldname";
Note: Don't forget to link the context attribute to search help. ie. in the context properties of the attributes select the input help mode as dictionary search help and specify the name of the search help present in data dictionary.
And now go to Utilities and click on u201CInsert Web Dynpro Scriptu201D.
Also make sure that you specify the Layout as ZCI Layout in the Propertioes of the Adobe Form.
Ragards,
Amol Patil. -
Interactive form With a dynamic table inside that
Hi Experts,
i have an Adobe interactive form With a dynamic table inside that. Add/ Delete button is there inside the form to add and delete rows from the table. This is working fine when iam viewing the form in the preview of adobe designer. when i deploy and run the application, the dynamic table is not working, internally the rable rows are creating, but the rows are not displaying in the form.. iam getting messages(which i set) when the row is created or deleted, but its not updating on the form ..
iam using wdj
please suggest asap.
Regards
SarathHi Sarath,
Seems to be an issue with ACF. Please intall the ACF from the below link:
https://sapmats-de.sap-ag.de/download/download.cgi?id=F9RUZ3Q7TERUBSMHSXWT3UMEM59IJYIPA931VQD32A1UNAKZ6B
And also refer to the SAP note no. 1104060 and do the needful configuration.
Regards,
Arafat -
Adobe Interactive Forms with Browser Apple Safari and Mozilla Firefox
Hi Experts,
We have a requirement to implement HCM P&F using Adobe Interactive Forms. These Adobe Forms will be accessed using Browser Apple Safari and Mozilla Firefox. I have come across that the Adobe Interactive Forms are not supported on these browsers. In the same regard I have also gone through the Product Availability Matrix by SAP which specifies that Forms are not support on these browser and neither SAP has future plans to support them.
PAM can be found on link: http://service.sap.com/pam
I would like to know from experts that if any of the project has successfully implemented Adobe Interactive Forms with browser Apple Safari and Mozilla Firefox or
is there any solution which can make these forms work successfully on browser Apple Safari and Mozilla Firefox.
Your early reply will be highly appreciated.
thanks
ManojHello,
Mozilla Firefox is supported for Adobe Interactive Forms on Windows operation system.
Unfortunatelly we do not have support for Mac OS and Safari browser.
Please re-check the PAM.
Best regards,
Dezso -
Search Help on Adobe Interactive Form with Web Dynpro ABAP
Hi All,
I have created Adobe Interactive Form with ZCI type and XML based interface type using Webdynpro ABAP.
I placed a text field USER_NAME on the form ( data element is linked to search help USER_COMP ).
Added Native WD UI element 'Value Help' to form to search for users and changed script
*var fieldName = "INSERT_NAME_HERE*"; to var fieldName = "USER_NAME";
The problem is that when I click on the value help button, nothing happens.
Is any more additional steps required ?
Thanks
KaruHello
Check this
F4 Value Help on Adobe Interactive Form with Web Dynpro ABAP
Thanks
Anirudh -
How to use Adobe Interactive forms with ISR frame work in Webdynpro forJava
Hi,
Anybody worked on Adobe Interactive forms with ISR frame work in Webdynpro for Java in ESS/MSS development.
We have already searched in ISR_Cookbook_2004, however we didn't anything related webdynpro for java in that.
Any information regarding this will be of great help.
Regards
Satish KumarThere are a number of issues here. A form that you created with LiveCycle Designer (XFA) cannot be used with FormsCentral. An Acroform, the kind you can create with Acrobat, can be used with FormsCentral, with certain limitations, one of which is skip logic. A dynamic XFA form allows for this type of thing, but as mentioned, they don't work with FormsCentral. You can set up an Acroform to show/hide or activate/inactivate fields based on selections or entries made in other fields, but you'd have to set this up in Acrobat, not FormsCentral. So you can set up something roughly equivalent to a web form's skip logic, but you'd have to learn how to do this in Acrobat using JavaScript. There is a separate Acrobat JavaScript forum here if you have any questions.
-
Fill in form with records from a database
hi using adobe live cycle desginer could some one guide me or tell me what to look for so i can:
populate my pdf form with records from a ms access database
my site is in asp
thanksThis [url http://forum.java.sun.com/thread.jsp?forum=57&thread=497641]thread should get you started.
-
Using Interactive Forms with Adobe 6.0
Hi
We have created an Interactive Form with Web Dynpro and Lifecycle 7.1. The PDF can be viewed with Adobe 6.0, but an error pops up, saying: "This PDF requires a newer version of Adobe Reader". Is it possible to switch off this warning?
Thank you very much for your help.
Best Regards
Bettina HeppHi
Ok, it says in SAP Note 834573 that you cannot switch off this message.
Thanks for reading my post.
Best Regards
Bettina Hepp -
Send Back An Interactive Form with updated Vendor Details
Dear SDN,
We have a requirement of sending back an Adobe Form after the user updates some fields as an email or to the universal work list of the sender?
The step is:-
1. Receive Adobe form.
2. Update Fields.
3. Send back to the sender as an email//UWL.
The receiver of the Adobe Forms may not have SAP Access so whats the work around? Can javaMail API be used without the Dynpro ? Can Guided procedure help ? Or may be a webservice to send the mail ?
Please suggest.
Anirban.Hi,
Well, as stated in the blog, it depends on your scenario. So there's no howto guide at the moment.
Business logic and PDF (by email) sending has to be developed on your backend side. I suggest you to read the Interactive Forms tutorials in the Webdynpro for Java section for first steps.
It's also possible to trigger a guided procedure with the help of an interactive form (with the help of a posting on a address specific to the GP). For this, you can check the CAF (Composite Application Framework) tutorials here on SDN.
Regards,
Francois -
I'VE CREATED A FORM WITH IMAGES. WHEN I OPEN THE FILE IN ACROBAT READER THE IMAGES ARE BLACK BOXES.
THE FORM HAs (extend features to acrobat reader). THE FORM WAS DISTRIBUTED.
NON OF MY EMPOYEES CAN SEE THE IMAGES. WHAT'S WRONG? CAN YOU HELP?However, the view large images is an issue for a form that is being distributed. Either a note needs to be added to the PDF to tell how to enable the view or the images need to be changed so that the enabling is not needed.
-
How to 'flatten' interactive forms with Fixed Pages?
I have a large project I am working on that is automating the population of forms with strict layouts. (Provided by State governments for licensing requirements). I have the need to generate flattened version, or image of the document as one of the last steps of the process. The final step is to use "Insert Pages" to include into the newly created PDF, other PDFs that were attachments to the original document. These would include employment histories, Residential histories, etc. all are in PDF format.
The current method is to print the main document to "Adobe PDF", and save the file as a PDF to the file system. This newly saved PDF will accept Inserted pages as it is no longer deemed interactive with Fixed Pages, where the original with Fixed Pages will not accept insertions.
I have not been able to find a way of doing this via Javascript.
My goal is to find a way to flatten or image the document, then insert the attachments into the main document to create one compound instrument that records the licensure filing, and can be printed off and sent to the government, and retained for proof of filing.
Any ideas of how to replicate the print to "Adobe PDF" function and retain a handle to the new document object would be greatly appreciated. The fileName feature on the print method seems to be limited to ".ps", and ".prn" extensions.
Thank You
MarkI have not been able to Add Pages to a form that has Fixed Pages - either through the UI, or JavaScript. Options are greyed out in the UI.
Could you expand on what you mean by "You can set the Designer properties to Print Form"?
Thanks
Mark
Maybe you are looking for
-
Family Share - A CRUEL 365-day lockout, REALLY?
I bought my wife a new 128 GB iPad mini 3 on December 15th at Best Buy, I had been saving for this iPad for some time, and Lori had wanted the new iPad mini 3. Both my wife and I have bought multiple iPods over the years, use them, abuse them, and th
-
SSRS Design help : How to embed Graphs in a Word doc
Hi All we got the requirement that we need to embed Graphs to a fixed test Word document . what is the best way to achieve this requirement . Regards Surendra Thota Surendra Thota
-
Connecting an HP Laserjet 4si to my iMac
Hello Everyone, I recently became the owner of a vintage HP Laserjet 4si and I'd like to connect it to my iMac. The first challenge I foresee is in actually connecting the printer cable to the iMac's USB port. A quick google search pulled up a few si
-
Will somebody please help me I am at the end of my...
I ordered BT 4 Months ago to cut the story short after 4 missed appoinments and missed communication we still have no services and have gone with sky. But you are now billing us and you order management are saying we are connected and have all your s
-
mine is ipod touch 1st generation..its very hard to find the accessories, where can i find it? and some application couldnt work, for example: nike+