IDOC_INPUT_INVOIC_MRM - EXIT_SAPLMRMH_015 : Delivery Charges to G/L

Hi Folks,
How can I pass some delivery charges in some summary segment to a particular GL account on the Invoice??
Thanks,
Matt

Documentation say you can change
To do this, you can make use of the document header data and the generated document items, G/L account items
and material account lines
But my suggestion will be
  call customer-function '011'
      exporting
          i_lifnr              = e_lifnr
          i_bukrs              = e_bukrs
          i_idoc_contrl        = i_idoc_contrl
      importing
          e_lifnr              = f_lifnr
          e_bukrs              = f_bukrs
          e_change             = f_change
      tables
          t_idoc_data          = t_idoc_data
loop thru t_idoc_data and find the segment you wanted to change , retrieve using segnam and change the content

Similar Messages

  • How to bring GRN no. in assignment field of Delivery Charges clg. a/c?

    Hello Experts,
    This is more of ABAP related question than functional.
    I have a problem that I want to clear my delivery charges clearing account through automatic clearing (F.13) However, for this GL account PO number is being picked up by the system as reference to clearing. I want to clear the same with reference to GRN number the way we do for GR/IR clearing account. The problem is that the GRN no does not update in my ref key 3 filed from which I can pick up the ref. If I can get the same number in my assignment field it would solve the problem and clear the documnets.
    Could anybody help on the same? Is there any sap note of any BADI for same?
    Kindly let me know.
    Thanks & Regards,
    Priyanka.

    Hi,
    Thanks, I will check the same. Well, I will be clearing the documents with reference to MIGO number itself. When I do my delivery chrgs migo, that number I need to be populated in my line item's assignment field. Not only that but I the same number should get populated in the delivery charges miro. Since my miro is with ref to PO it becomes difficult to fetch the field.
    Plz let me know if you can help me on this as well.
    Thanks,
    Priyanka.

  • Tax determination for delivery charge

    Hi,
    We are using SAP IS Retail wherein actual sales is being sent out to SAP from web-site using Idoc type WPUBON.
    WPUBON IDOC is processed in SAP and billing document and accounting documents are created. This IDOC will carry the information of the articles that were sold and the delivery charges for dispatching the articles to customer.
    In normal scenario, VAT is applicable for article as well as the delivery charge and is taken care by the standard pricing procedure by accessing MWST condition. Tax code is derived from article master. VAT is calculated based on article price and delivery charge and posted into corresponding tax GL account (VAT amount for delivery charge is calculated based on tax class of article).
    We have a scenario where some articles are sold with tax exemption at website to disabled customers. Even though the article price is exempted for tax, delivery charge is taxable as per government rules.
    When this sales data comes into SAP the corresponding IDOC u2013 WPUBON has a tax code (E u2013 Exempted) against this article. This overrides the tax code maintained in article master while posting the billing document (Thought article is fully taxable as per master records, no tax is calculated when billing document is posted). Till this point we have no problem. As mentioned above, we want the tax to be calculated for delivery charge and posted to the tax GL account, which is not happening as the tax code applied for the article is also applied for delivery charge by default.
    Is there any way in configuration to change the tax determination only for delivery charge?
    Any pointer in this would be of great help.

    Hi
    You can create and use a new tax code which is applicable only for Delivery charge cases.
    Use a new pricing condition type for this Tax .and condition records with access sequence and tax code can be amintianed only for this condition type.
    You will have to modify pricing procedure for the same.
    Depending on condition records and document inputs the tax values for delivery will get triggered.
    You can also put an order reason in Accounting determination access sequence through which on This special sales ,
    account determiantion can be changed.
    hope this helps
    Regards
    Mandar

  • PO Delivery charges  as fixed  independent of the quantity supplied.

    Dear All,
    We were given a Delivery charges code "ZFR2" for entering lumpsum
    delivery charges in Create PO transaction ME21N; The value entered
    against this code is getting apportioned with the GR quantity.
    A lumpsum is a fixed amount and should be independent of the quantity
    supplied.
    Could you provide any user exit or any standard configuration , so we can make the  Delivery charges  as fixed  independent of the quantity supplied.
    Client doed not wnat to settle tje cost at the of LIV
    Pl help me in this reg
    Rgds
    Nishit

    Hi,
    As per standard SAP your requirement can't be met, please refer the Note 304178 - Absolute conditions in purchasing documents. I have pasted what is contained in the note, this cant be done.
    Summary
    Symptom
    Absolute conditions, for example, used at item level in the purchase order item, are calculated down to the item quantity.For the goods receipt, if a quantity differing from the item quantity is posted, this absolute condition is nevertheless quantity-dependent since it is only calculated proportionally.
    Other terms
    Delivery costs, freight costs, freight, absolute value, FRB1
    Reason and Prerequisites
    For the goods receipt, the actual posted quantity is not yet available, as far as the program is concerned, at price determination.If the actual posted quantity is available later, the condition technique is not used again for the calculation.Therefore the only option remaining is the proportionalization of the condition values.
    Solution
    None.

  • Vendor change in PO for delivery charges after MIGO

    Dear All,
    System is allowing to change the Vendor for delivery charges even after the MIGO has been done, without any message (warning/error). The Vendor field is editable in PO, even after MIGO.
    Vendor was changed, But at the time of MIRO system is showing the old vendor, not the changed one.
    Problem is explained with one example-
    PO created with "Freight" Delivery charge - with vendor ABCD.MIGO was done.
    After MIGO the exact vendor for the Freight was know, Vendor XYZ . As system is allowing to change it without message, it was changed. No change log is there for the changed vendor.
    But now at the time of MIRO, system is suggesting u201CPlanned delivery costu201D for Vendor ABCD, not for XYZ.
    So how to proceed as the payment has to be done for the new Vendor XYZ.
    Please suggest.
    Regards,
    Vijay P.Bhaware
    Edited by: vijaypb on Aug 28, 2011 4:40 PM

    Hi,
    Please check SAP Note 549408 - Conditions modifiable after invoice receipt for the same.
    THis will resolve your issue.
    Symptom
    You already posted an invoice receipt for a purchase order with delivery costs, but no goods receipt yet. After that you can still change conditions of type 'B' (Delivery costs) via Transaction ME22 or ME22N in the purchase order.
    Solution
    Refer to the attached advance corrections.
    In addition you must adjust message V1631 as follows:
    Change the short text of the message via Transaction SE91 as follows: <Z1> No new delivery costs must be entered after occurred GR/IR.
    Extend the long text by the following passage in section 'Diagnosis': <Z1> After an occurred invoice receipt the change of delivery costs is not allowed in the purchase, either, as information for the correct process are no longer available and the postings can no longer or not without errors be carried out, particularly after the deletion of posted delivery costs for subsequent cancellations or invoices.
    Regards,
    Sandesh Sawant

  • MIRO for delivery charges (Customs duty) in Imports

    Dear gurus,
    We have very strange problem,
    Scenario:-
    Invoice verification of delivery charges of imports P.O.
    The entries are Vendor Acc. Cr
                    Custom Clearing Dr.
    But in some cases the entries are coming as
    Vendor Acc Cr.
    Custom Clearing Acc. Dr.
    Purchase of Raw Material (Purchase acc.) Cr.
    (We have urchase accounting activated)
    Can you please explain or the cause of the error.
    I think it is a user mistake but where he has done mistake.

    solved

  • Problem in delivery charges calculation during MIRO

    Hi,
    I am facing a tricky problem while doing the Invoice receipt.
    A Service PO is created with the quantity of 10.
    Account assignment category: U (Unknown)
    Price of the service is 100 USD
    Gross Price: 1000 USD (100USD *10)
    Discount is 20%
    Net value incl. discount 800 USD
    Packing, fwd charges 100 USD (Delivery chrgs)
    TOTAL PRICE*****: 900 USD.
    The Delivery charges of 100 USD is not getting picked while doing MIRO.
    Even the Net Price shown for the line item in PO is 800 USD and the Total price is 900 USD.
    Instead the Delivery chrgs are getting multiplied by quantity, which should not happen for Services.
    This is only happening when I am keeping Account assignment category U (Unknown) in PO.
    If I assign acct assignment category in PO is other than Unknown; the system is picking the correct price at the time of MIRO.
    You can also refer to my previous thread on this issue.
    PO issue (Delivery chrgs are not getting picked in MIRO)
    Please help.
    Thanks and regards,
    Ashish

    This is against the standard functionality of SAP.
    SAP doesnt recommend to use frieght conditions in Service PO
    Ashish

  • CST not calculating on Delivery Charges

    Dear Users,
    I have a issue in my PO cst is calculating on delivery charges but while posting MIRO document CST not calculating on delivery charges its showing tax code 'V0' for delivery charges. Please suggest me with a solution.
    Thanks & Regards,
    Shyam

    Hi,
    During invoice (MIRO), tax code will flow from Purchase Order to Invoice- You have following options:
    Option:1=> You need remove default tax code in MIRO header (as tax code set as default entry in MIRO).As needed by you keep selecting CST tax code, just select check box of "Calculate tax" and check details to enter total invoice value by having balance ZERO and post document.
    Option:2=> Check your CST condition type present and assign to your tax procedure in following path:
    SPRO --- > Logistics general ---> tax on Goods Movements--- > India ----> Condition-Based Excise Determination ---- > Classify Condition Types
    Option:3=> Cross check validity period of CST condition type with your CST tax code in FV13 t.code,
    if not available- just extend validity period in t.code:FV12
    Regards,
    Biju K

  • STO for storage location to storage location with delivery charges

    Dear Users,
    Please advice the configuration & pre-requisites for storage to storage location STO with delivery charges within a plant.
    Thanks & Regards,
    Shyam

    Moderator message:
    Please put some efforts into a search
    Storage location to storage location stock transfers have been many times discussed as well as delivery charges in UB stock transfer order.
    Do not just post your requirements and expect others to do your job.
    If you dont know how to search, then please see these blogs:
    A good way to search the forum is with google. See this blog with details for a good search
    Getting the Most out of Google: Optimizing Your Search Queries
    This blog describes how to use the SCN search:
    How to use SCN search
    The discussions are not a replacement for proper training
    Thread locked

  • MIRO error for Delivery Charges

    Dear Gurus,
    When I try to post invoice for delivery charges such as Custom duty the following error comes,
    Tax code V0 country IN does not exist in procedure TAXINN
    Message no. FF713
    Diagnosis
    You entered a tax code which is not defined for the country of the company code to be posted to in the tax calculation procedure.
    Whereas Invoice for material price to the material supplier is posted without error.
    i have assigned tax procedure to country
    I have created a tax code and maintained it in company code.
    Please guide me.
    Regards
    Ashish

    HI,
    Check the Assignment of tax code to the CC and tax procedure.
    2.Check the PO tax code and Invoice tAX CODE.
    And check the configuration , menu path
    SPRO>>Financial Accounting (New)>>Tax on Sales/Purchases>>Posting>>Assign Tax Codes for Non-Taxable Transactions
    Regards,
    Andra

  • Delivery Charges or Other charges in MIRO

    Hi all
    We have requirement is for the Delivery charges or other charges to come seperately in Miro.
    For Ex Order Qty is 10 & Delivery charges for the 10 qty is 50 Rs & we have done the 3 GRN for the 1,2,2 Qty
    Now when we go in to simulation of Miro for all the GRN it is giving three GRN Lines & Sum of Delivery charges for 5 qty 25 Rs. if only one GRN Line is selected for 1 qty  then Delivery charges needs to be corrected to Rs 5 & then Miro is required to post
    Requirement is to come separate delivery charges in MIRO for each GRN ( Delivery charges 5, 10 ,10 as per qty of GRN)  as it is coming during the GRN
    Please suggest whether this is possible
    Thanks in advance
    Regards
    Rajesh

    Hi
    Other charges are not coming if you post MIRO with refernce with Delivery note
    Regards
    Rajesh

  • Delivery charges  for local transport

    Dear Experts
    We have an issue regarding unplanned delivery charges handling.
    our local suppliers will forward their material through local Transport facilities it may be an auto or a lorry and the transpot charges are to pay basis.
    this value we want to trigger for every GRN (item wise) how could this happen.
    Is it possible by maintaining any sepecial Condition type with calculation type as "R" or
    Please suggest with your valuable suggestion.
    Regards
    Chaitanya

    First of all maintain the transporter as your vendors.
    then in your pricing procedure check if you have any freight condition type with an Accounting key and Accurals.If not then create and maintain it in your pricing procedure.In obyc setting against that Accounting key maintain a g/l account.
    In your PO use that freight condition type and in that condition type in the PO maintain your transporter vendor code.
    Now do the GR and check whether it is meeting your requirement.Check it in your quality system.
    regards,
    indranil

  • Service Entry sheet - Delivery Charges

    Hi Experts,
    As per SAP note 381030 Delivery charges are not supported for service PO (item category - 'D')
    and Blanket PO (Item category - 'B').
    But one of the client which is running on ECC 6.0,  I am able to see accounting entries
    for delivery charges to frieght account after SES acceptance.
    How could it be possible? Have you come across such cases?
    Please throw your valuable inputs
    Regards,
    Partha

    Hi,
    1st one need to understand why to use/maintain Delivery charges in service procurement!
    When Vendor provides service to you, you use service master(AC03), create service PO & maintain service tax in the service PO, then SES & invoice verification & finally payment to vendor.
    When you are providing service to your customer , you can use material type DIEN & create material( MM01) for service & try to use/maintain tax indicator. Then create sales order with service material created with material type DIEN & then bill to customer for service provided by creating a Bill & the receive the payment customer.
    In service procurement, you need to create a service master(AC03) , you need to enter valuation class & in OBYC, you just assign need to assign GR/IR Clearing (service) with G/L account only & remember that no valuation class for service assignment requires here in OBYC for service.
    Service order or purchase order created with Acc. assignment ' K' and Item category 'D' , the system automatically pick UOM is "1" activity unit in Item Overview and in item details you need to maintain the service master ,UOM, quantity & price /unit and then G/L account with cost center .
    During SES(ML8N), you are just recognizing vendor performed service where you can have cost object(cost center) with service master with quantity etc.....No FI document created after creating/maintaining the Service Entry Sheet in ML81N but once you release the Service Entry Sheet, then only FI document created.
    If GR valuated for service procurement: You will have accounting entries:
    During SES release:
    Service account: Dr
    GR/IR(service) :Cr
    During IR
    GR/IR(service) :Dr
    Vendor A/C: Cr
    Service tax A/C: Dr
    Regards,
    Biju K

  • Field for delivery charge

    Hi,
    I need to extract the report with the delivery charge for materials that we have purchased. I would like to know the table and field from where it need tobe extracted. We input the freight conditions in PO.
    Thank you!

    Hi Savita,
    To get Condition Value from Purchase order link EKKO-KNUMV to table KONV and get the respective condition value from the same KONV table - KSCHL is for Condition Type and Condition base vale Amount -KBETR.

  • Subsequent Credit - Unplanned Delivery Charges

    Hello,
    We have a return purchase order (ERS based) say for e.g.100 EA with a total value of $500. We complete creating the delivery, picking and goods receipt (Mvt type 161). Since this is an ERS based PO, we execute MRRL to create the credit memo and complete the cycle. The credit memo is created successfully and the entire cycle is completed. So far so good.
    Now, we need to collect an additional freight charge (unplanned) of $50, from the vendor and hence we are trying to post a subsequent credit. Now while posting the subsequent credit we make sure of the following:
    1. We only provide the quantity as 100 on the subsequent credit line item. No dollar value is given.
    2. From the right most drop down box on the subsequent credit line item, we select the "Goods/Service items" option.
    3. On the basic data tab on header, we input 50 in the "Amount" field.
    4. On the details tab on the header, we input 50 in the "Unpl. Del. Csts" field.
    Now when we try to simulate. The simulation shows that the vendor account gets debited by $50, and the GR/IR account gets credited by $50. However, as per our understanding the GR/IR account should not be pulled in at all, as there are no open items left for this particular PO on the GR/IR account. The open items have been settled by the credit memo created earlier. Should it not credit the price difference/stock account in case if there is not stock coverage or in case there is, respectively?, instead of the GR/IR account?
    The system keeps pulling in GR/IR account to credit. Any explanation on this would be highly appreciated. I have checked the account determination and it is configured correctly.
    A second issue is that the system does not allow us to post the subsequent credit, and it keeps giving the error message " Unplanned delivery costs will lead to negative value" . I also fail to understand why is it trying to subtract the value of unplanned delivery costs from the line items instead of adding?
    This used to work before in the systen, not sure what broke it. But any help on how to resolve this issue would be highly appreciated.
    Thank you all.

    You can do this in two ways
    1) You can post the amount in "unplanned delivery cost" field of MIRO.  For doing this u need to assign GL account in OBYC
    or
    2) You can activate GL account tab for MIRO and then post the amount against a GL account in this tab.  This tab will come at item-level once it is activated
    hope this resolves ur problem

Maybe you are looking for

  • How can I copy a link when the site address doesn't show up in my address bar?

    When I click a link within my email, I am taken directly there but the links address doesn't pop up in the site address bar so I'm not able to copy and share it.

  • 2014 Photosmart b210 networked printer can't scan

    You might want to switch this over to a different forum .... doesn't have anything to do with laptop or notebook. .. sorry. I have a Photosmart Plus All in One Printer Scanner.  The printer is wired to my computer using USB and OS is Windows 7. Recen

  • Problem related to PO?

    Hi All, I have creating a PO of Subcontracting and in that I am exploading BOM which is containing two materials, but on exploading BOM it is picking the material defined on line item 1 by default, But I want That it will pic material on line item 2.

  • Adobe Flash Player won't install on Mac OS X 10.6.4

    I cannot get Adobe Flash Player to install properly on an iMac running OS X 10.6.4. I download the software, run the installer, it appears to install successfully but I receive an error message when I attempt to run a video on Safari: You need to upg

  • Java.lang.NoSuchMethodError: deadChild

    I'm running a unix shell script using Runtime.exec(). This returns a process. However, when I wait for the process to complete, I get the following error messages and the process hangs: java.lang.NoSuchMethodError: deadChild at java.lang.UNIXProcess.