Delete freight cost items

Hello all,
I am trying to delete freight cost items. When certain items are of a certain type and have 0 cost value I need to erase them. The problem is that I need to do this automatically, is there a user exit or a FM or BAPI or BADI to do this?
Many thanks in advance.
Best Regards,
Tiago Magalhães

Problem solved.
I used the user exit EXIT_SAPLV54B_004
Because the items that had 0 cost value were generating error on the transfer of the costs, what I did is change their status like this:
IF c_scd_item-vfkp-netwr IS INITIAL.
   IF c_scd_item-vfkp-stber <> 'C'.
    c_scd_item-vfkp-stber = 'C'.
  ENDIF.
  IF NOT c_scd_item-vfkp-stfre IS INITIAL.
    c_scd_item-vfkp-stfre = ' '.
  ENDIF.
  IF NOT c_scd_item-vfkp-stabr IS INITIAL.
    c_scd_item-vfkp-stabr = ' '.
  ENDIF.
ENDIF.

Similar Messages

  • How to delete the Cost center line item data

    How to delete the cost center line item data of particular cost center and only one cost center is exisiting for that company code.
    Is there any way to delete the line items in that cost center.
    Can data archiving & deleting can help us..........
    does it have any effect over other cost center data....
    any input needed.........
    regards
    rajesh

    Hi,
    i found 2 reports for you:
    1) CO_TOTAL_WRI - Archiving CO Totals Records   
    2) RKCOITW1     - Archiving CO Line Items: Write Program        
    from 2) is a linlk to customize archiv-parameters
    -> start it with transaction se38 / sa38
    A.

  • PO-Freight cost (header, diff currency with items) not distributed when GR

    Dear Gurus,
    I've one PO with freight cost at header level (1000 VND). In the PO, this freight amount shown to be distributed successfully to line item (value base, line item 1 is 300 VND, line item 2 is 700 VND). But when doing GR, the freight cost of each line item is NOT distributed but equals the total freight amount (line item 1 is 1000 VND, line item 2 is 1000 VND).
    In this PO, vendor is international vendor, goods in USD. Freight cost is in local currency (VND)
    The configuration for this freight cost condition is at Header level, Group Condition ticked; Calculation type: Fixed Amount; Scale Basis: Value. When the currency of freight cost and goods are the same (all in USD), I have no error as above.
    Please help to solve this issue.
    Thanks.

    Hi
    I am facing the same problem in my client. It would be great if you can share how you resolved the issue of Freight Cost
    Regards
    Athar

  • How the freight cost are transferred from condition type of shipment cost document to service entry sheet and collected in service PO item

    Dear Experts:
    could you please share with me the knowledge for below topic:
    How the freight cost are transferred from condition type of shipment cost document to service entry sheet and collected in service PO item, because these three objects use three different pricing procedures, and different condition type.
    how did the condition type of service entry sheet know to copy the value of whcih condition type in the pricing procedure of shipment cost document?
    Is this SAP standard function OR there need an enhancement to do that?
    I didn’t find related condition value copy setting in background, could you please share related setting with me? Thank you very much for your kind help!
    Best regards,
    Andy

    Hi, Gopi,
    Glad to see your feedback, but i still have question on your feedback:
    which condition type in the pricing procedure of service entry sheet should know to capture the net value of shipment cost doc? becasue there are so many condition types,
    And i have checked the corresponding condition type (PRSX) of service entry sheet pricing procedure in my SAP system, this is a self-defined condition type, but NO any calculation routine maintained for the condition type (PRSX), how did the condition type (PRSX) know to copy the total cost of shipment cost document?
    Below is the example and another question:
    what the relationship between the pricing procedures at service PO item level and service line item level?
    1. The freight cost in shipment cost document—including used condition type and pricing procedure
    The pricing procedure of shipment cost document
    2. The freight cost in service entry sheet—including used condition type and pricing procedure
    The pricing procedure of service entry sheet--the pricing procedure at service line item level
    3. The freight cost in service PO item—including used condition type and pricing procedure:

  • Archiving  & Deleting the Cost center line items

    My requirement is to delete the line items in the cost cneter as of today, but when i tried to archive & delete the Cost center line items using CO_item,i aam sucesfull in deleteing the past data, but the data of the last month and currenct month i was unable to ........
    when i tried in the spro>img>controlling>general ontrolling>archiving>prepare archiving for co line items
    i set the resident time to 0,but i was unable to delete the line items.what colud be the reason and what is the way to delete the currenct data also from the system.
    your earlier reply surely appreciated .......

    Hi Rajesh,
    I think SAP help says that the period for which you are planning to delete or archive data may have to be locked.
    Check the following links:
    For Archiving
    http://help.sap.com/saphelp_47x200/helpdata/en/8d/3e55ec462a11d189000000e8323d3a/frameset.htm

  • Freight cost not getting reversed

    Hi All,
    We have reversed a GRN for an item with delivery cost, we have observed that GRN cost gets reversed but delivery cost doesn't.
    Is it a standard feature of SAP & how can we reverse the delivery cost. We can't delete the line items as we have paid advance.
    Kindly inform how can we handle this issue.
    regards.
    Vinay

    Hello SKD,
    Please read note 49995 (question 3) that explains the behaviour.
    Please check also notes that explains system behaviour:
    571177   MIRO/MR11: Freight costs for service order
    381030   Delivery costs in service
    Planned delivery costs are not supported for service orders. There is no plan to change this in the near future.
    For the future we recommend to use additional service line instead of planned delivery costs condition. There is no problem to post invoice for different vendor for particular SES created for service line that constitutes delivery costs.
    Let me know if I misunderstood your issue.
    Kind Regards,
    Vanessa Barth.

  • Error Freight cost "Copy From"

    Hi.....
    this is my problem with the SAP 8.81 PL9.
    I must create an A/P invoice by copying data from a goods receipt PO. The goods receipt has, in some lines, also the freight costs.
    From the invoice, the supplier selected, I click on button "copy from". Through the wizart, the first time, I select all the items and take them all on the invoice.
    The freight costs are correct in this case.
    If I are not interested to some items, without deleting the lines from the invoice, i click again to "copy from" and from the wizard, this time, I select only the articles of interest.
    In this case, the freight costs that are contained in the invoice are wrong and they don't correspond to freight cost inserted in the goods receipt.
    Thanks.
    missNissm

    Hi
    HERE IS AN EXAMPLE OF MY SITUATION:
    my GRPO have
    item1 frigth 2,50u20AC
    item2 frigth 3,00u20AC
    item3 frigth 0
    item4 frigth 2,50u20AC
    item5 frigth 0
    item6 freigth 0........
    In The first step, when I copy all items in the Invoice, i Have:
    item1 frigth 2,50u20AC
    item2 frigth 3,00u20AC
    item3 frigth 0
    item4 frigth 2,50u20AC
    item5 frigth 0
    item6 freigth 0........
    It's correct, but......
    If I are not interested to some items, without deleting the lines from the invoice, i click again to "copy from" and from the wizard, this time, I select only the articles of interest. I have:
    item2 frigth 3,00u20AC
    item4 frigth 2,50u20AC
    item5 frigth 2,50u20AC
    I hope that I explained.
    Thanks
    missN

  • Free goods but want to freight cost updation upon GR

    Hi,
    Scenario:
    I have a PO with 20 line items and header freight cost.
    There are few more items in PO which are ticked as free goods.
    There is a stock of those materials with certain MAP.
    Freight condition has been configured as vendor GR so that it gets loaded on materials upon GR.
    Requirement is that
    Upon GR of this PO,MAPshould get updated with the freight cost for those materials also which have been marked as free goods.
    How this can be achieved ?
    Regards,
    manOO

    Hi Rang,
    Thanks for the feedback.However service PO is out of scope as client do not want to go for servicees.
    I could not understand your suggestion
    <u>you give PO to frieght vendor for freight value & in remarks you mention reciving as FREE GOODS from vendor xxxxx & do GR load cost to material & pay to freight vendor. (this is not advisible, but one solution for your problem).</u>
    I have to receive one material via purchase order as a free item but I need to pay vendor for the freight charges that will be incurred to ship this item along with all the other items in the same PO.
    Can you please explain me further as what you mean to say in your post.
    I should be able to load these freight cost on all the materials in PO including the material with 'free' indiactor.
    In short upon GR MAP should affect with freight cost as there will not be value addition of the material since received as free.
    Please suggest.
    Thanks in advance
    Regards,
    manOO

  • Free of cost item sale.

    Hi all,
                It is a my claint urjent requirement free of cost item sales where we will define that, what is the order type, how i have to explain  them any body plz give me some help .
       Thanks in advance for your support and help.

    hi,
    am not sure if understood your requirement. But anyways, we have sales document type FD which allows free of charge deliveries.
    You can uses a free of charge delivery to send materials free of charge to your customer.
    Process Flow
    The system cannot create a delivery without a sales document, so you have to create a free of charge delivery as a type of sales document.
    You create a sales document with the order type for free of charge deliveries.
    In Customizing you can block the free of charge delivery from being delivered. Go to Sales > Sales Documents > Sales document header > Define sales document types, and select the Delivery block field in the Shipping section.
    For free of charge deliveries, you can do one of the following:
    Approve it by deleting the delivery block.
    reject it by entering a reason for rejection.
    Pl clarify if this what you are looking for.
    Thanks,
    Sadhu Kishore

  • No Freight cost on AR Down Payment Invoice

    Hello,
    My customer needs to create an 100% AR Down Payment Invoice based on a Sales Order with freight costs. But this is not copied across, plus you don't have the option to add this either..
    How can this be done, I don't see an option.
    Regards,
    Petronella

    Hi,
    Could that be manipulated with SDK?! (The down payment module does not have the option to add additional expesnes. It will only work with Line item totals.)
    Thanks for the other option, I'll advice the client about this.
    Regards,
    Petronella

  • Freight cost in a purchase order when generating automatic freight cost

    Hi Experts,
    when i generate automaticly a Purchase Order whith a freight cost, in the PO it keeps the first freight in the Item Overview.
    When it generate more freight cost in the same PO, the first Freight Cost stay in the Item Overview, and the freight cost is increasing in the Item : PO History. right.
    Is it possible to remove the first entry from the Item Overview or put the total of the freight cost who are incresing in the PO??
    Thanks in advance.
    Dom.

    Hi dev,
    We did something similar last week. To charge the freight cost to the receiving party we did a manual service entry sheet for that. 
    We created a separate Po with Transport vendor and the receiving plant and account type is Z shipment costing and service item description as intercompany freight.
    You will specify the limit of the amount here, and   specify the G/L account here. Now create the service entry sheet withthe freight amount and settle.
    I think you can follow the similar thing with additional lines for your requirement for other charges.
    Since we want let the receiving plant pay the freight we didn't create the shipment cost document of LE-TRA.
    Let see if any other suggestions comes.
    Regards,
    ratna

  • Inbound Logistics:  What are the best options to capture freight costs?

    We attempted to implement a freight payables solution which was built on Inbound Deliveries> Inbound Shipments> Inbound Shipment Cost Documents.  The PO line items were flagged with a conf.control key which made the above inbound documents relevant.
    Very long story short, we had to remove this functionality because of two major issues:
    1.     The Inbound Deliveries were created with incorrect quantities some of the time.  When the Inbound Deliveries were created with incorrect quantity those errors caused major problems (e.g., over accrual of freight cost to the tune of several millions of dollars!!!).
    2.     Also, when the Inbound Deliveries were created with incorrect quantity MRP went berserk (e.g., when the IB delivery has the wrong quantity that shows up in MD04 and the planners are left scratching their heads wondering why the supplier is shipping so much or so little).
    I wonu2019t get into the details of how the Inbound Deliveries were being created but suffice to say they were manually entered by the supplier without the benefit of an EDI transaction- it was more of a manual entry- hence the data accuracy problem.
    The point of this post is to gain feedback from other customers who have implemented an inbound freight payables solution with success & understand what processes were used to make your project successful.
    For example, if I had a u201Cwish listu201D Iu2019d request the following:
    1.     The IB delivery document type Iu2019d like to use should be non-MRP relevant.  This will eliminate the confusion that occurred when planners run MD04 and see all of the shipment notifications.  Also, if the MIGO_GR transaction is used to receive the POu2019s, they will see the quantities on the PO, not on the IB delivery.  This would be good for us from a business continuity stand point.  However, if the IB delivery is not MRP relevant, than your GR does not accrue the freight cost defined on the SCD which short circuits the entire point of having these documents.
    u2022     Q:  Have you had any success implementing an IB freight solution with minimum impact to planning / inventory / operations?
    2.     As mentioned above, the data accuracy of the IB delivery was problematic.  Because of this issue we have changed our thinking so that we would require a EDI ASN to be sent from our supplier to our SAP system.  Using EDI we feel that greater accuracy would be obtained since the quantities defined would map to what is being picked or at least aligned with what we would expect to be invoiced for.  The problem is we donu2019t know how EDI capable our suppliers are.
    u2022     Q:  Has anyone had success implementing this with your suppliers on a large scale?
    3.     Are there other inbound freight payment solutions that Iu2019m not thinking about u2013 custom or other that you have implemented & can share some of the specifics about?  Iu2019d enjoy hearing about them.  Since we are re-thinking what we implemented Iu2019m open to any suggestions. 
    Thanks so much for your time!
    Rich Wortmann

    Chandra,
    Thank you for your reply.  I'm aware of the freight condition approach you suggest & the ability to define the carrier in the freight condition.
    We explored this functionality in the past.  The problem/limitations we've experienced were as follows:
    1. Essentially you have to know your freight cost & the carrier by PO line item at the time the PO is created.  Both of these variables we typically cannot predict in our environment.
    2. We have a lot of situations where the PO is considered a u201Cblanketu201D where it will remain open for a month up to a year.  Knowing the entire freight cost for these PO's once they are created is impossible to predict so to support the freight conditions we would have to change our business process which would be a big effort for our organization.
    3. Our suppliers ship product based on multiple PO's / PO lines, again it is impossible to predict what the per unit freight cost would be at the time a PO is generated.
    These factors are what led us to the IB delivery solution which handles each one of these scenarios quite well provided you have good data when the IB delivery is created.
    Regarding your second post:  Thanks!  This information is helpful.
    Sincerely,
    Rich Wortmann

  • Service PO with Freight Cost

    Hi Experts,
    Please let me know the possible solution for the below scenario:
    We have created a Service PO (no service master data), service cost per qty is 5000 and freight cost is Rs. 500 (entered in the condition type).
    Ex. Sending a Roll for clean and coating to the service vendor.
    Once we received the serviced material we accept it in ML81M. Here the problem is only Service cost will come when service entry sheet accepted, could let me know how to arrive the freight cost also at service acceptance or any other method to do the same.
    YJ

    Hi,
    this is not possible,you have to create separate line item for same,
    check foolwoing SAP Note:
    Hi,
    Delivery cost not suppostr in service entree sheet
    SAP Note 381030 - Delivery costs in service
    Symptom
    When you reset the acceptance of services performed and when you reverse invoices for service orders, the delivery costs are not posted back 1:1.
    Other terms
    ML81N, reversal, freight, freight costs, delivery costs, service.
    Solution
    Delivery costs are generally not supported in external services management and in case of blanket purchase orders, item category D or B. Instead of representing delivery costs via conditions, in case of service documents, freight costs and other, SAP recommends to add in additional service lines.
    Regards
    Kailas ugale

  • How to allocate the freight cost when providing free shipping

    We do not charge our customers freight cost.  We would like to allocate our freight cost to the product cost of each item sold.  Can we allocate our freight cost in the delivery note, then copy the delivery note to the customer invoice and remove the freight?  Will this process allocate the freight cost to each item cost on the delivery note, and at the same time not charge the customer for freight?  If this process will not work, is there another way to allocate the freight cost to each item on an customer invoice, without charging the customer for freight?
    Regards,
    Wayne

    Hi,
    It is not possible to post the freight charge to item cost while booking delivery.
    Freight value will be posted to the Revenue account defined in the Freight set up.
    Material need to be re-valuated by selecting the Freight revenue account, so that freight value will be debited to stock and credited to Freight Revenue account.
    After doing this you can book delivery and Invoice.
    Regards
    Ravindran Srinivasan

  • Freight line item not getting created in Invoice

    Hi,
    We are using Inbound IDOC to create invoice with freight line items in it, The message type used is INVOIC and the standard inbound function module is IDOC_INPUT_INVOIC_MRM, The invoice which is getting created does not hold the freight line item in it. Actually we hope the indicator Goods Item/Delivery costs/Both which is present in the invoice (RM08M-XWARE_BNK) determines the creation of freight items or not. In our case the invoice is getting created with the indicator value as 1 but we hope the value 3 would be required for frieght items.
    Please let me know if the above message type and the standard function module would be able to handle the creation of frieght line items or we need to look for some other option.
    Regards,
    Prabaharan.G

    Hi Prabaharan,
    i have the same request for posting planed freight costs with the IDOC.
    Do you have a solution or workaround meantime ?
    Thanks and best regars,
    Roman Zimola

