Regarding Delivery cost !!!!

Hi All,
            I got challan from transporter at Good receive time. Now I want to post this and Invoice it. In MIGO, where is put callan and Transport vendor detail. So it can be invoiced separately???
Thanks in advance
Regards
Sanjay

as for the chalan no. u can place it in the delivery note.
but appart from that here is no need to give the transport vendor details in the migo.
in practical case what happens is when the goods come to ur plant the transporter asks first to clear his bill,so here first u acn do the miro with the vendor code for transporter in the details tab and choose the layout as only for planned delivery cost.
then u can do the migo for the goods receipt and then u can do the miro for the goods vendor with the layout as goods/service item.
regards,
indranil

Similar Messages

  • Distribution of unplanned delivery costs during delivery cost LIV

    Hi all,
    This clarification is regarding delivery cost LIV - where difference between:
      -  the amount invoiced by the freight vendor
    and
    - the amount accrued based on PO
    is treated as unplanned delivery cost and is intended to be distributed amongst the line items of the accrued planned delivery cost.
    Customizing for the company code - Configure How Unplanned Delivery Costs Are Posted - is set as "Distribute among invoice items".
    When we try to post an LIV in regard to the aforesaid scenario [Tax code is with 0% tax], the system returns the following error message:
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Balance is not equal to zero: 58.42 EUR
        Message no. M8186
    Diagnosis
        You cannot post the document as the balance is 58.42 EUR.
    Procedure
        Check the gross invoice amount, the tax amount, the amounts in the items
        selected and any unplanned delivery costs in the document header. The
        items selected on the item list may not be the same as those in the
        invoice.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Also, went through the OSS note 129066 which mentions that Unplanned delivery costs cannot be distributed to the planned delivery costs as of SAP release 4.6C.
    Our system is SAP 4.7 and hence we are unable to understand the reason for this error..
    Is there any enhancement relevant in this regard?
    Can anyone please throw some light on this.
    Best Regards,
    Bhargav

    Thank you for contacting SAP Global Support Center.
    It seems you're posting the planned and unplanned delivery cost
    simultaneously.
    The planned delivery cost and unplanned delivery cost cannot be invoicedtogether when only freight cost is being invoiced.
    Unplanned delivery cost and planned delivery cost can be invoiced
    together only when you invoice both goods and freight cost.
    This is the standard design of the system. Even in customizing for
    unplanned delivery cost, the system behavior is designed such a way thatit can be invoiced along with goods only. Both options which we have
    given behave similarly except for the posting to account.
    Therefore, your system behavior is as per standard design and there
    is no error in your system. For this functionality there are no other
    workarounds too.
    Additionally, Please consider if the workaround below is working.
    In order to post unplanned delivery costs with planned delivery costs
    the customizing has to be set so that the unplanned delivery costs are
    posted to a seperate G/L account rather than distributed amongs line
    items.
    SPRO
    >>Materials Management
    >>Logistics Invoice Verification
    >>Incoming Invoice
    >>Configure How Unplanned Delivery Costs Are Posted
    "2" Different G/L line
    May I ask you to review note 129066. The the validity is from 4.0 to
    4.6 C but it is valid for your release also.

  • Regarding planned delivery cost issue in MIRO

    Dear SAP GURU,
    we have a requirement which has been elaborated below
    ME21N:- (45-1)
    We have creates PO, the details are
    MMR          : -      COPPER
    QTY          : -      100 KG
    Unit Price     : -      Rs. 10 /-
    Total price      : -     Rs. 1000/ -
    FRC1 (Fright /Quantity)     :-     Rs.5 /- per unit. (Hence for 100 kg it will become Rs.500/-)
    MIGO:-
    We have done 4 GRN for one PO. For example
    ME21N     MIGO
         5-1(20 KG)
         5-2(20 KG)
         5-3(20 KG)
         5-4(20 KG)
         5-5(20 KG)
    When we have checked all the delivery charges for each grn document, we found that the system automatically bifurcates total delivery charges of Rs. 200/- into Rs. 20/- in each GRN document.
    MIRO:-
    1)     In this level the system is not bifurcate the delivery charges at all and it showing cumulative value in the line items.
    2)     But for the each GRN quantity posted, can be seen in separate line item in the transaction level.  For example
    Existing behavior:-
    Amount     Quantity      Reference
    Rs. 200/-     20 Kg     5-1
    Rs. 200/-     20 Kg     5-2
    Rs. 200/-     20 Kg     5-3
    Rs. 200/-     20 kg     5-4
    Rs. 200/-     20 Kg     5-5
    Rs. 500/-      100 kg     FRC1(Condition type)
    In this case the system is not bifurcating the delivery cost as per GRN wise.
    Our requirement is:-
    Amount     Quantity      Reference
    Rs. 200/-     20 Kg     5-1
    Rs. 200/-     20 Kg     5-2
    Rs. 200/-     20 Kg     5-3
    Rs. 200/-     20 kg     5-4
    Rs. 200/-     20 Kg     5-5
    Rs. 100 /-      20 Kg     FRC1(Condition type)
    Rs. 100 /-     20 Kg     FRC1(Condition type)
    Rs. 100 /-     20 Kg     FRC1(Condition type)
    Rs. 100 /-     20 Kg     FRC1(Condition type)
    Rs. 100 /-     20 Kg     FRC1(Condition type)
    Rs. 100 /-     20 Kg     FRC1(Condition type)
    Hence our requirement is all the planned delivery charges should be bifurcated in the transaction screen.
    Conclusion:-
    1)     Please let me know what the configuration settings we need are.
    2)     If not, any suitable note available for such sceanario.

    Hi ,
    I do not have any issue related GR quantity but delivery charges are being not bifurcated instead that it is showing the cumulative quantity or value
    reagrds
    praveer

  • 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

  • Handling delivery costs conditions in PO

    Hi,
    I need the suggestion and help on one of the issues related with the delivery cost type of conditions in PO.
    We have couple of header conditions which have been defined as delivery cost conditions in m/06.
    We enter these conditions at the time of PO creation.Then GR is done wrt to the PO.The idea is that all these conditions are to be loaded on material at the time of GR(Vendor GR is ticked as 2)
    Somtimes it happens that user realizes that he has made mistake in PO in delivery costs and want to change them.Thus he cancels the GR.
    However, once GR is cancelled he is not able to make any changes in the PO conditions being delivery costs.
    SAP does not allow it.
    But I want to make changes in the header conditions since they were wrongly entered.
    What is the way out for this.I have not found any solution for this.
    I can make these conditions as freight conditions(checking the freight tick for the conditions instead of delivery cost)and it allows me to change them even after GR is done or cancelled.
    However at the time of MIRO I can not have them so that becomes problem.
    Request you to suggest me the solution for this.
    Thanks in advance
    Regards,
    manOO

    Hi Rajesh,
    Thanks for the valuable feedback.
    I went through the notes but as usual I found them confusing.
    Anyways,what is the alternative in this case because I need to add the conditions as delivery costs while creation of PO as header condition and it's likely that rarely I may require to delete/change /add them after GR/Cancellation before Invoice posting.
    Why can not I change the delivery costs after GR or cancellation is not yet understood by me.
    One side of the coin I could understand that that it may lead to imbalance if invoice is also posted but what if invoice is not posted and user wants to correct his mistake which he realizes after GR has done.
    Any suggesttionyou would like to make her to solve the issue ?
    Thanks in advance
    Regards,
    manOO

  • Delivery Cost for Free Goods

    Dear SAP Guru,
    I need some advice how to do the following scenario.
    In My Purchase Order there will be 2 material A dan B. And B is a free goods (no invoice receipt).
    And in this Purchase Order there will be added some type of Delivery Cost.
    How can I make this Delivery Cost to be distributed propotional to material A and B since in line item B no condition type are allowed to be added.
    Please help.
    Thanks in Advanced
    Best Regards,
    Sugiharto

    Hi ,
    free goods Delivery charge
    If it is imported free goods..please go through the following link
    PO for goods free of charge
    Regards,
    Nani.

  • Report for delivery costs

    Hi,
    1.
    I need to have a report for the paid delivey costs(planned and unplanned) for the given pos.
    2.
    Is there any std transaction which can give the list of fast moving items based on movement types?
    Please help me, it is very urgent.
    Your help is appreciated.
    Regards,
    Subbu.

    Hi,
    For Delivery Cost look in Table EKBZ ,EKBZH.For Fast moving item use the T Code MCBE (also MCBA,MCBC)in which you can find the fields like number of valuated stock receipts and issue and also number of movements .Selecting a given period range if the number of movemnets is sorted in descending order the maximum moved material can be found.
    Dhruba
    Message was edited by:
            Dhruba Charan Behera

  • Question on uplanned delivery costs need to go to GL account

    Hello
    I have a question regarding unplanned deliver costs. I am a FI analyst  Can you please explain my how I can solve my problem . My user wants unplanned delivery costs to go in to the GL account .
    In MM account determination GL account is set up but when I am doing MIRO
    . I am putting  total amount in amount field and freight costs in unplanned field under ‘detail ‘ section.
    When I simulate it gives me ‘tax code ‘ related warning when I hit enter it credit vendor and debits  GR/IR clearing and some debit  to inventory  account but not  to freight account,
    What’s  the problem. Can someone explain me :
    1)     What do I need to do to make it go to GL account ( account is set up but what is tax code related error . how do I fix that,
    2)     How does unplanned delivery costs work if I have tax, discount and freight.
    3)     Is tax calculated off total amount (inventory + freight) and discount too. How can I prevent that so that my tax is calculated just on inventory amount?
    4)     DO I have to put total in amount field (meaning inventory amount + fright ) or not .
    I will be grateful if someone can guide me towards right direction. Please give me a detailed answer. How does it work???
    Thanks
    Kavita Reddy

    Hi,
    1. If you eant ot post to a differnet GL account the GL tab is there.. there you have to mention the Gl account.. like Fb50.
    2. When you put some amount in unplanend delivery cost ..
    a. If material is Moving average price then the amount will be debited to inventory account
    b. If material is in standard price then it eill go to price differnece account.
    3. frieght vendor , discount why not u calculate through pricing schema in PO and after that in MIRP for firght vendor u will have different option..Just check with MM guys..
    4.answered in point 1.
    Hope it will helps ..
    Assign point if helpful
    regards
    PK

  • Question on unplanned delivery costs need to go to GL account ????

    Hello
    I have a question regarding unplanned deliver costs. I am a FI analyst  Can you please explain my how I can solve my problem . My user wants unplanned delivery costs to go in to the GL account .
    In MM account determination GL account is set up but when I am doing MIRO
    . I am putting  total amount in amount field and freight costs in unplanned field under ‘detail ‘ section.
    When I simulate it gives me ‘tax code ‘ related warning when I hit enter it credit vendor and debits  GR/IR clearing and some debit  to inventory  account but not  to freight account,
    What’s  the problem. Can someone explain me :
    1)     What do I need to do to make it go to GL account ( account is set up but what is tax code related error . how do I fix that,
    2)     How does unplanned delivery costs work if I have tax, discount and freight.
    3)     Is tax calculated off total amount (inventory + freight) and discount too. How can I prevent that so that my tax is calculated just on inventory amount?
    4)     DO I have to put total in amount field (meaning inventory amount + fright ) or not .
    I will be grateful if someone can guide me towards right direction. Please give me a detailed answer. How does it work???
    Thanks
    Kavita Reddy

    in standard setting the freight amount gets debit in the stock or inventoy account and gets credit in the fright accoutn at the time fo gr so it means the amount of frieght is gettting invenotrised
    now at the time of IV IN MIRO SYSTEM CREDITS THE VENDOR ACCOUNT AND DEBITS THE GR/IR account
    if u want to settele the planned delivery cost then select the laout variant for the planned delivery at item level
    or in case if u want to make use of the unplanned delivery cost then u r doing the right step
    but as u simulate the g/l accounts sytem will debit the inventory or stock account for it  rather then frieght account (i belive so )
    as the uplanned delivery cost may be getting inventorised that is added to the material price
    and as u said u dont want to have tax calulated on the unplanned delivery cost then i suggest u to post it as subsequent debit and there do not make use of the claulate tax option or do the direct posting for the g/l account option

  • 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

  • How to get rid of "Delivery costs have not been cleared" status = MM_EKKO

    Hi dear experts,
    During pretreatment of MM_EKKO archiving object (TA: SARA), I get an amazing huge amount of PO position which can not be archived due to "*Delivery costs have not been cleared*".
    I tried several ways to find out how to solve this issue but without any success.
    Point is that we do not clear delivery cost regarding those PO positions, but delivery cost are transfered directly to a global account.
    It means that those PO's won't never be cleared.
    Any ideas about how I can fix this issue?
    Best regards,
    Daniel

    Yep,
    no idea why, but when I uncheck the "Final Invoice" box save and went back into the same PO and check again the same "Final Invoice" box, then, as a miracle, SARA=>MM_EKKO=> Pretreatment knows that this document is cleared and can be archived.
    It is just that for now, really old PO's are located in the present residence time
    I hope this slyness will help someone else one day.
    Regards,
    Daniel
    Edited by: Daniel Putzschler on Jul 28, 2009 2:02 PM

  • Goods and delivery cost processing at one instance through MIRO

    Hello,
    Is there any possibility of doing bill wise MIRO for both goods and planned delivery cost in a single screen apart from refering PO and option goods+planned delivery cost?
    The scenario is; vendor is common for both goods and delivery cost,organization want to pass MIRO bill wise for goods and delivery cost at same instance.
    Regards

    Hi
    The scenario is; vendor is common for both goods and delivery cost,organization want to pass MIRO bill wise for goods and delivery cost at same instance.
    If vendor is same we can do it for multiple Po at same instance in MIRO,what Mr, Bijay Kumar said ,follow this
    Regards
    Kailas ugale

  • How can I order more than one project to save on delivery costs?

    Is it possible to order more than one project (book) in iPhoto at the same time to save on delivery costs? I have several to order and I dont want to get hit for £5.99 three time if possible. I cant see how to do it or even if this is possible. Any guidance would be much appreciated.
    Regards,
    Andy

    You can only order identical projects on one order. If they are different then a seperate order is required
    LN

  • 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

  • While invoice verification system calculating tax on delivery costs also

    hi Guru's
       i am facing problem that , wile invoice verification system calculating tax on delivery costs also , and when i am removing tax code in front of dilivery costs , invoice is not posting , i can use zero tax code for delivery costs , but i dont want to use  any tax code for delivery cost , what should i do 
          please help

    HI,
    invoice is not posting , i can use zero tax code for delivery costs , but i don't want to use any tax code for delivery cost , what should i do
    You have to use tax code for that with ZERO tax code,its like import condition where we used zero tax code
    No other option!!!
    Regards
    Kailas Ugale

Maybe you are looking for