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 reply
Hi ,
Instead of KONV, get the header condition value from KONH
regards,
santosh
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 -
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 -- 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 -
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 -
Pricing Condition Values in Sales order
Hi Guru's
Where the Header level Pricing condition Values stored in Sales Document?
Thanks and Regards
Srinivas KapugantiHi srinivas
Generally the values are stored at the following tables :
KOMK - header data is stored
KOMP - Item data is stored
You can check these tables through SE11 or SE16
Regards
Srinath -
Crm_order_maintain ,changing pricing condition value at item level
Hi,
I am trying to change the pricing condition value at item level while creating sales order through CRM_ORDER_MAINTAIN.
I am not able to change the condition value.
Code is below.
wa_inputfields-ref_guid = wa_orderi-guid.
wa_inputfields-ref_kind = 'B'.
wa_inputfields-objectname = 'PRIDOC'.
wa_fieldname-fieldname = 'KBETR'.
append wa_fieldname to wa_inputfields-FIELD_NAMES.
wa_fieldname-fieldname = 'KMEIN'.
append wa_fieldname to wa_inputfields-FIELD_NAMES.
wa_fieldname-fieldname = 'KPEIN'.
append wa_fieldname to wa_inputfields-FIELD_NAMES.
wa_fieldname-fieldname = 'KSCHL'.
append wa_fieldname to wa_inputfields-FIELD_NAMES.
wa_fieldname-fieldname = 'WAERS'.
append wa_fieldname to wa_inputfields-FIELD_NAMES.
INSERT wa_inputfields INTO TABLE it_inputfields.
wa_pricing_add-KSCHL = 'ZP06'.
wa_pricing_add-WAERS = 'USD'.
wa_pricing_add-KBETR = '10'.
wa_pricing_add-KPEIN = '1'.
wa_pricing_add-KMEIN = 'ST'.
INSERT wa_pricing_add INTO table it_pricing_add .
wa_pricing-REF_GUID = wa_orderi-guid.
wa_pricing-REF_KIND = 'B'.
wa_pricing-PRICING_TYPE = 'A'.
wa_pricing-COND_ADD = it_pricing_add.
wa_pricing-PRICING_PROCEDURE = 'ZVDSP'.
append wa_pricing to it_pricing.
Can you tell me how to overwrite the condition value while creating sales order using crm_order_maintain.?
Regards,
Indhra.EHello Indhra,
Check the CT_INPUT_FIELDS table, in the OBJECTNAME field you will find all the tables that are filled during the function call. Check those tables mentioned in the OBJECTNAME to look for any pricing related data.
When your order is in change mode and you activate debug <b>just before you make the change</b>, the CRM_ORDER_MAINTAIN FM call contains <b>data only relevant for the change you just made</b>. In other words, you need to fill exactly the same tables as CRMD_ORDER does.
E.g. You just change the pricing procedure and you see in debug that 5 tables are filled, you must do exactly the same in your code! It's quite anoying but you're using a low-level API FM that can handle ANY transaction type in CRM!
Check it, it works!!
<b>Reward points if useful!</b>
Regards,
Joost -
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 Freight Condition Value to be Spread at Item Level
Dear All,
There is an issue i am facing.
We have a freight condition (header level) in a Stock Transport Order
There are say 6 line items in the STO. The functional requirement is that the Header Freight Condition Value has to be inventorised on the line items in ratio of their value. Also the header freight amount should get spread only on specific line items ( say of a particular material type )
Please help me with this issue.
Regards,
Adams PDear RamShiva,
I think below forum document will resolve your issue.
http://scn.sap.com/docs/DOC-43356
Regards,
Haresh Panara -
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 -
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 -
FM for billing doc pricing condition
Hi
is there a Fm that returns all the pricing conditions for a billing document (Header and line items) with the condition types and the amounts??
I tried to use the FM RV_INVOICE_DOCUMENT_READ, but i think this FM does not return the condition types and their corresponding amounts from KONV table. I also tried using the FM PRICING but cudn't run it.
how can i get the pricing conditions on just giving the invoice document number?? My requirement is to get all the tax amounts for an invoice separately.
Regards,
SujaiHi Sujai,
Try these FM's:
RV_PRICE_PRINT_HEAD
RV_PRICE_PRINT_ITEM
Regards,
Chandra Sekhar -
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 -
Getting header data (condition values) for shipment
For the shipment VI03, the user wants the header Condition values(KWERT) corresponding to condition values(KSCHL).
Some of the condition type having values in item level but these condition types are not maintained in header level, so they want for these condition types values should be Zero.
As I am taking condition values for PRICING function module, it will display at sub-item level values depending on condition values.
Please let me know is there any functiona module or table exist where header data is directly mainatined(Condition values & Condition type).
Thanks & Best Regards,
MaheshFirst find the related salesorder using:
VBFA
VBAK-VBELN = VBFA-VBELV
LIKP-VBELN = VBFA-VBELN
VBFA-VBTYP_N = 'J'.
or
LIPS
VBAK-VBELN = LIPS-VGBEL
After that, with the order, get condition number in VBAK and then search KONV.
VBAK-KNUMV -> KONV-KNUMV.
Regards.
Valter Oliveira.
Maybe you are looking for
-
^^ that's the question... Want to delete the current and start over with the one I've already created, but want to keep all my songs and apps. Is it possible?
-
I think my airport express is dead but I dont know...help!
hi there on thursday night, i did a number of software updates (unrelated to airport express). anyway, on friday the airport express went down, so i thought that was simply some kind of software update, reset the computer but nothing worked. so i hav
-
How start XA log in Oracle Server 8.1.7
I'd like to activate Oracle Server XA log while using Oracle 8.1.7 oci driver for connecting to a 8.1.7 Server. The JDBC log is already active. Oracle Documentation states that you must add in the openinfo string of the TM de following info: DbgFl=15
-
Transfering itunes library from a windows computer to a mac computer. HELP!
i have all my itunes on a older windows computer and was wondering if there was any way to transfer that to my new mini mac?? i have looked and they have external hard drives but seems like they have to be formatted for one or the other.. i guess if
-
None of the CC (2014) programs are installing
I've tried installing them none work. Keep getting a Installation failed I get this in more information Exit Code: 6 Please see specific errors below for troubleshooting. For example, ERROR: -------------------------------------- Summary ---------