Should the condition in the loop step
Should the condition in the loop step in the integration process(BPM) be = or not= ?I need to do the following>>perform certain operation only when the container value is less than 3 Else then get out of the loop.
Regards,
Mansi
The loop step in ccBPM implements a while loop.
So, while count not = 3, it will be executed.
Once the counter reachs 3, the loop will be terminated.
Regards,
Henrique.
Similar Messages
-
Trasnporting the Condition in the Action Profile
I have defined an action profile Activity for sending the email automatically when saving an activity.
I defined the condition for the Remainder email to send in the Tcode CRMC_ACTION_CONF.
But I am not able to transport the defined Condition from the Dev system to the QA system.
How can I transport the condition from the dev to QAZack,
Did it create a transport request when you initially created the condition?
If it did and if the transport was loaded onto QA and you cannot see the new condition in QA then there seems to be a problem in the system. Try creating a new dummy condition and see if that gets transported. If not then, you have open a message to sap.
Ani -
How to stop a second while loop when the condition in the first one is met for different VIs
Hi, am running two seperate Vi's. am new to labview so please help accordingly.
I have introduced a comparison test in one Vi through ashift register. i would like now the second Vi to stop when this comparison condition in the first Vi is met.
I dont want the first Vi to stop, it should only stop the second Vi while awaiting for the next input.
waiting for your help guysThanks so much guys. am now starting to pick some ideas. i have attached the Vis as requested for best identification of the help.
waiting help guys
best regards
Alex
Attachments:
first Vi.vi 132 KB
second vi.vi 149 KB -
I know you can set it to count the cells if they contain ONLY what's in the condition, but what if they contain the search term and something else? For example, if I wanted to count the number of cells that said "apple" when each of the cells contains something like "apple, orange, pear" or "pear, banana, apple" how would I do that?
Ken,
LI's solution will get you there if you are looking to count the string even if it is part of a larger string. You can see that Apple only exists three times as a distinct word, but 4 times as a string or sub-string.
If you are only wanting to count the frequency of the word "Apple", you can do this:
If you are using a Comma-Space between words as in your problem statement, you can substitute the following column B expression:
=IFERROR(FIND(“Apple,", A&”,"), 0)
Regards,
Jerry -
hey i got up in the morning only to find my fone not respnding to nything.. plz help .. i cant unlock it .its being connected to the computer though.. the desktop device manager cant connect.. though it says programme not responding ..please help ... i have also tried taking out the battery n all ...but then i is still the same... the fone is getting charged though .. idk what might be the problem??
Hi and Welcome to the Community!
Please try this sequence...note that, throughout the entire 4h15m process, your BB must remain directly connected to a known-good wall charger (not PC USB, not a cradle):
With the battery inside, connect your BB to the wall charger
Leave it alone for 2 hours, no matter what the LED or the display does
Remove the battery
Wait 15 minutes
Insert the battery
Wait another 2 hours, no matter what the LED or the display does
This has been known to "kick start" some BBs.
It is also possible that your battery or BB has experienced a problem...to test, this sequence is needed:
Obtain an known good and already fully charged additional battery...use it in your BB and see what happens
Obtain access to a known good and identical BB...use your battery in it and see what happens
The results of this will indicate if it's your BB or your battery that has the problem. Note carefully please that "new" and "know good" are not necessarily the same things. While rare, a "new" battery certainly could be defective. Rather, the simplest (and least costly, btw) method to conduct this test is to find someone with an identical BB who has no issues...trade batteries and see what happens.
Good luck and let us know!
Occam's Razor nearly always applies when troubleshooting technology issues!
If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
Join our BBM Channels
BSCF General Channel
PIN: C0001B7B4 Display/Scan Bar Code
Knowledge Base Updates
PIN: C0005A9AA Display/Scan Bar Code -
Hi!
I just tried to update my Adobe Creative Suite to Adobe CC. I have a registered CS5.5 Master Collection from 2012 that I bought while studying (Students Edition).
On the Adobe Website I can choose the CC as a special offer and a price o 35,69€ per year. When my Serial is checked they say that I'm not allowed to use this special offer.
Does anybody know what's the problem? Can't I use the special offer with the old serial of a student's edition?
Thank's for your help!
Best!!!No. Student licenses cannot be used per the terms and conditions...
from: Terms and Conditions | Adobe
"Eligible customers may purchase an Adobe® Creative Cloud™ Complete Membership with annual commitment for a reduced price. Offer valid for purchases of an annual plan, which requires a 12-month contract. This offer is only available to customers who own a Creative Suite edition or individual product in one of the following versions (CS3.x, CS4, or CS5.x, or CS6), and who purchase directly from the Adobe Store or by calling a regional Adobe Call Center. This offer is not available to Education, OEM, or volume licensing customers." -
Need help in SQL , Subtract column based on the condition in the Row
Hi all ,
I’m new to Sql Queries; I have a requirement which involves Sql query,
Can anyone tell the How to proceed or provide me Sql
Here goes the requirement
Current Table
ID |-|Month|-|Data
1|-|Jan-10|-|10.00
2|-|Feb-10|-|20.00
3|-|Mar-10|-|30.00
4|-|Apr-10|-|50.00
5|-|May-10|-|60.00
6|-|Jun-10|-|70.00
7|-|Jul-10|-|100.00
8|-|Aug-10|-|110.00
9|-|Sep-10|-|120.00
10|-|Oct-10|-|140.00
11|-|Nov-10|-|150.00
12|-|Dec-10|-|170.00
13|-|Jan-09|-|180.67
14|-|Feb-09|-|194.67
15|-|Mar-09|-|208.67
16|-|Apr-09|-|222.67
Format needed
ID |-|Month|-|Data|-|Base on this condition
1|-|Jan-10|-|10.00|-|Jan 10
2|-|Feb-10|-|10.00|-|Feb10-Jan10
3|-|Mar-10|-|10.00|-|Mar10 - Feb10
4|-|Apr-10|-|20.00|-|Apr10 - Mar10
5|-|May-10|-|10.00|-|May10 - Apr10
6|-|Jun-10|-|10.00|-|Jun10 - May10
7|-|Jul-10|-|30.00|-|Jul10 - Aug10
8|-|Aug-10|-|10.00|-|Aug10 - Jul10
9|-|Sep-10|-|10.00|-|Sep10 -Aug10
10|-|Oct-10|-|20.00|-|Oct10 -Sep10
11|-|Nov-10|-|10.00|-|Nov10 - Oct10
12|-|Dec-10|-|20.00|-|Dec10 - Nov10
13|-|Jan-09|-|10.67|-|Jan 09
14|-|Feb-09|-|14.00|-|Feb09-Jan09
15|-|Mar-09|-|14.00|-|Mar09 - Feb09
16|-|Apr-09|-|14.00|-|Apr09 - Mar09
Thanks in advance
AstleWelcome to the forum!
this?
select id
, mon
, data
, data - lag (data, 1, 0) over (partition by trunc (mon, 'yyyy')
order by mon)
from test
order by idas in
SQL> with test as
2 (
3 select 1 id ,to_date ('Jan-10', 'Mon-rr') mon,10.00 data from dual union all
4 select 2,to_date ('Feb-10', 'Mon-rr'),20.00 data from dual union all
5 select 3,to_date ('Mar-10', 'Mon-rr'),30.00 data from dual union all
6 select 4,to_date ('Apr-10', 'Mon-rr'),50.00 data from dual union all
7 select 5,to_date ('May-10', 'Mon-rr'),60.00 data from dual union all
8 select 6,to_date ('Jun-10', 'Mon-rr'),70.00 data from dual union all
9 select 7,to_date ('Jul-10', 'Mon-rr'),100.00 data from dual union all
10 select 8,to_date ('Aug-10', 'Mon-rr'),110.00 data from dual union all
11 select 9,to_date ('Sep-10', 'Mon-rr'),120.00 data from dual union all
12 select 10,to_date ('Oct-10', 'Mon-rr'),140.00 data from dual union all
13 select 11,to_date ('Nov-10', 'Mon-rr'),150.00 data from dual union all
14 select 12,to_date ('Dec-10', 'Mon-rr'),170.00 data from dual union all
15 select 13,to_date ('Jan-09', 'Mon-rr'),180.67 data from dual union all
16 select 14,to_date ('Feb-09', 'Mon-rr'),194.67 data from dual union all
17 select 15,to_date ('Mar-09', 'Mon-rr'),208.67 data from dual union all
18 select 16,to_date ('Apr-09', 'Mon-rr'),222.67 data from dual
19 )
20 select id
21 , mon
22 , data
23 , data - lag (data, 1, 0) over (partition by trunc (mon, 'yyyy')
24 order by mon)
25 from test
26 order by id
27 ;
ID MON DATA DATA-LAG(DATA,1,0)OVER(PARTITI
1 1-1-2010 10 10
2 1-2-2010 20 10
3 1-3-2010 30 10
4 1-4-2010 50 20
5 1-5-2010 60 10
6 1-6-2010 70 10
7 1-7-2010 100 30
8 1-8-2010 110 10
9 1-9-2010 120 10
10 1-10-2010 140 20
11 1-11-2010 150 10
12 1-12-2010 170 20
13 1-1-2009 180,67 180,67
14 1-2-2009 194,67 14
15 1-3-2009 208,67 14
16 1-4-2009 222,67 14
16 rows selected -
What is the condition of the jakarta taglibs project?
I have downloaded the most recent build of the jakarta taglib and have
found more bugs than I expected. Is this application in bad condition
or am I missing something?
Thanks
Main purpose is data persistence. If you don't need that, then EJB isn't that important.
-
I have one sales order but the condition is the stock delivered to the part
is in various instalments 10%every month up to 100% how it configure
it is possible through standard SAP, when you create delivery you can give the required qty. of 10% of order ever time, but its possible if the price is same for all months,
with referance to delivery you can create shipment and shipment cost, invice.
If you have defferent prices for every month you have to create separate sales order ever month.
please assign the points if its helpful.
regards
sai krishna -
Hello,
I'm using the Pass/Fail count set to one Pass to capture an event generated by my DUT. I originally used a numerical compare step with the Looping type of Pass/Fail count to accomplish this. Unfortunately the implementation changed and now I need to execute a few steps that can not be combined within one code module as before. Nor can these steps be put into a subroutine. One of the steps executes a .NET asembly and I haven't figured out how to pass the reference to the subroutine. When the subroutine is intered the reference is lost and the methode does not execute correctly.
I have an evaluation function the exits the loop when the expected conditions are met. Everything works except for the Overall Pass/Fail result of the For loop. If the loop exits due to the first numerical compare test passing, I want the loop overall execution to report as "Passed". If the loop reaches it's predetermined number of iterations, the overall result needs to report as "Failed". It would also be nice to have the radio button functionality of "Record Result of Each iteration". Some conditions require a wait over a minute for the event to occur and I don't want to generate needless data for the report.
Currently I get the pass/fail status for each For loop iteration, but only "Done" for each loop iteration. I don't want the initial few failures to cause the test to fail.
Does anyone know how to do this? Suggestions?
Thanks,I have 2 steps in the loop that can not be combined into one step. This forces me to implement the behavior in some form of loop. A While Loop could be an option. I would need to pass the Step.Result.Status from the Multiple Numerical compaire step to the condition of the While Loop. I tried to use the Step.TS.ID without success. Some form of reference to the numerical compare step would be needed. I'm using a For Loop as I do want to limit the number of iterations of the loop. In the case where the loop iterations are reached, the event I am trying to detect did not occur at the correct time and a failure needs to be reported.
I came up with something based on my comments in the second post:
1) To start with I configured a Locals.ForLoop_5 variable. This is used to set the limit on the loop iterations and for comparison after the loop has finished executing. More on that later.
2) The first step inside the loop invokes a method within a .NET assembly that has been packed in a DLL This method gets the required data from the DUT and stores it to a text file.
3) The next step is the Multiple Numeric Limit step. This step invokes a VI that extracts the data from the text file. This step has been customized in several ways.
i) In Run Options, the Results Recording Option was disabled. This prevents recording of "Failed" while the loop executes when waiting for the event to happen.
ii) In Run Options, the Step Failure Causes Sequence Failure is unchecked. Same reasoning as i) These steps are not true failures.
iii) A Post Action is configured to go to the nexxt step after the For Loop End step On Condition True with the logic of Step.Result.Status == "Passed". This causes the loop to exit when the first "Passed" is encountered which corrolates with the event I'm trying to detect. On Conditon Fail remains set to default.
4) The step after the For Loop End is an expression step with everythin set to default except for the Status Expression logic set to: Locals.Loopindex < Locals.ForLoop_5 ? (Step.Result.Status = "Passed") : (Step.Result.Status = "Failed"). This step performs the overall Pass/Fail reporting for the For Loop. If the number of loop iterations is less than the maximum it could have only gotten there by the previous logic triggered by the numerical compare passing, therefore "Passed". If the loop index has reached the limit, then the event was not detected, therefore Failed.
I have tested this work around with success, it just a pain to now have to implement this on my 40 some odd For Loops.
If there is a better way, I'd still like to hear it. -
How can I retrieve the condition in an update or delete using instead of trigger
I have 2 tables, on which a view is created. To distinguish the tables within the view trigger, a column "source" had been added in the view creation. I want to be able to delete row(s) in table t1 or table t2 through the view, depending on a condition. The problem is that I don't know how I can get back the delete condition IN the INSTEAD of trigger :
CREATE TABLE t1(m NUMBER, n VARCHAR2(10), o date);
CREATE TABLE t2(a NUMBER, b VARCHAR2(10), c date);
-- The view is created based on the 2 tables.
CREATE OR REPLACE VIEW vt12 AS
SELECT 't1' source, m, n, o
FROM t1
UNION
SELECT 't2' source, a, b, c
FROM t2;
-- The trigger will fire whenever INSERT is performed on the tables through the view
create or replace trigger tvt12 instead of insert or delete on vt12
begin
if inserting then
if :new.source = 't1' then
insert into t1 values (:new.m, :new.n, :new.o);
else
-- will insert a default value of -1 for the fourth column "d"
insert into t2(a,b,c,d) values (:new.m, :new.n, :new.o, -1);
end if;
elsif deleting then
-- We don't know the condition for the deletion, so all rows from the
-- table from which the current row is coming will be deleted
if :old.source = 't1' then
delete t1;
else
delete t2;
end if;
end if;
end;
show error
insert into vt12 values ('t1',1,'1',sysdate);
insert into vt12 values ('t2',2,'2',sysdate+1);
insert into vt12 values ('t1',3,'3',sysdate+2);
insert into vt12 values ('t2',4,'4',sysdate+3);
insert into vt12 values ('t1',5,'5',sysdate+4);
insert into vt12 values ('t2',6,'6',sysdate+5);
commit;
select * from vt12;
select * from t1;
select * from t2;
delete vt12 where m = 1;
commit;
select * from vt12;
select * from t1;
select * from t2;
When I execute this script, the delete statement seems to recognize that the condition is affecting a row in table t1, and therefore deletes all rows from the table, as specified in the delete statement of the trigger... But, what I want to do is ONLY to delete the row affected by the original condition. So my question is to know how I can get back the original condition for the delete, and still use it in the trigger, that will be executed INSTEAD of the delete statement.. I checked in the doc, and everywhere an example of INSTEAD OF trigger can be found, but it's always and only using an INSTEAD OF INSERT trigger, which doesn't need a condition.
Can anyone help ?
nullI've never faced this case myself, but from the documentation it would seem that the INSTEAD OF DELETE is also a FOR EACH ROW trigger. Therefore, you don't really have to worry about the actual "where" clause of the original "delete" operation: Oracle has it all parsed for you, so you just need to redirect, in turn, each view record being deleted to the appropriate table.
In extenso: for your
delete vt12 where m = 1;
=> the INSTEAD OF trigger fires once for all records in vt12 where m=1, and I would guess that you trigger code should look like:
begin
delete from t1 where m = :old.m and n = :old.n and o = :old.o;
delete from t2 where a = :old.m and b = :old.n and c = :old.o;
end;
It's a bit of overkill compared to the "where" clause of the original "delete" statement, but it should do the job...
BTW, if by any luck you do have some primary key on tables t1 and t2 (say: columns o and c respectively), then obviously you can make the thing simpler:
begin
delete from t1 where o = :old.o;
delete from t2 where c = :old.o;
end;
HTH - Didier -
Restrict display of Condition Value in the Conditions tab in Purchase Order
Dear All,
We have a requirement that in the Conditions tab the condition value column should be displayed as blank to users other than those related to Purchasing and Costing.
I have checked that there are no standard authorization objects to restrict these.
Any inputs on how to achieve this?
Thanks!
TejasavHi,
you can influence fields using BADI ME_PROCESS_PO_CUST. I don't think that you can disable just your field but you should be able to hide whole tab "Conditions". So you can perform your own authorization check in implementation of this BADI and then display or hide tab.
Cheers -
How to change what is used for the condition base value
I have a new condition type that I want to always get its conditon base value from a list price total in the pricing procedure.
Do I need to do this in a routine? If yes, can you give more details on what should be in the routine.
ThanksThe new condition(ZXXX) which should always have the base value amount of the list price -
Settings
ZXXX in transaction v/06- when defining this condition you have a field under Master data - to use it as reference condition type
over here you can mention the condition for the list price. than it should work.
Hope this helps
Cheers
jasmeet -
Need help on how to put condition in the work flow
hi friends,
I want to check the conditions whether the customer is available in the server or not .
If YES i want to do one process in the work flow
or
If NO i want to do one process in the work flow. Please help me out on this.
Ex:
KUNNR
YES NO
1stProcess 2nd Process.
Pls send me the screen shots or solution for this i searched a lot in this but I could not find...
Thank you,
Vikram.cHi,
you can use a CONDITION step to achieve this requirement. Try the following link, it may not exactly match your requirement but will give you a clear idea on how to proceed,
[http://www.****************/Tutorials/Workflow/ConditionStep/Condition.htm] -
Need to show the Condition amount or percentage(KBETR) in display mode.
Hi,
i need to show the Condition amount or percentage(KBETR) in display mode for VA02 transaction based on the condition type. the KBETR in the table control. so how it will become in display mode?
already i tried with this code.
in MV45AFZZ form userexit_field_modification.
case screen.
when screen-name = 'KOMV-KBETR'.
read table xkomv with key kschl = c_xr1(XR1).
if sy-subrc = '0'.
SCREEN-INPUT = '0'.
endif.
in debugging mode the condition is satisfying but not modifying the screen.
can anyone help me . please it is urgent.Hi Praveen,
See in Exit 'LV69AFZZ' and subroutine 'USEREXIT_FIELD_MODIFICATION',
code should be like this
if komv-kschl eq 'your condition type'.
case screen-name.
when 'KOMV-KBETR'.
screen-input = 0.
endcase.
endif.
For header level conditions you need to use "form userexit_field_modific_kopf"
try it.
i hope it will solve your problem.
ENJOY SAP.
Maybe you are looking for
-
Need help, please!
-
Imovie quit when I try to export my project or read it in full screen
Hi I really need your support as i did a movie (diaporama) with music for the Golden Moon of my parents and i need to present it on 15th of august. Project is finished but I cannot export it as either when i try to view it on full screen or expo
-
I have Encore CS3. I had two menus called "Romaji Songset Menu 1" and "Romaji Songset Menu 2" (I'll shorten that to "RSM" here), and I duplicated them and renamed the copies "Japanese Songset Menu 1" and "Japanese Songset Menu 2" (hereafter "JSM").
-
IDOC for listing/exclusion conditions (transaction VB01)
Hello, we need to export the conditions for listing or exclusion entered in transaction VB01 (tables KOTG900 ff) to an external sales order system. Does the system provide an idoc for this purpose? best regards Rainer Fischer
-
Acrobat 7 Accessibility - Turning Off Reading
I am using Acrobat 7.0.5 Professional. Recently, the program began automatically launching the dialog box to read a document out loud each time a new document is opened. I searched the help files and cannot find any way to turn this feature off. Anyo