IDOC INVOIC/FI, why is vendor line item always at the end?

Hi,
I implement an IDOC/EDI solution where some invoices are sent directly to FI module using INVOIC FI message, in SAP R/3 4.7.
Normally, when such invoice is posted manually in the system (e.g. tcode FB01) the users enter vendor line item at the beginning of the FI document(item 001).
When the invoice is posted from IDOC, the vendor line item is always appended by the system as the last item in the FI document which is 'unnatural' for the end users.
After tracing the code in function module IDOC_INPUT_INVOIC_FI        
I can see that vendor line item is counted as '1' in internal table beleg_daten[] throught the processing of IDOC. But at the end, in FORM VERARBEITUNG_BELEGENDE, when data is moved from beleg_daten[] to fb01_daten[] and vendor data is always appended as the last line item to be posted here.                                     
Do you have any similar experience and an idea how to influence this behaviour, to get the vendor line item
posted as item 001 in FI document, from IDOC?                         
Kind regards,
Michal Kunze

Hello Michal,
looking to the logic of LIEDIF31 i'm in doubt if you can change this behaviour. the logic loops through the line items of the IDOC, preparing to splitt the document at 949 line items. So they have to add the single amounts  for the vendor line - to get a balanced document.
Regards Wolfgang

Similar Messages

  • How to change the amount of Vendor Line Item in FB60

    Hi all,
    I want to post the invoice in SAP with FB60. The journal is as follow:
    Dr. Expense    1000 USD
    Dr. VAT-Input    100 USD
          Cr. Account Payable     1100 USD
    But the problem, the amount of Account payable is 1000 USD. Because I want to fill the amount in vendor line item (FB60) with the original expense (1000 USD).
    I want to ask, there is any configuration in SAP to change the amount in vendor line item which it could be the same with amount of the original expense.
    If you ever have same problems, plase share with me
    Thanks,
    John

    Hi,
    Thanks for your reply. The result of posting invoice that I want is as follow:
    Dr. Expense    1000 USD
    Dr. Vat - Input    100 USD
    Cr. Account Payable   1100 USD
    When posting invoices in FB60, there is a filed "amount vendor line item" at the top. Usually the field is filled with amount vendor 1100 USD, but I want to fill it with the expense amount (1000 USD). Which can be show the account payable 1100 USD.
    Is there any configuration to change the field "amount vendor line item" ?
    Thanks,

  • BLOCKING THE PAYMENT TO VENDOR LINE ITEM IN APP

    I am doing  APP Run in F110.  Here I want to block one vendor line item.  In the Edit proposal button I tried to block the line item.  But system is throughing a Error messeage saying that You cannot block the payment in proposal run.
    Can any one pls help in this regard.

    hi seshagiri,
    In <b>F110 </b>while running the Payment Proposal click on that and u can see the list of the invoices to to clear and select the line item whcih u want to block and Double click on it. The window popups and ask for the Payment block in that select the Payment block as A to blokc the invoicess and then continue it. Save it
    Again get back to the previious page and press enter .
    then only the opne invoices will be cleared in that.
    AGain if u want to release that invoices then go to <b>MRBR </b>and slect the invoices and release from there.
    Assign the points if usefulll
    Ranjit

  • Regarding FBL1N(vendor line items)

    hi experts ,
    I have to display the opening balance(balance carried forward) with vendor line items ,I found the table n field name but don't know how to display in header or in <b>ALV</b> list.
    table name is <b>LFC1-UMSAV</b>.
    ldb is <b>KDF</b>.
    hope u understood the problem if no the pl ask for more clearification.
    thanks & rgds
    Abaper

    Hi,
    do it in line item:
    instead of belnr -  give out 'op.balance'  and
    instead of bsik-wrbtr - lfc1-umsav in your alv-table
    A.
    Message was edited by:
            Andreas Mann

  • GL & Vendor Line Item Display

    Dear Forum,
    The users want to display the Vendor Codes in the GL Line Item Display to reflect the corresponding vendor related to the expense in the GL line item and also want the GL Code to be displayed in the Vendor Line Item to reflect the nature of expense incurred thru that vendor. Are there any standard reports that could provide the details in this manner. Oherwsie how could we change the layout of the GL and Vendor line item Reports.
    Thanks for the help.
    Regards,
    Moderator: Please, search SDN before posting. This question has been answered 2-3 times only last week, not speaking about more recent period (as already mentioned by our SAP colleague)

    HEllo,
    In flb3n you can  do this by using the offsetting account logic which is explained in details in the SAP Note 112312.
    This way you can see vendor/customer information in the Line items report for GL ACcounts.    
    This issue has been discussed several times before. If you search the forum you'll see the replies.
    REgards,
    REnan

  • Vendor line item reports

    In vendor line item reports I want plant field.
    How can I add this field to my report screen. In my dynamic selections it is not available.
    thanks and regards

    Hi,
    If a field in FBL1N is not filled it might be because the field has to be created as a special field.
    In the Line item Display list in FBL1N follow this menu path: Settings -> Special fields, and add the fields you want from relevant table.
    The fields are later available for display,and you can choose them from the Line item Display list following this menu: Settings -> Display variant -> Current. From the hidden list you can now choose the fields you want to have shown. If the technical name is shown for the fields, the special fields are all starting with '1-U_'. It's important, that you add the Special field, if the field also exist as Standard field.
    The Special fields are shown in the buttom of the Hiddden list.
    Please also read the solution part of note 215798 for some very import- ant steps to be aware of.
    But, for having a field shown in the vendor Line Item Display (FBL1N) the field has to exist in the vendor Line Item. If this is not the case, you will evt. be able to see the field in FBL1N by using Offsetting account info.
    Check if field WERKS is in the structures RFPOS and RFPOSX. If not, then you need to add the field to the structures RFPOS and RFPOSX. When the structures have been extended with the field then you need to run the reports  RFPOSXEXTEND and BALVBUFDEL (in the same way as seen in the solution part in note 215798).
    Please assign points if it useful
    Regards
    Ravinagh Boni

  • Which data sources Can i use for Vendor line items

    Dear Experts,
    I want to load the Vendor Line Items Data.In Rsa5 I found
    0fi_ap_3: Vendors: Line Items
    0fi_ap_4: Vendors: Line Items with Delta Extrcation
    0fi_ap_30: Vendor Line Items
    What is the differences of the 3 Datasources.
    Which Datasource  can i use.In my R/3 side they used EHP3.
    Could you please guide me what is the use of EHP3. What Cude and Dso can I use.
    Thanks in Advance.
    Regards,
    Srinivasan.

    Dear Kulakarni,
    I found few of my fields in 0FI_AP_4.I did n't find few fields can i enhance the Datasourse.
    What is the respective Cube for that  Datasourse.
    I check  0AP_30,but in Business Content that cube is not available.
    Could you please give me guidance.
    Thanks in Advance,
    Srinivasan.

  • Vendor line item due date error

    I found the net due date in vendor line item report is not correct. vendor payment term is 30 days, accounting document posting date is Jan1. 2010,but net due date is Jan.1.2010, it should be 1.Feb,2010.
    why system calculate wrongly? Thanks

    Is it a credit memo ?
    For a credit memo the due date is the baseline date. This is the default rule. If you want that the credit memo is taken in account with payment terms, you must either link it to an invoice by filling the field REBZG with the invoice number either put the constant 'V' in the same field (REBZG). With 'V' in REBZG, the credit memo is taken in F110 according to its payment term.
    see documentation of data element REBZG.

  • Multiple vendor line items in MIR7

    Hi,
    Is there a way that I can post various vendor line items in MIR7 like the one in FB60 which is via complex posting?
    Thanks,
    Chaikaru

    >
    chaikaru wrote:
    > Hi,
    >
    > Is there a way that I can post various vendor line items in MIR7 like the one in FB60 which is via complex posting?
    >
    > Thanks,
    > Chaikaru
    Yes why not, if you are doing invoicing against multiple line items, you can assign each line to different vendor, to accomplish this, you need to click on DETAILS tab of invoice header and in INV.PARTY put in the vendor number and save.
    Same process you do with other line with different vendor number.
    Edited by: Afshad Irani on Jun 3, 2010 4:04 PM
    Edited by: Afshad Irani on Jun 3, 2010 4:04 PM

  • Withholding tax amount exceeds the customer/vendor line item amount

    Hi experts
    I am having one problem please help me
    My user created one down payment, entry is like this
    Vendor Dr-193914
    To TDS     3878
    To Bank   190036
    After this he has booked MIRO  with the same value 193914 & has deducted TDS 3878 over that invoice
    Now when he is going to adjjust that down payment against that MIRO with specific line item 62
    system is throwing that error.
    Withholding tax amount exceeds the customer/vendor line item amount 002
    Message no. 7Q321
    I checked invoice booked correctly & TDS also dedcuted properly why system is throwing that error message
    please help me
    Regards
    Nitin Shukla

    Hi Madhu
    thanks  a lot for instant reply
    We are using F-54 Down Payment adjustment at this time we are facing problem & we are clearing against invoice
    & with specific line item
    For Eg. 5100001596  & line item - 53
    Regards
    Nitin Shukla

  • Wht tax amount exceeds the customer/vendor line item amount 001Mess no7Q321

    Dear Experts,
    We are also getting same error in production"Withholding tax amount exceeds the customer/vendor line item amount 001 Message no. 7Q321"
    Please gudie me how to resolve this issue, while posting vendor invoice in T-code - F-43 i am getting bellow error message why because we client requirement is accumulation activity required so is there any solution for this with out changing accumulation activity.
    We need to use this accumulation activity.
    I would be greatful if you could help us to resolve this issue.
    thanks
    Seshu

    If its relating to TRM- Transaction manager, please implement note no " 1961340 - Calculation of withholding tax for 2nd or 3rd local currency "
    Regards
    Anil

  • Invoice receipt paid against wrong line item on PO

    We have a purchase order with two line items that have an invoice posted and paid against it that should have gone to different line items in the PO.  These will never clear because the GR was completed and posted on the correct line item, now we have invoice receipts greater than goods receipts, and ordered quantity on the two line items erroneously.
    How can I move that invoice and payment to the correct line item?  If the check was paying more than that one invoice I am hesitant to reverse the payment document and the invoice receipt to move it all.  Can I post subsequent debit/credit against the line items?  Can I process a debit/crtedit note to clear this up?
    What is the best solution

    When I go in and try to post a subsequent credit, it is trying to post against the GR/IR account.  It should not choose that account, it should all go against the vendor account.
    It is coming through like this:
    210210    Vendor Acct    9576.54
    650000    Supplies          -7274.36
    24910          GR/IR              -351.18
    650000    Supplies          -1951.00
    I need the entire amount to post to supplies.  Why line 1 went correctly and line 2 split I don't understand
    I have 2 line items on the PO/Invoice I am trying to move
    One line item for: 7274.36 and the other for 2302.18
    Can anyone help?

  • Report: Vendor Line Items

    Hello Everyone,
    I would like to know, is there any report available with Vendor Line items with P.org and Plant, when i check the report FBL1N, there is no field available for P.org, and Plant field is available but plant is not getting updated.
    Actually there are some entries posted with reference to Purchase order (FB60), so my client wanted to get all the Vendor balances (Invoice as well as Payments) in one report with purchase details (P.Org and Plant)
    Regards
    Sudheer

    Hi Iqbal,
    Thanks for reply, with this reports which ever you send me, I can not get the detials FB60 line items, I need both documents (purchase related and non purchase related-FB60) in one report.
    Thanks

  • Profit Center on Vendor Line Item - When other line item is Bank

    Dear Experts,
    We have a peculiar problem here.  Recently we went live with SAP ECC6.0.  On the date of migration one cheque was issued to a Vendor who did not presented the same into Bank.  The Cheque is now expired and we need to pass an entry into SAP as -
    Debit 40 Bank Account $100
    Credit 37 Other Clearing Vendor $100
    The Vendor re-invoicing cannot be done as we cannot hit the Expense GL.
    The core problem is that at the time of Vendor line item we cannot manually enter the Profit Center.
    We have Doc Splitting activated and Profit Centers are mandatory.
    If we decide to set the default Profit Centers for the concerned Reconciliation Account ALL of the goin forward postings, would hit this default PC.
    Please Help
    Thanks so much.

    Hi,
    I think you maintained the Document Splitting settings correctly, if the system is not allowing to clear the invoice u directly enter profit center in F-53
    there is a option to enter profit center
    if still system is not allowing to post you post by using F-02 and take document type as KA then it will allow to save the entry. you clear the both transactions by using F-44
    making the default profit centers to reconciliation account is not suggestible, if your company is having operations in one area then you can use this will be possible in IMG - controlling - profit center accounting - assign profit center
    I think it may help u and be careful and take authorizations from your superiors
    All the Best

  • Multiple Vendor Line item in FB60

    Hi Friends,
      It may be simple question but I stucked with it.
    I want to split a Vendor Invoice document in FB60(Enjoy Transactions.) by using special Indicator for Retention amount.
    You will be clear from below example :---
            Inventory Rawmaterial   a/c   DR 1,00,000
                   TO Vendor      a/c                       90,000
                   TO Vendor   a/c(Special GL a.c)  10,000
    I need to post above document in FB60 but not F-43.
    Here my question is how to split vendor line items while posting of document in FB60.
    Thanks in advance.
    Kiran Konujula

    Hi Kiran,
    In my previous project we had retention and we have created payment term with installment payment.this will solve your problem.
    Goto OBB8 T.code and create a payment term with installment payment (check this check box) and then goto OBB9 t.code to configure installment.
    enter as follow
    payment term   installment  percentage
    0001                       1          90
    0001                       2          10
    do the testing and let me know if you need some more information.
    Thanks,
    Rau

Maybe you are looking for

  • Error 5002 when trying to look at iTunes Plus

    I just bought a new MBP, and since I used my education discount, I got a $100 gift card to use in the App Store/iTunes/etc. I have a bunch of songs I bought back when iTunes had DRM, so I was going to use this money to upgrade some of those purchases

  • UnixODBC and Oracle 11g

    OK, Well I have been running into issue trying to get ODBC to function on our Oracle Enterprise Linux Server. I have gotten all the way where I can connect to the Database via isql and DataManager however anything I do gives me this error. [ISQL]ERRO

  • I thought H.264 was DVD compliant!?

    When i export my video as a H.264 compressed quicktime movie with no sound, why is DVD Studio Pro telling me it is an incompatible format when I import it? I just don't get it.

  • BAPI or FM for settlement rule

    Has anybody an idea how to cretate/update/delete the settlement rules of a production order via BAPI or FM? Thanks Raadha

  • Can universe connect to restful web service which is not soap based

    Can universe connect to restful webservice? I know it is allowed to connect to SOAP webservice. Currently is using WSDL1.1. How about restful web service which does not have any wsdl file?