Adding Images in the Interactive Form
Dear All,
How to add a image in the standard SAP Deliver interactive forms for the PCR.
Can i able to change the logo which is available in the system to the custom logo.
So that will it get reflected in the all the standard screen using the logo.
Thanks
Yogesh
Hi Yogeshwaran,
After u create a UI element for the Image. set the URL for the UI element value in ur coding for the Value Attribute which is bound to the Image UI element.
After setting the URL, save the URL in the back-end table so that next time the form is loaded the Custom logo is displayed
Hope this helps u
Regards,
Poojith MV
Similar Messages
-
Attachments added to the Interactive form is lost after submit
Hi All,
I have a scenario where the user can add attachments to the Interactive Form Online and click on Submit to archive the filled form. The problem is that i am not able to retrieve the attachments added to the form.
The datasource of the ITF is bound to the View Context node and the pdfsource is bound to an attribute of XSTRING type.
Here i am able to see the changed values of the Input fields in my context node. But, any attachments added is lost.
How can i retrieve the attachments? I tries calling the Methods SET_TASK_GETATTACHMENTS and GET_ATTACHMENTS of PDF Objects but it always returns null.
FYI,
if i use file upload UI Element and upload an existing form with attachments then i am able to get the list of attachments by calling the Methods SET_TASK_GETATTACHMENTS and GET_ATTACHMENTS of PDF Objects before this PDF is displayed in the next view. (binding the XSTRING of FIle Upload UI to the PDFSOURCE of the ITF).
Here also if i add some new attachments to the PDF and click on submit then these new docs are lost.
In short whenever i add attachments to the pdf dynamically via add attachment option after the PDF is displayed the new attachments are lost.
Please let me know how to correct this.
Thanks,
AbhishekThere is a default functionality provided by Adobe... If all your fields are field, you can not submit. It will prompt .. to fill the form.
Only you have to mark those field as mandatory.
So select the field -> Go to Object Pallet -> Value Tab -> select the type as User entered Required
This will solve your problem.
You can also customise the requirements through scripting language.
cheers
Satya -
Problem in accessing the Interactive forms in an ISR Senario(like MSS)
Hi all,
I am facing a problem whenever I try to access the interactive form.I am doing this from the standard Business Package, MSS.
I have done all the configurations needed for these ISR Senarios.
I suspect the the error is because of some missing IMG customizing.
Pls provide some directions to solve this problem.
Exception 1)
initial exception that caused the request to fail, was:
com.sap.tc.webdynpro.services.exceptions.PDFDocumentCreationException: ../../sap.com/pcui_gpisr/IsrForm/wd_key13_1171540676406/Error+PDF.pdf?sap-wd-download=1&sap-wd-dl_behaviour=1&sap-wd-cltwndid=DefaultExternal1171589446921&sap-ext-sid=dIiSA97eM6QRuNvwpwdigw%3D%3DzPkd%2BOwplNQFa31FtlR6vA%3D%3D%2Fpcd%3Aportal_content%2Fcom.sap.pct%2Fspecialist%2Fcom.sap.pct.erp.busunan.bp_folder%2Fcom.sap.pct.erp.busunan.roles%2Fcom.sap.pct.erp.busunan.business_unit_analyst_20%2Fcom.sap.pct.erp.busunan.business_unit_analyst_20%2Foverviewfolder%2Fcom.sap.pct.erp.busunan.overview_2%2Fcom.sap.pct.erp.busunan.masterdata_1%2Fcom.sap.pct.erp.common.isrform_page%2Fsap.com%2Fpcui_gp%7Eisr%2FIsrForm%2Fbase&sap-wd-norefresh=X&sap-ep-version=7.00.200611091758
Exception 2: This Exception occurs when I try to run the application(sap.com/pcui_gp~isr/IsrForm) from the Webdynpro Content Administration Screen.
com.sap.pcuigp.xssfpm.java.FPMRuntimeException: No scenario specified
at com.sap.pcuigp.xssfpm.java.MessageManager.raiseException(MessageManager.java:111)
at com.sap.pcui_gp.isr.isrprocessevent.init.VcISRInit.onBeforeOutput(VcISRInit.java:228)
at com.sap.pcui_gp.isr.isrprocessevent.init.wdp.InternalVcISRInit.onBeforeOutput(InternalVcISRInit.java:181)
at com.sap.pcui_gp.isr.isrprocessevent.init.VcISRInitInterface.onBeforeOutput(VcISRInitInterface.java:139)
at com.sap.pcui_gp.isr.isrprocessevent.init.wdp.InternalVcISRInitInterface.onBeforeOutput(InternalVcISRInitInterface.java:136)
at com.sap.pcui_gp.isr.isrprocessevent.init.wdp.InternalVcISRInitInterface$External.onBeforeOutput(InternalVcISRInitInterface.java:212)
at com.sap.pcuigp.xssfpm.wd.FPMComponent.callOnBeforeOutput(FPMComponent.java:602)
at com.sap.pcuigp.xssfpm.wd.FPMComponent.doProcessEvent(FPMComponent.java:568)
at com.sap.pcuigp.xssfpm.wd.FPMComponent.doEventLoop(FPMComponent.java:437)
at com.sap.pcuigp.xssfpm.wd.FPMComponent.wdDoInit(FPMComponent.java:195)
at com.sap.pcuigp.xssfpm.wd.wdp.InternalFPMComponent.wdDoInit(InternalFPMComponent.java:110)
at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.doInit(DelegatingComponent.java:108)
at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)
at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.init(ClientComponent.java:429)
at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:362)
Thanks in advance,
SethuHey Sethu,
Check the QISRSCENARIO settings.Also make sure that your ADS is configured.
Also, please make sure that you have maintained all the settings which are mentioned in this link.
http://help.sap.com/saphelp_erp2005vp/helpdata/en/3b/52dd3747934311abee4376f383fdf2/frameset.htm
Regards
<i><b>Raja Sekhar</b></i> -
On the interactive form - the filter icon
I have a user that has a dumb question, they want to the filter to go away they selected when they come back to the first page of the interactive form, when there is no data left.
Of course all they have to do is click the x to make the filter list appear. The reason it says no data when you go back to the first form is that that records no longer meets the criteria for the filter. The user wants the filter with the green check and the red x to disapear if there is no data left for that filter.
Hope this makes sense.Hi -
Two things you might want to look at are:
1) To reset an interactive report in a link, use the string "RIR" in the Clear-Cache section of a URL. This is equivalent to the end user choosing the Reset option from the interactive report actions menu on the target page. The report is returned to the default report settings specified by the developer.
or
2) You can reset a report with a js call also: javascript:gReport.reset()
Good luck. -
How to display grid the interactive form
Dear All
I m trying to print the grid into the interactive form using adobe life cycle 8.1.
My requirement is like I am getting the value in my local node in the view. From there i have to populate those value into the Pdf.
So that user can take the print of the pdf.
Value are getting in local. But it is not showing in the PDF. At the same time in other value are showing success fully only inthe table i am not able to get the value.
Kindly help me out with your document or solution note
Prashant KrishenHi Prashant,
For populating a table on a pdf the node structure should be different.
You need to create node structure of the data which you want to show in Table like this
DataNode 0..n
SubNode 1..1
att1
att2
Create the elements of DataNode only and set the attribute values.
Now create the structure of the UI element in Form like this
Subform1
Subform2
Header1
Header2
Subform3
Textfield1
Textfield2
Bind the Subform3 to the node DataNode and Textfield1 and Textfield2 to att1 and att2 respectively.
Set the 'Repeat Subform to each data Item* property of Subform3 to true.
Now at runtime you will get all the data of the node in PDF form as a Table.
Regards
Ravindra -
Dynamic images in an interactive form
Hi all,
in adobe lifecycle designer I created a table that displays information of specific materials from mara. The table exists of four columns. Three of these columns display the material information (matnr, mtart, mbrsh) and one column should display a picture of the material.
In ABAP coding I inserted a "Selection Option" where the user can choose some materials he wants to display.
The pictures are imported into se78. In ABAP coding I use the method "cl_ssf_xsf_utilities=>get_bds_graphic_as_bmp" to get the necessary picture.
I also created a graphic node in context menu of the formular for data binding but the problem is that I only get the same picture for al materials displayed in the table.
I think that it is not working with the graphic node. But has anyone a solution for me?
Thanks alot in advance.
Best regards
SvenHi,
Yes it can be implemented by using scripts.
Here you can do the hide and visible things and once the field is binded in the interactive form that do not change.
We can utilize the context node elements only once we can put into interactiveform only . we can not use as dynamically as Context attributes.
What you are exactly looking for?
Thanks,
Lohi.
Message was edited by:
Lohitha M -
Adding Images to the List component
Adding Images to the List component while using the FLV
PLayback
All, ( i can send you my source files if it would help)
I'm using the FLV Playback component and loading videos into
it from an external xml file. I also have a list component tied to
the FLV playback that when you click on one of the elements in the
list, it plays that movie.
QUESTION:
My question is how do I add an image to the list component?
Below is the xml file and the actionscript. I've added the image
attribute to the XML file as img="time_square.jpg" and added the
element of the array when calling/creating the list. Did I do this
right?
Any direction would be very much appreciated.Adding Images to the List component while using the FLV
PLayback
All, ( i can send you my source files if it would help)
I'm using the FLV Playback component and loading videos into
it from an external xml file. I also have a list component tied to
the FLV playback that when you click on one of the elements in the
list, it plays that movie.
QUESTION:
My question is how do I add an image to the list component?
Below is the xml file and the actionscript. I've added the image
attribute to the XML file as img="time_square.jpg" and added the
element of the array when calling/creating the list. Did I do this
right?
Any direction would be very much appreciated. -
Is it possible to pass the Interactive Form on dynamic?
Hi,
Is it possible to pass the Interactive Form on dynamic?
In webdynpro I am handling the header part that will be common for the entire input screen, based on the application name I want to call the different interactive forms. I have seen in template source there is no option to provide binding with context.
Regards,
Mahesh.GattuHi Mahesh,
You can create different views with different PDF forms in their template source and dynamically navigate to the required view/ make the required view visible.
say on your main view, create the header part with the necesaary UI elements and insert multiple view containers below it. Embed a pdf view in the respectve view containers.
Create a context node UI_RENDER .. cardinality 1..1
Create attributes pdf1_visible type wdui_visibility
pdf2_visible and so on. Bind these to the visible property of the respective view container.
based on the application name, set them to either visible or invisible.
Hope this helps.
Regards,
Reema. -
Syntax error in the Interactive form methods
Hi all,
In one of the method of the interactive form i am using the below statement
DATA:LS_ZDYN_TBL_FORM type WD_THIS->ELEMENT_ZDYN_TBL_FORM.
When i use the above statement i am getting the following syntax error
The type "WDCTX_ZDYN_TBL_FORM" is unknown.
Thanks in advance
AjayTry following thigs:
1) Make sure that you have created node 'ZDYN_TBL_FORM' in the context
2) try following code: WD_THIS=>ELEMENT_ZDYN_TBL_FORM.
3) If you are writting this code in the method of a view, try following code:
DATA: t_data TYPE if_<view_name>=>elements_ZDYN_TBL_FORM.
Regards,
Saket. -
Unable to open the interactive form
Hi,
I have created a interactive form.
I'm trying to send this as an e-mail attachment.
I'm able to receive the mail but I'm not able to open the interactive form.
Can someone help me on this.
Regards
NancyHi Nancy,
Check this Code.. i am able to open the ADOBE in my SAP Inbox.
ie_outputparams-device = 'PRINTER'.
ie_outputparams-getpdf = 'X'.
CALL FUNCTION 'FP_JOB_OPEN'
CHANGING
ie_outputparams = ie_outputparams
EXCEPTIONS
cancel = 1
usage_error = 2
system_error = 3
internal_error = 4
OTHERS = 5.
IF sy-subrc <> 0.
WRITE : 'Exit at FP_JOB_OPEN'.
EXIT.
ENDIF.
docparams-langu = 'E'.
docparams-country = 'US'.
docparams-fillable = 'X'.
* Get the name of the generated function module
CALL FUNCTION 'FP_FUNCTION_MODULE_NAME'
EXPORTING
i_name = <adobe-form-name>
IMPORTING
e_funcname = e_funcname.
IF sy-subrc <> 0.
WRITE : 'Exit at FP_FUNCTION_MODULE_NAME'.
EXIT.
ENDIF.
CALL FUNCTION e_funcname
EXPORTING
* /1BCDWB/DOCPARAMS =
PERNR = p_pernr
IMPORTING
/1BCDWB/FORMOUTPUT = output
* EXCEPTIONS
* USAGE_ERROR = 1
* SYSTEM_ERROR = 2
* INTERNAL_ERROR = 3
* OTHERS = 4
IF sy-subrc <> 0.
WRITE : 'Exit at e_funcname'.
EXIT.
ENDIF.
CALL FUNCTION 'FP_JOB_CLOSE'
* IMPORTING
* E_RESULT =
EXCEPTIONS
usage_error = 1
system_error = 2
internal_error = 3
OTHERS = 4
IF sy-subrc <> 0.
WRITE : 'FP_JOB_CLOSE'.
EXIT.
ENDIF.
code for Sending and code for attachment goes here.
Let me know if it works.
~ Bhawanidutt. -
Drop-downs on the interactive form?
Hello
I put a drop-down field (its lables is COUNTRY OF VISITOR ) on the interactive form (my_form_of_visitor_info) and bound it to a data source, which data source is passing USA, UK, fine, working well. It should always ALLOW only 3 characters max. length
I also gave a ability to modify/input end-user own value in this drop-down field by checking "Allow Custom Text Entry" box of the field tab of the object palette, fine.
To accommidate all the label(COUNTRY OF VISITOR) of the field, i gave the WIDTH as 5 inches.
But, now user is entering CANADA, but It should always ALLOW only 3 characters max. length. I did not see any MAX.CHARACTERS ALLOWED feature for the drop-downs as like TEXT FIELDS!
Pls. let me know, How can i get it done this rquirement that systsem should allow ONLY 3 characters in this field? I saw some VALIDATION PATTERN for Zipcode, Tele #..but, i am not sure can i use it for my drop-down field? if so, How?
Thank yousee the answer in your other post
-
Capturing the changed data in the interactive forms through HTML Viewer
Dear all,
I'm showing the Interactive Adobe form in the HTML Viewer and I want to capture it back after the user enters data in the form and save it to application server.
Can I get some help on this. Please attach supporting documents if any.
Regards
Aravindsorry i've got no document describing this. under service.sap.com/adobe you'll find a lot of Adobe content.
But basically use the Adobe Designer from program files\adobe\design 7.0\formdesigner.exe
create new form based on the CAF tutorials in the Interactive Forms section, add a new data connection to a wsdl, bind input/output parameters to form fields and get a button executing the wsdl operation.
create your interactive form callable object based on that template, configure the form to start process and as impersonalized form. create the form from the GP administration screen, download it and test it.
...And Good Luck!!! -
No such method error when launching the Interactive form
Hi Experts,
I have developed a simeple Java Webdynpro application and added an Interactive form without any controls in it. Created the context with one value node and a binary value attribute.
I have assigned value node to datasource and binary attribute to pdfSource. When I launch the application I am getting the following no such method error.
java.lang.NoSuchMethodError: com/sap/tc/webdynpro/clientserver/uielib/adobe/api/IWDInteractiveForm.setTemplateSource(Ljava/lang/String;)V
The currently executed application, or one of the components it depends on, has been compiled against class file versions that are different from the ones that are available at runtime.
If the exception message indicates, that the modified class is part of the Web Dynpro Runtime (package com.sap.tc.webdynpro.*) then the running Web Dynpro Runtime is of a version that is not compatible with the Web Dynpro Designtime (Developer Studio or Component Build Server) which has been used to build + compile the application.
My NWDS is of Version 7.0.06
and J2EE Engine is of Version 6.40.
any guess why I am getting this error.
Thanks
Chinna.Issue solved. Compatablility issue NWDS 2.0 Version should use for NW 2004.
-
Add Image to PDF interactive form
Hello again
I'm having some difficulties also with another aspect of interactive forms. I want to add an image in the created pdf, but the url is generated from SAP R3, so i have it in a node attribute outputed from a function model. I see a field URL in the Image Field provided, but can it be mapped to a context attribute ??
thank you in advance,
Nuno SantosI tried different forms but the image is not appearing.
The node mapped in the interactiveForm is called AnualForm, the i have another node called Identification, and finally the attribute PHOTO (on caps, just like that).
So... AnualForm->Identification->PHOTO
I allready tried entering $record.PHOTO
$record.AnualForm.Identification.PHOTO
$record.Identification.PHOTO
but none of these works. Am i missing something ? -
To print image in Non interactive form
I have a requirement where image file is attached to QM02 transaction, now i want to print the attached image on QM02 print output. I am planning to use Non interactive form method to print the form output.
Can anyone pls guide me how to insert/print image file which is attached at the transaction level.Otto:
I followed the steps you have described in one of your earlier reply but I am unable to see the image on the non-interactive ADOBE form.
Here is what I did.
1) In the "Code Initialization" section of the form, I coded to get the SE78 stored image in to XSTRING field (by calling method cl_ssf_xsf_utilities=>get_bds_graphic_as_bmp)
2) I created the image field and bound it to the XSTRING field derived in step 1. And I check marked "embed image" in layout of the image field.
I also followed some other threads on this forum and tried to create a graphic node with a global field of mime type "BMP" and bound my XSTRING data onto it but to no avail.
Any ideas?
Thanks.
Jitendra Mehta
Maybe you are looking for
-
Error while extracting values from SOAP Body using XPath (Retrieve from Message filter)
Hi, I am using 'Retrieve from Message' filter to extract element value from the following SOAP response envelope: <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:math="http://example.com/math.xsd"> <soapenv:Header/>
-
Newbie question on file tags / keywords
Over the last few years I have taken a few thousand pictures and have them organized with tags using Vista Photo Gallery. This application worked great, but I how have purchased Photoshop SC5 and would like to start working with Bridge. I can see t
-
After i changed this setting: autologin. into login with password i restarted the computer. it started up with a blank personal surrounding. also my .pages and .numbers documents were gone, personal settings gone, iphoto won't open and office program
-
Examples for RAS/BOE/Viewer SDK for Business Objects XI 3.1 (12.0)
Hi, I am a newbie in Business Objects. I am trying to find some examples on how to view reports on separate Application server (JBoss) and retrieve reports from Business Objects server. Us I understood from forums/guides I need to use Viewer SDK or (
-
ORA-12560 creating a db and logging in to existing databases
Win2K, 10gR2 Installed and created 2 databases. When I tried to create a third db, DBCA gives ORA-12560 : TNS Protocol Adapter Error. Also noticed that both the databases had been down since the last 10 days. Database Control/OEM gives ORA-12505: TNS