F5119 - Line item has incorrect Dr/Cr indicator for remaining amount

Hi Guys,
I am trying to execute F-30 transaction and for some cases I got the below message:
Message no. F5119: "Line item has incorrect Dr/Cr indicator for remaining amount"
All the posting I am posting some value on the residual items.
But this situation is so strange because occurs just some times. The account that I am posting the residual is the same.
The situation is the same, but for same cases this error happens.
Let me know if you have any idea.
Thanks

Hi Guys,
I could see that there is any relationship with the value once when I change this one the error don't ocurr.
Is there any configuration related to that? residual? % of residual?
Thanks

Similar Messages

  • Line item has incorrect Dr/Cr indicator for remaining amount

    Hi all,
    When I tried  to clear the vendor payment in T.Code F-44, there are some exchange rate differences.So I used GL account to  the difference amount for the automatic posting. And also already defined the GL account in OBA1, under key KDF. But there is no posting rules to be defined. Where the Dr/Cr indicator has be defined?. Because while simulating the document I got the error "Line item has incorrect Dr/Cr indicator for remaining amount"
    I need help please.

    Hi,
    If you have defined the GL in OBA1 - KDF. Now double click on that GL, and assign Exchange Rate Diff a/c as gain and Loss
    in Valuation tab page, also define Val Loss 1 and Val Loss 2 and Balance sheet adj. 1 account also.
    I hope this found useful to you.
    Regards,
    jigar

  • How to distinguish what GR line item has been parked invoice document by MIR7

    Hi Experts,
    I use work flow to release MM invoice parked by MIR7. But I get trouble with PO with many GR line items (example: PO shipment cost, PO stationery ...) where we need to match consecutive many invoices from one PO. Normally, when matching invoice by MIRO, amount an quanlity will be minused, we can continue to match invoice by exist line items. But now, when we parked first invoice  to one line item (invoice not be released), amount and quanlity also display old value in second invoice  for this line item, user cannot distinguish what line item has been mached invoice and waiting released, this is difficult to working. Please give me solution to distinguish what line item has been parked invoice in t-code MIR7?
    Thanks

    I think what you describe is standar system behaviour. You nee to re-think how you use Invoice Parking  workflow - it is meant to manage incomplete documents, not for invoice release. You need to first post invoice doucument, only than open invoice qunatities will be updated and depending on tollerance limits and other setting release invoice for payment.

  • How to give line items in flatfile while doing BDC for Table control

    Hi all,
    I am writing BDC for Multiple line items and Transaction  is : FSE5N.
    How do i give the data in the flat file. I mean how do we give the multiple line items in flat file , i.e for second line item again we have to header data or not ?
    ex:
    1015;ALL;demo;kr;INR;01;0001;3000172;100
    1015;ALL;demo;kr;INR;01;0001;3000172;200
    for first lineitem  : 3000172;100
    for 2nd line item : 3000172; 200.
    header data : 1015;ALL;demo;kr;INR;01;0001.
    Thanks in advance
    krupali

    Hii ,
    u can give in the same format as u have done in the example.
    A       B    C     D  E    F   G        H          I
    1015;ALL;demo;kr;INR;01;0001;3000172;100
    1015;ALL;demo;kr;INR;01;0001;3000172;200
    and while writing the loop u can give
    loop at it_head.
    loop at it_head where a = it_head-A and b = it_head-B ..........upto G = it_head-G.
      endloop.
    endloop.
    check this
    http://www.sap-img.com/abap/bdc-example-using-table-control-in-bdc.htm
    Neeraj

  • PO line item displaying incorrectly from contract

    I have an issue with a line item on a purchase order that is pulled from a contract.  On the contract the item is priced at $75.50 USD and the price unit is PER 100 EA.
    When this line item transfers to the PO it shows a price of 76 cents, but it calculates at a rate of .755.  The line item total is $3.02 for a quantity of 4 (.755 X 4) , but give the fact that the line shows .76 there is a disconnect on the total.  The client expects to see $3.04 (.76 X 4).
    I have noticed is there is no rounding issue for items that have a price unit of PER 1 EA.
    I am not sure if this is an issue with the price condition load for the contact or another issue.  Has anybody experience as situation similar to this, or have any suggestions? 
    Any help would be greatly appreciated.
    Regards,
    Bill Davis

    Thanks Yann,
    This note fixed the issue.  Sorry for taking so long to reply.  I had to get the note extended for SRM 5.0 and that took a little time.
    Regards,
    Bill

  • Terms of Payment Key in line item with Special G/L Indicator

    Hi All,
    Displaying the line item of a financial document with Special G/L Indicator,
    I can't see the Terms of Payment Key (BSEG-ZTERM).
    Could anyone tell me how to make it shown?
    Thanks
    G.

    Hi:
            BSEG-ZTERM is not contained by SAP standard dynpro:SAPMF05A 304 and hence it is not possible to display payment term in down payments with special GLs indicator, The reason being that the terms of payment not only control the due date but
    also the cash discount terms. Hence it is not feasible to display terms of payment in Down payments. DP forms part of balance sheet and hence it is not system design to display payment terms with special GL indicator, Hope it will help you.
    Regards

  • Default payment block for line item generated with Special GL Indicator

    Hi
    I want to make default of vendor line item which is generated through a special gl indicator

    Hi,
    You can try substitution.
    Best Regards,
    Madhu

  • Sales Order Line Item Open But Many Fields Locked for Updating

    Hi All,
    I'm quite a novice with Business One, but I'm testing sales order processing, and I've got a SO with 3 of 4 closed line items.  The one open line item, which is a backorder, does not allow me to update the WHSE, Log Import, nor Free Text fields, which I'd like to be able to do.  We're not using B1 like it should be used and to introduce the Pick & Pack Manager would be overwhelming for how they're processing orders right now.  Is there a way to open up these fields while the line item remains open?
    Thanks in advance,
    gail

    I found out that the fields are open as long as the Delivery Note has not been created against the SO.
    Edited by: gnyukawa on Apr 1, 2010 9:46 PM

  • More than 1 line items in bdc using table controls for BOM

    Hi....
    how do u update more than one line item for BOM using BDC table control.......
    is there any specific command for doing that.......
    hav tried d following code bt it takes the flatfile i/p FOR 2 LINE ITEMS as 2 different BOM'S.....
    would appreciate ur help....plz provide code.............
    REPORT zbdc4_cs01
           NO STANDARD PAGE HEADING LINE-SIZE 255.
    INCLUDE bdcrecx1.
    DATA : a TYPE i,
           b type i,
           c type i.
    DATA : BEGIN OF it_rec OCCURS 0,
           rec(200) TYPE c,
           END OF it_rec.
    DATA : BEGIN OF ctab OCCURS 0,
           matnr(18),
           werks(4),
           stlan(1),
           END OF ctab.
    DATA : BEGIN OF xtab OCCURS 0,
           idnrk(18),
           menge(13),
           postp(1),
           END OF xtab.
    DATA : BEGIN OF itab OCCURS 0,
           matnr(18),
           werks(4),
           stlan(1),
           idnrk(18),
           menge(13),
           postp(1),
           END OF itab.
    START-OF-SELECTION.
      CALL FUNCTION 'GUI_UPLOAD'
        EXPORTING
          filename            = 'C:/TEST4.TXT'
          filetype            = 'ASC'
          has_field_separator = 'X'
        TABLES
          data_tab            = it_rec.
      LOOP AT  it_rec.
        a = strlen( it_rec-rec ).
        if a = 55.
        itab-matnr = it_rec-rec+0(18).
        itab-werks = it_rec-rec+18(4).
        itab-stlan = it_rec-rec+22(1).
        itab-idnrk = it_rec-rec+23(18).
        itab-menge = it_rec-rec+41(13).
        itab-postp = it_rec-rec+54(1).
        APPEND itab.
        elseif a > 55.
        itab-matnr = it_rec-rec+0(18).
        itab-werks = it_rec-rec+18(4).
        itab-stlan = it_rec-rec+22(1).
        itab-idnrk = it_rec-rec+23(18).
        itab-menge = it_rec-rec+41(13).
        itab-postp = it_rec-rec+54(1).
        APPEND itab.
        itab-idnrk = it_rec-rec+55(18).
        itab-menge = it_rec-rec+73(13).
        itab-postp = it_rec-rec+86(1).
        APPEND itab.
        endif.
      ENDLOOP.
      PERFORM open_group.
      LOOP AT itab.
        PERFORM bdc_dynpro      USING 'SAPLCSDI' '0100'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'RC29N-STLAN'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '/00'.
        PERFORM bdc_field       USING 'RC29N-MATNR'
                                       itab-matnr.           "'3000000107'.
        PERFORM bdc_field       USING 'RC29N-WERKS'
                                       itab-werks.              "'UN02'.
        PERFORM bdc_field       USING 'RC29N-STLAN'
                                       itab-stlan.              "'1'.
        PERFORM bdc_field       USING 'RC29N-STLAL'
        PERFORM bdc_field       USING 'RC29N-DATUV'
                                      '11.08.2008'.
        PERFORM bdc_dynpro      USING 'SAPLCSDI' '0110'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '/00'.
        PERFORM bdc_field       USING 'RC29K-BMENG'
                                      '1'.
        PERFORM bdc_field       USING 'RC29K-STLST'
                                      '1'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'RC29K-EXSTL'.
        PERFORM bdc_dynpro      USING 'SAPLCSDI' '0111'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'RC29K-LABOR'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '/00'.
        PERFORM bdc_dynpro      USING 'SAPLCSDI' '0140'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'RC29P-POSTP(01)'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '/00'.
        PERFORM bdc_field       USING 'RC29P-IDNRK(01)'
                                       itab-idnrk.             "'1000000232'.
        PERFORM bdc_field       USING 'RC29P-MENGE(01)'
                                       itab-menge.              "'100'.
        PERFORM bdc_field       USING 'RC29P-POSTP(01)'
                                       itab-postp.             "'L'.
        PERFORM bdc_dynpro      USING 'SAPLCSDI' '0130'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '/00'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'RC29P-POSNR'.
        PERFORM bdc_field       USING 'RC29P-POSNR'
                                      '0010'.
        PERFORM bdc_field       USING 'RC29P-IDNRK'
                                      '1000000232'.
        PERFORM bdc_field       USING 'RC29P-MENGE'
                                      '100'.
        PERFORM bdc_field       USING 'RC29P-MEINS'
                                      'KG'.
        PERFORM bdc_dynpro      USING 'SAPLCSDI' '0131'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '/00'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'RC29P-POTX1'.
        PERFORM bdc_field       USING 'RC29P-SANKA'
                                      'X'.
        PERFORM bdc_dynpro      USING 'SAPLCSDI' '0140'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'RC29P-POSNR(01)'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '/00'.
        PERFORM bdc_dynpro      USING 'SAPLCSDI' '0140'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'RC29P-POSNR(01)'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '=FCBU'.
        PERFORM bdc_transaction USING 'CS01'.
      ENDLOOP.
      PERFORM close_group.

    Hi
    Check this sample code for the Table Control in BDC:
    data: fnam(20) type c.
    move 1 to id.
        loop at TI_STAGING WHERE VENDOR = IT_STAGING-VENDOR AND DOCDATE = IT_STAGING-DOCDATE.
          concatenate 'RM06E-EPSTP(0' id ')' into fnam.
          perform bdc_field       using fnam TI_STAGING-itmcategory.
          concatenate 'EKPO-KNTTP(0' id ')' into fnam.
          perform bdc_field       using fnam TI_STAGING-accassignment.
          concatenate 'EKPO-EMATN(0' id ')' into fnam.
          perform bdc_field       using fnam TI_STAGING-material.
          concatenate 'EKPO-TXZ01(0' id ')' into fnam.
          perform bdc_field       using fnam TI_STAGING-shortxt.
          quan = ti_staging-poqty.
          concatenate 'EKPO-MENGE(0' id ')' into fnam.
          perform bdc_field       using fnam quan.
          concatenate 'RM06E-EEIND(0' id ')' into fnam.
          perform bdc_field       using fnam TI_STAGING-deliverydate.
          netpr = ti_staging-netpr.
          concatenate 'EKPO-NETPR(0' id ')' into fnam.
          perform bdc_field       using fnam netpr.
          concatenate 'EKPO-MATKL(0' id ')' into fnam.
          perform bdc_field       using fnam TI_STAGING-mategroup.
          concatenate 'EKPO-WERKS(0' id ')' into fnam.
          perform bdc_field       using fnam TI_STAGING-plant.
          ID = ID + 1.
        ENDLOOP.
    Regards,
    Vishwa.

  • Free of Charge indicator in Purchase Order / Line item

    Dear All,
    Is there a table where i could locate if a particular purchase order / line item has the FOC tick maintained. I went through quite a few tables and am unable to locate the same.
    Or is there any other logic from which i could derive if a particular Purchase Order / Line item is FOC or not.
    Shall await a reply
    thanks
    shabeen buhary

    Dear,
    The 'Free Items' indicator in the overview is only used to facilitate the switching off of the Inv.Receipt flag and the GR-based IV flag.
    Note that the 'Free Items' indicator is not stored on the PO item table EKPO.
    The Inv.Receipt flag (and the GR-based IV flag) are the fields that really controls if an item is 'free' or not.
    So, the field is initiated based on the values in those fields rather than from input from the user.
    When an invoice is expected it's not a free-item. This indicator invoice receipt is chosen from the main-item and also from the
    customization maintained for item category 0 in table T163.
    Regards,
    Syed Hussain.

  • ME22N : Change PO Line item to Display Mode, After All quantity has GRN

    Hi Experts,
    In ME22N,  PO change mode if the line item has checked with 'Delivery Completed' Indicator in 'Delivery' tab I want to shows that row always in 'Display' mode. Please help me to modify that table control within the exit. I'm using,
    Enhancement : MM06E005
    Exit Name : EXIT_SAPMM06E_012
    Regards,
    Rajasekaran.S

    Hi Raja,
    Think that this is a late reply but might be helpfull to others.
    To make an item in display only mode you will have to create an enhancement implementation in the below method,
    Class --> CL_TABLE_VIEW_MM
    method -->MODIFY_SCREEN_TC_LINE
    in implicit enhancement at the end of this method i code as below.
    data : lv_ekpo type ekpo.
    if <DYN_DATA> is assigned.
    move-corresponding <DYN_DATA> to lv_ekpo.
    if lv_ekpo-XXX is not initial.
    loop at screen.
      screen-input = 0.
      modify screen.
      endloop.
    endif.
    hope this helps.
    If you have a better solution kindly share the same.
    Regards,
    Taher

  • XVBAP has the new line item but does not update Sales Order

    Hi
    I need to update the sales order with a new line item when the line item has a base unit of measure as the sales unit. I need to then convert the base unit to sales unit with a whole figure and the rest can be in the base unit.
    I am able to see the update in the xvbap but the line item doesn't get updated.
    I am puting this code in a perform within
    MV45AFZB  within   Form  USEREXIT_CHECK_VBAP
    But I guess I am doing something wrong can someone please take a look at it and tell me what is wrong with the coding.
    *&  Include       ZSD_CREATE_NEW_LINE_ITEM              *
    *&      Form  create_new_line_item
          text
    -->  p1        text
    <--  p2        text
    FORM CREATE_NEW_LINE_ITEM .
      CONSTANTS: C_MEINH LIKE MARM-MEINH VALUE 'CSE'.
    Variables Used
      DATA: WS_WMENG LIKE VBEP-WMENG.
      DATA: INPUT  LIKE VBAP-KWMENG,
            WS_EA  LIKE VBAP-KWMENG,
            WS_CSE LIKE VBAP-KWMENG.
      DATA: WS_MVKE_VRKME LIKE MVKE-VRKME.
    Internal Tables and Structures
      DATA: WS_XVBAP LIKE XVBAP.
    DATA:
    it_vbap  LIKE vbap OCCURS 0 WITH HEADER LINE,
    it_vbep  LIKE vbep OCCURS 0 WITH HEADER LINE,
    it_xvbap LIKE vbapvb OCCURS 0 WITH HEADER LINE.
      DATA: BEGIN OF WS_MARM,
              MEINH LIKE MARM-MEINH,
              UMREZ LIKE MARM-UMREZ,
              UMREN LIKE MARM-UMREN,
            END OF WS_MARM.
      CLEAR WS_MVKE_VRKME.
      SELECT SINGLE VRKME INTO WS_MVKE_VRKME
        FROM MVKE
        WHERE MATNR EQ XVBAP-MATNR
        AND   VKORG EQ XVBAK-VKORG
        AND   VTWEG EQ XVBAK-VTWEG.
      IF VBAP-VRKME <> WS_MVKE_VRKME.
       LOOP AT XVBAP.
          SELECT SINGLE MEINH UMREZ UMREN
            FROM MARM
            INTO WS_MARM
            WHERE MATNR = VBAP-MATNR
            AND   MEINH = WS_MVKE_VRKME.
          IF XVBAP-MEINS <> WS_MVKE_VRKME.
            IF NOT XVBAP-KWMENG = 0.
              WS_WMENG = XVBAP-KWMENG / WS_MARM-UMREZ.
              IF WS_WMENG > 1.
    This means that the line item needs to be split into CSE & EA
                  INPUT  = XVBAP-KWMENG.
                  WS_EA  = INPUT / WS_MARM-UMREZ.
                  WS_CSE = WS_EA.
                  WS_EA  = WS_CSE * WS_MARM-UMREZ.
                  WS_EA  = INPUT - WS_EA.
    Now we have the qty. split into EA & CSE. Now to
    assign it to xvbap
                  XVBAP-KWMENG = WS_EA.
                  XVBAP-VRKME  = WS_MVKE_VRKME.
              READ TABLE XVBAP WITH KEY POSNR = XVBAP-POSNR.
                MODIFY XVBAP INDEX SY-TABIX.
                  WS_XVBAP = XVBAP.
                  WS_XVBAP-KWMENG = WS_CSE.
                MOVE-CORRESPONDING WS_XVBAP TO XVBAP.
                INSERT XVBAP INDEX SY-TABIX.
              ENDIF.
            ENDIF.
          ENDIF.
      ENDIF.     " IF xvbap-vrkme 'EA'.
    ENDFORM.    " create_new_line_item

    Hi Clark,
    Pls check the Include MV45AFZZ instead of the one which you are using . Here in this include MV45AFZZ you can have access to the Header and Line items data .
    Here in this include
          FORM USEREXIT_SAVE_DOCUMENT                                   *
          This userexit can be used to save data in additional tables   *
          when a document is saved.                                     *
          If field T180-TRTYP contents 'H', the document will be        *
          created, else it will be changed.                             *
          This form is called at from form BELEG_SICHERN, before COMMIT *
    form userexit_save_document.
    Endform.
    Either you can write the code you want to update the XVABP table here or you can use the form .
          FORM USEREXIT_MOVE_FIELD_TO_VBAP                              *
          This userexit can be used to move some fields into the sales  *
          dokument item workaerea VBAP                                  *
          SVBAP-TABIX = 0:  Create item                                 *
          SVBAP-TABIX > 0:  Change item                                 *
          This form is called at the end of form VBAP_FUELLEN.          *
    form userexit_move_field_to_vbap.
    endform.
    This are the 2 performs in this include where you can do you code and it will defnitely solve your problem.
    Good Luck to you . Let me know if your problem get solved.
    Thanks & Regards,
    Naidu.

  • GL line item not show reverse indicator

    Hi Guru !
    I have problem about GL account that assign account management to be line item so when post entry and reverse entry by use this GL account ,when I see report on t.code FBL3N-GL line item ,they did not show indicator of reverse entry so it difficult to check so I would like this report to reverse indicator or there are some report that can show it . thank you very much.
    Bluesky

    Hi,
    Please check the document type which is used for posting the document. For the document type, the check "Negative posting Allowed" might have been ticked. as a result new line item is not posted. The original line item itself is reversed. May be this is the reason why you are not getting the reversal document.
    Thanks,
    Aman

  • Amount in Bar Code is incorrect;Amount in the line item can be used instead

    We have a problem in our Brazil company code.
    When we have a document with value higher than 5,000.00 BRL it is subject to Pis/cofins tax. In the Boleto (paper) document the amount is after tax deducted. But we see the full amount in the Vendor line item in SAP
    When the system reads the bar code and saves this code in the vendor line item during the document change we get a warning message no."8B797: Amount in Bar Code is incorrect;Amount in the line item can be used instead".
    And the amount in the Barcode line automatically adjusts itself to the line item amount which is the pre-tax amount (full amount).
    Example: Amount in the SAP Invoice doc is R$ 6,268.72   
                   Amount in Boleto (paper) R$ 5,977.22   (after deducting PIS/COFINS) - This amount appears in the bar code but once we press enter after the warning message it automatically adjusts to R$ 6,268.72 .
    We tried few notes like 784748 to apply but it says it is obsolete. We are on ECC 6.0 Release level 11.
    Regards.,
    Raj/

    answered through SAP note 784748

  • Intercompany billing has 2 line items referring to the same salesorder item

    Hi All,
    I am posting Intercompany billing documents using Idocs. I am using the standard function module that creates INVOICE IDocs, but these Idocs are failing with error text "Document contains same order item more that once".
    The problem lies here, the PO that is been used is a STO (Scheduling Agreement) and the inter company billing the line item has the same material repeated twice but change in the quantity field. So, when I am posting document using Idocs we come across a segment E1EDP01 which has your quantity, weight, line item number and other fields. This segment is getting repeated twice with two different outbound deliveries.
    So, I think the solution is a mixture of both functional and technical....
    So, what I am planning to do here is for this particular material when ever it comes across duplicate entries add all the quantities fields and other numerical fields in the user exit and then refresh the internal table and then enter new entries. This could be done, but I don't know what could be the functional implications if these changes are made.
    Request you all to let me know what exactly needs to done in order to avoid these scenarios.
    Raghuram.

    Hi Raghuram,
    I found a very important SAP Note 103051, details are below.
    An IDoc processed by function module IDOC_INPUT_INVOIC_MM (of category INVOIC01) must not refer to the same purchase order item in several invoice items. This is also valid if for a goods receipt-related invoice verification several delivery notes belong to the same purchase order item.
    Depending on the system settings and the situation, various error messages can occur (for example, FD240 'Order item ... selected more than once' or M8050 'Balance not zero: & debits: & credits: &').
    In this situation module IDOC_INPUT_INVOIC_MRM generates error message M8321 'Document contains same order item more than once'.
    For example, this situation occurs if you work with individual batch valuation and the SD billing document executes a batch split for different batches which belong to the same purchase order item and delivery.
    Other terms
    INVOIC, SAPLIEDI,  M8047, M8, 321
    Reason and Prerequisites
    This is because of the program design.
    Solution
    There is no solution for IDOC_INPUT_INVOIC_MM.
    Module IDOC_INPUT_INVOIC_MRM (only as of Release 4.0) for the logistics invoice verification can distinguish different goods receipts by means of the delivery note number. For this purpose, GR-related invoice verification must be active.
    Owing to this symptom, billing documents for single batch valuation with batch split cannot be settled in MM-EDI inbound processing. The settlement generates exactly the situation described (several invoice items for the same purchase order item). In this case, the only solution is to deactivate the billing of the batch sub-items in SD Customizing and to calculate the main item only.
    Hope this helps.
    Reward if helpful.
    Thanks

Maybe you are looking for