Transportation cost calculation based on the Shipment duration

Dear all members,
Now I work on the IS-Oil system. I try to calculate the shipment cost for the shipment duration.
1. The requirement here is when we complete the delivery confirmation (shipment status is 6), the system doesn't calculate the actual total duration of this shipment. I saw there is a field for total duration in the TD shipment (in the Maintain Stages tab), but it is blank. Do you know how to config this system so that it can auto update this field?
2. I want to calculate this shipment cost base on this shipment duration. Do you know which condition type or how to customize the condition type so that we can calculate the shipment base on the shipment duration? I try to work with Scale technique, it works when I set the price for 9999 day. But it doesn't make sense  if the customer asks us the reason why we need scale for this problem. This problem seems to be very simple, I want to maintain condition record for 1 truck of 1 vendor, the price will be 50 USD/ day for this truck. And the shipment cost document must get the (shipment duration) * (50 USD).
Thanks in advance!

Hi Thado
You need a have routine on the shipment cost document pricing procedures condition type, there you need to get the actual shipment start date and end date which are available in Shipment status, and condition value can be calculated from there based on Number of Days *eg 500.
Thanks
Sudhakar

Similar Messages

  • Shipment cost calculation based on HU's allowed packaging weight

    Hi all,
    I need to calculate a shipment cost based on the Means of Transport's Allowed Packaging Weight (MARA-ERGEW). After condition record determination of cost per ton in each case, the system must multiply this value times the allowed packaging weight.
    I know that through customizing I can create a Condition Type with Calculation Base = 'C' (Handling Unit) and Calculation Type = 'D' or 'E' (Gross or Net Weight). This is almost what I need except for the Calculation Type, because Allowed Packaging Weight is not an option in the field's matchcode (Percentage, Fixed Amount, Quantity, Gross Weight, Net Weight, Volume, etc...).
    Is there any way through customizing I can achieve this? Or how can I program a routine in the Pricing Procedure for the Condition Type in order to make the calculation based on the HU's Allowed Packaging Weight.
    I appreciate your help!!

    Freight carriers charges weight on the basis of Weight / volume of the items.SAP shipment works on the same principle.
    Cost of transporting ton of Potataoes  is same as transporting 10 ton of aluminium between two known destinations.
    Hence it is illogical to distributes cost on the basis of item value. However if still you want to distribute the same on value basis then maintain freight condition(%) in PO as per your prefined logic of distribution of freight cost.
    It is well known fact that cost of freight % is always higher in  Low value items & iis low in case of High value items.
    Regards,
    Sanjay Kohli

  • Multiple Deliveries into one Billing document  Based on the Shipment Number

    Hi,
    After searching, am posting this thread.
    I know the Invoice Slipt Parameters but i need to stop one invoice slipt parameter i.e. Billing Date.
    My Requirement:
    2 deliveries are created with different Billing Dates and attached to a single shipment.Now i want to combine these deliveries into single invoice based on the shipment number..
    Please put some ideas tht can help me  to solve this..
    Thank you in Advance.
    Edited by: Aditya Roy on Mar 13, 2009 8:11 AM

    Hi
    Payer
    Payment terms
    Billing date or billing due date
    Destination country
    Billing doc type
    Incoterms
    Actual GI date
    Foreign data trade
    If these are same in all delivery documents they can be combined into single billing
    This is controlled in copy controls in VTFL choose del type and billing type and your item category
    In that VBRK/VBRP if you choose 001 combined billing will happen
    In VF04 you can do the billing or in VF01 you have to input all the delivery nos manually and do the combined billing
    The same qn was posted by you on NOV 21st with so many replies?
    Why are you posting again and again?
    Pls close the thread whereever possible
    Regards
    Raja
    Edited by: ramanathan raja on Dec 14, 2008 5:00 PM

  • Report for Shipment cost calculation based on Delviery Line items

    Hi,
    What would be the Standard SAP report where I can find the shipment cost based on Delivery line item. Currently there is a report ME2S that gives the cost based on PO. But I want to find a report based on outbound delivery line item.
    Regards
    Gaurav

    I hope VI11 should help you

  • 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?

  • VI01 - Shipment Costs (combining Deliveries from the Shipment)

    Hello experts
    Do you know how to combine (consolidate) the shipment costing line item (VI01) when there are more than one Delivery to the same customer in the Shipment document?
    E.g. I have a Shipment with 58 Deliveries and for a specific customer has 2 Deliveries, the Shipment Costing (VI01) must to create just one line item consolidating the 2 Deliveries for that customer, not to split 2 lines (one line for each Delivery).
    Any help will be highly appreciated.
    Best regards...
    Marcelo Boccia - SAP SD

    Hi,
    As per my best knowledge shipment cost document item is not created based on delivery, it is created from shipment header or shipment stages:
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/93/7440ac546011d1a7020000e829fd11/frameset.htm
    Shipment cost items
    The items refer either to a shipment header or a shipment stage. The items contain general data for shipment costing and settlement, such as service agent, pricing date and settlement date, tax amount and tax basis as well as organizational data such as company code, plant and purchasing organization.
    There is an individual status at item level for each of the shipment costing, account assignment and forwarding to FI functions.
    As you can see delivery is not mentioned.
    At shipment cost sub-item level you may have deliveries.
    Isn't it possible that your deliveries belong to different stages? Is any related development in your system?
    Please check your shipment and report us on the result.
    Thanks,
    Csaba

  • Transportation Cost Calculation

    Hello folks,
    I have a question here with respect to calculation of shipment costs for the different deliveries from different orders into one shipment cost document.
    The scenario is: my client has different projects going on simultaneously from which they have to create various activities/sales orders, deliveries are created with respect to these activities/sales orders and clubbed into one single shipment document. Assuming there are 05 deliveries assigned to one single shipment document and hence shipment cost is also calculated for this shipment document.
    Now how can we distribute the shipment cost to these different cost objects (WBS element/cost centre) individually so that correct cost of the project or sales order can be captured.
    Thanks,
    Michael

    Hi,
    On T-code T_56 on Settlement section for the item category you need to distribute, go to Cost distribution and select "B Delivery" and Account Assigment "K Cost Center".
    This may let you distribute the cost by each delivery.
    Regards,
    RP

  • Calculations based on the values in the cube

    Hi Guys,
    I need to create a report where I need to calculate a value based on the data available in the cube and not just the data that is the output of the report.
    Is it possible for me to use the data in the table /BIC/<datatarget>00 and perform the calculation using ABAP? If so, how can I display the calculated value on the report and where do I write the code?
    THanks,
    Doniv

    Bhanu,
    But the problem in doing that is, it would still display the age for the corresponding employee in the age column. That should be displayed either.
    All I need is display is the following format
    Department    Averageage
    Dept1           40
    Dept2           50
    Overall         45
    The present format when I set the employee to "No Display" is
    Department    Averageage
    Dept1            40
    ______30
    ______50
    Dept2            50
    ______35
    ______50
    ______65
    overall          45
    *_____ means a blank row
    Thanks,
    Doniv
    Message was edited by: doniv ramuk
    Message was edited by: doniv ramuk

  • How to Sort transported KM content based on the creation date

    Hi ,
         I transported KM content through ICE offline transfer.  all the files are copied. but the problem is all are copied with the todays date as modified date.
    but I need to sort these based on the creation date.
    all these files are with the xml templates.
    Can only help in this regard
    Thank you

    Hi,
    Enter the format that you have defined in the configuration of the property in the Additional Metadata parameter. Use the syntax customFormat=<pattern>.
    In this link, you have at the end screenshots where to navigate in KM to see the property metadatas of your property:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/645d4357-0701-0010-07bd-a2ea8c4d0aaf
    Here see the Defenitions of the KM Metadata Properties:
    https://wiki.sdn.sap.com/wiki/display/KMC/DefenitionsoftheKMMetadata+Properties
    Regards,
    Praveen Gudapati

  • Changing calculations based on the department

    Hi ,
    If i have a report that calculates the late times of the employees , and i want for a particular department to make different calculations for the late time , which is making the late time after 2:30 pm instead of 4:30 for the other departments,
    whats the best and easiest way to do that ? ,
    do i have to group my report by departments or can i just do that based on the employee's data ( department_code )..
    Thanks..

    I would create a new column in the DEPARTMENTS-table which contains the "basis" for for latetime-calculation and then do the calculation inside the database in a view. Then, let your report just select the data from that view.

  • Rolling 30 Day Calculation Based on the Weekend Date

    Hi Guys,
    I am trying to calculate a sum of rolling 30 day based on the weekend date. The table I am going to query has a date column that only has weekend date(Saturdays only). Based on that I have to calculate the formula for rolling 30 days. I am using the formula to RelativeDate formula to do this calculation.
    ToDate(FormatDate(RelativeDate(CurrentDate();-DayNumberOfWeek(CurrentDate() -  this formula is to get the last Sat of the week.(Previous Week)
    =RelativeDate([Previous_Week];-30) This is to get the rolling 30 days based of the last Saturday of the week.
    Here is where I face the problem and would need your suggestion -
    when I do a sum using the previous date and rolling 30 day I am getting an error
    =sum([Acc]) Where [Week Ending] Between([Previous_Week];[Rolling 30 Days])
    Error-  Missing or bad operand in Where expression.
    Is there any other formula I could use?
    Thanks for your help in advance,
    Jitan

    Hi,
    You are missing paranthesis () in your formula. Try using
    =sum([Acc]) Where ( [Week Ending] Between([Previous_Week];[Rolling 30 Days]) )

  • EDM Settlement Procedure with calculation based on the Grid Level?

    Hi,
    Do you see any way to do EDM (Energy Data Management) Settlement based on the Grid Level?
    Thanks in advance.
    Sébastien

    Of course, you are right.
    Standard step sum up results and at the top grid we see result without grid level. But standard program make loop at the SU and when i organize SU then i make  an association sub-SU as filial grid company(per voltage level). At the variant we can manage SU and their sub-SU into settlement procedure.
    I have question, may be you implement "Grid usage Rate" into project? What is main goal this functionality? I can't see any link between installation and grid rate(.
    Best regards,
    Evstratov Igor

  • Charging Porposnate dep to the cost centes based on the Interval Assigned

    Hi,
    I have scenario were asste is being transferred from one cost center to another and depreciation needs to be charged on proposnate basis between the old and new cost center.
    I have changed the interval in the aaset master (T-Code AS02) for transfer, but when I am posting depreciation system is chaging 100% dep. to new cost center irrespective of the date of changes.
    Regads,
    AB

    Hi,
    I tested it, made some research and found note 29947:
    When posting depreciation with RABUCH00, with account assignment to cost
    center, depreciation is always posted to the cost center assigned at the
    end of the posting period in which depreciation is being posted.        
    Depreciation is not distributed for a proportionate period of time (by  
    date) to the time-dependent cost centers assigned in table ANLZ.        
    This note speaks about RABUCH00 but is is release independend and still valid.
    Have you made another experience?
    ( Time independent organization unit is not relevant in that case)
    regards
    Bernhard
    Edited by: Bernhard Kirchner on Nov 16, 2010 12:31 PM

  • Sample Size Calculation based on the results

    Dear all
    I have a scenario as below
    for a product the upper and lower specification is given as below
    Upper spec 19.00mm
    Standard  18.00mm
    Lower spec 17.00mm
    my client is having ranges as below
    Range 1
    Upper spec 19.0 to 18.75
    Lower spec 17.0 to 17.25
    Range 2
    Upper spec 18.75 to 18.50
    Lower spec 17.25 to 17.50
    Range 3
    Upper spec 18.50 to 18.25
    Lower spec 17.50 to 17.75
    Range 4
    Upper spec 18.25 to 18.00
    Lower spec 17.75 to 18.00
    a) Initially the sample size is 50%. Starts with range 4 .
    b) if consecutive 5 receipts are ok we want to switch to range 3 - sample size 25%.
    c) if consecutive 5 receipts are ok we want to switch to range 2 sample size 10%
    e) and range 1 sample size 5%.
    f) if there is any rejection at any range, then reset to range 4.
    g) if out of specification noticed then the next incoming material will be inspection in the next lowest range. ie in range 1 out of specification noticed shift to range 2 in the next Goods receipt.
    I know that Sampling scheme can be used but how to link the specifications in it.
    How to link this in SAP QM.
    awaiting for your valuable feed back Please.
    Regard
    P.Srihari

    Hi Sri,
    As per your requirement you have to create 4 MIC as well as 4 DMR follow the below step.
    1. Create MIC1,MIC2,MIC3,MIC4
    2. Create DMR1,DMR2,DMR3,DMR4
    3. Assign the DMR at MIC level.
             a) Go to QP01 In Header data screen choose Dynamic mod. level DMR at character level. (Don't assign any DMR here)
             b) In Characteristics screen assign DMR to MIC
    (Range1) MIC1 - DMR1
    (Range2) MIC2 - DMR2
    (Range3) MIC3 - DMR3
    (Range4) MIC4 - DMR4
    Save the Inspection plan.
    DMR detail explaination
    As per your requirement MIC4 will be initially inspected (ie: range 4) and remaing MIC all are after 5 consecutive lots if any rej at any stage again inspect the Range4.
    DMR1: Create 2 Stage (1st is SKIp  2nd is Inspection)
    Stage1: Start with Initial stage, Tick in SKIP, and Maintain No Skip as 15 (Bcz your case You need this MIC1 after 15 lot (555)), Skip duration 999 (Bcz your case days not consider) New Stage 2 (Bcz after complete the 15 lot it will go to 2nd stage for Inspection.), Rej 1 , New Insp 1 (Bcz rejected means MIC1 is not required)
    Stge:2, Insp Sev 4,  Ist Enter Description as Inspection required and press enter.
    In another small popup screen enter no of Inspection 5 , New Stage as 2, Rej 1, New 1,
    DMR2: Create 2 Stage (1st is SKIp  2nd is Inspection)
    Stage1: Start with Initial stage, Tick in SKIP, and Maintain No Skip as 10 (Bcz your case You need this MIC2 after 10 lot (5+5)), Skip duration 999 (Bcz your case days not consider) New Stage 2 (Bcz after complete the 10 lot it will go to 2nd stage for Inspection.), Rej 1 , New Insp 1 (Bcz rejected means MIC2 is not required)
    Stge:2, Insp Sev 4,  Ist Enter Description as Inspection required and press enter.
    In another small popup screen enter no of Inspection 5 , New Stage as 1, Rej 1, New 1,
    DMR3: Create 2 Stage (1st is SKIp  2nd is Inspection)
    Stage1: Start with Initial stage, Tick in SKIP, and Maintain No Skip as 5 (Bcz your case You need this MIC3 after 5 lot ), Skip duration 999 (Bcz your case days not consider) New Stage 2 (Bcz after complete the 5 lot it will go to 2nd stage for Inspection.), Rej 1 , New Insp 1 (Bcz rejected means MIC3 is not required)
    Stge:2, Insp Sev 4,  Ist Enter Description as Inspection required and press enter.
    In another small popup screen enter no of Inspection 5 , New Stage as 1, Rej 1, New 1,
    DMR4: Create 2 Stage (1st is Inspection 2nd is Skip)
    Stge:1, Insp Sev 4,  Start with Intial stage Ist Enter Description as Inspection required and press enter.
    In another small popup screen enter no of Inspection 5 , New Stage as 2, Rej 1, New 1,
    Stage2: Tick in SKIP, and Maintain No Skip as 999 , Skip duration 999 (Bcz your case days not consider) New Stage 2,  Rej 1 , New Insp 1 (Bcz rejected means again inspect the MIC4)
    Note: Read step by step.
    Revert further clarification.
    Regards,
    S.Babusingh

  • Problem in clearing the shipment costs to transporter

    Hellow,
    Scenario:
    Step1:
    1. I created on PO and I did one inbound delivery with reference to PO.
    2. Then i did inbound shipment, and shipment cost document.
    3. Shipment costs calculated based on weight of the delivery material, Here Weight is 3 To with 300/- per TO.
    Total amount is 900.
    3. Then i did MIGO with reference to inbound delivery.
    4. Now system copied shipment costs to material costs.
    5. Then i did MIRO for planned delivery costs(900/-) with reference to PO.
    Step2:
    1. same way i did one more inbound delivery for open items
    2. Shipment document with reference to Inbound delivery.
    3. Shipment cost document created, Here also only 3 To weight, but the freight rate is 200/- per TO, total cost is 600 only.
    4. I did MIGO with reference to Inbound delivery
    5. When i do the MIRO with reference to same PO for remaining 600/- planned delivery costs, system is not copying the 600/- from PO. It is copying the average on 900+600 for remaining delivery costs.
    If we go with same freight rates this kind of problem is not happening. In different rate situation only this problem is occuring.
    Can i have any solutions please?
    With regards
    Lakki

    Hi Lakki,
    May I know what's the condition type for the freight charges involved so that we could proceed to help you further.
    Thank you.
    Best regards,
    HC.

