Add condition to train
can I add condition to "next "button in the train component ? if yes how can I do that
i want to create employee
creation consist of 3 steps
first one contains personal information like the first name, last name, ........
second one contains company information after the user finish entering the values he must click next here i have some conditions to be checked before going to the third step if these conditions return true then page 3 will appear else error message will appear
my conditions include checking for fields in database
I hope it is clear now
Similar Messages
-
Not allow to add condition type, if it already existing
How to setting, if I want to control that not allow to add same condition type, if it already existing in the transaction.
For example,
PR00 100.00 USD/MT
ZDIS 10.00 USD/MT
ZDIS 8.00 USD/MT (Not allow to enter or add condition type)
Thanks!!
Edited by:
Edited by: Kitta on Jan 29, 2008 3:17 PMCreate A routine function for same .
I am given here the code also
Write the following codes given below in include file.
*& Include ZXVVAU05
Written for restriction in VA02 for Condition type duplication
DATA: BEGIN OF tXKOMV OCCURS 50.
INCLUDE STRUCTURE KOMV.
DATA: END OF tXKOMV.
data : tab_name(40) type c ,
ld_len type i , ld_len1 type i .
field-symbols : <tab> type any.
tab_name = '(SAPMV45A)XKOMV[]'.
assign (tab_name) to <tab>.
txkomv[] = <tab>.
describe table txkomv lines ld_len .
sort txkomv by kposn KSCHL .
delete adjacent duplicates from txkomv comparing kposn KSCHL .
describe table txkomv lines ld_len1 .
if ld_len1 ne ld_len .
refresh txkomv .
message e002(zmm) with ' Please remove duplicate condition in item price' .
endif .
4. Save and activate.
This has to be done thru Abap person ,Hope this will solve the problem of yours as it has mine.
regards
Manu Kapoor -
Dynamically Add and Remove Train Stop with version 11.1.2.3
I have found examples with prior versions, such as http://adfpractice-fedor.blogspot.com/2011/12/dynamic-adf-train-showing-train-stops.html.
But, they do not work in 11.1.2.3.
It appears that the APIs have changed considerably.
Please advise as to a similiar example that is based on the API model for 11.1.2.3
Thanks in advance for your help.Hi,
I have a requirement to dynamically add different train stops at runtime, which are not part of the task flow at design time. I would like to build the train at runtime based on various conditions that occur. Is this possible?
Train stops can only be removed from the train model before the first view renders, which means during task flow initialization. To a later point you cannot remove but hide stops. The train model is created upon task flow initialization too and any train stop that is not part of the model virtually doesn't exist. In your case I think creating a custom train model from ground up and using this with the train is the way to go. The default task flow metadata based implementation doesn't seem to do what you need it for. Alternatively, if you can predict the maximum number of train stops, you can design them at design time and then remove those you don't need at runtime using a HashMap reference in the train stop configuration and check the HashMap values upon initialization.
Here's a write up on trains I did in the past: http://www.oracle.com/technetwork/issue-archive/2011/11-sep/o51adf-452576.html
More documents you find on ADF Code Corner http://www.oracle.com/technetwork/developer-tools/adf/learnmore/index-101235.html (just search for train)
Frank -
To add condition on which distribution model MATMAS should be sent
Hello All,
I have to send MATMAS Idoc to XI. But in R/3 there 2 distribution models created one for XI and other for some R/# system.
I have created a custom report of MASTERIDOC_CREATE_SMD_MATMAS to handle specific conditions. Now I want to send to distribute this IDoc only to XI sytem and not to the other R/3 system.
Where can I add this condition.
Thanks in advance..
Shabarihai..
MDD1 Advance for MDD0
MDD2 Adv.frm prev.per.for MDD0
MDD3 Advance MDD2 paid back
MDD5 Arrears w. balance recov.
MDD6 Recovery for MDD5(IT15)
MDD7 Balance & IT15 entry
MDD8 Deduction for MDD7
MDD9 Total deducted via MDD8 -
Need to add condition to a template and can not make it work.
I am trying to add a condition to a template and can not make it work. Mainly because I am new at this. I have a field that needs to have a condition set. The field is LTD. The maximum value is $233.00. If the amount is less the 233, that value is used. If it is over 233 then 233 is used. So, if LTD is greater then 233.00 then 233.00 else LTD.
Can anyone help me write this for a Word BI Publisher Template. I need this report now but can't go to class until later this year.
Thanks,
RickReplace LTD with the correct element name.
<?choose:?>
<?when: LTD > 233 ?>233<?end when?>
<?otherwise:?><?LTD?><?end otherwise?>
<?end choose?> -
Why does a loop go faster if you add condition in it ?
The other day I 've added a condition within a loop and I expected the code to go slower but it actually went faster !
You add a condition and the loop goes faster ... that's not logical for me and I'd like to understand it so if you have an explanation please post it below.
I've also discovered that this anomality happens only when the code is within a try-catch block.
I've reproduced the phenomenon with this little example class.
Try to comment and uncomment the only condition within the loop and to do the same for the exception. If you use the java 5 you should see similar results (haven't try with other JVM)
public class Test {
public Test() {}
public static void main(String[] args) {
Test t = new Test();
t.execute();
* With try-catch :
* with condition ms = 2641 (faster)
* without condition ms = 3047
* Without try-catch :
* with condition ms = 2625
* without condition ms = 2515 (faster)
public void execute() {
try {
int c = 0;
long t1 = System.currentTimeMillis();
for (int i = 0; i < 1000000000; i++) {
c++;
if (c == 0) {
c--;
System.out.println(" ms = " + (System.currentTimeMillis() - t1) + " " + c);
} catch (Exception e) {
e.printStackTrace();
}The other day I 've added a condition within a loop
and I expected the code to go slower but it actually
went faster ! The try block has absolutely nothing to do with method speed (unless of course you throw exceptions.)
Excluding that you ran one test with a condition where it was faster and one where it was slower.
And what exactly else was running on your computer when you did this? A virus checker? Scheduled tasks? Editor? IDE? Database? Services (like network stacks?) All of those take time from the cpu. And if even one of them did anything at all when your test was running then it will change the results. -
How to add Adobe Connet training to my ADOBE Meeting acount
I use Adobe Connet meeting an account for 3 years now . I'm very pleased. I plan to use an Adobe Connet Training but want to keep all the users of my business meetings. I have many users from my account and I want to keep everyone. I have visited all tabs visible in my back office adobe account and can not find how to switch to this account the modality of Adobe training.
I have looked at the Adobe site but can not find a way to do it.
It's likely that I'm not understand this issue well, but for this reason I need help
Sorry for my bad english, I'm Portuguese. Laura SantosLaura,
Contact your reseller. They can get you licensing for the Training Module of Connect. Once that is purchased and applied, the Training tab will appear in your Connect account. -
How to set value for skip condition in train stop property of train compnt
Hi,
Iam using JDev 11.1.1.5 version, i have created a TaskFlow where having train components pointing to different jsff pages, moving from one jsff page to another jsff page.
I want to validate the input fileds in one of the jsff page, then only have to move to next jsff page. For this, how can i set skip property of train component....to disable to go for next train component...?
Note: I want to set boolean value(returns 'True', if all input fileds are filled, otherwise 'False') into skip property of train component.
Regards.You can use the skip property of the train stop. You can have an EL expression for it, some thing like this #{pageFlowScope.isContinueEnabled}.
Once all the mandatory fields are entered, you can set the isContinueEnabled flag and refresh the train button bar.
For more info refer this: http://docs.oracle.com/cd/E14571_01/web.1111/b31974/taskflows_complex.htm#CJHFBFIE
Also, you can try navigating to different train stops programmatically.
Check: 082. How-to programmatically navigate ADF train models
in http://www.oracle.com/technetwork/developer-tools/adf/learnmore/index-101235.html -
SQL2 | How to add condition on multi-value field?
Hello,
I am trying to perform a JCR query using SQL2 in CQ5.6. For one of the conditions, I wish to compare a multi-value field (E.g. cq:tags).
How would that be possible? Currenlt, I only managed to compare my query item's cq:tags to a single value (e.g. WHERE page.[cq:tags]='mynspace:mytag').
Also, is there a syntax reference for SQL2 queries? Currently I have only managed to find something tanglible here : http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-spi-commons/src/test/resources/or g/apache/jackrabbit/spi/commons/query/sql2/test.sql2.txt?view=markup
Best regards, thanks in advance,
K.Hi,
Below is an example of SQL2 query based on your scenario. you can modify and use it
SELECT * FROM [nt:base] AS s WHERE ISDESCENDANTNODE([/content/geometrixx/en]) and (CONTAINS(s.[cq:tags], 'mynspace:mytag') or CONTAINS(s.[cq:tags], 'mynspace:mytagss1'))
where root node path and tags value you can change as per your need. Below is java formation
StringBuilder query = new StringBuilder();
query.append("SELECT * FROM [nt:base] AS s WHERE ISDESCENDANTNODE([")
.append(pathToYourPageArea) //for example /content/geometrixx/en
.append("]) AND (CONTAINS(s.[cq:tags],'mynspace:mytag') or CONTAINS(s.[cq:tags],'mynspace:mytagss1'))");
Query compiledQuery = queryManager.createQuery(query.toString(), Query.JCR_SQL2);
where 'mynspace:mytag' and 'mynspace:mytagss1' is an example and you can change it with variables
I hope it will help you to proceed. Let me know if you need more information.
Thanks,
Pawan -
ADF 11.1.1.3 add a customize train naviagation
hello
i try to build my custom train naviigation and use the tutorial in ADF code corner
http://www.oracle.com/technetwork/developer-tools/adf/learnmore/82-programmatically-navigate-trains-396873.pdf
but i've a problem that the import to class
import oracle.adf.controller.TaskFlowTrainStopModel;
is not found so i can continue ???
i use Jdeveloper 11.1.1.3
thanx
Mohammad.j.b.yaseen
Edited by: mohammad.j.b.yaseen on Nov 27, 2011 9:00 AMAs I said before it's not one class. In the end you end up with +1000 classes.
You should start thinking about how to do it without the train stop model. Can't you do this using buttons?
I'm not having a jdev 11.1.1.3.0 available and can't access youtube from work :(
Have you checked the docs http://docs.oracle.com/cd/E14571_01/web.1111/b31974/taskflows_complex.htm#CJHFBFIE if your version offers something similar?
Timo -
How to add conditions when uploading contracts
Hi experts
I'm trying to upload contracts from a text file using BAPI BBP_PD_CTR_CREATE.
I'm not able to create conditions with the contracts. Can anyone tell me the mandatory parameters that have to be passed in the BAPI in its it_conditions table.
This is what I'm doing:
wa_condition-guid = c_dummy_cnd. "Dummy guid
wa_condition-cond_type = l_condtyp.
wa_condition-COND_PRC_UNIT = '0'.
wa_condition-COND_RATE = l_condval.
wa_condition-COND_CURR = l_condcurncy.
wa_condition-COND_TAB = l_condtab.
wa_condition-date_from = l_valstart.
wa_condition-date_to = '99991231'.
APPEND wa_condition to tbl_condition_ex.
Points will be rewarded...
ThanksHi Neelima
I tried with the code that you had provided but I still couldn't create the discount conditions.
Here is my code in more detail:
IF l_condtyp = '01AG'. "Header discount
l_condtab = 'SAP019'. "Table for header discount
wa_condition-p_guid = c_dummy_hdr. "Dummy guid of header
ELSE.
IF l_condplant IS NOT INITIAL . "Location dependant item discount
wa_condition-INVENT_LOC_ID = l_condplant. "Adding location
l_condtab = 'SAP068'. "Table for location dependant discount
wa_condition-p_guid = c_dummy_itm. "Dummy guid of item
wa_condition-COND_UNIT = l_unit. "Unit of item
ELSE. "Location independant item discount
l_condtab = 'SAP016'. "Location independant discount table
wa_condition-p_guid = c_dummy_itm. "Dummy guid of item
wa_condition-COND_UNIT = l_unit. "Unit of item
ENDIF.
ENDIF.
wa_condition-guid = c_dummy_cnd. "Dummy guid
wa_condition-cond_type = l_condtyp. "(01AG)
wa_condition-COND_RATE = l_condval. "(15-)
wa_condition-COND_CURR = l_condcurncy. "(%)
wa_condition-COND_TAB = l_condtab. "(SAP019)
wa_condition-date_from = sy-datum. "(also tried vper_start ie. start date of contract)
wa_condition-date_to = '99991231'.
wa_condition-time_from = '000000'.
wa_condition-time_to = '235959'.
wa_condition-UOM_DENOMINATOR = '1'.
wa_condition-UOM_NUMERATOR = '1'.
APPEND wa_condition to tbl_condition_ex.
CLEAR wa_condition.
The importing table is still empty after the FM has been executed. There are no messages in the messages table either.
Please help me out here.
This is very urgent.
Thanks -
How to add condition in the create_rule?
I need to only replicate the records with pro_id = 372. Because this table contains CLOB column, so I can't use add_subset_rule.
So I use create_rule method, here is what I did.
begin
dbms_rule_adm.create_rule(
rule_name => 'strmadmin.access_controls_dml',
condition => ' :dml.get_object_owner() = ''DBUSER'' and ' ||
' :dml.get_object_name() = ''ACCESS_CONTROLS'' and ' ||
' pro_id = 372 ');
end;
It is ok, to create this rule, but when I run following
begin
dbms_rule_adm.add_rule(
rule_name => 'strmadmin.access_controls_dml',
rule_set_name => 'strmadmin.project_specific_rules');
end;
It shows,
ORA-25448: rule STRMADMIN.ACCESS_CONTROLS_DML has errors
ORA-00904: "PRO_ID": invalid identifier
ORA-06512: at "SYS.DBMS_RULE_ADM", line 169
ORA-06512: at line 2
So I think the condition syntax I specified in the create_rule has problem, anyone know the correct syntax?? thanks a lot!!I tried it, but there is error, and I looked it 10 times, could not figure out what is the problem..any idea?? thanks.
begin
dbms_rule_adm.create_rule(
rule_name => 'strmadmin.access_controls_dml',
condition => ' :dml.get_object_owner() = ''DBUSER'' and ' ||
' :dml.get_object_name() = ''ACCESS_CONTROLS'' and ' ||
' ((:dml.get_command_type()=''INSERT'' and ' ||
' :dml.get_value('NEW', '"PRO_ID"')=372) or ' ||
' (:dml.get_command_type() = ''UPDATE'' and ' ||
' :dml.get_value('NEW', '"PRO_ID"')=372) or ' ||
' (:dml.get_command_type() = ''UPDATE'' and ' ||
' :dml.get_value('OLD', '"PRO_ID"')=372) or ' ||
' (:dml.get_command_type() = ''DELETE'' and ' ||
' :dml.get_value('OLD', '"PRO_ID"')=372))'
end;
' :dml.get_value('NEW', '"PRO_ID"')=372) or ' ||
ERROR at line 7:
ORA-06550: line 7, column 40:
PLS-00103: Encountered the symbol "NEW" when expecting one of the following:
. ( ) , * @ % & = - + < / > at in is mod not rem
<an exponent (**)> <> or != or ~= >= <= <> and or like
between || -
Sales order: How to add pricing conditions at item level in BDC of VA01
Hello Experts,
Am writing BDC for sales order, in this process I need to add ITEM PRICING CONDITIONS, so, am selecting item and pressing the DOLLAR symbol button and am adding the conditions by pressing PLUS button in loop!! but am getting this erorr- Field KOMV-KMEIN (2) is not an input field!! when I execute it in we19-BACK GROUND only!! if I execute the same CODE IN we19-Fore ground, I dont have any issue!! I checked this SDN (field status in config), Google, but did not helped me!
Pls. let me know is there any other way to add conditions at item level in VA01 in BDC code?
THank youHi,
It is happening because the second row of the item level data screen is becoming display only. Please check whether In foreground mode you are pressing an extra enter to give data in the second row of the item level data after giving data in the first row and in BDC recording you have not recorded that 'Enter'.
Regards,
Gargi -
Add dummy Like condition '%%' inorder to use index scan
Hi,
I have a table like below , which have data which capture each minute(columnB) transactions
CREATE TABLE tableA
columnA CHAR(6),
columnB Date,
columnC Number(3,0),
CRT_ID CHAR(8),
CRT_TS TIMESTAMP(6),
UPD_ID CHAR(8),
UPD_TS TIMESTAMP(6),
CONSTRAINT PK_tableA_colAB PRIMARY KEY (columnA , columnB )
When I query the table, to get the list of transaction between particular date, it goes for TABLE FULL SCAN.( cost and execution time also high)
Total no of records in the table(tableA) is 13669094, the below query returns only around 150 to 200 no of records
select columnA,columnB,columnC,Crt_Id,Crt_ts
from tableA
where columnB between TO_DATE('06/28/2013','MM/DD/yyyy') and to_date('06/29/2013','MM/DD/yyyy')
when i use the query like below it will use the INDEX SCAN (cost and execution time also less)
select columnA,columnB,columnC,Crt_Id,Crt_ts
from tableA
where columnB between TO_DATE('06/28/2013','MM/DD/yyyy') and to_date('06/29/2013','MM/DD/yyyy')
and columnA like '%%'
Please advice is it good to add condition like '%%' inorder to use the index scan. Also kindly let me know if it works in the same way in all environments.Hi RP0428,
Thank you very much for your response.
1. Are you collecting statistics on the table and indexes?
2. Post the exact command you use to collect those statistics.
Recently my DBA had gathered the statistics on 17-Dec-2013 22:01:32(LAST_ANALYSED). I am unaware about what query he ran to gather the statistics.
After that it executed in 28 seconds itself, before it took several minutes.
My concerns is only gathering the statistics periodically will improve performance.
Table is growing with thousands of records daily. Already it have 13669094 records. In order to avoid Full Table Scan
From my knowledge, I feel creating composite Range-Hash partitioning will helpful in improving the performance.
3. Post info about the data distribution for the two columns used by the index. This is 'counts and amounts' for each of the two columns and a GROUP BY date showing the skew of the values.
Plz find the details below
ColumnA
ColumnB
AA1
118800
AA2
117600
AA3
118200
AA4
118200
AA5
118200
AA6
118800
AA7
118800
AA8
117600
AA9
117600
AA10
117600
AA11
118200
AA12
118200
AA13
37234
AA14
118200
AA118
18450
AA119
96600
AA120
105000
AA121
105000
AA122
105600 -
How to add new condition record to sales order items
Hello All,
I have requirement to add to new condition record to get more discount on the item during sales order processing based on some conditions. In user exit SAVE_DOCUMENT_PREPARE , I am populating an internal with items for which additional discounts are required. So want to add condition record to those items to get additional discount.
I know that in VOFM routines we can modify the existing condition record value but not sure what is the best place to append new condtion record to conditions table.
Thanks,
SumanHi suman,
As which conditions you want or whatever logic you want for to write for applying the conditions you need to make changes at two includes and one FM by using Implicit Enhancement
1) MV45AFZZ
2)RV61AFZB
3) FM name i am not remembering you can debug and find out.
Regards,
Shahezad
Maybe you are looking for
-
When I go to http://www.macromedia.com/software/flash/about/ it says I have version 9,0,47,0 installed. Whenever I go to a site that uses Flash it says it's not installed. For instance, http://www.nmai.si.edu/education/codetalkers/ returns: "Native W
-
Vendor Master Tax numbers - Mandatory
Dear Experts, Currently tax field in vendor master is client specific. Appreciate your thoughts. System should check whether users are entering any one of the tax field i.e. tax number 1, Tax number 2, Tax number 3, Tax number 4 or V.A.T field, if no
-
Dynamic List Populate in Tabular Report
Hi All, Could anybody help / advise me out in getting done the following requirement in Oracle APEX 4.1. I tried using AJAX / visited DENES KUBICEK application but its getting complicated with AJAX. Any quick inputs will be highly appreciated I
-
How to delete unwanted Address Lists
I have tried to remove unwanted Address Books with no success. A "right click delete" is never available in any area. -
-
HT204032 is this firmware update compatible with Lion?
I have set my MacBook Air to dual boot Lion and Mountain Lion, is this firmware update (MacBook Air SMC firmware update 1.6) compatible with Lion? So if I boot the MacBook into Mountain Lion, accept the firmware update, and then boot into Lion will