Freight Calculation per DISTANCE

Hello All,
I am trying to create a freight cost based on the Miles I have on the route.
When I create a Shipement Document, the system takes the diatance to the shipment header (VTTK-DISTZ) but when I try to create the ship cost the system does not find the miles and bring me value = 0
But if I include manually the distance in the "stage" field (VTTS-DISTZ) the system does calculate the freight cost normally.
So how can I do for the system fill the distance in VTTS-DISTZ automatically if I dont have stage?
IS there any other way for the system calculate my freight cost based on the distance from VTTK-DISTZ?
Thanks
MArcos

Hi,
My mistake. Actually whle creating stages in the route in 0VTC we need to flag relevant for shipment costs. Only those stages which have this flag will be considered for costs in VI01.
So maintain one stage whith this indicator, then the problem will be solved.
Hope this helps,
Regards,
Sharan

Similar Messages

  • Freight Cost Per Kilometer

    Dear All,
    Plz give me some idea about how to calculate and determine freight cost per kilometer in shipping cost document.
    Thanks & Regards,
    PM

    You should be able to achieve this by making use of the route determination functionlity in LE (logistics execution).
    When you define a route and its different stages (if applicable) you can assign a predetermined distance that is measure in KM.
    In pricing determination you then use a condition type for freight that is distance dependant or simply with calculation type = quantity . You may create an access sequence that reads the distance from the route in the document to derive the rate per km for that route which you would have maintained in the condition records.

  • Hoe to split a shipment Cost per Distance

    Hello
    I have the following scenario:
    2 Deliveries in a Shipment Document with the same route.
    I have created a condition record for distance. For example: USD 1,00 per Mile and I have 1000 MI in my route so the system will calculate USD 1000
    But I need to split these 1000 USD for each delivery, for example USD 500,00 for each one.
    But when I am creating the Ship Cost the system is doubling my ship cost creating a document with USD 2000,00 being USD 1000 for each delivery.
    How can I make to the system split my freight per distance?
    Thanks
    Marcos

    Hi,
    If I understand your problem correctly, in your calculation base for the condition type defined, you could maintain as "Shipment Cost Item" (cost determined for a Leg), and you can distribute the cost to each delivery in a shipment by maintaining cost distribution as "Delivery".
    Hope the above helps.
    Thanks.

  • Freight costs per KG when PO order is in PC, how to solve?

    Hi,
    My client want to make use of a condition type in the purchase calculation sheet which covers the freight costs per KG. The case is that we also order per PC. How to solve this problem? Which condition type can I use for freight costs per kg?
    Thank you in advance,
    Eric van Zundert.

    Hi,
    Which condition type can I use in the PO for this purpose?
    Thank you all,
    Regards,
    Eric van Zundert

  • How do I get a time value in days, hours and minutes returned to a cell from a calculation of distance divided by speed?

    How do I get a time value in days, hours and minutes returned to a cell from a calculation of distance divided by speed?

    Simon,
    you can use the duration function:
    B4=DURATION(0,0,B1/B2)
    you can further, format the cell as a duration like this using the cell inspector:

  • Freight Calculation based on the net value of the Line item

    Hi SAP Gurus,
    I have one requirement for Freight calculation(Sales order is created through an IDOC) :
    In the idoc,we will receive a freight dollar amount - which will be the total amount of freight.(example 100)
    We will also receive sales dollar for each line item ,which is then passed to the pricing procedure, for a total amount of sales for that Sales order.
    (examples below, for a total of 1500)
    The 100  is to be posted to a freight G/L account.
    The 100 is further divided by each profit center  of the materials on the Sales order.
    The freight is split out amongst the  profit center , based on the net value of the line item.
    Freight value to be allocated = Line item value/total value of the sales order * Freight amount.
    Total of the sales order =1500
         Line item value     Freight value calculation     Profit center
    Material A:      800          800/1500*100  = 53     Profit center A
    Material B:     500          500/1500*100  = 33     Profit center B
    Material C:      200          200/1500*100  = 13     Profit center C
    Please let me know how to achieve this functionality in pricing procedure or what changes i need to make in Freight condition type.
    Thanks in advance,
    Bhakar Saha

    Were you able to resolve this issue of allocating freight costs to line items/profit centers using the net value of the line items?

  • Freight Calculation basis Handling Unit in Delivery

    Hi Expts.
    Could anybody help me how to identify shipment cost (freight) on the basis of Number of Handling Unit in a Delivery.
    Example:
    1-One Delivery
    2-Multiple quantity of material (10 qty)
    3-Packed in multiple handling units (2 in one HU, 5 HU)
    Freight calculation on the basis of handling units handled by freight forwarder.
    Urgent help required.
    Regards
    AB

    hi raja,
    packing done at delivery and transfer order is used for packing an item at delivery level or at transfer order level that is at ware house management level.
    packing material is normal material which you will use for packing purpose like
    TV packing uses: polythene cover, thermocol sheets, then a carton and you will keep 10 TV's in one single pallet that is handling unit
    please check SPRO config settings for multi level packings.
    please take this link:
    http://sdconfiguration.blogspot.com/2008/02/multi-level-packaging-in-delivery.html

  • Trip vise freight calculation

    Hi all
    Please guide me and put step by step config steps of trip vise freight calculation.
    Best Regards
    Parveen Kr. Thakur

    Hello
    FYI
    Asking for a
    step by step config steps
    is a violation of forum rules
    Kindly follow the following links for your reference:
    - freight costs and graduated interval scales
    - Pricing freight costs and graduated interval scales
    Regards
    JP

  • Customizing (Freight Calculation)

    Hallo Friends,
    Can anyone provide me with goodl, simply step by step example(s) in customizing of Freight calculation. If documents with screen-shots is available, please send to my E-Mail: [email protected]
    Please no links!!
    Blacky

    hi,
    freight is usally determined depending up on the incoterms you are using in the customer master data. in the sales area tab.
    the freight can be maintained in 2 ways , one is at header level and 2nd is at the item level
    if you want to maintain the freight at the header level we can use the condition type HD00 in the pricing procedure.since it is a header condition we do not maintain any condition records and the value is entered manually while processing the sales order.
    if you want to maintain the freight at the item level . we can use the condition type KF00 in the pricing procedure and the conditions records are maintained. depending  up on the value you maintain in the condition type the value will be raised when sales order is raised.
    pls reward points if the answer is helpful
    Regards,
    Murali

  • Freight Calculation in Standard cost Run

    Hi,
    The requirement is while doing the standard cost calculation through CK11N / CK40N system should show seperately how much is freight plan cost &; how much is duty plan cost.e.g.
    100 is material price as per condition PB00 Cost element 355100
    10 is freight cost (ZFR1 10%) Cost element 363170
    5 is duty cost (Zduty lets say 0.5%) Cost element 363171
    So taotal cost will be 115
    I wanted to get this in cost component wise. Client does not want manual intervention so do not want to go for additive cost method
    I had tried through Purchasing info record. I have maintained the valuation variant accordingly. Assigned correct sub strategy to it & also maintained delivery cost button in the same screen to assign conditions to origin group.
    Also I had maintained purchasing info record through me11 ; mainteined conditions there.
    These above mentioned cost elements are mapped in cost component  structure in T code OKTZ. Seperately for material ,freight &; duty
    Now when I make a PO, system is showing correct calculation as per the conditions.When I do the GR the Freight &; duty is getting posted &; these GLs are having above mentioned primary cost elements . .So the primary cost element is also getting posted correctly.
    Now the problem is
    While doing the cost run system shows me Seperate cost for material as 100 , seperate for freight 10 & seperate for duty 5, but to the same cost element i.e. 355100. So all the cost is shown as material cost ; nothing is displayed as freight or duty
    If I see the cost element report the corresponding value is flown to the corresponding cost element. But  it is not reflecting in proper cost component in cost run
    .Please guide me why this is happening. How can I resolve this
    Regards,
    Abhijit

    Hi Ajay,
    I was waiting for your reply.
    As mentioned by you, I have mapped my cost component structure like Raw material, Freigh, Duty & assigned the corresponding cost elements to it.. But still in itemisation view it shows three values
    consumption cost element 355100 - 100
    consumption cost element 355100 - 10  (which should go to freight component where I have assigned the Freight cost element)
    consumption cost element 355100  -5   (which should go to Duty component where I have assigned the Duty cost element)
    FI entries are getting posted correctly. Values are flown to coresponding cost elements.
    For the time being We will keep duty part side. We are discussing with client on this.
    But, what could be the reason of this problem. How I can achieve the below mentioned result.
    Cost component view
    Raw material -100
    Freight  - 10
    Duty - 5

  • Freight Calculation while posting GR in MIGO

    Hi Experts,
    The following is the scenario :-
    A Purchase Order is raised for procuring coal from the coal supplier. A freight condition is maintained in the Pricing Schema of the Coal Purchase Order. At the time of making a GR in MIGO a freight vendor is selected against the freight condition in the freight tab of the GR screen.
    While doing MIRO we select the Purchase Order and Planned Delivery Cost, a pop up window populates the names of the coal supplier and transporter. On selection of the transporter the freight value is displayed and the freight invoice can be processed.
    This is a normal scenario, but there is a penalty clause, that the transporter is allowed 0.5% tolerance on the weight of the coal supplied. Meaning if the Purchase Order is for 100 tonnes @ Rs. 10 per tonne, then the vendor has to supply atleast 99.5 tonnes to avoid penalty. Now suppose the vendor supplies only 90 tonnes of coal out of the 100 tonnes. He will be charged a penalty of 10 tonnes as follows :-
    (10 tonnes x Rs. 10 per tonne) x 1.5 = Rs. 150/-.
    Rs. 150/- will be deducted as penalty from the freight amount to be paid for 90 tonnes delivered.
    The client wants that the system should automatically calculate the penalty and deduct the same from the freight amount at the time of posting the goods receipt so that the amount to be paid only is populated in the miro for invoice processing and the actual value of the freight paid is charged to the stock account.
    Please suggest a BADI or user exit with which this can be done.
    If it is not possible at the time of MIGO is there any user exit to automate this at the time of MIRO.
    Thanks in advance.
    AJ

    Hi AJ,
    Your requirement is very genuine, but system has its own limitations.
    Suppose you have raised a PO for coal of 100 Ton of material.
    And the vendor has supplied you only 50 Ton of material.
    Then you make a Goods Receipt for the material (MIGO_PO).
    Then while making GR, how can a system judge / calculate the transportation loss?
    Secondly, although you have received lesser quantity of material due to transportation losses, still we need to post the quantity written in vendoru2019s invoice into our system, because we need to pay the vendor the amount of total coal dispatched from his location.
    So, try to resolve the issue using your consulting skills.
    Regards,

  • Subsequent Delivery Free ......Why Freight calculated Twice

    While doing Order SDF taking refrence of previous order I have come across this unique problem It makes sence that price is not determined but what is the logic of calculating Freight Twice using KF00 . I see that in pricing procedure RVCA01 (procedure  for subsequent delivery free of charge with Freight ) . Gurus throw some light here. Why freight is being calculated Twice
    Thanks

    Good thinking but Freight condition is not maintained in supplement
    I have already told that the condition type for freight is maintained TWICE  .in pricing procedure for Subsequent Delivery Free RVCA01 ...Any special reason ?
    Can any gurus know why freight condition is maintained twice  ie Freight Twice using KF00 ?
    What should be the reason?
    or is it by mistake KF00 condition was maintained twice?
    Edited by: arnoldsw sw on Mar 23, 2008 1:29 PM

  • Freight calculation

    Hi,
    The freight condition type ZFF1 is an item condition and calculation type is B - Fixed amount. I have maintained condition record with scales as , if the net value is <=300 Eur then the freight charges should be 30 E fixed.
    For the order of value 280 Eur, The freight condition is picking the 30 Eur perfectly in the amount column but in the condition value column in pricing its giving the sum of all the freight charges calculated individually for the items which come to 60 Eur
    Please clarify on
    when i checked in the analysis the system says " The condition record is found but not set"
    My question is what calculation the system is doing to calculate the freight charges individually for the items and where are the configuration settings done for that.
    and also I have raised the same sales order again and checked,  now the system is showing perfectly but for the first item the freight charges is 59.99 and for the second item the freight charges is 0.01 i dont understand on what basis system is calculating the freight charges.
    Thanks in advance

    Hi Nina,
    Freight to my knowledge should be header condition. However assuming that it is item related condition(u may use soem c.type as freight c.type) i am answering this.
    Fro freight value based on dollars, you have to write a routine as there is no other way. Condition types are determined only at item level automatically. If you want to determine some value based on the total order which can be of many items, then the only thing is to write a routine.
    For this write a reqmt routine and mention that the total order value should be less than $100( in our example case) for the condition records to be fetched.
    Then for this condition type, create condition records.(Remember that the condition table should not be of some item level fields, it should be based on some header level data like Hdr ship to party, sold to party etc)
    In case of surcharge, you can do the same but teh reqmt shd be based on the total number of material items( Total of items of various materials).  Make sure that the material units shd not be different, eg. one being crate, and other being litres. This can lead to confusion in the logic.
    If the total number of items is less thatn 100, then
    Create condition records at ITEM LEVEL and you can populate the details.
    Pls lemme know if you need more info.

  • OTC . How is freight calculated in OM header level

    Hi
    We have this business scenario where Freight is calculated at order header.
    But we were checking the API for that
    WSH_INTERFACE_GRP.Create_Update_Freight_Costs
    This is done at Delivery or Delivery detail level.
    So CANT we have freight costs at order header level???
    Basically i have say 3 labels created for an order i need to generate freight for these 3 labels. Please not 3 labels DOES NOT correspond to 3 lines.
    So can i create Freight lines for these 3 labels for that order header Id.
    And also another question is for RETURN orders we wont have any deliveries then how are freight cost calculated
    Regards
    Gibin

    FUNCTION ZSAVE_NOTES_SAVE.
    *"*"Local interface:
    *" IMPORTING
    *" VALUE(OBJECT_ID) TYPE CRMT_OBJECT_ID
    *" VALUE(OBJECT_TYPE) TYPE CRMT_SUBOBJECT_CATEGORY
    *" REFERENCE(HEADER) TYPE THEAD OPTIONAL
    *" REFERENCE(TEXT) TYPE TDTXTLINES
    *" TABLES
    *" LINES STRUCTURE TLINE
    TYPES : BEGIN OF STRUC,
    GUID TYPE CRMD_ORDERADM_H-GUID,
    END OF STRUC.
    DATA : WA_STRUC TYPE STRUC,
    IT_STRUC LIKE TABLE OF WA_STRUC.
    TYPES : BEGIN OF STRUC1,
    TDOBJECT TYPE STXH-TDOBJECT,
    TDNAME TYPE STXH-TDNAME,
    TDID TYPE STXH-TDID,
    TDSPRAS TYPE STXH-TDSPRAS,
    TDTITLE TYPE STXH-TDTITLE,
    TDLINE TYPE STXH-TDTXTLINES,
    END OF STRUC1.
    DATA : WA_STRUC1 TYPE STRUC1,
    IT_STRUC1 LIKE TABLE OF WA_STRUC1.
    SELECT SINGLE GUID FROM CRMD_ORDERADM_H INTO WA_STRUC WHERE
    OBJECT_ID = OBJECT_ID AND OBJECT_TYPE = OBJECT_TYPE.
    SELECT SINGLE TDOBJECT TDNAME TDID TDSPRAS TDTITLE TDTXTLINES FROM STXH
    INTO WA_STRUC1 WHERE TDNAME = WA_STRUC-GUID.
    APPEND WA_STRUC1 TO IT_STRUC1.
    CALL FUNCTION 'SAVE_TEXT'
    EXPORTING
    CLIENT = SY-MANDT
    HEADER = HEADER
    INSERT = ' I '
    SAVEMODE_DIRECT = ' X '
    OWNER_SPECIFIED = ' SAPUSER '
    * LOCAL_CAT = ' '
    * IMPORTING
    * FUNCTION =
    * NEWHEADER = HEADER
    TABLES
    LINES = LINES
    EXCEPTIONS
    ID = 1
    LANGUAGE = 2
    NAME = 3
    OBJECT = 4
    OTHERS = 5
    IF SY-SUBRC <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    * WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    COMMIT WORK.
    ENDFUNCTION.
    Have alook at the follolwing threads
    Probelem with SAVE_TEXT
    SAVE_TEXT FUNCTION MODULE
    save_text?
    there are many more examples.

  • MIRO PROBLEM IN FREIGHT CALCULATION

    DearAll,
    user have to do MIRO for a P.O , GRN done , User had done IV for material cost , but for Freight he is doing IV the weight of mat P.O  is 1700kg & charges for freight are Rs 4000/-, but good reciept is for 1670kg as per  invoice problem is that the frieight cal in MIRO Is only 3929/- instead of 4000/- here the fr. cal is as per the qty rcvd but for transporter we have to pay Rs4000/-.pl reply.
    regards
    sap11

    can u help me that any other method can solve this issue .?
    can freight be made independent of qty rcvd, as of now the freight cal is 3929 it is as per qty rcvd but we have to pay frght as 4000 as in invoice it is written simply to pay freight as Rs.4000/-irrespective of qty but system is calc as per qty rcvd.
    pl help to come out of this
    sap11

Maybe you are looking for