Maybe you are looking for

  • PC Suite 7.1.40.1 drops sync with Outlook / E71

    Hi gurus, I am stuck on an interworking issue during MS Outlook calendar sync to my E71 (excellent piece, btw). It all started when upgraded to Oct09 timeframe PC Suite version (cannot recall the version#) and is still present in the newest one I dow

  • Select Range of dates

    Hello, is it possible to use the <cfinput datefield> or the <cfcalendar> to allow users to select multiple range of dates. EG User wants to select some days in June, July and August.

  • Ciscoworks LMS 4.0 – Fault Device Details Issue

           We currently use Ciscoworks LMS 4.0 but when I go into,  Monitor > Fault Settings > Setup > Fault Device Details           I get the following message (see attached document with screenshot) and being a LMS newbie am unsure what to do? As have

  • Redirecting stdout in 64 bit mode

    Hi, I have a problem. I wanted to redirect stdout to a text file and back. In 32 bit mode everything works fine using file member to struct FILE, but in 64 bit mode only data member FILE has long _pad[16]. Can anyone tell me how to use this to redire

  • Increasing the range of my Extreme AC?

    I did some tests with speedtest.net with my Extreme N before disconnecting it and replacing it with a new Extreme AC. In the far part of my backyard I got 7.83Mbps with the Extreme N and I got 13.12Mbps with the new AC. This seems like a very signifi