Maybe you are looking for

  • How do I set up a rescue email for my existing apple ID?

    The question is pretty self explanitory, but there is a long story that led me to this question. Basically I just got a new iPhone 5 on the second and iTunes keeps asking me to verify myself. So when I do, and I'm positive I'm answering the security

  • Which Workflow Populates W_GL_OTHER_F?

    Hi: I'm missing lots of records from the W_GL_OTHER_F table. Something similar happened to me with the W_GL_BALANCE_F table, and the problem had to do with the load method used in the workflow; I had to change the load method from BULK to NORMAL. I'm

  • Email to PDF

    Hi, there. I have Acrobat Pro XI installed and have the plugin for Outlook 2010. When I export emailmessages wich contains jpg-attachments, the photo isn't embedded in the exported pdf-file. All other fileformats are exported correctly. Why? Anyone?

  • New CC apps from Creative Cloud

    I just watched a new webinar from Terry White announcing the new branding and 15 new apps for Creative Cloud members. I'm an early subscriber and he mentioned cheaper rates than I'm paying? This upsets me because I thought early subscribers got the l

  • Adobe CS6 Deployment - Adobe ID

    I have the enterprise deployment process all worked out. I have a question regarding the Adobe ID used when serializing the CS6 suite. Do I need to use the Adobe ID used to purchase the license or can I create a generic ID to be used for deployment?