Planned delivery cost calculation problem

Hi all,
I am maintaining freight as 10 % in my service purchase order with two subservices line items.
but system is not calculatiing the freight amount as per quantity while doing the service entry sheet.
What can be the possible solutio

hi,
i tried all the things which you have mentioned in your solutions.
case is :-
line item 1 - 10 Ea @ 100
Line item 2 - 10 Ea @ 100
freight is 10% i.e. 200 Rs.
When i am doing SES of 5 ea and 3 ea of first and second line item system is not calculating the freight individually on both the line items.
Regards
anin

Similar Messages

  • Problem with MIRO Transaction while posting Un planned Delivery cost

    Hi all,
    We have entered all the details including unplanned delivery cost in transaction MIRO. When we are trying to post the same by using post button directly with out simulation, system is asking for plant details.
    For first time we have entered wrong Plant details , system immediately asking again for plant details.
    Next time even if we entered correct plant details, the system is coming out from the screen MIRO and it is not posting the document.
    If you go through simulate button and it is working fine and it is giving Warning message, If we enter the wrong Plant details.
    My Client requirement is If we post the MIRO transaction including Un planned delivery cost with Post button. If we enter wrong plant details. System will through Error message, until we enter the correct plant details.
    Is there any way to do this. Pl help me in this regard.
    Regards,
    Ramesh

    In the MIRO T Code, U can see PO reference tab is there, Just below it there is Purchase order/scheduling agreement field is there . enter the purchase order number in blank field next to Purchase order/scheduling agreement and press enter. U can see it will  take the required data automatically.
    hope this helps
    regards

  • Planned Delivery Cost Error

    Dear Experts ,
    I need valuable input to resolve the following problem :
    The Planned Delivery Cost as entered in PO is about 1,125,000 as Freight Charges for Procurement of Sugar which is about 182 K KG in Quantity. Now after the first two deliveries( 10 K each)  the user increases the quantity of sugar from about 182 K to 500 K.The net Delivery cost incurred is 2,854,183 for this PO which is not equal to cost of Freight Charges. Overall this has caused an entry in PRD (price difference Account) which is cause of concern.
    I need input to prevent such an entry for future.
    Regards,
    Sohaib

    Hi,
    Try to use Freight / Quantity (FRC1) in your PO so that if the quantity is changed in PO the freight is calculated accordingly.
    Regards
    Chandra Shekhar

  • Planned delivery cost for the scheduling agreement

    Hi Experts
    1. I have an requirement to post Invoice ver. for the Planned delivery cost (freight,customs duty,CVD etc) against the Scheduling Agreement just like Import Purchases with checking off the GR Based IV Indicator before doing the GR
    I tried it but its giving me that no delivery costs are Planned in the Scheduling agreements it runs fine in case of the PO because PO is a time independent.  Please inform how to post the same for schedule agreement with time dependent indicator on. I tried switching off the time dependent indicator and the system allowed, but my requirement is to Post I.V for the delivery cost with the time dependent indicator on.
    Appreciate if you can suggest something in this case Urgently .
    2. Aother issue is we have some uploaded Scheduling agreement from legacy system with Time dependent conditions. For this we need to post planned delivery cost in Miro. Since the system is not allowing to post, how to about for this. Shall we enter the delivery cost in unplanned delivery cost in Miro and post.  Please suggest if any alternate solution is available.
    Regards
    Arvind

    Hi,
    As you know if the delivery cost document is not posted during GR the
    delivery cost is not proposed during invoice (MIRO). Planned delivery
    cost will be proposed in invoice only when there are records in EKBZ
    table. The EKBZ table will be updated when delivery cost is posted
    during GR itself.
    Please ensure in the PO itself thatr the conditions have been defined
    properly with the relevant amounts and values.
    During GR when planned delivery cost conditions are present in PO,
    system checks for values in amount field. Then only appropriate
    calculations will be done for delivery cost and planned delivery cost
    document will posted during GR and hence updates EKBZ table.
    Solution to this issue is described in below steps,
    1) reverse the invoice document
    2) reverse GR document.
    3) You have to give values in amount field in relevant conditions ZGDS
       in the PO.
       If you face any issues changing the values, delete above conditions
       and put it again manually and give values in amount field also.
    4) Post GR once again, delivery cost document will also be posted.
       You can check it in PO history.
    5) During invoice select Item + planned delivery cost and post the
       invoice. If you need planned delivery cost to be posted separately,
       then you can post individual invoice for item and delivery cost.
    Please note it is not possible to post delivery costs for documents with
    multiple accountassignments. 
    For your second question, I am afraid I can not answer. Please open a new ntry in the forum, so that someone else can answer it.
    Best Regards,
    Arminda Jack

  • Bapi to post planned delivery cost of a purchase order

    Hi every body,
             Can anybody please give me the full details of the planned delivery cost data
    to post with BAPI_INCOMINGINVOICE_CREATE
    what are the manditory fields,
    I am using the following code , but  a few are posting , remaining r not posting
    but when I post the same through MIRO it is posted what is difference
    this error was came
    ERROR: enter good reciept data only when working with GR-based IV
    REPORT  ZBAPI_MIRO                              .
    tables: ekko,ekbe,ekpo,lfa1,EKBZ,t000.
    data: itemdata like BAPI_INCINV_CREATE_ITEM occurs 0 with header line,
      headerdata like BAPI_INCINV_CREATE_HEADER occurs 0 with header line,
         return like BAPIRET2 occurs 0 with header line,
         DOC_NO LIKE BAPI_INCINV_FLD-INV_DOC_NO,
         FISC_YEAR LIKE BAPI_INCINV_FLD-FISC_YEAR.
    DATA:error_flag.
    data: item_data like EK08BN occurs 0 with header line.
    data: begin of  itab occurs 0,
                 p_order like ekpo-ebeln,
                 p_item like ekpo-ebelp,
                 p_ctype like konv-kschl,
                 p_lifnr like lfa1-lifnr,
          end of itab.
    data:  order(10) type N,
          vendor(10) type N.
    data: begin of it_doc occurs 0,
                DOC_NO LIKE BAPI_INCINV_FLD-INV_DOC_NO,
                p_order like  ekko-ebeln,
          end of it_doc.
    PARAMETERS:  fn LIKE rlgrap-filename OBLIGATORY.
    DATA: FN1 TYPE STRING,
         l .
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR fn. "p_file.
      CALL FUNCTION 'F4_FILENAME'
           EXPORTING
                field_name = 'FN'
           IMPORTING
                file_name  = fn.
    START-OF-SELECTION.
       FN1 = FN.
    PERFORM upload.
    loop at itab.
    CLEAR: EKBZ,EKPO,LFA1,ITEM_DATA,HEADERDATA,itemdata.
    REFRESH:itemdata,HEADERDATA,ITEM_DATA.
    order = itab-p_order.
    itab-p_order = order.
    vendor = itab-P_lifnr.
    itab-p_lifnr = vendor.
    select single * from ekbz where ebeln = order
                               and ebelp = itab-p_item
                              and kschl = itab-p_ctype
                              and bewtp = 'F'.
    select single * from ekpo where ebeln = order
                           and ebelp = itab-p_item.
    SELECT SINGLE * FROM LFA1 WHERE LIFNR = vendor.
    clear: item_data.
    refresh:item_data.
    call function 'ME_READ_COND_INVOICE'
       exporting
       I_BUDAT            =
        I_EBELN            = itab-p_order
        I_EBELP            = itab-p_item
       I_FRBNR            = ' '
         i_lifnr            = ' '
       I_XBLNR            = ' '
       RE_KURSF           =
       RE_WAERS           =
       I_RESWK            = ' '
       I_EKKI             = 'X'
       I_BUBIS            =
       RE_WWERT           =
       XEK08B_FLAG        =
       I_BELNR            =
       I_BUZEI            =
       I_READ_KRUEK       = ' '
       I_DISPLAY          = ' '
      TABLES
        XEK08BN            = item_data
       XEK08BN_CURR       =
    read table item_data with key kschl = itab-P_ctype.
    headerdata-INVOICE_IND = 'X'.
    headerdata-DOC_TYPE = 'KR'.
    headerdata-DOC_DATE = ekbz-budat.
    headerdata-PSTNG_DATE = SY-DATUM.
    headerdata-REF_DOC_NO = itab-P_ORDER.
    headerdata-COMP_CODE = 'HPL'.
    headerdata-DIFF_INV = itab-p_lifnr.
    headerdata-CURRENCY_ISO = ekbz-waers.
    headerdata-GROSS_AMOUNT = item_data-WEWWR - item_data-AREWR .
    headerdata-BLINE_DATE = SY-DATUM.
    headerdata-DEL_COSTS_TAXC = 'V0'.
    headerdata-PO_REF_NO = itab-P_ORDER.
    headerdata-bus_area = 'OTHR'.
    headerdata-ITEM_TEXT = LFA1-NAME1.
    *headerdata-HEADER_TXT = .
    headerdata-ALLOC_NMBR = itab-P_ORDER.
      APPEND HEADERDATA.
    CLEAR HEADERDATA.
    itemdata-INVOICE_DOC_ITEM = '00001' .
    itemdata-PO_NUMBER = itab-P_ORDER.
    itemdata-PO_ITEM = itab-P_ITEM.
    *itemdata-REF_DOC = ekbz-belnr.
    itemdata-REF_DOC_YEAR = ekbz-gjahr.
    itemdata-REF_DOC_IT = itab-P_ITEM.
    itemdata-TAX_CODE = 'V0'.
    itemdata-ITEM_AMOUNT = item_data-WEWWR - item_data-AREWR .
    itemdata-QUANTITY = item_data-BPWEM - item_data-BPREM .
    itemdata-PO_UNIT = ekpo-meins.
    itemdata-PO_PR_UOM = ekpo-meins.
    itemdata-COND_TYPE = itab-P_CTYPE.
    *itemdata-ITEM_TEXT = .
    append itemdata.
    clear itemdata.
    CALL FUNCTION 'BAPI_INCOMINGINVOICE_CREATE'
      EXPORTING
        HEADERDATA       = HEADERDATA
      IMPORTING
        INVOICEDOCNUMBER = DOC_NO
        FISCALYEAR       = FISC_YEAR
      TABLES
        ITEMDATA         = ITEMDATA
       ACCOUNTINGDATA   = I_ACCOUNTINGDATA
       TAXDATA          = I_TAX
        RETURN           = RETURN.
    if sy-subrc <>  0.
    message e999(re) with  'Problem occured'.
    else.
      loop at return.
        if not return is initial.
         clear bapi_retn_info.
         move-corresponding return to bapi_retn_info.
          if return-type = 'A' or return-type = 'E'.
            error_flag = 'X'.
          endif.
         append bapi_retn_info.
        endif.
      endloop.
      if error_flag = 'X'.
       message e999(re) with  'Problem occured'.
        rollback work.
      else.
          Return Table from BAPI call is empty
        CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
          EXPORTING
            WAIT   = 'X'
          IMPORTING
            RETURN = RETURN.
      endif.
    endif.
           write:/ 'Document no :', doc_no.
           it_doc-doc_no = doc_no.
           it_doc-p_order = itab-p_order.
           append it_doc.
           CLEAR IT_DOC.
    endloop.
    loop at it_doc.
       if it_doc-doc_no = ' '.
          write:/ 'purchase order not posted ' , it_doc-p_order.
       else.
       write:/ 'document no:' , it_doc-doc_no, 'p.order:' , it_doc-p_order.
      endif.
    endloop.
    *&      Form  upload
          text
    -->  p1        text
    <--  p2        text
    form upload .
      CALL function 'GUI_UPLOAD'
      exporting
        filename                      = FN1
       FILETYPE                      = 'ASC'
      HAS_FIELD_SEPARATOR           = ' '
      HEADER_LENGTH                 = 0
      READ_BY_LINE                  = 'X'
      DAT_MODE                      = ' '
      CODEPAGE                      = ' '
      IGNORE_CERR                   = ABAP_TRUE
      REPLACEMENT                   = '#'
      CHECK_BOM                     = ' '
      NO_AUTH_CHECK                 = ' '
    IMPORTING
      FILELENGTH                    =
      HEADER                        =
      tables
        data_tab                      = ITAB
    EXCEPTIONS
      FILE_OPEN_ERROR               = 1
      FILE_READ_ERROR               = 2
      NO_BATCH                      = 3
      GUI_REFUSE_FILETRANSFER       = 4
      INVALID_TYPE                  = 5
      NO_AUTHORITY                  = 6
      UNKNOWN_ERROR                 = 7
      BAD_DATA_FORMAT               = 8
      HEADER_NOT_ALLOWED            = 9
      SEPARATOR_NOT_ALLOWED         = 10
      HEADER_TOO_LONG               = 11
      UNKNOWN_DP_ERROR              = 12
      ACCESS_DENIED                 = 13
      DP_OUT_OF_MEMORY              = 14
      DISK_FULL                     = 15
      DP_TIMEOUT                    = 16
      OTHERS                        = 17
    endform.                    " upload

    I think you need to implement user-exit EXIT_SAPMM06E_012 of enhancement MM06E005.
    Look in OSS with seach term MM06E005 to get some examples.
    Note310154 "ME21N/ME51N: Customer-specific check, generating error log" has some examples.
    You should use the macros to set errors/warnings
    Example:
      mmpur_business_obj_id pt_ekpo-id.
      mmpur_metafield mmmfd_partners.
      mmpur_message_forced 'W' '00' '208' text-001 '' '' ''.
    regards,
    JG

  • Change the sequence of planned delivery costs in MIRO

    Dear Experts,
    In import an import PO the various CVD & ACD conditions are maintained in the PO .
    To enter the bill of entry , MIRO is used where the invoice is booked for planned delivery costs for the PO .
    In MIRO , this planned delivery costs appear by default in certain sequence. I want to change this sequence .
    eg by default the system shows :
    Sec Ed cess on CVD
    ACD
    BCD
    Ed cess on BCD
    CVD
    Ed cess on CVD
    Sec Ed Cess on BCD
    I want to change the seq of appearance in MIRO.
    How is it possible
    Pls guide
    Regards
    Anis

    Dear Anis bazmi
    You will get the conditions as you desire one below another  in PO or MIRO if you have defined them exctly the same way in your calculation schema steps, other wise there is no way in getting the way you want and it can not be changed either in PO stage or in MIRO also.
    Just check, when you are processing MIRO, please select Planned delivery Costs form the menu below instead of the combination of  both.
    Regards

  • Issue in MIRO for Planned Delivery Cost

    Hi,
    We are facing a problem during MIRO (Planned Delivery Cost)...
    First, We create Two PO's with Freight Value (use diff. vendors in both PO). During MIRO (including both PO), we done Invoicing with Goods / Service Items...when we are trying to create MIRO of Freight value (Planned Delivery Cost)... a pop-up open for choose the Vendor...
    Here, Issue is that only 2 Vendors should be there BUT there shows many vendors to choose..
    Please guide, how to solve this...During MIRO only 2 vendor should appear in that pop-up window...
    thanks

    HI,
    Here, Issue is that only 2 Vendors should be there BUT there shows many vendors to choose..
    many vendor means how match all vendor list?
    have you activate vendor partner  function at your end ? if yes check following things
    check vendor master record and check Invoicing party of that vendor ,also check invoice party of main vendor
    you may get invoicing party of both vendor there
    Regards
    Kailas Ugale

  • Planned delivery cost(in PO), but like to pay other vendor(in MIRO). How?

    To someone who knows planned delivery cost very well:
    I have 3 points.
    1. Planned delivery cost(in PO), but like to pay other vendor(in MIRO). How?
    2. Condition type for Planned delivery cost, like FRA1, FRB1,ect, have Acc. key& Accrual key like FRE, FR1 in PO pricing procedure(calculation schema), it controls dlv cost value into Mat. stock value, but we like to post those value into a expense account, it is possible by cond. type FRA1 or FRB1, how?
    3. I did testing, I have impression, for cond.type of planned dlv cost, FRA1 or FRB1, SAP always credits the dlv cost value into Accrual/provision clearing account(after GR) and debit to clear the account after MIRO.  Is it correct? If yes, why in condition type configuration, it has an indicator Accrual , this indicator seems to have no difference whether it selected or non-selected.
    Thanks,
    [email protected]

    1)while doing the miro,in the details tab give Inv. Party as ur other vendor code.
    also at the right hand side where u can select the layout,just above it choose planned delivery cost and proceed with ur miro.
    regards,
    indranil

  • Exchange Rate for planned delivery cost

    Hi
    In one PO ( Document type NB with item category std) exchange rate for planned delivery charges ( Condition type FRC1) is calculated considering base date as document date of PO.( Exchange Rate is not fixed) while doing Goods Receipt
    In other  PO ( Document type NB with item category L -subcontracting ) exchange rate for planned delivery charges ( Condition type FRB1) is calculated considering base date as posting  date of GR.( Exchange Rate is not fixed)
    Can anyone tell why ?

    Dear Murugan
    I wish to  putforth the below check for you to solve the issue.
    You told that Intially while creating the PO, your supply vendor and freight vendors are different, please check did you enter the vendor code in the freight item condition details. If yes then you have two invoicing parties for the PO.
    Now you also told that, you have carried out MIGO for the PO line item which which has Freight also as an additional condition type.  That means for the PO line item your GR have been completed or partly done. If you have done this then how did you change the freight vendor in PO after GR for the item , system does not allow that as you have already carried out the the GRN.
    To avoid all such cases of freight vendor change, the best solution is to change the vendor before GRN itself and assign the right vendor in the item condition of the PO,then proceed forthe GRN.
    For your case please cancell the GRN also since you have already cancelled the Invoice.
    Assign the right Freignt vendor , then proceed for MIGO. Once done In MIRO go for invoice and select goods/service items from the selection menu and process it for the supply vendor.
    Then again you can go for MIRO and select planned delivery cost from the drop down and process it.
    The above can be done combined also and in any sequence also , there are no holds upon that.
    Regds
    Sam

  • MIRO-Planned delivery Cost

    Hi,
    We have made a PO where there is a problem with one of the wrong condition type(Transit Insurance) which does not have any secondary vendor assingement,but the condition type  is having  Account key (Other Clearing)
    As the MIRO-Planned delivery Cost Conditions for Sec Vendors Such as
    Basci Customs, Excise, octroi, are allready posted& the GR for this material is allredy done & the material is allready issued
    the value which is lying in the other Clearing account needs to be settled as there is no vendor assingemnt to this condition type we are finding it difficult where to nullify this account
    Please suggest what can be done

    Hi
    Now that you have already posted the Transit insurance amount , I suppose  you are getting the amount against the material supply vendor. One way for you to settle the expenses is to use the JV - FB60 for this to remove the amoutn and reassign the other vendor in FI
    Regards

  • MIRO for Planned delivery cost

    Hello,
    Its Raw material  PO with Freight  & unloading Charges codition.Excise duty applicable only for Raw material .
    service tax applicable for Freight & unloading charges vendor.
    while booking MIRO for  Raw material ,excise accounts should be hit  & for  Planned delivery cost  service accounts shoud  hit.
    but While Posting Planned delivery cost tax code for which sevice tax code has been used, excise offset account is getting Posted together with service tax accounts.
    How to Post MIRO for Planned delivery cost with only service tax accounts.
    Regards,
    Jyoti

    Hi Deva,
    Is the problem about the rounding of the value?
    If so I sugest you modify the rounding scheme of the conditions to 'round up' in the condition master. In this case 0,004 would become 0,01. It's important to know that currency is always posted with two decimal numbers, but you can always do this: 1000units cost 4$ (for example).
    For what I know you cannot post a value in invoices for less than 0,01$.
    Give more feedback.

  • Planned delivery cost posting in MIRO through IDOC_INPUT_INVOIC_MRM

    Hi Experts
    I came to know from the OSS Note 119092 that the planned delivery costs can not be posted for logistics(MM) incoming invoice throgh inbounf Function Module IDOC_INPUT_INVOIC_MRM.
    I just want to know whether this problem is rectified in ECC 6.0 or still this problem exists?
    Awaiting for your earliest response.
    Regards
    Mohamed

    Hi,
    There is a modification note that is released.
    1386272 EDI: Planned delivery costs..
    If you require this functionality please raise a message with SAP..
    Since this is a Pilot note release for few customers.
    regards,
    Lalita

  • Planned delivery cost  & sub-sequent settlements

    hi ,
    what is meant by planned delivery cost ?
    what is meant by sub-sequent settlements ?
    when they are useful in MM
    regards

    Hi
    <b>Planned delivery costs</b> are the costs agreed with the vendor or goods supplier before the purchase order is created. You enter these as conditions  in the purchase order.
    Planned delivery costs can be differentiated as follows:
    Origin of Costs
    Freight charges
    Customs charges
    Calculation of Costs
    Fixed amount, irrespective of delivered quantity
    Quantity-dependent amount
    <b>Subsequent adjustment</b>
    In sub contracting scenario After the subcontractor  had delivered the ordered material , you post the goods receipt to the subcontract PO. The system determines the necessary components for each purchase order item and creates for each component a goods issue item with the quantity that was determined in the purchase order
    If the vendor informs you after these postings that a greater or smaller quantity of the subcontracting components was actually consumed than planned in the purchase order, you must post a subsequent adjustment to correct the component consumption.
    If the component is a by-product, you must post the corrected by-product receipt (excess receipt) or by-product issue (short receipt)
    Similary there is a subsequent credit / debit carried out when an additional invoice or credit memo is received for a transaction that has already been invoiced in LIV process
    Thanks & regards
    Kishore

  • Tax code error while posting Planned delivery costs in Import Scenario

    Hi!!!!!
    I am getting on error while posting Planned delivery costs in MIRO for Import Purchase Order with zero value tax code v0. The error is
    "Tax code V0 country IN does not exist in procedure ZAXINN"
    For Import I defined a pricing procedure which contains all condition types for CVD, Ecess, SEcess, Additional Customs Duty and Others.
    While making Import PO im putting V0 tax code. I assigned the Tax Codes to the Company code.
    Please let me know what config is missing.
    Regards,
    Durga

    Is you ZAXINN assigned to the country India
    and is your taxcode (created in FTXP) created for country India?
    kr
    hakan

  • Report for Planned Delivery Costs

    Hi,
    Is there any Report for Planned delivery costs per month/day.One of our client needs separate report for frieght charges so that he can be able to pay service tax (GTA) for the same.
    Thanks
    Prasad

    Hai,
    Did you check thro' Tcode MIR5.

Maybe you are looking for