Security restrictions on offline form
In my application, I have a form with a submit button of control type 'regular'. It can be downloaded on local hard disk filled and saved. But for the same form, I changed the control type of submit button to 'submit' and ran the application again. Now when I download the form and fill it, I cant save any of the form data. I see that the security restrictions on the form now have changed. Any idea if I can set these security restrictions so that I can still save the form data?
Marlon,
We also have similar requirement. So we logged an SR with Oracle. We got response as
=============================================================================================================================
No but there is an enhancement request
OER does not provide the ability to enforce assignment of specific asset tabs to specific users/roles.
True need to file enhancement request
Oracle® Fusion Middleware Configuration Guide for Oracle Enterprise Repository
11g Release 1 (11.1.1)
Part Number E16580-04
http://docs.oracle.com/cd/E14571_01/doc.1111/e16580/rbac.htm
10309159 - TAB LEVEL SECURITY - AUTHORISATION
Use Case
If I give a user with Tester Role and a user with Lead Developer Role
approval capability (ie. Tester Role should only approve "Testing" tab and
Lead Developer Role should only approve "Technical" tab). They should only
be able to see the other tabs but not approve anything. e.g. the Lead
developer should only approve the "Technical" tab.
================================================================================================================================
Similar Messages
-
Error is in example "How to Create Online and Offline Forms in Web Dynpro"
Hi,
I am developing " How to Create Online and Offline Forms in Web Dynpro " in nwds 7.0. This is standard example which is available at sdn. but when i run it gives me error like "
Failed to process request. Please contact your system administrator.
[Hide]
Error Summary
While processing the current request, an exception occured which could not be handled by the application or the framework.
If the information contained on this page doesn't help you to find and correct the cause of the problem, please contact your system administrator. To facilitate analysis of the problem, keep a copy of this error page. Hint: Most browsers allow to select all content, copy it and then paste it into an empty document (e.g. email or simple text file).
Root Cause
The initial exception that caused the request to fail, was:
java.lang.NullPointerException
at com.travelrequestapp.TravelRequestComView.wdDoInit(TravelRequestComView.java:97)
at com.travelrequestapp.wdp.InternalTravelRequestComView.wdDoInit(InternalTravelRequestComView.java:133)
at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.doInit(DelegatingView.java:61)
at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)
at com.sap.tc.webdynpro.progmodel.view.View.initController(View.java:445)
... 34 more
See full exception chain for details.
System Environment
Client
Web Dynpro Client Type HTML Client
User agent Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)
Version null
DOM version null
Client Type msie6
Client Type Profile ie6
ActiveX enabled
Cookies enabled
Frames enabled
Java Applets enabled
JavaScript enabled
Tables enabled
VB Script enabled
Server
Web Dynpro Runtime Vendor: SAP, build ID: 7.0009.20060804145649.0000 (release=645_VAL_REL, buildtime=2006-08-26:14:41:58[UTC], changelist=413534, host=pwdfm101), build date: Thu Feb 15 10:23:57 IST 2007
J2EE Engine 7.00 patchlevel
Java VM Java HotSpot(TM) Server VM, version:1.4.2_13-b06, vendor: Sun Microsystems Inc.
Operating system Windows 2003, version: 5.2, architecture: x86
Session & Other
Session Locale en_US
Time of Failure Mon Oct 29 12:13:24 IST 2007 (Java Time: 1193640204484)
Web Dynpro Code Generation Infos
local/TravelRequest
SapDictionaryGenerationCore 7.0006.20051128142640.0000 (release=645_VAL_REL, buildtime=2006-01-14:14:59:42[UTC], changelist=378068, host=PWDFM101.wdf.sap.corp)
SapDictionaryGenerationTemplates (unknown)
SapGenerationFrameworkCore 7.0006.20050713144242.0000 (release=645_VAL_REL, buildtime=2006-01-14:14:48:59[UTC], changelist=357697, host=PWDFM101.wdf.sap.corp)
SapIdeWebDynproCheckLayer 7.0006.20051128151834.0000 (release=645_VAL_REL, buildtime=2006-01-14:15:05:10[UTC], changelist=378108, host=PWDFM101.wdf.sap.corp)
SapMetamodelCommon 7.0006.20050929162929.0000 (release=645_VAL_REL, buildtime=2006-01-14:14:49:45[UTC], changelist=369752, host=PWDFM101.wdf.sap.corp)
SapMetamodelCore 7.0006.20050929162929.0000 (release=645_VAL_REL, buildtime=2006-01-14:14:49:38[UTC], changelist=369752, host=PWDFM101.wdf.sap.corp)
SapMetamodelDictionary 7.0006.20051128142655.0000 (release=645_VAL_REL, buildtime=2006-01-14:14:57:39[UTC], changelist=378069, host=PWDFM101.wdf.sap.corp)
SapMetamodelWebDynpro 7.0006.20051128151854.0000 (release=645_VAL_REL, buildtime=2006-01-14:15:02:09[UTC], changelist=378109, host=PWDFM101.wdf.sap.corp)
SapWebDynproGenerationCTemplates 7.0006.20060111154644.0000 (release=645_VAL_REL, buildtime=2006-01-14:15:18:33[UTC], changelist=384368, host=pwdfm101)
SapWebDynproGenerationCore 7.0006.20051128151834.0000 (release=645_VAL_REL, buildtime=2006-01-14:15:05:21[UTC], changelist=378108, host=PWDFM101.wdf.sap.corp)
SapWebDynproGenerationTemplates 7.0006.20060111154644.0000 (release=645_VAL_REL, buildtime=2006-01-14:15:18:33[UTC], changelist=384368, host=pwdfm101)
sap.com/tcwddispwda
No information available null
sap.com/tcwdcorecomp
No information available null
Detailed Error Information
Detailed Exception Chain
java.lang.NullPointerException
at com.travelrequestapp.TravelRequestComView.wdDoInit(TravelRequestComView.java:97)
at com.travelrequestapp.wdp.InternalTravelRequestComView.wdDoInit(InternalTravelRequestComView.java:133)
at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.doInit(DelegatingView.java:61)
at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)
at com.sap.tc.webdynpro.progmodel.view.View.initController(View.java:445)
at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:709)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.bindRoot(ViewManager.java:579)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.makeVisible(ViewManager.java:793)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.performNavigation(ViewManager.java:296)
at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.navigate(ClientApplication.java:767)
at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.navigate(ClientComponent.java:873)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doNavigation(WindowPhaseModel.java:498)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:144)
at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)
at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:299)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:711)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:665)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:232)
at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:152)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)
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:390)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
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(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
So please help me to correct this error .....
Help will be rewarded.
Regards,
Gurprit BhatiaHi Gurprit,
A null value is being passed at runtime. Make sure that you enter values when filling in the form.
Also check for the cardinality of the nodes being used. You can also initiliaze your value attributes as follows:
In wdDoInit() method:
wdContext.currentNodeAElement.setValueA("");
Context is as follows:
RootNode
|____NodeA
|_____ValueA
Hope it helps. -
Security restrictions , how to read access a txt file supplied in a jar
I had written a simple application which uses file handling to display random line from a file on a swing window
but I do not know how to give my web application permission to access a file
when I set security permission to all, then error says the application cannot load because the code require unrestricted acess to system resources and is unsigned, I don't know how to get that certificate and I am only doing it for learning purposes.
when I remove security permissions then it says
access denied java.io.FilePermissions geekjoskes.txt readPlease help
I locally signed the jar file, and give my jnlp fiel all permissions, worked fine in my system but when I access same file from local lan it sho errors ,
please help, I have my txt file stored in my jar file with main class
the whole jnlp file is
<?xml version="1.0" encoding="utf-8"?>
<!-- JNLP File for geek jokes -->
<jnlp spec="1.0+"
codebase="http://localhost/javasoft/webstart/"
href="geekjokes.jnlp">
<information>
<title>Geek Jokes</title>
<vendor>Vaibhav Mishra</vendor>
<description>Geeky jokes</description>
<homepage href="http://scjpbeginner.blogspot.com"/>
<description kind="short">shows random jokes</description>
<offline-allowed/>
</information>
<resources>
<jar href="GeekJokes0.1.jar"/>
<j2se version="1.6+"
href="http://java.sun.com/products/autodl/j2se"/>
<icon href="geekjokes.gif"/>
<icon kind="splash" href = "geekjokes.gif"/>
</resources>
<security>
<all-permissions/>
</security>
<offline-allowed/>
<application-desc main-class="GeekJokes"/>
</jnlp>Edited by: 76jsr on Aug 7, 2008 3:45 PM
Edited by: 76jsr on Aug 7, 2008 3:49 PM>
I am extremely thankful to you and finally my first little app is working thanks to you,
here is it's link
[http://profile.iiita.ac.in/IIT2006117/javasoft/webstart/geekjokes/geekjokes.jnlp|http://profile.iiita.ac.in/IIT2006117/javasoft/webstart/geekjokes/geekjokes.jnlp] >
I am glad you got it working! But that launch file is still slightly invalid.
Here is a corrected, and slightly optimized (you can leave the prefix off the href, if it is the same as the codebase), version of it.
<?xml version="1.0" encoding="utf-8"?>
<!-- JNLP File for GeekJokes 0.3 app -->
<jnlp spec="1.0+"
codebase="http://profile.iiita.ac.in/IIT2006117/javasoft/webstart/geekjokes"
href="geekjokes.jnlp">
<information>
<title>GeekJokes App</title>
<vendor>Vaibhav Mishra</vendor>
<homepage href="http://scjpbeginner.blogspot.com"/>
<description>Geeky Jokes</description>
<description kind="short">Cshows random jokes</description>
<offline-allowed/>
</information>
<resources>
<j2se version="1.6+"
href="http://java.sun.com/products/autodl/j2se"/>
<jar href="GeekJokes0.3.jar"/>
</resources>
<application-desc main-class="Process"/>
</jnlp>Very 'Geeky', BTW. ;-)
Another few things I noted when I looked at it.
1) There is a stray thread going after the JOptionPane is dismissed. The VM does not end, and the console (if you have it configured to pop-up for JWS apps.) stays on-screen.
2) If all the jokes are prefixed by '* ' I would recommend removing it from every line of the source file and either re-adding it at runtime, or (preferably) not adding it at all (since it is redundant).
3) Reconfigure the app. into a loop, and offer the user a JOptionPane with "Another Joke"/"End" instead of "OK".
4) You can always remove that debugging line I inserted in the code to show the path to the Jar - it was just intended as a 'sanity check' during testing.
5) Why is it Java 1.6+? JOptionPane was introduced in Java 1.2 with the first Swing implementations, and the I/O is compatible with Java 1.1.
>
Thanks again!!!!>Thanks are best expressed (to me) in the notation of a helpful/correct answer (which you have done), and the assignation of (the remaining) dukes*. ;-)
* After all - checks the title - we have gotten entirely around those 'security restrictions' in a sandboxed application. The reason being that File objects are rarely the correct choice, for applets or JWS apps. -
Remove 'Page Extraction' security restriction in PDF generated by ADS
Hello Experts,
I am currently working on a SAP CRM project where we are using Adobe Document Services (ADS) to generate some PDF documents from SAP.
I have an issue with the Page Extraction security restriction associated to PDF generated by ADS.
This cause a problem to us since we are expecting the PDF to be processed by Streamserve later on. Streamserve is then 'converting' the PDF in its proprietary format (.lxf) and is preparing a Post Script file for our printing partner.
I have understood that Streamserve cannot processed our PDF because of the Page Extraction restriction (out from ADS, value is set to Not Allowed by default).
I have seen the following posts in SDN:
Page extraction property in PDF document is set to 'not allowed'
Document Restriction Interactive Form
I am then getting concerned since it does not look as straightforward as I would have expected.
--> Can anyone confirm if there is a way to set the Page Extraction restriction as Allowed?
Via ADS configuration? Via code? Via some work in SAP (SFP, output device config...)?
In the above SDN posts, I can read things about buying a policy server, using Adobe Acrobat Pro or Reader Extensions.
Does anyone have a clear cut?
Thanks a lot.
Brice.Hello,
I don´t know how to make this work. I would open the OSS message for this and want SAP to give a workaround or say clearly this cannot be done. Well... in one of the mentioned threads it is mentioned that SAP said this is the right behavior but there was not a word about if that can be changed.
Otto
p.s.: probably it would be better for you to send only RAW data (i mean only XML data) and make the partner work with it. If the PDF is converted to "something" by a machine, then you don´t need PDF (what is a user GUI), to send only the data should suffice, or not? -
Domain level security issue with InfoPath Form
I have followed the article “Submitting Data from InfoPath 2007 to a SharePoint List” which can be found at
http://msdn.microsoft.com/en-us/library/cc162745.aspx.
But instead I am using SharePoint and InfoPath 2010.
I get the following error after deploying and running the form with its security level set to domain.
“A query to retrieve form data cannot be completed because this action would violate cross-domain restrictions. If this form template is published to a SharePoint
document library, cross-domain access for user form templates must be enabled under InfoPath Forms Services in SharePoint Central Administration, and the data connection settings must be stored in a UDC file in a data connection library in the same site collection.
If this is an administrator-approved form template, the security level of the form must be set to full trust, or the data connection settings must be stored in a UDC file by using the Manage data connection files option under InfoPath Forms Services in SharePoint
Central Administration.”
How do I get this form working on the server and client using domain level security?
Extra Note: On an additional not the form works fine in SharePoint and InfoPath designer when the security level is set to Full Trust.Hi, Is this possible over a SharePoint "LIST"? I'm hitting brick walls and can't set the Security level on my form at all. Everything that I'm reading refers to Document Libraries but nothing about SharePoint List. It seems that this should work over a list,
but I'm hitting brick walls all the way around. Here is a copy of the question that I posed below under Todd.Wilder's post:
Hi,
Following this forum question/comment I am attempting to set the security on my Infopath form to Full Trust. But, I don't have the Security and Trust option. I can set the Trusted Location through the Trust Center but I can't find anywhere to set security.
I am using InfoPath 2010. What am I missing? Everything that I'm reading says that this is the problem and my error message is exactly like SomeGuy's message. One more piece to this is...this is a form over an Existing SharePoint List. I've found that I can
see the Security if I start InfoPath and start a New Blank Form, but by editing the form from a SharePont list, the option to edit Security is not there. HELP!!
I am following the instructions below that come from:
http://msdn.microsoft.com/en-us/library/ee526352.aspx
The InfoPath form designer automatically selects the appropriate security level (either Restricted or Domain) based on the features that you are using in the form. The security setting is always as restrictive as possible, starting at Restricted, to help
ensure a greater level of protection for you and your data. Users can manually override this automated setting to select a level of security that is more appropriate for the form by following these steps:
Click the File tab, and then click Form Options on theInfo tab.
In the Categories list, click Security and Trust.
Uncheck the Automatically determine security level (recommended) check box.
Select the desired security level.
Thank you,
~Tina~
~Tina~ -
I have requirement.
Can we built offline forms on APEX meta data and populate base tables when connection is resolved.
These forms need to be built on views on base bales.
Edited by: |SN| on Oct 30, 2009 2:47 AMThis is one of the few times when I say APEX is probably not the right technology for the job. You essentially have 2 major problems: Replication and Deployment.
If they want to work offline, you're going to have to do some form of replication. Replication is NOT a trivial problem and whoever is working on it should have some experience with it. Oracle has a number of replication options using the Oracle Database. Another option to consider is a lighter weight database for the client db such as Berkley DB, which also has replication options: [Berkeley DB Replication|http://www.oracle.com/technology/documentation/berkeley-db/db/programmer_reference/rep.html]. I mention that as the deployment / upgrade process might be significantly easier for Berkley DB. We all know what an Oracle DB installation is like, or an upgrade to a newer release. Multiply that by 200 and it doesn't sound like a lot of fun.
As far as deployment, you have to deploy database objects (tables, indexes, etc) and application code. There's no built-in deployment functionality in APEX to have it automatically upgrade itself when you release a new version of your software. You would have to write that yourself. Maintaining that many APEX installations also sounds like a management nightmare.
To play devils advocate, I started changing my mind a bit as I was typing this ;) If you will have an Oracle Database at every location regardless of what front-end you use, then maybe the deployment of APEX apps isn't significantly different than say a J2EE app.
Tyler Muth
http://tylermuth.wordpress.com
[Applied Oracle Security: Developing Secure Database and Middleware Environments|http://www.amazon.com/gp/product/0071613706?ie=UTF8&tag=tylsblo-20&linkCode=as2&camp=1789&creative=9325&creativeASIN=0071613706] -
Security restriction in LoginModule?
I have implemented my own LoginModule. In the module, I try to reference an
EJB.
When I call PortableRemoteObject.narrow(), I get the following error:
java.lang.ClassCastException: Cannot narrow remote object to
net.lm.uams.service.ejb.UserAccountManagementServiceRemoteHome
Is this because of some security restriction related to the LoginModule, or
do you think that the problem stems from having two copies of the same EJB
classes? If the problem is related to having two copies of the classes, how
would I go about referencing the classes from the LoginModule without having
them in that .jar file?
Note that this problem isn't at weblogic startup - I have written code to
handle this initial administrator authentication. The problem occurs later
during form-based authentication. The publicly available pages/EJBs work
fine.
using WLS 7.0 on win2000.
I'd appreciate any pointers.
thanks
SeanBill,
I haven't added anything at all to the classpath in my startup script. WL
just picks up my jar in WL_HOME/server/lib/mbeantypes. I've done a
System.getProperty() for the classpath at runtime, and it doesn't include my
ejb.jar.
Yesterday, I re-wrote my class to do a straight JDBC lookup to the database
for username/pwd/roles. It's not the solution I'd prefer, because it
introduces a reliance on the underlying database schema into the
LoginModule. But, I don't really have time at the moment to spend
experimenting with my original idea. Hopefully I can come back to it in the
future.
thanks again,
Sean
"William Kemp" <[email protected]> wrote in message
news:[email protected]...
Each enterprise application has it's own classloader hierarchy, whichmeans the
ejbs and webapps in an EAR file are loaded by a classloader hierarchy thatis
parented by the boot, system, and application classloaders that load theboot
classes, java core classes, and weblogic.jar classes, and any classes thatyou
put in the classpath when you start weblogic. The EAR file classes areloaded
below these, hierarchically speaking.
I am assuming that you have put your LoginModule classfile in the javaclasspath
when you start the server. Are you perhaps putting the jar file generatedby the
ejbc process in the java classpath when you start the server, too? Couldyou
post your start script? Also, remember that the start script that comeswith
weblogic prepends it's jars and what not to the existing classpath. So,that
while you may not be explicitly adding the ejb jar file to the classpathin the
start script, it may be already in the classpath in the currentenvironment and
the start script is tacking that on at the end.
Just a guess.
Bill
Sean Ryan wrote:
Thanks for the response William. I have tried what you suggested, but
the
problem is still the same.
If I do the jndi lookup without the narrow() part, I can execute methodson
the resultant object using reflection. This is a bit of a hack, and not
really a satisfactory solution.
I have written a main() method in my class, and when I execute it (fromthe
.jar), it can do the lookup and narrow without any difficulty.
As I understand it, each container has its own classloader, however myclass
is essentially executing from within weblogic. Is there a bit of a greyarea
here in relation to class loading? Because, as I said my class worksfine
when it is executing in a separate jvm.
again, I would appreciate any input you can offer.
Sean
"William Kemp" <[email protected]> wrote in message
news:[email protected]...
If this was because of a security restriction, you would see a
different
Exception. Try putting just the compiled Home and Remote interfaces inthe
classpath used by the LoginModule and not the jar file with thegenerated
and
compiled code for the stubs. You don't need them in the client becuase
you
are
coding to the inteface, not the stubs.
Bill
Sean Ryan wrote:
I have implemented my own LoginModule. In the module, I try to
reference
an
EJB.
When I call PortableRemoteObject.narrow(), I get the following
error:
>>>>
java.lang.ClassCastException: Cannot narrow remote object to
net.lm.uams.service.ejb.UserAccountManagementServiceRemoteHome
Is this because of some security restriction related to theLoginModule,
or
do you think that the problem stems from having two copies of the
same
EJB
classes? If the problem is related to having two copies of the
classes,
how
would I go about referencing the classes from the LoginModule
without
having
them in that .jar file?
Note that this problem isn't at weblogic startup - I have written
code
to
handle this initial administrator authentication. The problem occurslater
during form-based authentication. The publicly available pages/EJBs
work
fine.
using WLS 7.0 on win2000.
I'd appreciate any pointers.
thanks
Sean -
Guided Procedure - Authorizing an offline form
Hello,
we're currently developing a Guided Procedure using an interactive offline form. The GP shall continue the process when the form is submitted back using HTTP.
Actually, we need to have authorization to make sure that only certain persons can return the data.
What's the best way to archieve this?
The best would be if the user is asked to provide uid/pwd and restrict access to the GP process in some way. Does Acrobat Reader come up with a pop up?
Thanks very much
StefanHi Cindy,
Your scenario seems to be a standard offline process.
Let me attempt to break it down for you:
1.Your offline pdf should have a submit button with the mail url.
2.The mail with the pdf/xdp attachement gets send to the preconfigured mailbox.
3.This mailbox is continously monitored by GP Adapters for any incoming mail.
4.In your design time you create a CO of type Interactive form which is basically your offline form.You also create your GP Process with the review and approving process.
5.Map the parameters of the Offline Interactive form CO to the Process Parameters.
(You should ensure the two have the same structure and number of parameters to make the mapping simpler)
6.So at runtime GP will do the mapping for you and when the approver logs on he sees the data passed from the offline form.
You can also refer this link,
http://help.sap.com/saphelp_nw70/helpdata/en/cc/4a94422386c76ae10000000a155106/frameset.htm
http://help.sap.com/saphelp_nw70/helpdata/en/cc/4a94422386c76ae10000000a155106/frameset.htm
Kindly award points if found helpful! -
Form once saved, data is disappearing on the offline form!
Hello
I am lauching my_form on IE browser on the 3/4 of the screen of GUI (Graphical User Interface of SAP), on the rest of the screen i put some GUI push buttons for SUBMIT (am not using Adobe's SUBMIT button). By chance if user forgets any mandatory field populating, then am throwing a GUI popup message, then the user closes this popup message, well, but
1) User can see physically data presenting on the form, but when user SAVEs the form by pressing Adobe's SAVE button.....the SAVEd copy on the local PC does not holding any data! all the form is blank
This is happening if popup comes up and user closes it
Pls. let me know how can i fix this issue that the form must retail the entered data all the time irrespective of popups
Thank youThank you. Sorry my original question is confusing, i will put it in the below way instead,
1st scenario:
I am launching 2 pages my_form on the IE browser, am entering data on first page, at this point i saved it on my laptop, it saved properly and when i checked the saved copy (offline copy) its holding all the entered data, well.
Now, the issue is,
2nd scenario:
I am launching my_form, am entering data on first page, at this point I SUBMITted the form (am not using Adobe's SUBMIT button, i have my own custom SUBMIT button outside of Adobe),
2A) Say, there is some errors (example, formatting, madatory fields not fillled, cross-depenedency validations failed)..... my application (its not adobe, i have my own custom application) is throwing some message
Now, user can see the entered data on the form physically....if user saves at this point, then, the saved offline form not holding any data
2B) Say, its successfully submitted, then my aplication (its not adobe, i have my own custom application) is throwing a message saying that "Successfully submitted" via Popup
Now, user can see the entered data on the form physically....if user saves at this point, then, the saved offline form not holding any data
Issue is coming when messages are throwing...i guess at this point some stuff/memories/nodes/fields/variables are clearing/loosing its data
Thank you -
Calling web service in offline form.
Hi,
I m trying to call web service in offline form with java script.
How can i pass request parameter? How can i get response?
Is there a sample java script code to do it?
Regards.>>I m trying to call web service in offline form with java script.
after you create the webservice dataconnection, drag and drop the WS into layout area. it will create the input fields related to the request parameters and output textfileds corresponding to response parameters.
>>How can i pass request parameter?
using javascript, you can fill those inputfields with the values of request parameters and use the method xfa.connectionSet.WSName.execute(0) to invoke the webservice.
>> How can i get response?
After successful execution of webservice call, the response values will be populated in the response textfields.
>>Is there a sample java script code to do it?
you can see some of the docs:
Understanding the Execute function in Adobe® LiveCycleu2122 Designer
http://wiki.sdn.sap.com/wiki/display/EmTech/DependentDropDowns
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d0d0a250-ccd1-2c10-9e9f-b9d5cf259a6d?quicklink=index&overridelayout=true
regards,
BJagdishwar. -
How to send an email to external user (offline form) from se38
Hi all
how to send an email to external user (offline form) from se38 and upload the same from recipent.
we have sent mail using scripts and smartforms but couldnt do here. It will be helpful if you can give us any sample code
regards
mohammedHi,
Have a look at this thread [Re: Sending PDF forms (created using SFP) as Email Attachment] i explain all the solution with a sample code .
Hope it's help you
regards -
Check Box Validation in Offline Form
Dear Experts,
I have a requirement in an offline form where I have six check boxes, and out of the six check boxes
user can only select any three.
Request you to please suggest how to achieve this.
Warm Regrads,
Upendra AgrawalThanks a ton Shaira.
Full points to you
Just wondering what is the "Validation Script Message" for each UI.
warm regards,
Upendra Agrawal -
Security Restrictions disappear when webi is modified
Hello,
I have the following problem with Security restrictions.
I have created a business security profile, and assign this profile to a user directly (I have tested the same assign the profile to a group and the problem occurs too).
The business security profile is defined this way:
1. At the first tap (Create query), I grant all the views of the business layer and all the objects.
2. At the second tap (Data) all objects are granted.
3. At the filter tap, I defined the row restrictions of the profile (3 conditions with and).
4. I assign the business profile to the user.
The steps to reproduce the problem are:
1. I create a webi (with an administrator user) that uses the universe that contains the business security profile
2. The user that have the business security profile restrictions assign, open the webi refresh and show only his data.
The SQL of the webi query shows the security restrictions (profile filters).
3. I modify the report (for instance, I drag a dimension on it). Save the report.
4. The user that have the business security profile restrictions, open the modified webi refresh and show all the data (as he was an administrator user).
The SQL of the webi query does not show the security restrictions (filters). The restrictions desappear of the SQL.
Please, could you help me?
Thanks
PilarEnable the following auditing on the server either through domain
policy or local policy:
Audit logon events - Success
Audit Object Access - Success
On the Auditing tab, add Everyone with the following audit settings. -
Adobe Offline Forms issue in GRC System
Experts:
I am working on creating a Offline Form for GRC Process Control in SAP GRC System. I have couple of doubts.
1. In the Form property, there is a new field call 'Inbound Handler'. The document which I referred says that, this 'inbound handler' helps in processing the inbound pdf's which comes thro mail. In this place we need to select the class developed with 2 methods, 1.Create Instance and 2. Handle PDF. And the document also talks about creating a separate class and referring it in the exit rules (SO50). I am not sure whether Inbound Handler is a replacement for Exit Rules (SO50) so something else. Please Clarify.
2. While generating the PDF file, as you know we call the series of function modules. I have problem with the FM ' CALL FUNCTION fm_name' . When this FM is executed, normally it should generate the PDF and XML which will be available in fp_formoutput-pdf and fp_formoutput-xml. But in this system even when there is no issues with the export parameters, the FM is not able to generate the PDF and XML. Both fp_formoutput-pdf and fp_formoutput-xml are coming as EMPTY. Result of which when the FM 'FP_JOB_OPEN' is called it displays the message 'No Job Started' and exits the program. This same program works find in ECC 6.0 system. Can anyone thro some light on this?
Line: -
TYPES: BEGIN OF st_test,
one TYPE string,
two TYPE string,
three TYPE string,
END OF st_test.
DATA: it_test TYPE st_test OCCURS 0.
DATA: wa_test TYPE st_test.
DATA: fp_outputparams type sfpoutputparams.
DATA: fm_name TYPE rs38l_fnam.
DATA: fp_docparams TYPE sfpdocparams.
DATA: result TYPE sfpjoboutput.
DATA: fp_formoutput type fpformoutput.
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-b02.
PARAMETERS: p_taskid TYPE grfntaskplan-taskplan_id DEFAULT 'DF492600B7308BF19F5E00237D624FE0' OBLIGATORY,
p_email TYPE ADR6-SMTP_ADDR DEFAULT 'a@b' OBLIGATORY,
p_tmail TYPE ADR6-SMTP_ADDR DEFAULT 'a@b'' OBLIGATORY,
p_form TYPE fpwbformname DEFAULT 'ZAOF_TEST',
p_langu TYPE spras NO-DISPLAY DEFAULT 'EN',
p_countr TYPE land1 NO-DISPLAY DEFAULT 'US',
p_pages TYPE fppagecount NO-DISPLAY DEFAULT 2,
p_loop TYPE i NO-DISPLAY DEFAULT 1.
SELECTION-SCREEN END OF BLOCK b1.
INITIALIZATION.
START-OF-SELECTION.
wa_test-one = 'One'.
wa_test-two = 'Two'.
wa_test-three = 'Three'.
append wa_test to it_test.
END-OF-SELECTION.
CALL FUNCTION 'FP_FUNCTION_MODULE_NAME'
EXPORTING
i_name = p_form
IMPORTING
e_funcname = fm_name.
fp_outputparams-getpdf = 'X'.
fp_outputparams-nodialog = '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.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
DO p_loop TIMES.
fp_docparams-langu = 'E'. "p_langu.
fp_docparams-country = 'US'."p_countr.
fp_docparams-FILLABLE = 'F'.
fp_docparams-dynamic = 'X'.
fp_docparams-UPDATE_INTERACTION_CODE = 'X'.
CALL FUNCTION fm_name
EXPORTING
/1bcdwb/docparams = fp_docparams
Ztest = it_test
IMPORTING
/1bcdwb/FORMOUTPUT = fp_formoutput
EXCEPTIONS
cancel = 1
usage_error = 2
system_error = 3
internal_error = 4.
ENDDO.
CALL FUNCTION 'FP_JOB_CLOSE'
IMPORTING
e_result = result
EXCEPTIONS
usage_error = 1
system_error = 2
internal_error = 3
OTHERS = 4.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
Thanks in Advance
Vijai
Edited by: Thomson VijaiAnand on Apr 21, 2010 11:15 AMHi Thomson
I met a similar probleam.
Could you explain how you get it through?
Thanks -
Offline Form Issue in SAP GRC System
Experts:
I am working on creating a Offline Form for GRC Process Control in SAP GRC System. I have couple of doubts.
1. In the Form property, there is a new field call 'Inbound Handler'. The document which I referred says that, this 'inbound handler' helps in processing the inbound pdf's which comes thro mail. In this place we need to select the class developed with 2 methods, 1.Create Instance and 2. Handle PDF. And the document also talks about creating a separate class and referring it in the exit rules (SO50). I am not sure whether Inbound Handler is a replacement for Exit Rules (SO50) so something else. Please Clarify.
2. While generating the PDF file, as you know we call the series of function modules. I have problem with the FM ' CALL FUNCTION fm_name' . When this FM is executed, normally it should generate the PDF and XML which will be available in fp_formoutput-pdf and fp_formoutput-xml. But in this system even when there is no issues with the export parameters, the FM is not able to generate the PDF and XML. Both fp_formoutput-pdf and fp_formoutput-xml are coming as EMPTY. Result of which when the FM 'FP_JOB_OPEN' is called it displays the message 'No Job Started' and exits the program. This same program works find in ECC 6.0 system. Can anyone thro some light on this?
TYPES: BEGIN OF st_test,
one TYPE string,
two TYPE string,
three TYPE string,
END OF st_test.
DATA: it_test TYPE st_test OCCURS 0.
DATA: wa_test TYPE st_test.
DATA: fp_outputparams type sfpoutputparams.
DATA: fm_name TYPE rs38l_fnam.
DATA: fp_docparams TYPE sfpdocparams.
DATA: result TYPE sfpjoboutput.
DATA: fp_formoutput type fpformoutput.
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-b02.
PARAMETERS: p_taskid TYPE grfntaskplan-taskplan_id DEFAULT 'DF492600B7308BF19F5E00237D624FE0' OBLIGATORY,
p_email TYPE ADR6-SMTP_ADDR DEFAULT 'a@b' OBLIGATORY,
p_tmail TYPE ADR6-SMTP_ADDR DEFAULT 'a@b'' OBLIGATORY,
p_form TYPE fpwbformname DEFAULT 'ZAOF_TEST',
p_langu TYPE spras NO-DISPLAY DEFAULT 'EN',
p_countr TYPE land1 NO-DISPLAY DEFAULT 'US',
p_pages TYPE fppagecount NO-DISPLAY DEFAULT 2,
p_loop TYPE i NO-DISPLAY DEFAULT 1.
SELECTION-SCREEN END OF BLOCK b1.
INITIALIZATION.
START-OF-SELECTION.
wa_test-one = 'One'.
wa_test-two = 'Two'.
wa_test-three = 'Three'.
append wa_test to it_test.
END-OF-SELECTION.
CALL FUNCTION 'FP_FUNCTION_MODULE_NAME'
EXPORTING
i_name = p_form
IMPORTING
e_funcname = fm_name.
fp_outputparams-getpdf = 'X'.
fp_outputparams-nodialog = '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.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
DO p_loop TIMES.
fp_docparams-langu = 'E'. "p_langu.
fp_docparams-country = 'US'."p_countr.
fp_docparams-FILLABLE = 'F'.
fp_docparams-dynamic = 'X'.
fp_docparams-UPDATE_INTERACTION_CODE = 'X'.
CALL FUNCTION fm_name
EXPORTING
/1bcdwb/docparams = fp_docparams
Ztest = it_test
IMPORTING
/1bcdwb/FORMOUTPUT = fp_formoutput
EXCEPTIONS
cancel = 1
usage_error = 2
system_error = 3
internal_error = 4.
ENDDO.
CALL FUNCTION 'FP_JOB_CLOSE'
IMPORTING
e_result = result
EXCEPTIONS
usage_error = 1
system_error = 2
internal_error = 3
OTHERS = 4.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
Thanks in Advance
Vijai
Edited by: Thomson VijaiAnand on Apr 21, 2010 11:15 AMHi Thomson
I met a similar probleam.
Could you explain how you get it through?
Thanks
Maybe you are looking for
-
Problem with conditions in creation of contract using BAPI_CONTRACT_CREATE
Hi, I am using BAPI_CONTRACT_CREATE and it does creates contracts and items, but even I am sending condition information to the BAPI , but it is not create them and I donu2019t even get an error message. Thanks and Regards, Pavan Meda
-
Statement / Connection Which is better
Howdee. Those that have been reading my posts will know what this is about ;-) In this app I am updating a java.sql.Connection is created at the beginning of the appiication. A Statement object is created from that. That single Statement object is pa
-
Macbook pro desktop won't display via my viewsonic dlp projector
When I connect my macbook pro to my viewsonic projector, the projection image isn't my screen displayed. If I take my web browser and move it to the left off the view of the desktop, it then becomes visible via the projection. adjustments on the pr
-
BBC iplayer app not working on my N97
Does anyone know why the app has stopped working? I click on it but it just takes me to a blank page. Also how I can reload the app? All the blogs direct me to the iplayer mobile site but once there, there is nowhere to download the app. Any help gra
-
Where is the "Keyword Icon?" (How to batch assign?)
I am trying to assign keywords to a batch of photos (as per a Macworld tip-May'06). It says, "select the photos then click on the Keyword icon (the small key icon) at the bottom left of the iPhoto window, and drag the photos to the keyword you wish t