Items of invoice include services from previous invoice of a current case..

Hi colleagues,
I have one problem, I've never faced with that one before.  I have a case and one invoice for the case, for example later I want to add 2 new services and create a new one invoice for these two services - in this case a system creates invoice with these two new services and with all services from previous invoice for the same case with cost 0.
Could you please tell me what might be a reason for this? Has anybody faced with this one?
Thank you very much for your time.
Kind regards,
Alexander.

Hi Alexander
Sorry for my late response, I've been quite busy lately.
Wel, happened to me once in a customer, and I never found the cause of the error. Anyway, I could solve it.
In my case, if you see the field VBRP-ISHBELNRF and VBRP-ISHPOSNRF of the already billed service, points to a NLKZ record that does not exists in NKSP. (or something like that, I dont't remember very well, but truly, there is an inconsistency between what is stored in VBRP-ISHBELNRF and VBRP-ISHPOSNRF and what you see in the insurance verifcation tables)
It seams that, if you use the Standard IV and then the Extended IV, somehow the NLKZ records are grooped into one position of NKSP.
The solution I've found is to filter those already fully billed services before they are processed.
To do so you must enhance the form CHECK_SELECT_SERVICES_xx of the include LN090FXX (XX is the country version, depending on the country version your are using another form could be called)
F p_nfal-abrkz IS NOT INITIAL.
SELECT SINGLE * into lv_zihacase FROM zihacase
   WHERE einri = p_nfal-einri
     AND falnr = p_nfal-falnr.
IF sy-subrc = 0.
  lt_nlei = p_nlei[].
  CLEAR lt_rnabi1.
  REFRESH lt_rnabi1.
  LOOP AT lt_nlei ASSIGNING .
Esta función estándar analiza si la prestación ha sido facturada. Tiene en cuenta anulaciones
    CALL FUNCTION 'ISH_CHECK_ABGERECHNET'
      EXPORTING
        einri               = p_nfal-einri
        falnr               = p_nfal-falnr
        lnrls               = -lnrls
        zeitr               = 'X'
      I_NLEI              =
       DETAILED            = 'X'
      READ_PER_CASE       = 'X'
        read_buffer         = 'X'
      EXACT_ABDAT         = ' '
     IMPORTING
        lei_abger           = lv_abger
     TABLES
        e_rnabi1            = lt_rnabi1
    CHANGING
      HIGH_ABDAT          =
    EXCEPTIONS
      NO_EINRI            = 1
      NO_FALNR            = 2
      NO_LNRLS            = 3
      OTHERS              = 4
    IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
Si el campo LV_ABGER es inicial, quiere decir que no ha sido facturada
    CHECK lv_abger IS NOT INITIAL.
    lv_abmen_p = 0.
    lv_vproz   = 0.
    LOOP AT lt_rnabi1 ASSIGNING -vproz.
    ENDLOOP.
Si hay multicobertura por importe, la cantidad del campo LV_ABMEN_P tiene que sumar 1
Si hay multicobertura por porcentaje, el campo LV_VPROZ debe ser 100
Si se da alguna de estas condiciones, quiere decir que la prestación fue facturada.
se mantiene el >= ya que es posible que, por inconsistncias, las prestacions hayan sido facturadas varias veces.
    IF lv_abmen_p >= 1 OR lv_vproz >= 100.
      DELETE TABLE  p_nlei FROM .
    ENDIF.
  ENDLOOP.
ENDIF.
ENDIF.
I hope it helps.
With best regards
Matías

Similar Messages

  • Partial Payment (Vendor Invoice include Service Tax & TDS)

    Hi
    I m trying to post vendor payment thru F-53 (partial clearing) that includes two bills. one invoice consist of service tax & TDS. when i try clear the partial amount, system is not picking the TDS amount (difference amount it is showing)
    how can  i clear the invoice that includes service tax & TDS.

    Hi,
    When you are posting Partial Payment to Vendor, If any idfference you want to post to separate TDS A/c, Create Reason Codes, and with this reason code post this difference amount to TDS A/c.
    Refer T Codes: OBXL and OBBE
    This solution  may clear your problem.
    Thanks
    Chandra

  • FI - Item text to be copied from MIRO invoice details

    Hi,
    We are using the enhancement LMR1M004 - "Logistics Invoice
    Verification: item text for follow-on" for copying the text from the
    invoice document line item text to the follow-on accounting documents'
    text as suggested in SAP note 837859.
    This is working fine for all the scenarios except for certain
    transaction types like "DIF" (small difference GL account used for MM-
    FI integration),
    Since we have followed the steps mentioned as per the SAP note - could
    you please let us know why this is not working for all the line items?
    SAP note 837859 - says "Exceptions and special cases can be dealt with
    afterwards" - hence please suggest if any OSS notes are applicable in
    our case to resolve this issue.
    Thanks.
    Pavan.

    1) Maintian access seq for the text type.
    2) Add the text ID to the text procedure.
    3) Assign the text procedure to item category.
    Regards,
    GSL.

  • MR 11 not updating the invoicing for services

    Hi All,
    I have a scenario where the client uses MR11 for clearing the invoices.
    He does not use MIRO for invoicing.
    During our observation it is found that using MR11 does not update the invoices for services but the invoices for the material received is updated while checking the reports like ME2N.
    I have checked the Service based IV and the GR based IV in the  invoice tab of PO.
    Can you please advice me as to why this is happening only in case of services.
    Thanks and Regards
    Sridhar.

    Hi Charlie,
    Thank you very much for the response.
    Actually I am looking for the IR reduction and not the GR reduction.
    The note you have mentioned applies for GR reduction.
    Also we are in the ECC 6 environment.
    Please update me with further information.
    Regards
    Sridhar

  • Create Item AR Invoice to Service AR Credit Memo

    Hi Expert,
    Customer is running 2007A PL30. We understanding that it is impossible to copy Item AR Invoice to service AR credit memo. It is customer business practice to issue same AR invoice to all customer for same item and later issue service AR credit memo to customer. Customer wants the item information to be copied to service AR credit memo rather than keying multiple rows to indicate discount given on which items. It is not possible to include discount at original AR invoice.
    Any workaround or solution to solve this problem?
    Regards
    Thomas

    Please note the following:
    Item and Service type documents do not have a one to one match of the row level fields.  So the ItemCode from the AR Invoice could not be copied to a AR Service CM as the ItemCode column is not exposed and these are 2 different types of documents.
    This is what you could do....
    Open the AR Credit Memo...Enter the Customer Code....
    Add a formatted search to the Description field to Display the list of Items and take the Invoice number from the user as a parameter.
    Query same below
    SELECT T0.ItemCode FROM [dbo].[INV1] T0 INNER JOIN [dbo].[OINV] T1 ON T0.DocEntry = T1.DocEntry
    WHERE T1.CardCode = $[$4.0.0.] AND T1.DocNum = '[%0]'

  • Post Invoice for Service Entry with many Service line item-MM-LIV

    Dear All,
    I have a problem to post Invoice for Service Entry with many Service line item. The problem is as follow:
    I have created 1 Service Entry which has 5 Service line item in it. Three of the service line item are subject to Value Added Tax (VAT), the others aren't. Then, i wanted to post Invoice for the Service Entry, however, it just display 1 item which amount in total. How can i segregate each service line item in Service Entry thus i can post Invoice for all Service line item with subject to VAT and all service item with not subject to VAT, if just 1 Service Entry created for it ?
    Please help me.
    Thank You

    Hi Ganda,
    If you mark the 'service based invoice verification' checkbox in your PO item, your service items will be in your invoice as seperate invoice lines. Then you can modify the taxcodes on service item level.
    Kind regards, Dick Hendriks.

  • Derivation of Exch Rate from the invoice item

    Hi
    When we are using F-28 (Incoming Payment)transaction to receive from customer we can receive an amount which is to be applied partially to many line items. In this case when the system creates a residual line item it valuates this item based on the day rate maintained in the system or the document header exch rate. We want the system to derive the rate from the invoice which is being cleared. Please suggest if there is any exit or any substitution exit that can be utilised
    Regards
    Venkat

    hi,
    so you've to split your payment / group by valuta date
    i'd create an abap, which posts the payment and than clears the corresponding item of the invoice.
    (using call transaction)
    A.
    Message was edited by: Andreas Mann

  • Invoice of service entry sheet

    Hi gurus,
    i have created framework purchase order for service material, account assignment : k and item category: d and took 10 quantity of computers of material to be serviced. when i do service entry sheet with reference to the purchase order and reduce the quantity of material from 10 to 3 and save i get service entry sheet no.
    Now when i do the invoice entry with miro and enter purchase order no the systeem is showing only amount and no quantity when i simulate and save the miro is created.
    can you please guide me where would be the mistake created.
    it is very urgent
    regards

    suresh pawar wrote:
    Hi gurus,
    > i have created framework purchase order for service material, account assignment : k and item category: d and took 10 quantity of computers of material to be serviced. when i do service entry sheet with reference to the purchase order and reduce the quantity of material from 10 to 3 and save i get service entry sheet no.
    > Now when i do the invoice entry with miro and enter purchase order no the systeem is showing only amount and no quantity when i simulate and save the miro is created.
    >
    > can you please guide me where would be the mistake created.
    >
    > it is very urgent
    > regards
    HI,
    How can you create the p.o with combination of item catogory "D" and service material item category "D"  will used with out material  only short text will be allowed.
    check it once.
    Thanking you.

  • Delete invoice for Service PO's where SES is not created - MR8M gives error

    Members,
    I have a strange situation at my client. They have created a service PO with S-based IV checked on the Invoice tab of PO. There is no Goods Receipt checked in the Delivey tab of the PO. They did not create any Service Entry Sheet (SES) for the service line items in the PO.
    At the time of invoicing using MIRO, the user invoiced against the PO reference as there was no SES reference (because SES was not created). User now wants to reverse this MIRO because he made some mistake.
    I tried reversing the invoice document using MR8M but it's giving error - "Invoice document 5105613514 cannot be processed further / Message no. M8422". In the possible causes, the error message explains that the corresponding service entry sheet may have been deleted. I strongly suspect this is the cause of getting this error - because since the SES was not created in the first place and as this is a service PO with S-based IV checked, SAP is looking for SES.
    Now my dilemma is how to cancel this incorrectly entered invoice using MIRO? What are the options that I have - a credit memo? a subsequent Credit? or some program to be executed? Please share your ideas/ experience in solving this issue.
    Thanks,
    car

    Hi,
    Add one more service line in the Service tab of the PO and order it (restrict it to Print if in Production).
    Now goto MR8M and cancel the old Invoice. (Folow instruction to delete line items under vendor through F-44)
    Come back and deltete the newely added service line from the PO.
    Flag the GR and GRbased IV indicators (as the Sr Based IV is greyed out) and order the PO (restrict it to Print if in Production).
    The next time you will have to first do the Service Entry before doing the Invoice.
    regards,
    MRao

  • Remove pymt blk-Item specified for invoice reference is not an invoice item

    Hi Gurus,
    we have posted the credit note with reference to the invoice which has block set "A" (blocked for payment).
    Therefore credit note has inherrited the payment block from the invoice.
    We have manually removed the payment block from the credit note and clreared it.
    Now when they manually trying to remove the payment block from the invoice, it is issuing the follwing error message:
    "Item specified for invoice reference is not an invoice item"
    Does this mean that we need to set the payment block A to the credit note and then try to remove it from the invoice?
    Please assist.
    thanks - Anil

    Hello,
    This seems to be a configuration issue or you might be entering the wrong details.
    This is a standard transaction. IF you feel there is nothing wrong, then search for OSS notes on http://service.sap.com to see if there is a solution to this problem.
    cheers,
    sushil joshi

  • Generate spool request from an invoice

    Hi,
    I'd like to know is there any function module to generate an spool request from an invoice document generate previously by VF01 (VF04) SAP transaction code.
    I'd like to generate on demand a spool request over an invoice previously generated by SAP
    Anyone knows if it is possible?
    Thanks

    The billing process included the spool generation runs perfectly by stantard SAP funciontality.
    But I'd like to generate a spool request whenever I want for an invoice previously generated and printed.
    You know that for space requirements the spool request are deleted periodically, but I want to generate a spool request for an invoice, which spool request was generated and deleted. This behaviouir is reclaimed for a system process so, it's not possible to regenerated the spool request using the funcionality incluided in SAP by VF02, VF31 transactions code.
    I need a function module or something like that, so import and invoice document number and export and spool request.
    Thanks in advance,

  • Creating invoice for Service PO - IDOC (INVOICE01) issue

    Hello Friends,
    We are facing a problem with creating invoice for service PO through IDOC (INVOICE01) from supplier portal.
    Example:  A service PO having one Line item and different service line items,  I can successfully create Service entry sheet. Also I can change the tax code for service line items and can successfully  create Service entry sheet.
    When trying to create Invoice for that PO at 1st time (after creating Service entry sheet) through INVOCE01 (IDOC), It is end up with idoc error (Msg no FF812: Tax code XX also exists)
    But the funny thing is , when trying to create Invoice for the same PO at 2nd time it is posting successfully.
    Did any one face this problem?
    Kindly let me know if there is any solution for this issue.
    Thanks.
    Regards,
    Magesh Basavaraj.

    Message closed

  • Block Service A/P Invoice for the following Scenario

    Hi,
    if i m making a Service Purchase order for the Total Amount of INR 1200
    and based on tat document i m making a Service A/P invoice For the Total Amount Of INR 700
    Now if i m again going to make the A/P invoice based on the Same Purchase Document then we are finding the Total Amount for the INR 1200 instead of INR 500
    Wat to do in order to Achieve this, can anybody help me out
    Thanks in Advance

    Perumal kumarar
    The issue that you are having is not a standard SAP functionality.  SAP always keeps track of the Balance Open Amount on the Service PO and only copies the balance to the AP Invoice (in your case)
    How did you Create the AP Service Invoice.  Did you use Copy to from the PO or did you actually go to the AP Invoice selected the Vendor and did a  COPY FROM and selected customize and changed the amount?
    Suda

  • Sub items are not getting copied into excise invoice

    Hi Guru's
    I am using Sales BOM in my sale order, pricing and inventory are controlled at sub-item level.
    I am creating the outbound delivery with reference to sale order and billing document (Commercial Invoice) with reference to outbound delivery.
    When I create an excise invoice in J1IIN, subitems are not getting copied from billing document, instead only main item is getting copied along with sum of all the excise duties of subitems. Ex: A is main item (Not relevant for pricing). B and C are subitems with excise duty 10 and 20 respectively. Here A is getting copied with excise duty 30 (10 +30).
    When I download the excise register, register is showing all A, B and C items with quantity but it is not showing the corresponding excise duties of subitems. We would like to avail cenvat at sub items.
    Kindly suggest me how can I copy subitems into excise invoice from billing document.
    Thanks & Regards.
    Swamy H P

    Hi Lakshmipathi,
    Thank you so much for the response.
    Yes, I am able to save the outgoing excise invoice(J1IIN) without any errors. It's working fine for normal materials(With out BOM), but for BOM materials even though main item is not relevant for pricing as pricing is controlled at sub items all the excise duties (BED, ECS and S&H cess) of sub items are getting copied to main item while creating the outgoing excise invoice.
    I mean excise invoice is showing only main item with all the sub items excise duties. same is getting posted also.
    But when I extract and download RG1 register, RG1 report is showing both main item and sub items with quantity but excise duties are not shown.
    I debugged and found that excise duties are not flowing to table J_1irg1 from J_1iexcdtl.
    Thanks & Regards,
    Swamy H P

  • To Create Customer invoice from vendor invoices

    Hi i have a requirement to create customer invoices from vendor invoice. i would like to know if it is feasible??
    regards
    prasannakumar

    hi friend
    u can do this in THIRD PARTY SCENARIO
    from vendor invoice u can create  u r customer invoice
    the item category for that is TAS
    THANKS
    REWARD POINTS

Maybe you are looking for