Within a taskflow, how to handle the transaction
Hi All,
I am using Jdev 11g Release 2.
I am having one taskflow, in that task flow I used the same view object twice(one instance). In that situation I want to change one view object it should not affect the below view object.
How to proceed this situation. one way create two different instance for same view object and use?
Is there any other way to handle?
Regards,
Ragu
One way is wrapping the VOs in a page fragment based BTF, and using isolated data control scope on each BTF. See:
http://www.oracle.com/technetwork/developer-tools/adf/learnmore/adf-task-flow-trans-fund-v1-1-1864319.pdf
CM.
Similar Messages
-
How to handle the call transaction in method of a custom business object
Hello all,
There is a custom report " RPTCORAPP" for approving leaves . As per my requirement i have develop a copy of leave workflow and for approval process i have call "RPTCORAPP" in Custom method of custom object. i have made a transaction for this custom report for approving attendances. I am calling this method though call transaction statement within method.
Problem: while approving the attendance workitem is not disappearing from the portal. Problem is due to call transaction statement.
once workitem come to the user, user click on it. control goes to the report, which display all the leave to approve on
the portal.
If after approving/ rejecting attendance user close the screen.workflow remain in the "process" status.Control wont come back after call transaction statement in the method.
At the same time if user clicks on back button inspite of closing the screen. it is working fine. workitem disappears from the portal.
How to handle the scenarion. if after approving/rejecting, i want the control to come back to the NEXT STATEMENT after call transactionstatement in my method.
Please help it out........:)Hi swami,
thanks for reply. but i am not using BDC in my method. iam just calling a custom transaction thriugh statement
Call transaction 'ZHR_APPROVE_CLINOUT'. This transaction directly run the report RPTCORAPP and display all the request. -
How to handle the stale cheques in EBRS
Dear Guru's
Can any bady explain me how to handle the stale cheque cases in EBRS, and what are the possible transaction codes using for that.
Any help can be greatly appreciated.
Regards,
kishroeHi
any bady know about this plz respond.
Thanks in Advance
kishore -
How to handle the Timestamp datasource while migration
Hi All
" I tried searching the forum,but didnt get the relevant one,hence posting this question".
While migration from 4.7 to ECC in R/3 system,
how to handle the Timestamp datasources( especially FI like COPA and other ) while extarcting the data from source to BW during source system migration.Since we need to empty the delta queue and should make sure that there are no delta records exists in delta queue.
Like for sales datasources using LO,we will be executing the V3 jobs for execting the LUW's from LBWQ to RSA7? In the same way is there any particular way for this also.
Anyone whi knows abt this pls share your views
Regards
ShankarHello Shankar.
Before the upgrade (import of a queue), all extraction queues and open
update orders in all clients must be processed. The content of the setup
tables must be deleted. To avoid problems during the upgrade or to
correct them, carry out the following steps:
1. Call transaction SMQ1 and check whether all queues in all clients
(client = '', queue name 'MCEX') have been processed. To process the
queues, start the collective run report for each application in the
displayed clients. If you no longer need the data in the BW system,
deactivate the relevant extraction queues and DataSource in the LO
cockpit (transaction LBWE) and delete the queue entries in transaction
SMQ1.
2. If you use the V3 update that is not serialized (usually only for
application 03): Start collective run report RMBWV303. Then check the
update orders in transaction SM13. If there are incorrect update orders
in transaction SM13, correct the orders and then start the collective
run report again. If you no longer require the update orders, you can
delete them. There may be inconsistencies between tables VBMOD and
VBHDR. For further information about this, see Notes 652310 and 67014.
3. Before the upgrade, delete the contents of the setup tables. Execute
report RMCEX_SETUP_ENTRIES to find out which setup tables still contain
entries. You can use transaction LBWG to delete the contents of the
setup tables for all clients.
Unfortunately the check that the system carries out during the upgrade
or when you import a Support Package does not display all affected
applications. Therefore, Note 1083709 provides a check report that you
can use to determine all affected applications and tables or queues.
More detailed information please check these following notes:
1083709-Error when you import Support Packages
1081287-Data extraction orders block the upgrade process
I hope I can be helpful.
Thanks,
Walter Oliveira. -
How to handle the bad record while using bulk collect with limit.
Hi
How to handle the Bad record as part of the insertion/updation to avoid the transaction.
Example:
I am inserting into table with LIMIT of 1000 records and i've got error at 588th record.
i want to commit the transaction with 588 inserted record in table and log the error into
error logging table then i've to continue with transaction with 560th record.
Can anyone suggest me in this case.
Regards,
yuva>
How to handle the Bad record as part of the insertion/updation to avoid the transaction.
>
Use the SAVE EXCEPTIONS clause of the FORALL if you are doing bulk inserts.
See SAVE EXCEPTIONS in the PL/SQL Language doc
http://docs.oracle.com/cd/B28359_01/appdev.111/b28370/tuning.htm
And then see Example 12-9 Bulk Operation that continues despite exceptions
>
Example 12-9 Bulk Operation that Continues Despite Exceptions
-- Temporary table for this example:
CREATE TABLE emp_temp AS SELECT * FROM employees;
DECLARE
TYPE empid_tab IS TABLE OF employees.employee_id%TYPE;
emp_sr empid_tab;
-- Exception handler for ORA-24381:
errors NUMBER;
dml_errors EXCEPTION;
PRAGMA EXCEPTION_INIT(dml_errors, -24381);
BEGIN
SELECT employee_id
BULK COLLECT INTO emp_sr FROM emp_temp
WHERE hire_date < '30-DEC-94';
-- Add '_SR' to job_id of most senior employees:
FORALL i IN emp_sr.FIRST..emp_sr.LAST SAVE EXCEPTIONS
UPDATE emp_temp SET job_id = job_id || '_SR'
WHERE emp_sr(i) = emp_temp.employee_id;
-- If errors occurred during FORALL SAVE EXCEPTIONS,
-- a single exception is raised when the statement completes.
EXCEPTION
-- Figure out what failed and why
WHEN dml_errors THEN
errors := SQL%BULK_EXCEPTIONS.COUNT;
DBMS_OUTPUT.PUT_LINE
('Number of statements that failed: ' || errors);
FOR i IN 1..errors LOOP
DBMS_OUTPUT.PUT_LINE('Error #' || i || ' occurred during '||
'iteration #' || SQL%BULK_EXCEPTIONS(i).ERROR_INDEX);
DBMS_OUTPUT.PUT_LINE('Error message is ' ||
SQLERRM(-SQL%BULK_EXCEPTIONS(i).ERROR_CODE));
END LOOP;
END;
DROP TABLE emp_temp; -
How many of the transactions woill be Roll backed?
Hi friends,
Could you please clarify That How many of the transactions will be rollbacked when we say ROLLBACK....?
(For e.g., As a first transaction i used delete command to delete one row from a table of 10 rows....As a second transaction i used update command two times to update two records in the same table....Now i created one table ...after that i said rollback....So how many of the transactions will be rollbacked?)I'm sure blushadow has heard of all of those, but what does it have to do with the original question?
SQL> CREATE TABLE t AS
2 SELECT rownum id, TO_CHAR(TO_DATE(rownum, 'J'), 'Jsp') descr
3 FROM all_objects WHERE rownum < 10;
Table created.
SQL> SELECT * FROM t;
ID DESCR
1 One
2 Two
3 Three
4 Four
5 Five
6 Six
7 Seven
8 Eight
9 Nine
SQL> DELETE FROM t WHERE id = 1;
1 row deleted.
SQL> SAVEPOINT a;
Savepoint created.
SQL> UPDATE t SET descr = 'Deux'
2 WHERE id = 2;
1 row updated.
SQL> SAVEPOINT b;
Savepoint created.
SQL> UPDATE t SET descr = 'Trois'
2 WHERE id = 3;
1 row updated.
SQL> SELECT * FROM t;
ID DESCR
2 Deux
3 Trois
4 Four
5 Five
6 Six
7 Seven
8 Eight
9 NineI agree that at this point, I can rollback to any point in these three statements, however, as soon as I do:
SQL> CREATE TABLE t1 (id NUMBER);
Table created.then the savepoints are gone
SQL> ROLLBACK TO b;
ROLLBACK TO b
ERROR at line 1:
ORA-01086: savepoint 'B' never establishedNow, the documentation says "If you use a SET TRANSACTION statement, then it must be the first statement in your transaction.", and the very first DELETE starts a transaction. and the fact that:
SQL> SET TRANSACTION AUTONOMOUS;
SET TRANSACTION AUTONOMOUS
ERROR at line 1:
ORA-00900: invalid SQL statementis invalid, even if you could use SET TRANSACTION within an already started transaction. I suppose you could do:
SQL> DROP TABLE t1;
Table dropped.
SQL> TRUNCATE TABLE t;
Table truncated.
SQL> INSERT INTO T
2 SELECT rownum id, TO_CHAR(TO_DATE(rownum, 'J'), 'Jsp') descr
3 FROM all_objects WHERE rownum < 10;
9 rows created.
SQL> COMMIT;
Commit complete.
SQL> DELETE FROM t WHERE id = 1;
1 row deleted.
SQL> SAVEPOINT a;
Savepoint created.
SQL> UPDATE t SET descr = 'Deux'
2 WHERE id = 2;
1 row updated.
SQL> SAVEPOINT b;
Savepoint created.
SQL> UPDATE t SET descr = 'Trois'
2 WHERE id = 3;
1 row updated.
SQL> DECLARE
2 PRAGMA AUTONOMOUS_TRANSACTION;
3 BEGIN
4 EXECUTE IMMEDIATE 'CREATE TABLE t1 (id NUMBER)';
5 END;
6 /
PL/SQL procedure successfully completed.
SQL> ROLLBACK to b;
Rollback complete.but it seems like a lot of effort to get around something that you shouldn't be doing in the first place.
John -
How to handle the OK button of the parameters prompt of a crystal report
Hi,
how to handle the OK button of the parameters prompt of a crystal report in vba.NET?
I want to use the parameter prompt from the crystal report itself and I want to know when the report is ready. I need to export programatically by sending email to a list of employees after the parameters has been set. The emails I send depends on the results of the report.
Im using a CrystalReportViewer control in VS2010 and Crystal Report for VS2010 v13.0.1.220.Right. But the parameter screen is driven by the viewer. Unless you create your own parameter screen and pass the parameters to the report via code.
Another thing I am not sure about:
"Then by code I want to read all the employees id from the report and send email to them with specified pages of the report. (1 page per employee)"
How do you plan on reading the employee ID from the report? I am not aware of any API that will read a value in a report so that you can then decide what page to send to whom.
I think you're approaching this kinda backwards. A question to ask is; can you do what you are trying to do in code in the CR designer? If not, using APIs will not work either. I suspect your approach should be a report that uses an employee filter. Run the report for employee x, get the report populated with the data for that employee and email it. Repeat for employee x1, employee x2, etc.
- Ludek -
How to handle the control records in case of file to idoc scenario.
Hi All,
can you please clarify me how to handle the control records in case of file to idoc scenario.Hi,
In File to Idoc scenario even though you selected apply control record values from payload and you are not getting those correct values which you have provided in the mapping.
Also check the checkboxes Take sender from payload and Take receiver from payload along with the Apply control record values from payload checkbox
Regards
Seshagiri -
How to handle the different pricing conditions changes in BI.
Dear Friends
can any one send me Regarding
How to handle the different pricing conditions changes in BI.
Thanks & Regards
RamanaHi,
Take a look at the 0sd_o06 ODS and 2lis_13_vdkon datasource for sales billing conditions.
http://help.sap.com/saphelp_nw70/helpdata/EN/36/8188408bc0bb4de10000000a1550b0/frameset.htm
http://help.sap.com/saphelp_nw70/helpdata/EN/7f/0f8c4037fba62be10000000a1550b0/frameset.htm
Regards. -
How to handle the extended vo in the extended controller
Hi,
I want to know how to handle the extended vo attributes in the extended controller.
I extended CompetenceElementsVO as 'CompetenceElementsEx' with 2 transient attributes called col1 and col2.
Here i want to pass value according based on some condition. for this i want to know how to handle these attributes.
I tried by using the extended vo name in the controller, if i use means then it is throwing error after the extended controller is implemented.
Same time if i try to refer this attributes from the original vo definition, jdev itself showing error.
please tell me how to handle this?
Thanks in advance,
SANHi San,
You have to extend the controller where your region is associated with,
And in that controller you get the AM(if there is more than one AM and your VO is associated with a child AM, first you have to get your required AM) and then
get the ViewObject(standard).
Then you should be able to get your newly added attributes.
Please find the below sample code to get the AM handle and VO from there, update the code according to your requirement,
Get all the VOs under the Root AM
writeLog(pageContext, "Room AM"+ pageContext.getRootApplicationModule());
String[] rootViewNames = pageContext.getRootApplicationModule().getViewObjectNames();
/* writeLog(pageContext," Length of the VOs from Rootm AM "+rootViewNames.length);
for (int j =0 ;j<rootViewNames.length ;j++ )
writeLog(pageContext,j +" Value "+rootViewNames[j]);
// Get requested AM from Root am
public OAApplicationModule getRequestedAM(OAPageContext pageContext, String requestedAMName)
writeLog(pageContext,"Requested AM called to check the AM "+requestedAMName );
String amName = "";
String objectivesAMName = requestedAMName;//"ObjectivesAM";
String nestedAMArray[] = pageContext.getRootApplicationModule().getApplicationModuleNames();
pageContext.writeDiagnostics(this,"Root AM=>"+pageContext.getRootApplicationModule().getName() + " Child AMs=>"+ nestedAMArray.length,1);
OAApplicationModule currentAM = null;
currentAM = (OAApplicationModule)pageContext.getRootApplicationModule();
for(int i = 0; i < nestedAMArray.length; i++)
amName = nestedAMArray;
pageContext.writeDiagnostics(this,"Nested AM Name=>"+amName + "and amName.indexOf(objectivesAMName) "+amName.indexOf(objectivesAMName),1);
currentAM = (OAApplicationModule)pageContext.getRootApplicationModule().findApplicationModule(amName);
//Get the view names
String[] viewNames = currentAM.getViewObjectNames();
for (int i =0 ;i<viewNames.length ;i++ )
writeLog(pageContext,i +" Value "+viewNames[i]);
if(!(amName.indexOf(objectivesAMName)==-1))
pageContext.writeDiagnostics(this,"Found Handle to My Nested AM " + amName ,1);
break;
return currentAM;
Get the VO from the AM
OAViewObject objAssessmentVO = (OAViewObject)yourAM.findViewObject("yourVO");
Thanks.
With Regards,
Kali.
OSSi. -
How to handle the table control in bapi?
how to handle the table control in bapi? example va01.
i pass multiple line item what is the procedure?
header detail same .
eample ship to party
sale to party.
line item mulptiple
10 mat1
2o mat2
30 mat3.
in bapi we can pass sinle line item.
any way to handle multiple line item pass through the bapi.
Message was edited by:
Karthikeyan PanduranganBAPI is not going through the screen flow logic so you need not to worry about the table control. Just check in the BAPi there must be one table parameter for line items just pass one int table with your data to that table parameter it will automatically update the tables.
Regards
shiba dutta -
How to handle the #error in ssrs expression
hi
Please any one help me to resolve this #error ,
I have a calculated filed in that expression i given a if condition like below
data of column is coming like this 0 , 0.0
=IIF(Fields!Column1.Value=0,0,((Fields!Column2.Value - Fields!Column1.Value)/( Fields!Column1.Value)))
how to handle the #error
Please let me know any oneHi deepuk23,
According to your description, when you use the IIF() function in the report you got some error,right?
The issue can be caused by the column1 and column2 have different datatype, I assumed that one is integer and another is float, when the Column1 is 0 or null, because IIF() function always evaluates both the true part and the false part, even
though it returns only one of them, it will throw out the error.
To resolve the issue, you should use a nested IIF() function to avoid the zero-divisor in any rate like below:
=IIF(Fields!Column1.Value=0,0,((Fields!Column2.Value - Fields!Column1.Value)/(IIF(Fields!Column1.Value=0,1,Fields!Column1.Value))))
For more information, please refer to this article:
FAQ: Why does the “Attempted to divide by zero” error still happen?
If you still have any problem, please feel free to ask.
Regards,
Vicky Liu
Vicky Liu
TechNet Community Support -
How to handle the errors in transformations
Hi
I am using SOA, JDev 10.1.3.3.
How to handle the exceptions in transformations.
If any thing goes wrong in transformation then how to handle that situation.
I am not getting any kind of instances like errored out..
Please help me out
Regards
PavankumarI think your issue is that your process is going into manual recovery.
In the console click on the tab BPEL processes. There is a link on the left for manual recovery. Do you see your processes there?
What happens if you put your transformation into a scope. The in that scope you have a catch All. In this catch All routine just do a terminate. This will error your process but you should see it appear in the console.
cheers
James -
How to handle the multiple line items in the Inbound idoc FM
Hi ,
Can any body give me how to handle the multiple line item in the idoc when we reprocessing it from workitem....
Thanks in Advance,,,,
Regards,
BharaniHi ,
Can any body give me how to handle the multiple line item in the idoc when we reprocessing it from workitem....
Thanks in Advance,,,,
Regards,
Bharani -
How to handle the 500 Internal Server Error + ADF
Hi,
How to handle the 500 Internal error ADF application? I tried with giving the error page in web.xml but it does not work
Please advicei'm not sure if this is related, but we also have the following in the web.xml file
<filter-mapping>
<filter-name>adfFaces</filter-name>
<url-pattern>*.jsp</url-pattern>
<dispatcher>REQUEST</dispatcher>
<dispatcher>ERROR</dispatcher>
</filter-mapping>
<filter-mapping>
<filter-name>adfFaces</filter-name>
<url-pattern>*.jspx</url-pattern>
<dispatcher>REQUEST</dispatcher>
<dispatcher>ERROR</dispatcher>
</filter-mapping>
Maybe you are looking for
-
Hi, I want to do something pretty basic: open a PDF file and programmatically process its contents. Fundamentally, I would like to just have something that can get the text and do readLine and return a string for each line of text. I searched everywh
-
Not able to receive Email Notification
Dear All, I have set the value of ume.logon.logon_help to "true" so a "Logon Problems? Get Support" link is getting displayed on the logon screen. I have also done the following setting: 1) went to System Administration. 2) System Configuration. 3) U
-
I upgraded my iPhone4S to iOs6 and now Siri does not understand me. Siri responses "having trouble understanding you, try again". Is there an updgrade for Siri? I have been searching all afternoon for a glimmer of a solution. Any suggestions?
-
PO's net price couldn't be greater than PR's
Dear Gurus... When the net price in PO is greater than PR's, hope the system won't allow the situation and will show an error msg. any img can satisfied the situation? Thanks in advance....
-
Open BW webreport via button on form in (new) popup window possible ?
Hi, We need to give the opportunity to the end-users to launch a BW webreport to make a detailed analysis. I know how to do this via a button and a html iview but then the result is displayed in the same window overwriting the current content of the