Exclude condition record if it is zero
Dear Experts
I want to exclude condition step if the condition value is zero.
My custom routine ( 601 -> alternative calculation type ) do some calculations. if the value is zero I do want to display the entire condition step in Sales order.
Best Regards
Venkat
Hello Venkat,
Your Custom routine ( 601 -> alternative calculation type) can easily handle this.
As it is already a Z-Development, ask you ABAPer to add program lines in that same routine to exclude the condition step if the value is zero.
Hope this helps,
Thanks,
Jignesh Mehta
Similar Messages
-
Exclude Condition Record by Item Category
Hi All,
We need to exclude a condition record in pricing based on the line item category. We are trying to use a routine (VOFM->Formulas->condition base value)for this and haven't had much success so far in clearing out the condition value based on the item category. If anyone has done anything similar , can you let me know if we can use anything in requirements for this ? or can this be done by config ?
Thanks,
Sandeep.Use a vofm pricing requirement routine. If komp-pstyv = item cat then set RC = 4. This will disable the condition.
-
I am trying to find out a way to export to csv or excel the NAVS records. Any suggestions would be appreciated.
For example, something that would look like this (these fields):
Country Material group Tax ind f plant Tax ind f acct assg Tax code
US C010 Professional Services 2 1 S7
I know that you can export from the Condition Info area (MEK3->Condition Info->Display condition records) but that export does not include the Tax Code which is what I really need.Hi Allison,
SAP doesnt make it easy to look at this data for multiple records, as the data is stored across multiple tables.
You can download the data into Excel for each table using SE16 and then use a vlookup to link the data together.
First download the condition records from the table A??? that stores your condition records you can find the table name by looking at the technical information behind the selection parameters in transaction MEK3.
The condition item details (including the tax code) are stored in table KONP and the two tables are linked together by the condition record number field KNUMH. If your system is anything like ours, KONP is huge (9 million records + ), so you will need to us the condition record numbers that you downloaded from table A??? as selection parameters for KONP so that you only get the records that you need. You can copy the column from the spreadsheet and paste it from the clipboard into the selection parameters. Note that the condition record numbers have leading zeros which are stripped out by Excel, so you will need to put them back in before copying the column use the Concatenate function in Excel to do this.
The other alternative is to either write a program or a query to do the same thing, but I think its quicker and easier to use SE16 and Excel.
Hope this makes sense,
Monika -
CRM TPM 7.0: Accruals amount is zero in the condition records
Hi All,
I am creating condition records through TPM, the amount value is getting populated correctly in the condition record, however, the accruals value is showing up as zero. Ideally, I wanted to have the accruals value same as the amount in the condition record. Can anyone suggest a solution on this?
Any help in this regard is highly appreciated.
Thanks in anticipation !
Kind Regards,
NeerajYou must be using Funds Management. Zero accrual rate in ECC condition record is correct.
-
Plz help: SO pricing - condition record found but in gray, subtotal is ZERO
Dears,
During creating SO, I found in the Item pricing analysis, the condition record is found and the record is also in valid period. But the strange thing is, the condition value in the item pricing table is in gray instead of blue.
Could you please advise what should I do to find out the reason of this issue?
Many thanks!
Regards
ShiliangHi,
I shall get back in the evening. But mean time can you please try another sales order for the same condition, for which condition tables are satisfying the criteria with condition records in place, may be in a test server. It should work.
Sadhu Kishore -
Report for Customer Condition Records
Hello ABAPers,
I want to write ABAP report to list out Material,Customer,Tax type and Tax amount. The data is available in tables A005 and KONP and the joining condition would be A005-KNUMH and KONP-KNUMH.
But since A005 s a Pooled table am not able to write a correct join condition.
Can any one guide me on how we can write this join condition?
I tried with FOR ALL ENTRIES IN TABLE but the output was not reading the value of Amount(KONP-KBETR).The amount is coming as zero always.
The code i'm using is:
SELECT MATNR KUNNR VKORG VTWEG KSCHL KNUMH INTO TABLE ITAB_JEXP FROM A005 WHERE KSCHL = 'JEXP'.
IF NOT ITAB_JEXP IS INITIAL.
SELECT KNUMH KOPOS KSCHL KBETR INTO TABLE ITAB FROM KONP FOR ALL ENTRIES IN ITAB_JEXP
WHERE KNUMH = ITAB_JEXP-KNUMH AND KSCHL = ITAB_JEXP-KSCHL.
APPEND ITAB.
ENDIF.
LOOP AT ITAB_JEXP.
MOVE-CORRESPONDING ITAB_JEXP TO ITAB.
APPEND ITAB.
ENDLOOP.
Thanks,
B P Shah
Message was edited by:
Bhavin P ShahHi,
Use FOR ALL ENTRIES for that joins are not allowed on cluster n pooled tables
refere these
LOOP AT it_kjmseg INTO wa_kjmseg.
lv_index = sy-tabix.
*--Select condition record number from table A006
SELECT SINGLE
knumh
FROM a006
INTO lv_knumh
WHERE kappl EQ 'V'
AND kschl EQ 'ZR00'
AND vkorg EQ '0010'
AND vtweg EQ '00'
AND pltyp EQ '01'
AND waerk EQ 'USD'
AND matnr EQ wa_kjmseg-matnr
AND datbi GT wa_kjmseg-fkdat.
IF sy-subrc NE 0.
*--Select condition record number from table A004
SELECT SINGLE
knumh
FROM a004
INTO lv_knumh
WHERE kappl EQ 'V'
AND kschl EQ 'ZR00'
AND vkorg EQ '0010'
AND vtweg EQ '00'
AND matnr EQ wa_kjmseg-matnr
AND datbi GT wa_kjmseg-fkdat.
ENDIF.
Regards,
Prashant -
Condition record exists, but has not been set
Hi
in the pricing analysis this is the explanation i got.
the reasons could be an Condition record overflow or the condition record wpuld have been created after the documnet is created.
But i found the record has been mainatined earlier to the creation of document.
this was for MWST condition type in IS Oil. where the tax rate manatined for this condition record is zero%
Since this is a mandatory condition, the document could not be completed.
Your help in this regard is highly appreciated.
thanks
C.SivakumarHi,
Check the pricing procedure for the condition type MWST. Whether this condition is taken from any prevoius steps
(check the from and to for the condition type MWST).
If this condition is with reference to somw other condition, then check whether that condition is maintianed or not?
Check the condition record maintenance in VK13, did you maintian the right access?
Prase -
Mapping error while downloading the condition records (ECC to CRM)
Hello Experts,
We were downloading the condition records from ECC to CRM system (Production), but due to Mapping error, it was unsuccessful, i wonder what's going wrong there.
When i see in SMQ2 (CRM Inbound Queue), an queue got stucked there, i.e, R3AD_ZDNL_COND_A930 having SYSFAIL status.
While debugging the queue, I have found that the queue got stuck because of u2018Mapping Erroru2019.
I found inside, Standard code reads the record from table /SAPCND/T681 (Condition Table Structure) for KAPPL = 'CRM', KVEWE = 'PR', KOTABNR = 'CUS930' and AS4LOCAL = u2018Au2019 for which the value of VAKEY_OFFSET is maintained as 0.
If system finds the value of VAKEY_OFFSET is Zero(0) then it will change the download type from D (Delta) to M (Mapping Error) and raise the error & block the Inbound Queue in CRM.
I checked in SMW01alsofor getting some more knowledge about that queue, here the error description:
Structure information for table CNCCRMPRCUS930 not available (Message class: CND_MAP)
Error when carrying out delta download (Message class: CND_MAP)
I am a technical guy and dont have much idea in CRM Middleware.
I welcome your valuable thoughts and will award full points.
Regards,
JeoHi,
As you mentioned i checked for the followings:
>>In Maintain field catalog:
I found only 2-3 fields are maintained here, when i compared with A930 (A930 in ECC system).
>>Create condition tables:
I checked it for CUS930, i found the same but condition table structure name like CNCCRMPRCUS930 are missing. Is that important? Because i see in SMW01, same error is coming over there : Structure information for table CNCCRMPRCUS930 not available .
Please suggest me, now what i need to do?
Regards,
Jeo
Edited by: Jeo Denson on Dec 1, 2011 4:11 PM -
Condition record not pulled for all material
Hi,
I have three materials in sales order. now, for each material , I am maintaining some condition record in VK11. the problem i face is, if in case I don't maintain condition recrod for condtion ZCD1 for the first material A in sales order, the condtion records that I have maintain for the same condtion ZCD1 for the following materials are also not getting pulled. that's true for all conditiond in my pricing procedure. only those conditions for which system could find records for the first material, it pulls it for all other materials that follow material A in sales order. otherwise, system gives the messgae " condition record has been found but not set "
what could be the reason? this is certainly not the standard behavior.
Thanks,
BinitaI have checked this with creating new records for all material for all condtions. but, it is possible that a particular price condtion may not be maintained for the first material and which can very well be maintained for the folllowing materials. in that case, they are not pulled. the records are there for sure for other materials as 1) i could see them in VK13 and 2) the condition analysis tells me that condtion record is found but not set. no clue what it has got anything to do with first material..as soon as i maintain that condtion for first material (even zero value in Vk11), they start appearing for other materials as they are maintained.
Thanks,
Binita -
Number of Condition Records in Pur. Info Record
I am trying to get the number of condition records in a purchase info record.
using ME_GET_INFORECORD_CONDITIONS and also ME_GET_INFORECORD_CONDITIONS_1.
ME_GET_INFORECORD_CONDITIONS_1 gives me the correct values when I try to test the FM.
What is the diff between these 2 FMs.
But when I use ME_GET_INFORECORD_CONDITIONS_1 in a report, it is not giving a correct value.
Following is the code:
DATA: IT_KONP TYPE KONP OCCURS 0 WITH HEADER LINE,
WA_KONP TYPE KONP.
DATA: coun TYPE i VALUE 0.
"Get the number of condition record - should be useful in BDC call.
CALL FUNCTION 'ME_GET_INFORECORD_CONDITIONS_1'
EXPORTING
I_EKORG = 'U001'
I_ESOKZ = '0'
I_INFNR = '5300000320'
I_LIFNR = '200524'
I_MATKL = '001'
I_MATNR = '80141300'
I_WERKS = 'L001'
* I_VABME =
* I_BSTME =
TABLES
TKONP = IT_KONP.
LOOP AT IT_KONP.
ADD 1 to coun.
ENDLOOP.
WRITE: / coun.
The variable coun is always Zero.
RegThe LIFNR in the input parameters should be L-Padded with zeros. In SE37 it does it by itself.
reg -
Condition records in sales orders
Hi All
My requirement is when ever i create a sales order, system should not allow be save the sales order without condition records
Some times there is not CST or VAT condition records found for the customers, the system is showning the value as ZERO.
In this case system is allowing me to save,
I want to make this condition record as mandatory without any values system should not save the document.
quick reply will be highly appreciatedHi
I have 2 different sales tax condition types both are used in the same pricing procedure, so i cant make both as mandatory depending on the customer region the system pickup the condition records. I need this feature to be based on customer region.
1.Try to Maintain the Condition record with combination of Customer Region and material ( based on your requirement )
2. go to T-Code V/08 , select your pricing procedure and click on the control , "UnTick" the manual and Required of those condition Types
Try to Create sales order and check
Regards,
Prasanna -
Hi
Can any one tell how to maintain condition records for JMIP(BED),JAIP(AED),JSIP(sed)?. Rewards guaranteed
regards
B sharHi
I ve maintained through fv11 for JMIP. Now the percentage is showing in PO item detail - invoice tab - taxes. But during MIGO still warning message comes BED for excise item is zero. Then i used t code J1IEX for capturing excise . here in the item level - Duty rates tab % is showing for BED (same % maintained through fv11). But in duty value tab no value is coming. If we check the document then two messages comes an error message - excise details are not maintained for vendor, and the same warning message - BED for excise item is zero. What more settings to be done? Pls look into the issue
regards
B shar -
Condition record not found for service net price
Hi Experts,
I have seen other posts related to this topic but didnt solve my issue. Issue is: in one system when trying to create PO for requisition, it says please enter a price for service item since "condition record not found" (because package number is wrongly taken as '00000000'. i dont know why).
In another system, again the condition record was not found but its taking some non-zero value for ESLL-NETWR and successfully creating PO.
In both the systems, coding is the same. No extra coding in user-exists. I think package is not properly determined. But in tables ESLH/ESLL, i see the values are stored in exactly the same manner as in the other system. I literally see no difference.
What could be the problem?Solved myself.
The difference was in the purchase organization data. Depending on this field there was some check: 'Ignore requisition price in PO'. This was checked in one system for a purch org due to which it was not picking the price from PR data. -
Exclude condition from sales order when minimum vale not reached
Hello,
what would be the best way to exclude/include the freight cost condition from sales order when minimum order value is not reached?
Thanks and best regards
LHi,
If you want to be it should be automatically then follow what RAM KI suggested, but without much more work you want do it manually then do as suggested below
Use the field USAGE at header >> under Sales tab
Create table with combination of Sales orgz and usage fileld and generate table
Assign this generated table to access sequence which is used in your frieght condition
Configure two usages as FRIEGHT include and FRIEGHT Exclude
Maintain condition record for the frieght condition with above combination
Now when you create sales order go header level and select usage as you select usage system will pull values from condition record for frieght.
kapil -
4306.45 ecxceeds the limit 4209.37 in the condition record message no vk036
Dear Experts,
My user want to change price of of PO Me22n ,he is getting the error message
4306.45 exceeds the limit 4209.37 in the condition record message no vk036,
i checked the info record ,its price is zero,please advise me how to get it solved?
where can i change it to waring message? whats its impacts?please advise me.
Regards,
VarunHi Priyanka,
I maintained info record,its not solved my purpose,applying sap note is only solution for me.
please give me feedback
Varun
Edited by: madhu varun tirupati on Oct 16, 2010 8:49 AM
Maybe you are looking for
-
How can someone else have the same iCloud email address as me?
I registered for my iTools account as soon as they were offered and have had the same email address ever since. My account has not been hacked and I regularly change my password for the account. I frequently get emails from Apple notifying me that so
-
Our Windows PC crashed with all our music on it. There are copies of both purchased (thru iTunes store) and from our own CDs on an external HD in a backup file. They are not linked to a Media file. Is there any way I can put this music on my new c
-
Base LIne Date calculation in MIRO SAP IS-AFS6.0
Hi Freinds, My business requires a payment condition for vendor " Payment after 30 days of Material Receipt Date or Schedule Delivery Date whichever is later". I have created a payment term. But how will system calculate accordingly? I find out a sol
-
How do I enter Safe Mode on my Satellite U300?
Does anyone know how to enter safe mode on my u300. tried the usual F8 without success Any Ideas? Have got "The User Profile Service failed the logon." and was going to try system restore to resolve it. Any help would be appreciatted.
-
What's up when apps won't download?
When I try to download apps, etc. on my iPad 2, it goes fine to the point that I put it my password. It accepts it, but then does not download. If I push download again, it asks for my password again but doesn't download. It's an infinate loop.