Error in multiple condition type switch
Hi,
I define a multiple condition as a switch for different processing branches for my
Workflow (all my attributes in the conditions are from the object).
I defined the Other Values outcome also.
When one of the conditions is true I received an error SWP103 "Error when starting a SWITCH branch"
It works fine when my process go to "other" outcome.
Thanks in Advance,
Ronit.
In my workflow the same error occured while using a mutliple condition with type Switch.
A short explanation of my workflow:
- container operation: errorcounter = errorcounter + 1
- multiple condition
1. errorcounter =< 4
2. errorcounter = 5
3. other values
- activity
- loop until (depending on outcome activity).
The first time while executing the loop went perfect, but the second time it failed and based on the message I guess it failed on the multiple condition. What I also notices in the technical view was that the errorcounter wasn't updated.
I guess the container operation and multiple condition bumped into eachother (somehow?) and caused the error.
My solution:
Put a wait stap between step 1 and 2 and it works fine.
I'm not sure this case is applicable to you, but may be a hint in the right direction. Good luck!
Similar Messages
-
Getting error while creating condition type in SPRO
Hi ,
can somebdy tell me why i am getting the following error while creating condition type in SPRO
No valid change license available for message /sapcnd/
and also while rule determination using condition type we are getting the following error.
system error:system cannot read the structure for table
reg
venkatHi Venkat,
Do you have the error number code!?
Regards,
Michel Bohn -
Calculation formula userexit not working for multiple condition types
Hi,
we have a problem in the CRM ISA-B2B scenario where the custom user exit is only working for single condition type.
but we need it for multiple condition types .
the value of the subtotal is not being retrieved for multiple conditions. at a time only one condition value is being retrieved and shown in the webshop - shopping basket.
for ex:
we have scenario 1 where Y001 -Freight condition type is applicable for one customer.and Y002 is applicable for another customer.
when we are trying to show the subtotal condition value in the webshop by using a single custom user exit in the pricing procedure it is only working for either of the above 2 customers depending on the VMC cache status.
is there any problem if use the single user exit for both condition types?
and if it needs to be differentiated how exactly we can do that with the same logic in the java class.
Thanks in advance,
PSR.Hi Arshi,
below is the code:
public class ZValFormula_ZZWI1 extends ValueFormulaAdapter {
private static String zzwi = "ZZWI1";
private static char zzwiC = '@';
private static UserexitLogger userexitlogger = new UserexitLogger(
ZValFormula_ZZWI1.class);
public BigDecimal overwriteConditionValue(IPricingItemUserExit item,
IPricingConditionUserExit condition) {
ICurrencyValue val = condition.getConditionValue();
userexitlogger.writeLogDebug( "value saved for " + zzwi + " (" + zzwiC + ") = "
+ val.getValueAsString());
item.setSubtotal( zzwiC, val.getValue());
return val.getValue();
hope this would give more idea to look at the problem.
Thanks,
PSR -
RECN (Process Contract) Error while adding condition type
Hi All
I am processing the contract (RECN). While adding a new condition type, it gives me thr error
Parameter KWH (area unit) for calculation formula Y3 has errors
Moreover when i defined this calculation formula (Y3), units KWH are not coming in area unit field (F4-possible entries).
Pls help me with that.
Thnx in advance
DeepakHi,
i am assuming you have added customised formula to condition type while creation of conditon. for the formula there is no link to Badi.
if the above is right, you need not to add any formula and parameter while creation of conditon,first remove the formula form the conditon and assign standard one.
then select the formula after inserting the condition. error about the formula may be no value is being supplied from the formula.
thanks
Jilani -
Error message FF762 " Condition type MWVS tax code A8 does not extist- MIRO
Dear all,
after support packagesi mplemented , I've the problem with transaction MIRO,
because I cannot released the invoic for the folloqiong error:
FF762 " Condition type MWVS tax code A8 does not extist.
Please, could you help me.
Thanks in advance for your cooperation
GaetanoHi,
Go to FTXP and give the tax code A8.
In the resultant screen, select the condition type MWVS, and link the condition type to an account key.
Make sure all the other tax determination settings are fine
Now, try the transaction it should work fine.
Hope this helps you -
Error with VPRS condition type in Quotation
Hi,
When go through the pricing conditions of my quotations, I see a red signal indicating error before the VPRS Condition type (Condition category G). When i do the condiotn analysis, the diagnosis read as below.
"Error in quantity / value updation"
Diagnosis:
This condition has not been determined using condition records. The amount or value should be determined from another data source. For cost (condition category 'G') it is read using conditions from the material valuation segment, for a cash discount condition it is read using conditions from the terms of payment table.
In this transaction an error occurs - the material valuation segment or the terms of payment table could not be read or a currency translation has failed.
System Response
The condition has been provided with the deactivated indicator 'X'.
Could you please let me know what could be causing this?
regards,
AshokHi Ashok,
Your problem seems intresting, may be this thread can help you
[SCN|VPRS- Error in quantity/value determination]
Please provide feedback after getting it solved.
Thanks,
Raja -
Problem with multiple condition type for VAT &CST
Hi,Gurus,
pl. suggest the procedure for the following problem.we configured seperate pricing procedures for our product material and scrap material.We have configured same condition types for VAT(ie.condition type:ZVAT) and CST(cond type:ZCST), in both pricing procedures. Now We want to maintain seperate condition types for VAT and CST for pricing procedure for Product material and Scrap material. I have created two new condition types for scrap sales ZSCT- cst for scrap and ZSVT-vat for scrap by copying the same from existing conditions ZCST & ZVAT, and the same is included in the scrap pricing procedure. And also maintained OB40,OBCN,OVK1,OVK3,OVK4, FTXP,FV11 and VK11.
now I am facing the following problems.
1. while creating the Material master & customer master, in tax category sub screen all conditions i.e. conditions defined for product material( ZCST,ZVAT) and defined for scrap material (ZSCT, ZSVT) displaying and these are compulsory fields.
2. While creating the sale order for scrap material, system is considering the TAX classes from ZVAT/ ZCST (defined for product material) and taking the condition value from the condition type ZSVT/ ZSCT with the TAX class values of ZVAT/ZCST.
Now I would like to know is there any procedure to assign the Material type and Customer Account group to Tax category.
Thanks & Regards
samHello Sam,
The Access Sequence Assigned to your New Condition types ie, ZSCT and ZSVT are same as the Previous Condition type ZVAT and ZCST.
After Adding new condition type in the Tax category in the Masters you have to take care of the Sequence of the Condition type.
If ZSCT and ZSVT is on the 3rd and 4th number in the masters the Condition table you are using in the access sequence should have fields Taxclassification3-Customer and taxclassification3- material. For ZSCT
Likewise Taxclassification4-Customer and taxclassification4- material. For ZSVT
Please add New Condition table in the access sequence with the required Field
And next when you are maintaining the condition record for say ZSCT you will have to maintain condition record for the condition table which has Taxclassification3-Customer and taxclassification3.
In Document the values will be flown correctly after changing this.
Hope I have Solved your Query.
If any Doubt please revert.
Regards,
Rohit Dongre -
Shipment cost for multiple condition type is not working
Dear Experts
I am doing inbound transportation,I have a freight condition, FRB1, and two fixed cost condition type ( ZX01 and ZX02).
I maintained 3 condition type under T_06, and created condition record.
Now when I am doing shipment costing system is taking the last assigned condition type relevant condition record value, however it is pulling the other two condition type in the pricing procedure and with information message.
Could some body suggest how to bring all 3 condition type value effective for shipment cost.
Thanks & Regards
SudhansuHi Durga,
Most importantly whenever we create a condition type with statistical check box it means that value will not be included in Net price calculation this is the only purpose of statistical check box.(Like any freight charges it will go to your stock a/c even though statistical check box is there in your Pricing procedure)
When you create condition type for any charges with Cond.category B Delivery costs and Accrual check box in M/06 by default it will go to stock account, but you can restrict that by using a functionality
Check this link for complete process
http://wiki.sdn.sap.com/wiki/display/ERPLO/PostingplanneddeliverycosttoNon-inventoryaccount -
Dear Gurus,
I am crating sales order with Invoice Correction req as a order type but when we go to pricing procedure of 2nd line item, here I can change basic price & other taxes but I won't be able to change Basic Excise Duty which I need to change from 10% to 12%.
I used Tax procedure is TAXINJ, but in JMOD condition type I am not able to change % value.
I tried to change % value with FV12, FTXP & VK12 but system won't allow to change.
Kindly Guide
ThanksMoved from SAP ERP Sales and Distribution (SAP SD) to Internationalization and Unicode. You have already been asked to post all your CIN related queries here but again and again, you are posting in wrong forum.
Coming to your requirement, explain what exactly you were trying to do. If you are trying to create a billing document against a delivery and you want to fetch a different excise duty in billing, then you can maintain the required date in the field "Service Rendered Date", provided you maintained condition record with the validity period of the service rendered date.
G. Lakshmipathi -
Hi,
In a sales order net value of item was rs 230.I removed the statistics tick from vprs condition type in pricing procedure and saved with 11 alt calc type.cost was 190
and net was 230.In the sales order cond value infront of vprs Rs.230 is showing not the diferance of 230 and190 which acording to me shd have been calculated TO GIVE PROFIT margin.Please help.Hi,
Please check the material master. In the sales org 1 tab check for the conditions. See whether the price entered in the Sales Org1 and Accounting 1 are same. If it is same it will show '0' as the profit margin. Only when they are different profit margin will be calculated.
PR00 is taken from the Sales Org 1 tab
VPRS is taken from the Accounting 1 tab.
Regards
Mahesh -
Hello all
I'm having trouble with a multiple condition. I have 4 possible outputs, but in one of them the workflow is terminated, and there is no any instruction set to do this. Any ideas on what is going on?.
Regards IAPlease analyse the Workflow Log and also the Workflow design from PFTC_DIS.
Following reason can result into this
1)Use of Process Control step which is not displayed in |Wflow log
2) Use of wait for event step in a fork as well as triggering of the event
3) Triggering event that is a terminating event of the task placed in 1 branch of the condition step.
Thanks
Arghadip -
Multiple condition : Error when starting a SWITCH branch
Hi,
In our Z Leave Workflow,I am facing the errors listed below.
Error when starting a SWITCH branch
Error during CASE evaluation in SWITCH mode for node 0000000158
Operator 'EQ': The value of the left operand cannot be determined
Error in the evaluation of expression '<???>&REQ.STATUS&' for item '1'
Unable to determine the value of component ''
It gives error in Multiple condition Request Approved? which is similar to standard WF12300111 node number 158 (u can say copy of WF12300111
This multiple condition works in some scenario But it gives dump at other scenario .
I have checked the value of REQ.STATUS in runtime. It populates the value as 'POSTED' in runtime,
Please suggest if any solution on this.
Regards,
KalpeshHi There was some problem with task which was comprising class CL_PT_REQ_WF_ATTRIBS and APPROVE method. This method is to change the status of particular leave workitem.After running this particular task ,the status was not changin instantly.This method locks particular workitem and was releasing the workitem once the WF gets completed.Hence I was getting REQ.STATUS as sent.
I have changed that task with following code in new task...
DATA:
REQUEST_ID TYPE PTARQ_DEDUCTION-REQUEST_ID,
request TYPE REF TO if_pt_req_request,
new_status TYPE tim_req_status.
SWC_GET_ELEMENT CONTAINER 'REQUEST_ID' REQUEST_ID.
CALL FUNCTION 'ENQUEUE_EPTREQ'
EXPORTING
mode_ptreq_header = 'E'
request_id = request_id
EXCEPTIONS
foreign_lock = 1
system_failure = 2
OTHERS = 3.
IF sy-subrc <> 0.
MESSAGE w058(hrtim_abs_req) WITH request_id.
ELSE.
CALL METHOD ca_pt_req_header=>agent->get_request
EXPORTING
im_request_id = request_id
IMPORTING
ex_request = request.
execute state transition
CALL METHOD request->initiate_state_transition
EXPORTING
im_transfer_event = 'APPROVE'
IMPORTING
ex_new_status = new_status.
COMMIT WORK.
CALL FUNCTION 'DEQUEUE_EPTREQ'
EXPORTING
request_id = request_id.
ENDIF.
This will create new status for leave item during WF processing.
Apart from that also added Wait for 2 minutes after that task....
Thanks for your help.
Regards,
Kalpesh -
Error Message : Condition type is not maintained in the schema RM0002
HI Gurus,
I have created a new purchasing procedure as follows.
ZVATV : <b>Condition Schema</b>
VATV : <b>Condition Type</b>
VA : <b>Sch.Grp Vndr</b>
When I create the Purchase order, the above mentioned schema, ZVATV is automatically determined.
But when I create Contract, system throws an error message saying condition type VATV is not maintained in the schema RM0002.
I am very new to SAP, Kindly explain in very detail about this error message and ways to get rid of it.
If u have got any <b>very detailed material</b> about pricing kindly forward it to my mail id: [email protected]
Thanks in advance.
~Gokul.Hi,
The new condition type you are specifing is the gross price condition (PB00). for PB00 condition type a supplementary pricing procedure is assigned as RM0002. u may have copied the PB00 and changed it to VATV, but with out changing the RM0002. copy the RM0002 and in that also change the PB00 to VATV. after this go to VATV condition type control data (M/06) and assign the new supplementary pricing procedure instead of RM0002.
The supplementary pricing procedure is required to have the condition types for which no access seqeunce is mentioned. All the condition types in main pricing procedure with out access sequence needs to be mentioned in supplementary pricing procedure.therefore all these condition types will have the same validity periods as PB00.
Regards,
Ramakrishna -
Error-- Condition type MWST tax code A0 does not exist
I have an Invoice and it didnu2019t pass for accounting entry.
The error is promptu201D Condition type MWST tax code A0 does not existu201D, It never came at the time of Sales order creation.
Diagonosis says the following
When calculating tax, the system tried to determine the condition amount and the condition number from tables A003 and A053 using the specified condition type and tax code. However, no values were found there.
Procedure says the following thing
Check the Customizing settings for the specified tax code. Check whether the validity period (possible with tax jurisdictions) is defined.
Please guide.Christiano,
First let analyze the situation.
1. Execute Tcode VA02 --> Item Details --> Conditions tab --> Click Analysis button. Try to find for condition Type MWST whether values are flowing.
If it is not there then you have not maintained condition record.
2. Tax Code.
Execute FTXP Tcode , Check For A0 Tax code check whether you have maintained any value. if yes then check in condition record, whether you created record with Tax Code - A0
If everything above is perfect and correct
3. Check Copy Controls and Pricing type
Check the Validation period (it should not be the problem)
Check and Revert
Regards
Sathya
Edited by: Sathya Pavan Yedavalli venkata on Apr 21, 2009 2:06 PM -
Running KE27. Getting an error " Condition type XX12 is not active"
Hi There -
When running KE27 getting an error Copa Validation: Condition Type XX12 is not active.
Appreciate your time.
Thanks
SriHi Sri,
is this a standard erromessage? Which code (ex: XY123)?
br, Guido
Maybe you are looking for
-
Can't change tray/paper size when printing photos
I'm using an HP Photosmart C5200 and I want to print onto 4x6 photo paper, but I can't seem to change from the default tray with 8.5x11 paper. I've played around in the print dialogue box and File>Page Setup but to no avail.
-
Since I have a new iMac and now use Mountain Lion, I am observing that TV shows purchased in iTunes sometimes download in a Quicktime format that will not open in iTunes. In some but not all cases, I right click "open in" and select iTunes and then
-
I bought the adobe photoshop elements 13 and adobe premiere elsements 13 in box in the store for my Mac; I've entered my 25 character product key - now I have been waiting for nearly an hour for something to happen with no luck. Has anyone else had
-
"Call Transaction" in Simulate Mode?
Hi All, Is there a way to use "CALL TRANSACTION" in a Simulation Mode, I mean get the messages back without any COMITT or Updates performed? Thanks in advance for your help.
-
Crash issues with elements organizer while running Apple OS 10.9 Mavericks
Crash issues with elements organizer while running Apple OS 10.9 Mavericks. Crashes then ask if you want to reopen or not. Also when you are trying to manuver the page with your mouse things go crazy from a full page edit back to viewing all photos