APEX Offline Forms
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 AM
This 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]
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. -
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 -
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 -
Email on Visual Approval and offline form as attachment in UWL
Hello,
I have a process which is like this
1) User to fill a form which on submit will go for approval.
2) On approval or rejection a mail to be sent to the person who submitted the offline form
I have done the following
1) Create a offline form which will intiatiate the Visual Approval process . This sends out the approval/rejection work item to UWL . But the "From" field in UWL for the task item is "CAF SAP user"
I need to know how to do the following
1) What i need to do is on approval or rejection, some how capture the user who submitted the offline form and then send him an email.
2) Also, if possible on submit of the offline form , i need the UWL task to contain the PDF attachment.
3) How do i send an email on the result state in Visual approval ? There are two result states defined"Data is approved" and "data is rejected" , but the "Target" column doesnt have any options.
Appreciate your help
Regards
Jayesh
Is this possible ?
Edited by: Jayesh Ghodge on Jan 16, 2008 4:04 PMI have set a callable object of background email type in the action which is mapped to a result state that it should sent out an email on approval or rejection.(target)
The block is executed successfully. but the email is not sent.
I tested the individual callable object alone and the email was sent out.
I have two questions
1) In visual approval where we define the email templates, can some it be a context parameter picked up from adobe form which contains email textfield ( this value will be whom the approval/rejection mail are sent) ?
2) how do i pass parameters from Visual approval block to action of callable obect email type since it requires "recipeint email address"
My process is like this
Process -
> Start process
Block --> Start block
Action ---> StartAction
Visual Approval Callable object
Result states
Approved --> (Target:ActionApproved)
Rejected --> (Target:ActionRejected)
ActionReject
Reject Email background Callable object
ActionApprove
Approve Email background Callable object
The process is kicked off when user submits an offline form
Appreciate if someone can guide me on this.
Regards
Jayesh
Edited by: Jayesh Ghodge on Jan 17, 2008 7:06 PM -
Second LOV based on First LOV in Oracle APEX tabular Form
Hi,
I had created a tabular form in which I am having two LOV's. This form is based on a query.
I had created a javascript function which internally calls AJAX and populates the second LOV based on the value selected in first LOV when onchange.
But the issue is, when the user recalls this APEX page to view the details or edit the details, the second LOV shows all the values instead of showing only the values related to first LOV.
In the second LOV query I am trying to write the below query.
select function_name fn
,function_code_id fci
from catering_function_codes
where function_type_id = NVL(#FUNCTION_TYPE_ID#,function_type_id)
order by to_number(function_code_id)
in which #FUNCTION_TYPE_ID# is the value of first LOV. But I am getting the below error.
report error:
ORA-20001: Error fetching column value: ORA-06550: line 1, column 187:
PL/SQL: ORA-00911: invalid character
ORA-06550: line 1, column 7:
PL/SQL: SQL Statement ignored
How can you refer to the Second LOV the value of First LOV in a report based tabular form?
Kindly let me know if you do not understand the issue.
Please help me in this issue.
Thank you
Regards
DevHi Roel,
Thank you for the quick reply.
I used the query as given by you. This time it is not giving any error but showing all the values in the second LOV irrespective of what ever value is present in the first LOV
This is an apex tabular form which is generated by apex based on a query. The controls will be dynamically generated by APEX for each row. How can we hard code the control name to :P99_FUNCTION_TYPE_ID?
Please help me in this issue. Thank you
Regards
Dev -
Dynamic dropdown filling in offline form
Hi,
I have a internal table contaning some values, i have binded my dropdown element wih the field of the table containing the values, however i see only the first value in the table and its an offline form.
Correct replies will be well rewarded.Hi,
Open the form in the designer.
Go to Tools -- Options -- Data Binding
Check "Show Dynamic Properties" and close it.
Select the dropdown
Go to Object Palette, Cell tab
List Items will now be a link .... click on it...
Navigate to the node having the data for dropdown
eg. $record.NODE_01.DATA[*]
Item Text myText
Item Value myValue
(Assuming NODE_01 has attributes myText and myValue)
Apart from this, make the following checks, in WD4A if the displayType is Native create dropdown from Web Dynpro Native Library, if displaytype = ActiveX, create dropdown from WebDynpro ActiveX Library
Also what is the layout Type for the form???
Regards,
Reema. -
Need help with receiving offline form in GP
I'm new to GP and interactive forms on EP 7.0 SP15 and running into a problem with submitting an offline form and GP starting the process. The examples were followed on how to set up the callable object with an interactive form. I've got the form set up to be used as a standalone interactive form and starting a process upon completion. I've selected the process which is active and completed the mapping. Went through the steps to manage impersonalized interactive forms. Downloaded the form, entered data and submit. Get the message back that it was received successfully. Went back and checked manage impersonalized... and can see that the form was returned. Go back to Runtime and can't find the process listed anywhere. Where is it going? Is there a way to track it down? Looked at Maintain queues and checked each queue, can't find anything with a timestamp around the time the last form was submitted. Any ideas on how to figure this out would be appreciated.
Thank you,
KathyThanks for the reply! I was able to reset the field calculation order
but have one field that is not populating right away and I have
changed it's order everywhere? -
HTTPS communication for Adobe Offline form with SAP ABAP WAS
Hi Experts,
Can we use HTTPS communication method to call a SAP ABAP Web Service from an Adobe offline form?
Example : I have a SUBMIT button in my Adobe offline form and when clicked, it populates a sales order number in the form.
Here my SAP ABAP server from where it reads the info is using HTTPS communication method. Now if i use the same service with HTTP it works fine but if i switch the service to use HTTPS it shows me an error "Error attempting to read from file. <https://FQDN/<service name> .
I am using self-signed SSL server certificate from SAP ABAP server. But here i also see a certificate error in my browser (IE 7.0) saying "Untrusted Certificate". Is this the reason for my above issue?
I could not find any post in SDN giving me the answer.
Regards,
HobinHi,
The Certificates are already imported into the Trusted Certificates Section. But the real Issue is regading the Adobe Offline forms. If I open the Adobe Offline forms in the Adobe reader 9.0 and the Web Service call is made based on the Https:// . It saying "Error attempting to Read the file". The Fully qualified domain name is also provided VA. I have tried to import the certificates to Adobe Reader's - Trust Identities but still it is not working . If I switch the webservice authentication method to Http:// then it would work. ADS is already configured with SSL. And the HTTPS:// based WebService embedded in the Adobe Interactive Form is working ,if the form is Online in the Browser (integrated in the Webdynpro Abap UI element).
Is there any other way to Add SSL Certificates to Adobe Reader , so that Https:/ based webservice will work if the Form is opened in Adobe Reader 9.0.
Regards,
Hobs -
How to pass data from offline form to webdynpro java
Hi,
Please suggest me how to pass data from offline from to webdynpro java node?
i am using the below code to pass data from offline form(after entering values in the form) to node . i am using form upload ui element to upload offline form and after that i am providng a button to update data.But still i am not able to see data in the node.Any suggestions on this.below code is wriiten on action of the button.
wdContext.currentContextElement().setPDFSource(null);
try
if(null!=wdContext.currentContextElement().getAttributePointer("Resource"))
IWDResource fileResource = wdContext.currentContextElement().getResource();
if("PDF".equalsIgnoreCase(fileResource.getResourceType().getFileExtension()))
byte[] b = new byte[wdContext.currentContextElement().getResource().read(false).available()];
wdContext.currentContextElement().getResource().read(false).read(b) wdContext.currentContextElement().setPDFSource(b);
WDInteractiveFormHelper.transferPDFDataIntoContext (wdContext.currentContextElement().getPDFSource(), wdContext.nodeVn_TestData());
else
wdComponentAPI.getMessageManager().reportException("Please enter correct file");
else
wdComponentAPI.getMessageManager().reportException("Error while uploading file");
catch (Exception e) {
wdComponentAPI.getMessageManager().reportException
("Error in uploading the Adobe Form :"+e.getLocalizedMessage(),false);
Regards,
PavaniIf you choose the second alternative you should erase these global variables after the second form is opened
You can erase the global variable using:
erase('global_var')
Greetings,
Sim -
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!
Maybe you are looking for
-
Anyone has any documentation on getting the sleeve to work. Have dropped both a Windows 8.1 and Windows 8 x86 with SCCM 2012 R2 OSD but no joy? Thanks!
-
External hard drive, restore problem! Files are gone...?
All the files are gone... but the folders are still there. Here is what happened: Step 1 I restored everything from main HD (two disk striped RAID) to external hard disk (Western Digital MyBook 1TB ). The external disk was mac formated (Mac OS Extend
-
I bought my lumia 920 yesterday and while it charges in my car with an USB charging adapter it doesn't so with the delivered ac charger! The curios thing is, my old lumia 900 gets charged with the same one... What can i do? Solved! Go to Solution.
-
ODS Object-Specific Properties BUG
Hi Bhanu & Experts, I have a Variable on particular InfoObject. The RSD1 property is "Only Value in the Infoprovider". When i use the variable from Infocube it only show the values from the Infoprovider in the Variable screen.But when i use the same
-
Application installs automatically even when deployed as Available
We just experienced an issue where all of our workstations ran an application deployment even though there wasn't a required deployment to them. We called Microsoft and they told us that we'd need a Premier account to get root cause analysis. Here's