Display region when process fails
Here's my situation... I click on the button to parse and insert the data into a table. When there is a problem and the process fails, I would like to display another region with some different options for the end user. Any thoughts.
I do not get but....
If one process on page start...then page is not rerenderd until it is finished. If process if finished page is submited and then on refresh page process is not running.
So I do not understand how can two process be started on the same process together?
If this si so maye this could be the solution....
could you create autonomous transaction (it commits their data regarding transaction that it participate in!) to make some parameter in table to 1.
When other process starts it checks this value and if this param is 1 then it should not continue.
P.S.
Do not forget to put another autonomous transaction procedure which will set param to "0" after process finish.
Do this main proc with strong exception handling to ensure that param is allways set to 0.
Similar Messages
-
How to display errors of processes
Dear All,
I created a pl/sql process with exception handling structure like this
when
no_data_found then
raise_application_error(<code>, <message>);
The message is returned to the error page, but I want to have it returned inline in notification. A possible solution would be to create a corresponding validation that runs brefore the process. Within validations you can choose between the returning locations, but that would mean that I have to integrate the logic twice.
Is there any option to display the error message for processes - raised within the exception section - inline ?
Thanks
JensDear Paul,
thank you for your help. Unfortunately I have the following problem when I integrate the logic like this
when
no_data_found then
apex_application.g_print_success_message := 'Display Error';
The string 'Display Error' is displayed within the notification - that's good, but this message will also be displayed if the process fails, because I don't raise the exception. When I integrate the logic like below
when
no_data_found then
apex_application.g_print_success_message := 'Display Error';
raise;
I then get the message again on the seperate error page.
I took a look at the flows schema if there is something like apex_application.g_print_error_message, but I didn't find something useful.
Regards,
Jens -
Display region after one process has run
I am using htmldb2.0 and I want to display regions after one process in another region of the same page has run. There is type named as "when process in comma delimited list of Process IDs has run" in condition type of region edit. I tried it with putting my process name(also followed with comma) in expression 1 text area but it doesn't work. I am wondering if this doesn't work, how can I implement it in my application.
Thanks in advance,
Ke LinI do not get but....
If one process on page start...then page is not rerenderd until it is finished. If process if finished page is submited and then on refresh page process is not running.
So I do not understand how can two process be started on the same process together?
If this si so maye this could be the solution....
could you create autonomous transaction (it commits their data regarding transaction that it participate in!) to make some parameter in table to 1.
When other process starts it checks this value and if this param is 1 then it should not continue.
P.S.
Do not forget to put another autonomous transaction procedure which will set param to "0" after process finish.
Do this main proc with strong exception handling to ensure that param is allways set to 0. -
Test conn. SAPOSS error when opening an RFC connection SNC processing fail
Dear all,
I configured a Saprouter in DMZ with SNC connection type to establish connection from my company to SAP and vice-versa. Also I accept connection from external company to our SAP systems. During the test in SM59 SAPOSS connection I receive the following error:
Logon Errore di colleg.
Dettagli err. Error when opening an RFC connection
Dettagli err. ERROR: SNC processing failed: SncSessionInitiatorAK
Dettagli err. LOCAZ.: SAProuter 39.1 (SP3) on 'srvsaprouter1'
Dettagli err. DETT.: NiSncIInitHdlSecurity: sncrc=-4;0x9d9350
Dettagli err. COMPONENT: NI (network interface)
Dettagli err. CONTAT.: 209
Dettagli err. MODULE: nisnc.c
Dettagli err. RIGA: 1091
Dettagli err. VALORE RIT.: -104
Dettagli err. SUBRC: 0
Dettagli err. RELEASE: 710
Dettagli err. ORA: Fri Jul 17 11:01:22 2009
Dettagli err. VERS.: 39
My saprouttab for SAP AG connection is the following:
#SNC-connection from and to SAP
#KT "p:CN=sapserv2, OU=SAProuter, O=SAP, C=DE" * *
KT "p:CN=sapserv2, OU=SAProuter, O=SAP, C=DE" 194.39.131.34 *
SNC-connection from SAP to local R/3-System for Support
#KP "p:CN=sapserv2, OU=SAProuter, O=SAP, C=DE" * *
KP "p:CN=sapserv2, OU=SAProuter, O=SAP, C=DE" 192.101.111.229 3200
KP "p:CN=sapserv2, OU=SAProuter, O=SAP, C=DE" 192.101.111.229 3201
KP "p:CN=sapserv2, OU=SAProuter, O=SAP, C=DE" 192.101.111.211 3200
KP "p:CN=sapserv2, OU=SAProuter, O=SAP, C=DE" 192.101.111.211 3600
KP "p:CN=sapserv2, OU=SAProuter, O=SAP, C=DE" 192.101.111.209 3200
KP "p:CN=sapserv2, OU=SAProuter, O=SAP, C=DE" 192.101.111.210 3201
KP "p:CN=sapserv2, OU=SAProuter, O=SAP, C=DE" 192.101.111.231 3200
KP "p:CN=sapserv2, OU=SAProuter, O=SAP, C=DE" 192.101.111.231 50000
KP "p:CN=sapserv2, OU=SAProuter, O=SAP, C=DE" epe0s.calpeda.priv 50000
KP "p:CN=sapserv2, OU=SAProuter, O=SAP, C=DE" epe0sc.calpeda.priv 50000
KP "p:CN=sapserv2, OU=SAProuter, O=SAP, C=DE" 192.101.111.242 3200
KP "p:CN=sapserv2, OU=SAProuter, O=SAP, C=DE" 192.101.111.242 50000
KP "p:CN=sapserv2, OU=SAProuter, O=SAP, C=DE" epe0t.calpeda.priv 50000
KP "p:CN=sapserv2, OU=SAProuter, O=SAP, C=DE" epe0tc.calpeda.priv 50000
KP "p:CN=sapserv2, OU=SAProuter, O=SAP, C=DE" 192.101.111.215 3200
KP "p:CN=sapserv2, OU=SAProuter, O=SAP, C=DE" 192.101.111.215 50100
KP "p:CN=sapserv2, OU=SAProuter, O=SAP, C=DE" epe0p.calpeda.priv 50100
KP "p:CN=sapserv2, OU=SAProuter, O=SAP, C=DE" epe0pc.calpeda.priv 50100
SNC-connection from SAP to local R/3-System for NetMeeting, if it is needed
KP "p:CN=sapserv2, OU=SAProuter, O=SAP, C=DE" * 1503
SNC-connection from SAP to local R/3-System for saptelnet, if it is needed
KP "p:CN=sapserv2, OU=SAProuter, O=SAP, C=DE" * 23
Access from the local Network to SAPNet - R/3 Frontend (OSS)
#P <IP-addess of a local PC> 194.39.131.34 3299
P * * *
P * 194.39.131.34 3299
D * * *
Any suggestions?
Thanks in advance.SNC processing failed could mean lots of things... did you installed the SAPcrypto library?.. did you created the certificates correctly?...
Read SAP notes 812386 and 33135.
Regards
Juan -
How to run change run in process chain when it fails
HI All,
How to run attribute change run in process chain when it fails. Give me the procedure with clear description. Is there is any difference with 3.x versions in running this.
Thanks,
Pratap ReddyHi Pratap.
If BI Accelerator is not being implemented by ur company, in that case if change run fails u'll proceed by 'Repeat' process option as usual we do in 3.x.
If BIA is exists, in this scenario u can not repeat as we do in 3.x. U have to drop the indexes on cubes effecting that change run and run the change runs. Once it is finished recreate BIA Indexes on cubes.
Warm Regards,
Ramki -
MapViewer fails to display lines when use NavigationPanel
I am using MapViewer version 10131-B061023 (i.e. 10.1.3), and am attempting to plot state secondary roads (lines) for the state of Montana. These lines display in MapBuilder, and also display in MapViewer when the first 'zoomed in' map is displayed. That is, I can see the roads for the part of the state I am zoomed into, and when I pan around the state the roads also display, but when I use the NavigationPanel to zoom out, the roads disappear. Has anyone had this problem? Any suggestions on how to fix this would be greatly appreciated. Thanks in advance.
I failed to mention that the secondary routes were in a foi rather than a base map. When I added them to the base map and removed the foi they appeared when I zoomed out. Am I missing some basic difference between the base map and a foi?
-
When I try to "share" my IMovie project via "File", the process "fails", after a short time. I am following the instuctions; Click share>file>next > except it hasn't download to save. The blue circle never completes its circle before I says it failed. What am I doing wrong?
Are you trying to transfer it from the iPad to your desktop? Have you tried AirDrop?
-
Reprint Letter...when printing process failed
Hi all,
I have created a letter-form report which has to be printed on a daily basis. I need to have a program or message whenever this printing process fails.
I need to have a utility(or create one) such that the user can enter some parameters like the date_range(one of the parameter of the report) or some thing and reprint the letters.
I thought of using AFTER REPORT trigger which calls another report with parameters when encountered an error. but didn't work as the AFTER REPORT trigger will fire even though the report was done successfully and doesnot fire if there is any error in the printing process.
Any ideas or support would be greatly appreciated.
Thanks in advance.
NaniHello
on which support package level is the java stack ?
kr,
andreas -
Message processing failed, FTP Receiver Adapter error...
Hello all,
We have a Idoc to File(FTP) scenario using PI.
When PI try to send the file out to the FTP site, we get the following message in the communication channel monitoring and the file never reach the FTP site:
Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: Error when getting an FTP connection from connection pool: com.sap.aii.af.service.util.concurrent.ResourcePoolException: Unable to create new pooled resource: ConnectException: Connection timed out: connect
When we look at the detail display, we can see that the connection as been establish with the FTP site but the adapter is unable to deliver the file...
Any Idea why?
Thanks in advance.Hi ,
There are two things that you can do
1- check the connection of FTP from command prompt. If it is acceebile from command prompt then check for authorization that wether you have access to post the file at FTP or not (Full access READ , WRITE and EXCECUTE)
2- in your adpater change the connection mode from Per file transfer to "Permanent".
Please feel free to reply on this thread if you are not able to.
Thanks -
Task Manager Process failing along w/ Hello World example
Hello Edwin,
Thank you very much for the word document on how to install Oracle BPEL into the oracle database. I was able to install according to your word document into my oracle 10g database. I have other problems though. When starting up the BPEL Process Manager, it gives me the following error message in the console:
java.lang.NoClassDefFoundError: org/apache/xerces/xni/XNIException
I guess this in turn leads to the TaskManager process failing as it has a yellow exclamation point next to it in the BPEL Console. The oc4j console window later displays this error message:
04/08/07 13:25:01 java.lang.ClassNotFoundException: bpel._1_0.TaskManager__BPEL4WS_BIN
Error while creating process.
An error has occurred while attempting to instantiate the class "bpel._1_0.TaskM
anager__BPEL4WS_BIN" for the process "TaskManager" (revision "1.0"). The exception reported was: bpel._1_0.TaskManager__BPEL4WS_BIN
Please try recompiling your BPEL process again. The current BPEL process archive "TaskManager" may have been compiled with an older version of "bpelc".
An error message similar to this occurs when I try and work through the "Hello World" tutorial. Any idea why these error messages are occuring? "classnotfound" exceptions tell me there is a classpath issue. Thanks for your help.
Kenny R.Edwin,
Nevermind. I fixed it. I just copied the xercesImpl.jar file to the %ORABPEL_HOME%/system/appserver/oc4j/j2ee/home/applib directory and the processes function fine now. Thanks. Is this a bug that I found? Or was something messed up with my initial installation? -
A duplicate attribute key has been found when processing
Hi
When I process one of my dimensions it fails and I get the following error:
Errors in the OLAP storage engine: A duplicate attribute key has been found when processing: Table: 'Customers', Column: 'DisplayName', Value: 'Stephen Grant'. The attribute is 'Display Name'.
I don't know if this is significant, but the attribute to which it is making reference was added through BIDS 2008 (the cube was originally created with BIDS 2005).
There are no duplicates of 'Stephen Grant' in the DisplayName column. Not that it should matter if there were as this attribute has a cardinality of Many, with an rigid attribute relationship directly to the dimension's key attribute. The Key column for the Display Name attribute simply refers back to the same (DisplayName) column in the table.
If I delete this record, or even just update the DisplayName field from 'Stephen Grant' to something else, the dimension processes just fine. I can't work out what it is about this record that is stopping the dimension from being able to process.
Can anyone help me figure out what's going on?
Julia.
P.S. I am using SSAS 2008 on Windows Server 2008Hello there,
Does anybody has the complete resolution for duplicate entries data. I am showing the data below .
RegionName
BranchName
LoanOfficerFullName
PRIME - TEAM NORTHEASTERN
CALIFORNIA
ALONA HAYES
PRIME - TEAM WESTERN
RENO-DAMONTE RANCH
VINCENT LOTITO
PRIME - TEAM WARTON
NEWARK (Chicago)
CHRISTOPHER CLIFTON
PRIME - TEAM WARTON
GRAND HAVEN (West Michigan)
SEAN FOLEY
PRIME - TEAM SALMANS
LAWTON (Amarillo)
THOMAS STEARNS
PRIME - TEAM BARTON
CALIFORNIA
ALONA HAYES
PRIME - TEAM ROBINSON
LAS VEGAS
ANGELA DEATON
PRIME - TEAM ROBINSON
LAS VEGAS
HERMAN VANDER VELDT
PRIME - TEAM ROBINSON
LAS VEGAS
DAWN ROBINSON
PRIME - TEAM ROBINSON
LAS VEGAS
MICHAEL BIRK
Here i have the Hierachies in order LoanOfficerFullName-->BranchName-->RegionName. Loan Officer is the lowest level. I had created another column and make that unique entries so that I could make the unique column as the Key and the hierachies i have linked with the key column value. The issue
is that i am getting the expected result in OLAP from data side. But the data is not getting aggregated like Team Barton is coming twice though for the Dimension I make IsAggregatable property to True. If anybody can help me I will aprecciate. If any other clarification need I can provide. -
Page cannot be displayed' error when 2 events (FireAction and GO) fired
We have created a framework page where FireAction event will be executed
when the value of a calendar item is modified. When we modify the
value and leave the cursor in the field (without tabbing out), and click
GO button, 'Page cannot be displayed' error message will be displayed.
When FireAction event is started, we use CO to retrieve the event. And
when the cursor remains in item1 after being modified and click GO,
2 events will be started (the FireAction event and the GO button's event)
and 'Page cannot be displayed' error will be shown since CO is retrieving
2 events at the same time.
Since by changing certain fields of framework page without tabbing out
is a regualar operation, how can we go around this error when we are
using FireAction event?
sample34_00co.java
package oracle.apps.xx03.ap.webui;
import oracle.apps.fnd.common.VersionInfo;
import oracle.apps.fnd.framework.webui.OAControllerImpl;
import oracle.apps.fnd.framework.webui.OAPageContext;
import oracle.apps.fnd.framework.webui.beans.OAWebBean;
import oracle.apps.fnd.framework.webui.OADialogPage;
import java.util.Calendar;
* Controller for ...
public class Sample34_00CO extends OAControllerImpl
public static final String RCS_ID="$Header$";
public static final boolean RCS_ID_RECORDED =
VersionInfo.recordClassVersion(RCS_ID, "%packagename%");
public StringBuffer message = new StringBuffer();
* Layout and page setup logic for a region.
* @param pageContext the current OA page context
* @param webBean the web bean corresponding to the region
public void processRequest(OAPageContext pageContext, OAWebBean webBean)
super.processRequest(pageContext, webBean);
Calendar cal = Calendar.getInstance();
// When the browser back button is not executed
if (!pageContext.isBackNavigationFired(false))
System.out.println("NOT FROM BACK BUTTON!! ["+cal.getTime()+"]");
// When the browser back button is executed
else
System.out.println("FROM BACK BUTTON!! ["+cal.getTime()+"]");
//Action being performed when the browser back button is executed
OADialogPage dialogPage = new OADialogPage(STATE_LOSS_ERROR);
pageContext.redirectToDialogPage(dialogPage);
* Procedure to handle form submissions for form elements in
* a region.
* @param pageContext the current OA page context
* @param webBean the web bean corresponding to the region
public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
super.processFormRequest(pageContext, webBean);
Calendar cal = Calendar.getInstance();
if ( "updateItem1".equals(pageContext.getParameter(EVENT_PARAM)) )
//When FireAction is executed
System.out.println("item1 FireAction is executed! ["+cal.getTime()+"]");
else
//When other actions beside FireAction is executed
System.out.println("item1 FireAction is not executed! ["+cal.getTime() +"]");
sample34_00pg.xml
<?xml version = '1.0' encoding = 'UTF-8'?>
<!-- dbdrv: exec java oracle/jrad/tools/xml/importer XMLImporter.class java &phase=dat+24 checkfile:~PROD:~PATH:~FILE &fullpath:~PROD:~PATH:~FILE -username &un_apps -password &pw_apps -dbconnection &jdbc_db_addr -userId "1" -rootPackage /oracle/apps/~PROD -rootdir &fullpath:~PROD:mds:directory -->
<page xmlns:jrad="http://xmlns.oracle.com/jrad" xmlns:oa="http://xmlns.oracle.com/oa" xmlns:ui="http://xmlns.oracle.com/uix/ui" version="9.0.3.8.11_1183" xml:lang="en-US" xmlns:user="http://xmlns.oracle.com/jrad/user" xmlns="http://xmlns.oracle.com/jrad" file-version="$Header$">
<content>
<oa:pageLayout id="PageLayoutRN" windowTitle="Sample34_00 WindowTitle" amDefName="oracle.apps.fnd.framework.server.OAApplicationModule" title="Sample34_00 PageHeader">
<ui:corporateBranding>
<oa:image id="corporateBrandingImage" source="/OA_MEDIA/FNDSSCORP.gif"/>
</ui:corporateBranding>
<ui:contents>
<oa:messageComponentLayout id="MainRN" controllerClass="oracle.apps.xx03.ap.webui.Sample34_00CO">
<ui:contents>
<oa:messageTextInput id="item1" prompt="item1" dataType="DATE">
<ui:primaryClientAction>
<ui:fireAction event="updateItem1"/>
</ui:primaryClientAction>
</oa:messageTextInput>
<oa:messageLayout id="ButtonLayout">
<ui:contents>
<oa:submitButton id="Go" use="/oracle/apps/fnd/attributesets/Buttons/Go"/>
</ui:contents>
</oa:messageLayout>
</ui:contents>
</oa:messageComponentLayout>
</ui:contents>
</oa:pageLayout>
</content>
</page>
----------Shive...good one..!!
One thing that you can do if you don't wanna have PPR, is to validate date column in fire action event in CO in process form request, and raise an error if you don't find appropriate format or null , as per your requirement.
--Mukul -
When I try to package a file with a lot of links, the Indesign CC packaging process fails with the error message "Unable to copy necessary file(s)". I am able to make a PDF of the same file, but when packaking the process fails every time. The app does not crash, just gives an error message. What gives?
(I'm using a MacBook Pro Retina Display with 16 GB RAM, running OS 10.9 and all CC 9.1 updated with the latest patches).@John – that's really strange… the thing with the file names depending on the file type. That could eleminate Mavericks a bit from the equation and put the weight more on InDesign CC.
Provided:
1. You give it a go with InDesign CS6 v8.0.2 and tests are showing it will work fine in this regard.
2. The same composite characters are present in both file types, the ai files and the PhotoShop ones. On a Mac OSX characters for files and folders can consist of "composite" components:
ü for example is a two component one: the u and the two dots above the u. On a machine with MS Windows, this is not the case…
InDesign CC was programmed from scratch for a 64 bit architecture. So it could be a severe bug in InDesign CC.
Maybe other readers in this forum could test for these cases…
Uwe -
Hide 'No data found' msg in report region when you 1st click search page
Hi,
(sorry if it's confusing but my APEX is in FRENCH and I tried to translate)
I created a search page in my application.
1- I have an HTML region, with a search box and I search button
2- I've got a report region (PL/SQL source) which sometimes returns no data, giving a 'No Data Found.' message.
When I click on the search page for the 1st time (on my navigation bar), I would like to HIDE the report region so I don't have the " No Data Found" message.
Only Once we click on the search button and there is no result, I want to have the message "No Data FOund"
How can I achieve this?
thanks
Roseline1. create a hidden element on your page (P1_HIDDEN_ELEMENT)
2. put your No Data Found message in a span tag
<span id="no_data_found">No Data Found</span>3. create an on load computation to set your P1_HIDDEN_ELEMENT to 'no_data_found' if it is NULL and to set it to ' ' if it is NOT NULL - type PL/SQL Function Body
BEGIN
IF :p1_hidden_element IS NULL
THEN
RETURN '<script>html_HideElement(''no_data_found'');</script>';
ELSIF :p1_hidden_element IS NOT NULL
THEN
RETURN ' ';
END IF;
END;4. Put this into the page footer:
&P1_HIDDEN_ELEMENT.The other solution would be to create a display region - pure HTML and to display that first. Once the search is started that region would remain hidden and only the report would show up.
Denes Kubicek
http://deneskubicek.blogspot.com/
http://www.opal-consulting.de/training
http://apex.oracle.com/pls/otn/f?p=31517:1
http://www.amazon.de/Oracle-APEX-XE-Praxis/dp/3826655494
------------------------------------------------------------------- -
Hi SAP,
My backgroud job is failing with log as shown below
Job started
Step 001 started (program ZMRS0065, variant SUS
Step 002 started (program ZDRS0090, variant SUS
Step 003 started (program ZFRS0305, variant SUS
Step 004 started (program ZFRS0300, variant SUS
Access error
Job cancelled after system exception ERROR_MESSAGE
An error occurred when processing the spool request. (Possibly due to memory problems)
Kindly help out in this issue
Regards
MohammedHello Mohammed,
Have you seen any error in your SM21 system log and developer trace of spool work process
during that time?
The maximum size when create spool is 2GB.Pls also check if you are creating a spool
larger than it.
Best Regards
Jie Bai
Maybe you are looking for
-
My imac will not boot up... only grey screen and spinning wheel?
Can you help me get to the screen where I put in the mame and password? I only see spinning wheel boyd
-
Oracle BI Publisher - can not access Shared Folder , using Oracle BI Server
Hi there, We have an installed OBIEE and BIP (BI Publisher) system which is the security setting of BIP using "Oracle BI Server". Our OBIEE security is using the combination of LDAP (authentication) and Relational Table (for grouping user privillege)
-
BBP_ANALYZE_PO_APPLIC is not released
Hi, We are implementing SRM5.0 with ECC6. When we create PO manually in SRM then it does not goto R/3. Here PO status remains in Order condition but there is not document transfer from SRM to ECC as well as when we tried to push through FM, it gives
-
RE: Purchase info record
Hello Sap gurus When we create an Purchase info record in conditions we mention the NET PRICE and when we come to PR and in PR when we the Purchase info record no is entered in it, why we have to entered the Valuation Price again why dont it ta
-
I got My Apple Developer Program Enrollment Request but till now don't get any verification
i wanna buy developer apple account .I got My Apple Developer Program Enrollment Request before 6 days but till now don't get any verification . so please help us ASAP .