Header Pricing condition - Sales Orde
Hi All,
I am adding a new condition type while creation of a sales order. Now my requirement is that the RATE entered against this conditon type should get copied to another conditon type as well.
How can this be realized ?
Awaiting a quick response.
Regards
Nishant
Hi,
Better write a Pricing Routine/Outputs in VOFM transaction for Pricing.
Regards,
Anji
Similar Messages
-
Change header pricing condition in sales order
Hi,
I have an requirement in VA01 and VA02 to automatically edit one header pricing condition. The user can able to change the value of that condition type in header not in items . Does anyone know what user exit I can use for this requirement.
ThanksHi Sunil,
Plealse find below 2 methods to change header pricing conditions in sales order.
1.Goto SE38, give prog name as MV45AFZZ and in that write logic under USEREXIT_PRICING_PREPARE_TKOMK . (OR)
2) The same can be done by creating a Alt Calculation type routine through VOFM and writng the logic in the routine, which will then be assigned to the pricing procedure in the condition type which will automatically calculate the condition.
Try with the options mentioned above..
Regards,
KK -
User exit to add header pricing condition in sales order
Hi experts,
I have an urgent requirement in VA01/VA02 to automatically add a header pricing condition and rate (Kanban charges) for a certain type of Sales order (Kanban Sales order). Does anyone know what user exit I can use for this requirement? Also, the additional header pricing condition should be included in the net value for the item.
Thanks!HI Leo
To add a condition price for a condition type, this has to be assigned in the <b>pricing procedure</b>. For each condition type in a pricing procedure, we will have <b>access sequences</b>. If we follow this approch, the price is automatically extracted basing on the access sequences when condition records are maintained. For this, no coding is required and everything can be done by configuration by Functional consultant.
Naren is right to point out on the same.
If you need to change the price for a particular condition which already exists, you can go by <b>pricing routines</b>. Go through transaction <b>VOFM</b> for the same.
I advice you to discuss with your functional consultant and understand the requirement and then go for modifying accordingly.
Kind Regards
Eswar -
Sales Order Header Pricing Conditions
Hi All,
I am using BAPISDORDER_GETDETAILEDLIST function module to get the pricing conditions. I am able to see Item Pricing Conditions in the ORDER_CONDITIONS_OUT table but not able to find the Header Pricing Conditions.
Please let me know how to fetch header pricing conditions. Is there any other FM which can do it?
Thanks
JitHello,
Try these FM's.
SD_SALES_HEADER_READ
SD_SALES_ITEM_TABLES_READ
SD_SALES_PRICING_INFORMATION
MRM_DBTAB_KONV_READ
RV_KONV_SELECT
Please check out the Function module RV_INVOICE_DOCUMENT_READ.
Here you need to pass on the invoice no. In the output it shall give you details in invoice header and item levels, price, document status. You will get the net amount as well as the tax. Then you need to add the net amount and the tax to get the total amount
Regards,
Vasanth -
Header Pricing conditions in BAPI function module
I am using BAPI function module BAPI_SALESDOCU_CREATEFROMDATA1 to create sales orders through program.
It is working fine with item level pricing conditions.
But my requirement is ... I need to update few pricing conditon types in item level and one in header level.
Could you please help me where I need to pass header pricing conditions. Please help me.
CALL FUNCTION 'BAPI_SALESDOCU_CREATEFROMDATA1'
EXPORTING
SALESDOCUMENT = SALESDOCUMENT
SALES_HEADER_IN = SALES_HEADER_IN
SALES_HEADER_INX =
SENDER =
BINARY_RELATIONSHIPTYPE = 'VORL'
INT_NUMBER_ASSIGNMENT = ' '
IMPORTING
SALESDOCUMENT_EX = SALESDOCUMENT_EX
TABLES
RETURN = RETURN
SALES_ITEMS_IN = SALES_ITEMS_IN
SALES_ITEMS_INX =
SALES_PARTNERS = SALES_PARTNERS
SALES_SCHEDULES_IN = SALES_SCHEDULES_IN
SALES_SCHEDULES_INX =
SALES_CONDITIONS_IN = SALES_CONDITIONS_IN.
SALES_CFGS_REF =
SALES_CFGS_INST =
SALES_CFGS_PART_OF =
SALES_CFGS_VALUE =
SALES_CFGS_BLOB =
SALES_CCARD =
KEY_TABLE =
Thanks in advance.
RaghuIf the correct configuration allows for manual entry of the condition type you want to populate, You can map your value using
' ORDER_CONDITIONS_IN' . If item level map line number, cond step number of the condition type in your pricing procedure, your condition type you are using, condition value you are sending into the system, currency, and cond unit. If it is a header condition, then send in 000000 as the item number. You can also consider using BAPI_SALESORDER_CREATEFROMDAT2 -
Header pricing condition types
Hi,
In a purchase order header pricing condition types are appearing twice .
Ex: JCDB 254
JCDB 20
JCV1 345
JCV1 30.
first condition type (ex: JCDB 254) is calculated on net price
second cond type (ex: JCDB 20) is calculated on handling charge.
Only for this particular PO we face this problem.
How the pricing condition types are calculating twice?
regards,
sathyaIf I am not mistaken, this is a Purchasing question.
Please post to correct forum.
Regards -
Billing header pricing condition value
Hi,
I have requirment to display billing header pricing condition value. I have check using first go to Vbrk then find Knumv field,go to KONV and find all condition record value.
But in KONV there are only Items condition record SO how to find header. please replyHi ,
Instead of KONV, get the header condition value from KONH
regards,
santosh -
Header Pricing Condition -- Can I attach rotuine..
Hi,
I want to attach routine for the header pricing condition (instead of manual) to fetch the price from ztable then the price
has to be equally distribute to item level/
Is this possible? can i attach a rotuine to Header condition?
LaxmanHi,
The price for this Header condition is stored in classification field of material master.
Example..
We created charactersitc called deductables,and
attached this characterstic to the class of material. finally we given value of 100 usd in the material master classification tab.
So when I attach a routine (say 602) to ZDED (header discount condition), it has to go to the material master and find this 100 usd and equally distribute to all line item.
My direct questions is
Is SAP header condition will work if I attach a routine (altenative calcualtion type)?
If yes, once i identify the value of 100 USD how to pass to header level condition rate?
Need advice -
Header Pricing Condition (SD)
Hello,
We have a header pricing condition type both applicable to header and line items. When manually putting an amount on the header, it automatically distributes the amount on the line items proportionally.
When running in batch or IDoc via requirement routines (or any VOFM routines), how can I populate the header amount so that it will distribute the amount automatically also on the line items?
I normally do this on the line item level by modifying XKWERT on a requirement routine but I cannot get it to to work when the target is a header pricing condition.
Please help me if you have any ideas.
Thanks in advance,
Johnwhich include? i think you forgot to include the name of the include
-
Unable to update the header Pricing Condition of Customer Quotation
Hi Friends,
I am trying to change the Customer Quotaion using the 'BAPI_CUSTOMERQUOTATION_CHANGE'.
I am able to update the Header details and item details,but When it comes to pricing Conditions the Following errors I am getting
000000: Operations with Conditions of type F not allowed(ZZHD).
as it is a Header pricing Condition, I am passing Item number as 000000,even I tried to Comment and see,but the same issue.
Following is are the pricing Condition details that I am passing to BAPI.
CLEAR: wa_quote_condition_in,
wa_quote_condition_inx.
wa_quote_condition_in-itm_number = '000000'.
wa_quote_condition_inx-itm_number = '000000'.
wa_quote_condition_in-COND_COUNT = '01'.
wa_quote_condition_inx-COND_COUNT = '01'.
wa_quote_condition_in-cond_type = 'ZZHD'.
wa_quote_condition_inx-cond_type = 'ZZHD'.
wa_quote_condition_inx-updateflag = 'U'.
lv_zzhd = ( ls_nd_payment-transport_charg / 10 ).
wa_quote_condition_in-cond_value = lv_zzhd.
wa_quote_condition_inx-cond_value = 'X'.
APPEND: wa_quote_condition_in TO it_quote_condition_in,
wa_quote_condition_inx TO it_quote_condition_inx.
CLEAR: wa_quote_condition_in,
wa_quote_condition_inx.
Please help in tracing the above issue.
Regards,
Xavier.P
Edited by: Xavier on Sep 7, 2011 10:59 AM
Edited by: Xavier on Sep 7, 2011 11:00 AMHi prasad,
Please find the you will find 'condition type paramter in the structers bapicond, bapicondx.
data :it_quote_condition_in TYPE TABLE OF bapicond,
wa_quote_condition_in TYPE bapicond,
it_quote_condition_inx TYPE TABLE OF bapicondx,
wa_quote_condition_inx TYPE bapicondx.
CALL FUNCTION 'BAPI_CUSTOMERQUOTATION_CHANGE'
EXPORTING
salesdocument = ls_nd_payment-vbeln
quotation_header_in = wa_header
quotation_header_inx = wa_header_inx
simulation = 'X'
BEHAVE_WHEN_ERROR =
INT_NUMBER_ASSIGNMENT =
logic_switch = wa_logic_switch
NO_STATUS_BUF_INIT = ' '
TABLES
return = it_bapiret2
quotation_item_in = it_order_items
quotation_item_inx = it_order_items_inx
partners = it_partners
PARTNERCHANGES =
PARTNERADDRESSES =
conditions_in = it_quote_condition_in
conditions_inx = it_quote_condition_inx
QUOTATION_CFGS_REF =
QUOTATION_CFGS_INST =
QUOTATION_CFGS_PART_OF =
QUOTATION_CFGS_VALUE =
QUOTATION_CFGS_BLOB =
QUOTATION_CFGS_VK =
QUOTATION_CFGS_REFINST =
schedule_lines = it_order_schedule
schedule_linesx = it_order_schedule_inx
quotation_text = it_texts
QUOTATION_KEYS =
EXTENSIONIN =
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
Regards,
Xavier.P -
Pricing conditions sales order
Hi all,
I need to simulate order creation. I need to see how netwr chenge do to
pricing conditions value modifications. I'm using FM SD_ORDER_CREATE, it works fine but when I pass to FM a value ' 0' for a pricing condition it return me default value ( different from 0 ) in ex_konvkom table.
What can I do? Is it customizing problem or I need to use FM with different input??
Regards,
Federica.
Edited by: Federica Guaetta on Apr 17, 2008 4:20 PMHi Anita,
If you are looking for pricing conditions for a sales order in CRM online, then use the function mod
CRM_ORDER_READ. Table ET_PRIDOC is a deep structure and contains structure ET_PRICOND (I beleive..) This contains all the pricing conditions.
I had a similar requirement and this is what I used. However unlike R/3 you don't have an option to get the aggregates such as net price and gross price. You could find some of these totals in SUBTOTAL1, SUBTOTAL2 fields in one the header tables of the same function module.
Hope this helps! -
Header Pricing Condition - distribution to items question
we have a condition (Freight) that is a surcharge entered as a percentage. If the condition is 10%, we would like the calcualtion 10% of net value at the header level and then distribute the amount to the line items distributed by weight or volume.
We tried using the alternate condition base value formula, but then the calculation is the product of surcharge percentage multiplied by either the weight and volume instead of the net value. Is it possible to do the calculation as defined?
example we would like to occur:
net value 1000, percentage 10% total value of condition is 100
line item 1 volume 70 - condition value is 70
line item 2 volume 30 - condition value is 30
what is happending using alternate condition base formula of volume:
net value 1000 percentage condition value is 1 (100* 1) from total volume
line item 1 volume 70 - condition value is .7
line item 2 volume 30 - condition value is .3
thanks for all help.you do not need any alt cond base value.
In the condition type defintion of your freight condition ( T Code V/06) in the defintion, under the scales section , for "Scale Basis" use F - Volume based.
Mark the condition as Group condition , use group formula 1, Check Both Header / Item Conditions
When you create the condition record using VK11, mainatin the scales as per the requirement
For example say from 0 to 1000 - 10% / From 1001 till....... 15%....so on
Process order and check the results. Please post if you have any further error.
Regards
Sai -
Header Pricing Condition?
HI
My Client Requirement is like they wants shipping Charges at header level only. and we are maintaing two C.Type for the Shipping Charges at header level and this condition and its values come from Z-Table.and in Z-table we are maintaing C.Type and its Values. if the requirement is fullfilled then this C.Type and its Value will populate at Header level. Now after putting logic by ABAPER when i m looks to Header condition. at there only AMOUNT value is coming, its not passed to C.VALUE Field, So its charges is not calculated.. but if I put the values manaully and activate then and then its passed to C.VALUE Field. But i want this values from the Z-table without activate...Please let me know is there any control parameter for C.Type to automatic Activation at header level..
Regard
Pinal...Dear Pinal
No just for my information, I had asked.
Meanwhile, for information, as far as Header Conditions is concerned as you said, the value <b>WILL</b> flow in "Amount" but <b>NOT</b> in "Condition Value" which is the behavious of Header Conditions.
You must activate pricing, by choosing <b>Activate</b>. When you activate the header condition, the system distributes the condition value proportionally among the various items in the sales document. This distribution can be based on the order value of each individual item or on other criteria specified in Customizing for Sales
Thanks
G. Lakshmipathi -
Header pricng condition : Sales order
Hi All,
I am adding a new condition type while creation of a sales order. Now my requirement is that the RATE entered against this conditon type should get copied to another conditon type as well.
How can this be realized ?
Awaiting a quick response.
Regards
Nishanthave u seen VOFM transaction ?
for the new condition u have to create a Requirement , that requirement u have to assing in the pricing procedure .
<b>Profit margin considering rebate agreements
Purpose
This is an example of a condition value formula. This type of formula can be used to influence the value shown for the condition in pricing. A condition value formula is assigned to a condition type or value line in the pricing procedure.
Formula '1' sets the value equal to the pricing subtotal '3' minus the cost of the line item.
Example
A company offers rebate agreements to their customers that are paid out at the end of the year based on cumulative sales. On a sales order, rebate agreement accruals show up as a statistical amount and do not effect the net value of the line item. The company, however, would like to see the profit margin in the line item reflect the expected rebate payments. In order to accomplish this, the user assigns the subtotal field '3' to the relevant condition types in the pricing procedure so it's value equals the net value as well as the value of any rebate accruals. The condition value formula '1' is then assigned to the 'Profit Margin' line in the pricing procedure. Note that subtotal '3' is just an example supplied by the system. Another subtotal could be used and the user would then copy this formula and create a new one that uses the other subtotal value. If rebate accruals should not be included in the profit margin calculation, the user would select condition value formula '11'.</b>
<b>VOFM->Formula>Condition Value.</b>
for more info , please have a word with ur FC he can give clear view .
Regards
Prabhu -
Duplicate header pricing in sales order change mode
Hi,
I have made a sales order with a price in header condition
When saving the order, the order goes into credit control which I release via VKM3 and create an invoice.
When I go back to sales order in change mode (VA02), I see the header condition twice, the second one being without a price.
In display mode, I can see the header price correctly. Also, the invoice shows the price only once.
Please advice.Dear Kota,
If i maintained as "B" than system will not allow to change in Sales order.
See my req. is System should allow the user to change price in Sales Order and it should not allow the user to change in Billing doc.
Regards,
Satya
Maybe you are looking for
-
Critique my Setup - suggestions please!!!
Hi all. I'm new to this forum and hopefully some of you can help me. We have a photography business and recently bought a new custom built PC. It has the following specs: Intel Core 2 Duo (Extreme Performance) Platform Asus P5KC Core 2 Quad/ Intel P3
-
Issue with "Select Distinct" query in Oracle 10g against Oracle 9i
Hi, I would appreciate if some one help me here because it is really urgent. We are upgrading our database from 9i to 10g. There are the "Select distinct" queries in the code which populated the grid on the applications screens. We found a difference
-
I have downloaded a tv series on my IPad. I have watched about half of it. Now when I try to watch the next episode it says movie cannot be loaded. Any suggestions?
-
Nokia Maps - Updates from Tele Atlas/Nokia
Does any one have any info - how offent are the maps updatet on the server. If i buy a 3 year licens, will i always get the latest maps from tele atlas. How offent updates the phone the area you are driving in... ect...
-
SharePoint 2013 search list item with item id
Hi all, I have a custom SharePoint list with many list items. Now I like to search for a specific item in that list with the standard SharePoint item id. Example: If I enter in search: '1394' Result = None If I enter in search: 'ListItemID:1394' Resu