Picking one condition type
i wrote the following code in program lines of smartform.
DATA:T_KONP TYPE TABLE OF KONP WITH HEADER LINE.
SELECT KNUMH FROM A363 INTO CORRESPONDING FIELDS OF TABLE T_A363
WHERE MATNR = L_XEKPO-MATNR(mat.no in me23n)
AND LIFNR = ZXEKKO-LIFNR.(vendor no. in me23n)
loop at t_a363 into w_a363.(this was placed in loop node).
under loop node in program lines i wrote the following code.
SELECT SINGLE * FROM KONP INTO CORRESPONDING FIELDS OF W_KONP WHERE KNUMH = W_A363-KNUMH.
APPEND W_KONP TO T_KONP.
CLEAR W_KONP.
SORT T_KONP BY KNUMH.
loop at t_konp into w_konp.(this is in loop node).
now i want to loop condition types (kschl) only one time into my header line.
for example if there are 3 records in t_konp containing condition type 'JMOP',i want to fetch only one 'JMOP' for which kbetr is not initial.similarly for other condition types.please suggest how to code , so that i can only retrive all the condition types only one time.
Hi
A363 table will give only one condition type (KNUMH) for the access sequence of Vendor,Material for a PO
for a single KNUMH there will be always a single record only exits in KONP table for a single Condition type(KSCHL)
so there won't be any multiple records for a single KNUMH in KONP
for JOMP condition type.
Like JOMP there will be different condition type records in KONP.
<b>Reward points for useful Answers</b>
Regards
Anji
Similar Messages
-
Picking up Condition type.
Hi,
In our order (It is a Free Sample with 100% discount). There are two condition type Z001 has got access sequence Customer Hierarchy 02/Material whereas the condition type ZSV1 has got Sold-to/Pricing ref. Material/Document Currency. The condition type ZSV1 is picked up though the condition type Z001 has got the valid condition records and the sequence is also met in the SO.
The Access sequence acts (More specific to Generic) in a particular condition type but is the Access sequence works even in Picking the condition type also. I want to know why the system picked up Condition type ZSV1 instead of Z001.
Thanks,
Janshi jans,
please check the sequence of condition types in which way they are arranged in pricing procedure.
that means in pricing procedure - the condition type ZSV1 is first and the condition type Z001 might be second.
please check and confirm
balajia -
Can one Condition type can have multiple access sequence?
hi,
Can one Condition type can have multiple access sequence?Hello,
You can have one access sequence for condition type, but an access sequence can have more than one accesses.
Prase -
Posting to Two different GL account for one condition type
Hi All,
In MM pricing procedure we are assigning one new condition type as Management Exp Charges.
we creat two Transaction/Event key and assigned one in ActKy Colum and another in in Accural column.
Suppose we are charging 10 $ towards Management Exp.
Is there any way to Post 10$ in two different GL account.
DR.Expnses account (As per GL assigned in Actky column) 10$
Cr. Expenses Accural charges ( GL aasigned in accural Colum) 10$
Howevre as per our current setting it was Cr to Accural account but for debit transaction it was going to stock/gain account.
please help us to resolve this issue.
Thanks in advance
Regards,
LokanathHi
Can u specify why the customer two interest rates for one loan type. Is the interest on loan going to change for any periodicity.
Other wise you can create two loan types with nearest understandable naming convenction and use them for your business requirement. Which ever is applicable for the employee can be selected by your customer.
Brs
Kenu -
In Stock trasfer order how to pick pricing condition types
Dear Experts,
I am new to SAP MM my question is In Stock transfer order (plant to plant through purchasing) it is picking PI01 pricing condition types? how it is picking? what are the Accounting doc are updating?Hi,
Goto the following node SPRO > IMG > Materials management > Purchasing > Conditions > Define Price determination process > Define shcema determiantion
Define schema for transport orders under which you will be able to see RM2000, when you try to open the RM2000 through M/08 transaction code.
You will be able to see the PI01 as the basic price condition type.
Accounting entries
During Goods Issue.
The stock account in the supplying plant gets Credited with the MAP value.
The stock account in the receivving plant gets debited with the MAP value.
If there exists any diffeence then the key AUF will get hitted.
During Goods Receipt.
No accounting doucment gets generated.
Regards,
DilliB -
Service PO is not picking the condition type defined for services
Hi Friends,
I am trying to create a PO for services.. but in conditions tab..the system is picking standard PO pricing procedure. It is not picking the service Pricing procedure MS0000. request your help in understanding the issue.
Also the PO is picking the Standard PO release strategy, but not the release startegy define for service..
thank you.
KireetiHi Kireeti,
Your condition schemes for services probably have been modified. Please check
schemes MS0000 and MS0001 in your customizing. For a correct price
determination it is important that for example condition type PRS
is in the first position, further the settings for the flag
'Condition determined manually' should'nt be altered.
Actually the standard schema looks like:
4 0 PRS Total Price X 5
5 1 PRS0 General Price Compon X
5 3 PRS1 Percentage of Wage X
5 5 PRS2 Overheads X
5 7 PRS3 Misc Price Component X
13 0 KR01 Header Discount X
14 0 KZ01 Header Surcharge X
Could you please change your schema and retest?.
Best Regards,
Arminda Jack -
How to Know one condition Type (PR00) used in which pricing procedures
Hi Friends,
I have 20 pricing procdures I need information that condition type PR00 is used in which pricing procedures.
by help of
any report
any table etc
Thanking you
ArunDear Customer,
in standard there is no report available for your requirement.
In this case you can only create your own selection report therefore.
regards
Claudia -
Add One condition type as subtotal to another Condition type.
Dear SAP Gurus,
I would like to add a Condition type say ZFE (Freight Extra) to ZF00, as a sub condition,
Can we do it? if yes how.
Thanks in advance.
RolsonIn your Price Procedure
Step CndType Description From To subtotal AcctKey
100 ZF00 ERF
110 ZFEE ERF
120 Total Freight 100 110 D (or whatever is available) -
Price was not picking from the Condition type for Item Category 'P' in PO
Hi Experts,
I Created one condition type based on Material and WBS which price was fixed based on this
I used the Purchase Order having Item <b>Category P or Q</b> Price should pick from the condition type where I mapped the WBS Element and Material.
The Net price was not picking from the Condition type Record. Why? What should be the Problem?
Whether my logic is correct or not?
<u><b>
The Scenario:</b></u> I want to fix the Material price base on each WBS Element for a Project. For each WBS Element the Price will be various for same material.
Please help on this.
Thanks
MuthukumarHi,
In standard configuration you cannot set item delivery date as a pricing data.
Maybe you shoud look at SAP enchancement - in dedicated structures you can pass additional item data (structure KOKMP).
IMG link:
Materials Management -> Purchasing -> Conditions -> Define Price Determination Process -> System Enhancements
hope it helps.
regards,
wojciech -
Tax value is not picked up correctly for the condition type in SO creation
Hi All,
I have a issue in Picking up Tax value correctly for the condition type in SO Creation.
Actual Issue:
When creating the sales order manually,
tax value is picked up correctly for one condition type: ISS3.
When the Sales Order is created via Idoc using the function module 'idoc_input_orders', tax value is not picked for same condition type: ISS3.
We need to find out why the value for the condition type 'ISS3' is not picked in this way!
Can anybody solve this issue!
What can be the reason which is stopping picking up tax value for condition type: ISS3 when Sales Order is created via F.M 'IDOC_INPUT_ORDERS'! While it picked up the same while creating Sales Order manuallly.
Thanks in advance.
Thanks,
Deep.Hi All,
Can anybody give the solution for above posted issue!
Working:
When creating the sales order manually,
tax value is picked up correctly for the condition type ISS3.
Actual Issue:
When the Order is created via Idoc using the function module 'idoc_input_orders',
tax value is not picked .
I need to find out why the value for the condition type 'ISS3' is not picked.
I have debugged the issue from WE19 but upto Conditions tab it is picking up tax value but then it is becoming zero again it remains zero after saving SO.
But Manually tax value is picked up for condition type ISS3 and remains same after saving order.
I have debugged it several times fro WE19 but not able to find route cause for the issue.
What can be the issue over here!
Can anybody give me solution for the same!
Thanks in advance.
Thanks,
Deep. -
Can we maintain diff tax codes for one tax condition type in creating CRs
Hi Gurus,
Can we maintain diff tax codes for one tax condition type during maintaining of Condition Records. (Taxes)
For example in VK11 screen for different combination of tax classification for customer and tax classification for material and
tax codes like P0, P1, P2 etc. If so which tax code will be picked during creation of sales order? Pls help me........
Regards.......DivakaranHi Karan,
Yes we can.
For example you have three tax code
P0 -- 0% (Fully exempt)
P1-- 5% (Half tax)
P2 -- 10% (Full tax)
Now when you create the condition record then you have to create the three condition record for one condition type
MWST
Country -- tax classification of customer -- tax classification of material -- Tax % -- Tax code
IN -
> 0 (Tax exempt) -
> 1 (Full tax) -
> 0 -
> P0
IN -
> 1 (half Tax ) -
>1 (Full tax) -
> 5% -
> P1
IN -
> 2 (Full Tax ) -
> 1 (Full tax) -
> 10% -
> P2
Hope it helps,
Regards,
MT
Edited by: M T on Mar 23, 2010 4:19 PM
Edited by: M T on Mar 23, 2010 7:27 PM -
Purchase order one particular condition type vale should not inventorised
Dear All,
I have a scenario in the purchase order particular one condition type value should not get inventorised that should goes to a seperate account. it should not added with material cost
i have created a seperate condition type ZZ01
with condition class : A - Discount or surcharge
calcualtion type : A - Percentage
and i have attached this condition type to pricing procedure in accurals i have maintained a seperate posting transaction.
the amount is getting posted against the accural transaction event key.
but its getting inventorised with material cost it should not get inventorised..
what is the procedure...
Regards
Anand.
Edited by: Anandhakumar Palanisamy on Mar 24, 2010 1:17 PMHi..
I have maintained for this condition type Accurals in M/06
and i have maintained the Statistical tick mark in pricing procedure..
but its getting inventorised...
it should not inventorised...
any other solution...
Regards
P.Anandhakumar -
How to attach condition type to a vendor
hi
this problem is related to import procurement.
for import procurement we have one condition type ZDUT - (copy of custom duty). we have defined custom official as one vendor (xyz) to whom we pay custom duty. we want this condition type ZDUT to be attached to this vendor (xyz) to whom we pay custom duty.
while making import PO we select condition type ZDUT and change the default vendor to the vendor to whom we want to pay this duty but by default system takes material supplier as default vendor for this duty.
we want system to pick vendor (xyz) as a default vendor for this custom duty (ZDUT) not material supplier so that even if we forgot to change this vendor, system takes vendor (xyz) for custom duty.
how this can be made.
thanks & regards'
manoj guptaHi,
Incorporate this ZDUT in suitable position in Supplementary pricing procedure ( for Inforecords , in standard RM0002 ) then maintain info record , in inforecord maintainance against your condition ZDUT Enter value , click on details and maintain vendor. While creating the Purchase order this vendor will get defaulted.
Thanks & Regards,
Sridhar.G -
Sales order condition type description
HI Gurus,
During Sales Order Processing, I created a material with variant configuration pricing. System pick up the correct pricing but on Condition Tab the in Name of Condition Type (Field VTEXT) is reflecting the variant description (from VK30) instead of condition type description.
I want the description of Condition Type and not the variant. Can any one guide how to extract the description of the Condition Type (user wants to ensure the correct pricing for the correct condition type).
Thanks.
Regards
PSKHello Bern
I have misunderstood your question, I thought you are bothered by several variant names appearing for one condition type. With your example things became clear. I did not get what are the figures 100, 20 50 at the end signify when you say, for example ZA01 Classroom 100, I am guessing it is the quantity or the price. but leave it aside. With regard to coding, I meant it generally and I am not aware of any user Exit/BAPI.
But I have a config solution proposal for you.
From your example all the 3 condition types - ZA01 to ZA03 - are leading to the same variant, i.e., A-A-10 whose description is Package A training (AA10). In stead of that, lead them to 3 different variants with the following descriptions (example for AA10)
Condition type Leads to Variant Whose descriptions is
ZA01 A-A01-10 Package A training - AA10 - Classroom
ZA02 A-A02-10 Package A training -AA10 - Whiteboard
ZA03 A-A03-10 Package A training -AA10 - Projector
Similarly for AA20
ZA01 A-A01-20 Package A training -AA20 - Classroom
ZA02 A-A02-20 Package A training -AA20 - Whiteboard
ZA03 A-A03-20 Package A training -AA20 - Projector
Agreed it would increase your config load- set of characteristics. variants and descriptions, but that is the best option for you.
So your characteristics would be increased by 1 and the new set includes:
Resource type : Values: C (Classroom),W ( Whiteboard) , P ( Projector) - This is a new characteristic you need to add.
Others, from your existing design remain as they are, i.e., Training type, Course type & No of students.
Assuming that you are using Variant table for variant determination, it would now read as follows:
Table name (assume): ZTRGPKG
Resource Trgtype Course Number Z _PRICE -
> Characteristics
Resource Type Training type Course Type No. Of Students Resource Price
Classroom A A 10 A-A01-10
Whiteboard A A 10 A-A02-10
Projector A A 10 A-A03-10
Classroom A A 20 A-A01-20
Whiteboard A A 20 A-A02-20
Projector A A 20 A-A03-20
Procedure would be coded like this
Table ZTRGPKG
(Z_PRICE = $SELF.PRICE,
Resource = Resource, Trgtype = Trgtype, Course = Course, Number = Number)
Hope I am clear. Revert with any questions. -
G/L Account assignment to condition type
can we assign more than one G/L account to one condition type and if how?
Edited by: Lakshmipathi on Aug 4, 2011 12:01 PM
Better use the subject effectively. Also search the forum before posting such basic question and stick to forum rulesDear gaddammai ,
PLEASE READ THE FOLLOWING THREAD BEFORE POSTING
https://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement
Read This Before Closing your Threads
Now, search the forum before posting any queries.
This will help you develop the skill to use right 'search terms'.
About your question, yes we can have multiple G/L for same condition types if,
the condition types are assigned with different account keys in two different pricing procedures.
Thanks & Regards,
Hegal K Charles
Maybe you are looking for
-
Hello, We would like to use Excel Reporter to create a report that shows the amount of payment applied to each invoice over a specified period of time. So, for example, it would show the acct number, invoice #, amt applied to invoice. This report wo
-
Hi all, Is Adobe Document Services (ADS) necessary for reading PDF files directly in ABAP report? Maybe there is other way? Best regards Marcin Cholewczuk
-
Displaying only the relevant table data based on condition
Is it possible to display a part of a table based on a condition which is not in that table. My example - I am using the spreadsheet to determine the accumulation of $$ in an account over a period of time and then how quickly that would be spent at a
-
I have two date fields, "StartDate1" and "EndDate1". When I make the EndDate1 value less than StartDate1, the "button" remains VISIBLE, but INACTIVE, and I can move on to the next field. Why does the button remain visible, why is the button inactive,
-
Thank you from an iOS 6 user and a question
Thank you for sorting out the problem for iOS 6 users. All my work documents are on there and I nearly had a coronary when they had disappeared. Is there any way I can back up docs saved in the app on my PC or is this done through iTunes?