HCM interactive Forms - hide fields and backend connection
Hello,
we plan to implement a personnel transfer workflow based on interactive forms. Because in one step the user should not be able to see a couple of fields, it is possible in interactive forms zu hide fields based on the users role?
I read a lot the last days but what I still havent found out and I hope you can push me in the right direction is, how the connection between backend and Form is working.
Inside of an example form and in the documentation is descriped to use this below code to implement a bushbutton and the send message to create a server round trip. But if I create 2 pushbuttons with the same code, how do I know which button was pressed? Or do I have to create my own events somewhere? Or is there only this one event and I have to set a hidden field with some value via javascript or formcalc to find out whats going on in the form?
$record.CONTROL_PARAM.ISR_EVENT = "USER_EVENT_CHECK"
ContainerFoundation_JS.SendMessageToContainer(event.target, "submit", "", "", "", "");
best regards,
Kai
Hey Rajesh
I'm not sure it will work - but its worth a try.
Every time i wont to hide some subforms or UI elements - I determine them as "invisible" by default - and when the conditions are right - I turn them to "visible" (negatively way).
Hopefully it will help you.
Eyal
Similar Messages
-
Auto Saving of HCM interactive form in Background
Hi ,
We are using HCM Forms and Process to automate the processes where user fills the interactive form from EP and after that workflow will take care of approvals and finally data of the form is saved in the infotypes.Till now its working fine.
But there is one requirement to save the form at the last approval level on the application server.As HCM forms and process is using Case management and all data of the form is available in XML format which enduser cannnot understand.
So can you suugest the way to save this pdf form automatically in the backgound.
Thanks,
RahulHi Rahul.
Please use my profile to contact me and I'll send you some code that will help.
Thanks,
Derrick Banks
Banks & Company -
HCM Interactive forms - operation error while applying usage rights
Hi!
We have setup several scenarios using the new HCM Interactive forms on ERP6.0 and EP7.0. The scenarios include things like Transfer, pay change request.
In 9 out of 10 cases everything thing is working as expected so that the users can complete the forms and the process for their requests but occasionally we are seeing a random error that occurs for any user at any time without any apparent pattern.
The below is what is seen from the log file
Exception Stack Trace:
com.adobe.ProcessingError: PDF operation error while applying usage rights to PDF: /tmp/adobewa_PEP_17116350/DM-6192899546130604164.dir/DM8253967776737558967.tmp
Specific error information:
this document is signed
at com.adobe.ads.request.UsageRights.execute(Unknown Source)
at com.adobe.BaseADSRequest.doWork(Unknown Source)
at com.adobe.AdobeDocumentServicesWorker.execute(Unknown Source)
at com.adobe.AdobeDocumentServicesEJB.processRequest(Unknown Source)
at com.adobe.AdobeDocumentServicesEJB.rpData(Unknown Source)
at com.adobe.AdobeDocumentServicesLocalLocalObjectImpl0_0.rpData(AdobeDocumentServicesLocalLocalObjectImpl0_0.java:120)
at sun.reflect.GeneratedMethodAccessor403.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:62)
at java.lang.reflect.Method.invoke(Method.java:391)
at com.sap.engine.services.webservices.runtime.EJBImplementationContainer.invokeMethod(EJBImplementationContainer.java:126)
at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:157)
at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:79)
at com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPost(ServletDispatcherImpl.java:92)
at SoapServlet.doPost(SoapServlet.java:51)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(AccessController.java:215)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
Caused by: com.adobe.document.pdf.PDFOperationFailure: IDL:com/adobe/document/pdf/PDFOperationFailure:1.0
at com.adobe.EJB_PDFAgent.linearize(Unknown Source)
at com.adobe.EJB_PDFAgent.setUsageRights(Unknown Source)
... 30 more
I am in the processes of raising a message to SAP about this but was wondering if any one else had experienced a similar error or knows what might cause this type of error.
Thanks
MattWe had the same problem. The fix is to get a unique ID for every form. Given below
Instructions to generate unique ID
1. Modify template
Edit your template via t-code SFP
-> goto Layout tab -> Adobe LiveCycle Designer will be started
-> Goto 'XML source' tab
in line2, you will find following entry
<?xfa generator="AdobeLiveCycleDesigner_V8.0_SAP" APIVersion="2.5.8227.0"?>
<xdp:xdp xmlns:xdp="http://ns.adobe.com/xdp/" timeStamp="2008-09-11T14:
39:44Z" uuid="4ed773ff-6aeb-483e-a5ec-4af1a138c775">
from this line, delete uuid="..." part.
Go back to 'Design view' tab
Check if layout is not changed.
Save / activate template
2. Delete database table entry for table ADS_Licensed_forms
Schema SAP<SID>DB -> table ADS_LICENSED_FORMS
(you can delete all table entry from this table)
3. When you access the forms, they are aitomatically registered in this table.
Hope this helps.
Sunil -
Interactive Form - digital signature and fields locked
Hi everyone,
Lets say we have 2 input fields in the Interactive Form.
In addition, we have a digital signature field that locks.
How can I specify which fields I want to lock ?
Thanks
Regards.Hi David,
Lets say you have a digital signature field. What you could do is on the click event of the Signature field, you could Lock the 2 input fields.
Say Text1 & Text2 (Names of the Inputfields respectively) by using the following Commands.
Text1.access = "readOnly";
Text2.access = "readOnly";
Note : Before adding the code set the Language to "Java Script". -
Adobe Interactive forms with Graph and Japanese text
Hi Experts,
I want to use graph/bar/pie chart with Adobe Interactive forms and along with that the UI element's(Button,lable,table header,column) text has to be in Japanese language.
Is it possible using Adobe interactive form ?
Thanks in advance.I don´t understand. Where do you want the Japanese texts? In the ordinary fields? Then you have to use (of course install first) some Japanese fonts for the fields. If you would like to have the texts in the picture, then there is no problem with the form since the texts are coming as a part of the picture into the form and you don´t need any fonts. Of course you need to install/ configure the japanese fonts in the backend to be able to draw it into the picture.
Otto -
Adobe Interactive Form text field not editable
Hello,
I created an Adobe Form using transaction SFP and placed a textfield on the body page.
I then created a Web Dynpro application using SE80, placed Interactive Form container on the view. I also checked the flag 'Enabled' and provided the templateSource as my Adobe Form name.
When I test the WD application, the text field is not editable.
Can you please advise what needs to be done?
Thanks
SagarHi...
Place the following code in domodifyview
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( 'INTERACTIVE_FORM' ).
lr_method_handler ?= lr_interactive_form->_method_handler.
lr_method_handler->set_legacy_editing_enabled( abap_true ).
Thanks
Gopal. -
What we can do by SAP Interactive Forms by Adobe and What we cannot do
My question is what we can do by SIFbA and What we cannot do. Means advantages and disadvantages of SIFbA in online and offline scenarios.
Regards
Iftikhar AliYou can save a PDF file into another PDF file. If both are interactive forms and after completeing one process (first form) you want to keep the reference in the second form, you can upload the first one as the attachment into the second one. In the backend SAP system you can extract data from the second, extract the attachments from the second (what is the first form), then extract data from the first one too. if you have no access, there is no help. But if you have ocasional access to the net, you could use web services called from your forms.
regards Otto -
License requirement for HCM INteractive form
Hi,
We are planning to use HCM form and process in HR Admin role.
There are Interactive pdf form in process which will be filled and submitted by end user(like employee, HR admin).
Do we need a separate license from SAP or ADOBE to use or customize or to developed our own interactive form.
Request you to please clarify.
Regards,
ZaidHi Chintan,
Thanks for reply.
We have gone through SAP note 750784.
Need clarification regarding below criteria mentioned in note.
You use interactive forms in a productive system, that is, end
users fill in generated PDF forms during business operations.
Is this also applicable to standard form used in production scenario with out modification?
Regards,
Zaid -
Automatic deployment of Interactive Forms through CBS and Transport Studio?
Good evening!
I just finished my last changes on my first Web Dynpro project and a local build and deployment worked without problems.
Now, when I check in the changes into DTR, activate and release the files, then my changes on different web pages are displayed but now the Interactive Form that worked before is no longer generated and no error message can be found.
We are currently using Netweaver 2004 on our development systems with Web AS 6.40 PatchLevel 108290.313 on AIX 5.3 as our development portal.
So, could you tell me where I can find errors of the Adobe Document Service ? I think that the problem is somehow connected to the ADS, but I am absolutely unsure.
Thank you for your answers and for your help.
Regards,
SaschaWe actually didn't have a problem with the transport studio and CBS, it all had to do with the usage of different browsers on the development system (with IE) and our development portal (which I tested from my local computer with Firefox) ... the problem was once again sitting between keyboard and chair.
-
Interactive form, guided procedure and R3 system
Hi experts,
I am working on a project where i am required to create a interactive form (pdf) using SAP NetWeaver. The user is allow to fill up their form before they finally call the SAP guided procedure upon hitting the submit button.
I have go through some tutorial on guided procedure to perform process control.
However, the problem now is, after the guided procedure had completed all the different stages of approval, i need it to send the pdf form to the SAP R3 system and insert data to the database.
So far, i have created an interactive form.
I need to acquire knowledge on how i could allow the guided procedure to interface with the r3 system after the form is approved.
Very much appreciated if someone can help me in this area.Hi colin lim ,
The following r excellent websites which give examples on how to use ADOBE forms in R/3:
https://www.sdn.sap.com/irj/sdn/adobe
Improving the Performance of Adobe® LiveCycleu2122 Designer Forms(scripting)
http://www.adobe.com/devnet/livecycle/articles/lc_designer_perf_guidelines.pdf
Interactive Forms Based on Adobe Software: Overview
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/e635e290-0201-0010-a9be-9e8e4ce04770
Adobe Interactive Forms
http://www.saplounge.be/Files/media/pdf/Huberland-Interactive-Forms-2007.10.10.pdf
Taking interactive forms to next level
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/8c103c36-0301-0010-cda8-f6b381bedb6e
Introduction to Adobe PDF Library SDK(PDFL SDK)(Simply scroll the document)
http://partners.adobe.com/public/developer/en/webseminars/PDFL_WebSeminar.pdf
Creating Interactive forms in webdynpro for java
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5f27e290-0201-0010-ff82-c21557572da1
PDF-Based Print Forms/SAP Interactive Forms by Adobe
http://help.sap.com/saphelp_nw04s/helpdata/en/c8/4adf7ba13c4ac1b4600d4df15f8b84/frameset.htm
Date Objects in Adobe Designer
http://help.sap.com/saphelp_nw04/helpdata/en/dd/60694fddb74ad88cdb7d2a094f3dd2/frameset.htm
Checking and Testing a PDF-Based Print Form
http://help.sap.com/saphelp_nw04s/helpdata/en/c2/1fe9aa4d7b413e8515f90b73729e97/frameset.htm
Architecture
http://help.sap.com/saphelp_nw04/helpdata/en/f2/21021b911f4c0cae11459a4ce0bc62/frameset.htm
http://www.nl4b.com/Adobe/Invitation_SAPBrussels_Q407.pdf
cheers!
gyanaraj
****Pls reward points if u find this helpful -
Generate Adobe Interactive Form in background and setpdfSource value.
Hi,
Is there any way to create Adobe Interactive Form in the background assigning R/3 data (without displaying) and assign pdfSource binary information in context attribute and later, display Adobe Interactive Form using pdfSource context attribute in a new window?
if Adobe Interactive Form is in Visible state, I'm also able to display Adobe Interactive Form in a new window using pdfSource binary context attribute, .
But, unable to create Adobe Interactive form in the background when Adobe Interactive Form Visibility is NONE and unable to assign binary data to pdfSource attribute in context and hence unable to display Adobe Interactive Form in a new window. Kindly help me if this process is possible.
Thank you in advance.
Regards
PrasadHi Prasad,
This is certainly possible. First populate the dataSource context node with the data (e.g. coming from R/3). Then use <a href="http://help.sap.com/javadocs/NW04S/current/wd/com/sap/tc/webdynpro/clientserver/adobe/api/WDInteractiveFormHelper.html">WDInteractiveFormHelper.getContextDataAsStream</a> to obtain the data.xml as a byte[] by calling toByteArray() on the ByteArrayOutputStream. The next step is to obtain the xdp template as a byte[] (I don't know exactly how to do this, but it's certainly possible using some API, just as you would read other resources deployed within your Web Dynpro). When you have both the template and the data, you can use the <a href="http://help.sap.com/javadocs/NW04S/current/wd/com/sap/tc/webdynpro/clientserver/adobe/pdfdocument/api/package-summary.html">PDFDocument</a> API to render a PDF, something as <i>WDPDFDocumentFactory.getDocumentHandler().getDocumentContext().getDocumentCreationContext()</i>; set the data and the template and other options like interactive, call execute and retrieve the pdf byte[] from the returned object. Eventually you can assign the pdf byte[] to the pdfSource context attribute. In case you use NW04, you must use the <a href="http://help.sap.com/javadocs/NW04S/current/wd/com/sap/tc/webdynpro/pdfobject/api/package-summary.html">PDFObject</a> instead.
Besides, why would you want to create the PDF before displaying it?
Kind regards,
Sigiswald -
Configuring Interactive Forms by Adobe and Installing the License
Hellom
I must install the licenses and configure the Interactive Forms by Adobe to my customer. My questions are:
- How can I see the license of Interactive Forms by Adobe on the MarketPlace ?
- How must I install this license on the customer...by ABAP ?? by Java ??
- I've already configure the Adobe Document Services. There is any additional step to do inside the system ??
- Any other important additional to be considered working with Interactive Forms by Adobe ??Albert,
1) to my knowledge, you can't see the license in Marketplace
2) on java stack, since the ADS is a Java-Service, see http://help.sap.com/saphelp_nw70/helpdata/DE/fe/e8cc48abee49f082dfbd5b45d98dd4/frameset.htm
3) depends on what you have done so far... (see the above link for missing parts)
4) well.... it depends what you want to do
kr, achim -
Adobe Interactive Forms via Mail and PI.
Hi All,
We are currently implementing an adobe interactive forms scenario (offline) at our customer.
The initial scenario was the folllowing
1. PDF is generated on the CRM system and downloaded towards the clients PC
2. PDF is adjusted by enduser
3. When all info is added, enduser presses the submit button in the pdf, this triggers the sending of an email, with an attachment containing the filled in data in xml format.
4. PI reads the mail, takes the XML and processes the data.
The scenario was quiet easy to enable.
Now the customer wants the PDF to be mailed instead of or toghetger with the xml representing the data. Reason for this is that they want to pdf to be stored inside the initial transaction (service order) in SAP (archiving reasons).
The PI system is just acting as a mail client. When the mail is read, the pdf needs to be converted into an xml, representing the data. I would like to use the adobe document service to convert the pdf.
So the system that generates the pdf (=CRM) and the system that needs to convert it (PI) is different.
Can the adobe document service by addressed from within a standard java or abap class.
Any idea whether this can be done and how?
Easier solution would be, attaching the pdf and the xml in the mail message. Is this possible?
Kind regards
JorisHi,
Adobe Interactive form can be generated and sent it via email by using a normal Java class. But that Java class should run in a server which should contain Adobe DocumentService.This java class can be archived as a par file and deployed on Portal server or can be written as a Webservice and can be triggered by clicking on a URL.
Hope this blog helps.
/people/ramesh.kotagiri/blog/2009/01/19/dynamic-generation-of-offline-adobe-interactive-forms-for-sap-46c-and-ep-70-without-user-intervention-part-150-iii -
Drop-down list in interactive form go up and sounds weird
Hello everybody,
I've a problem with a drop down list in an interactive form in my webdynpro java application.
I've an interactive form in my view, display type is "native".
I've put a drop down list in the pdf and filled it with some elements taken from a bapi.
It looks like this
IWDAttributeInfo countryInfo = wdContext.nodeListePoste().getNodeInfo().getAttribute("ListeTypePoste");
ISimpleTypeModifiable countryType =
countryInfo.getModifiableSimpleType();
IModifiableSimpleValueSet countryValueSet =
countryType.getSVServices().getModifiableSimpleValueSet();
for(int i=0;i<wdContext.nodeListe_Poste_view().size();i++){
IPrivateFDIView.IListe_Poste_viewElement element = (IPrivateFDIView.IListe_Poste_viewElement)wdContext.nodeListe_Poste_view().getElementAt(i);
countryValueSet.put(element.getPoste_Code(),element.getPoste_Libelle());
then I've binded my drop down list with the element of the context "ListeTypePoste"
When I run the application I can see the list in my drop down but it goes "up"
Like this:
http://img198.imageshack.us/img198/7263/20111207170807.png
Instead of having my list going down it goes up.
And when I click the arrow to open the list I've a weird BEEEEEP like an error.
At the end the list works well and if I choose an element it's well selected, but I would like to take of the BEEEP and to have the regular list going down.
Any ideas?Hi
I think you problem can be traced to the place where you put your drop down.
As far as I understand your drop down funcions well.
Try to move it into another container or best put it under RoorContainer. Test it.
regards
yuval peery -
How to Hide Fields and shrink group in a crystal report
I am workling on a report that is looking for the top 15 accounts by state based on assets. I did that by creating a running total field and supressing anything where that running total field is greater than 15. However, my problem is that if the state has more than 15 I have blank space between that state and the next one. Any way to clear that blank space??
Thanks for your timeHi,
How you suppressed the particular section Which containing the Objects.
Suppose you are displaying Accounts in Details section , Suppress the section itself with your condiotion.
Selection Expert>Common Tab> Suppress-->x-2
{#RTotal0}>15
Regards,
Salah.
Maybe you are looking for
-
I have owned an iPod touch for about a month now and I having some problems with it. On occasion, my iPod is running very slowly, even when I keep my multitasking bar empty, the native apps such as the App Store, Music, Videos, etc. lag a lot wheneve
-
Unable to connect after update to 8.0.13
Hi, I've been using the previous version for some time without any issues. Since I updated to 8.0.13 I can't connect to my remote machine anymore. I'm using Yosemite 10.10.2. The remote machine is behind a TS gateway. When connecting, the app shows a
-
My ipad will not start up, it has the swirl in the center of the screen and has been there for 30hrs now, what can I do?
-
Yellow screen appears, sometimes when the user id is inserted and sometimes the user id is okay but then when the password is inserted. It warns the site has not returned a proper certificate and to proceed at my risk. The on-line banking support ser
-
Can you change the apple id that an iPod is using and not lose any data?
Help soon plz!