ME2N - Open Invoice report inconsistent

Hi Experts,
I have a strange case here -
We have a service PO (Qty - 24 Hrs / Amt - 100 $) for which SES was posted for full Qty/Amt. Invoice was posted for full Qty but less amount (say 98 $).
This PO appears in the ME2N report for selection parameter RECHNUNG (Open invoice) with 'Still to be invoiced' amount as '0 $'. Please help.
Regards,
Akash

Hi Dev,
ME2N:
ME2S:
Any suggestions please?
Regards,
Akash

Similar Messages

  • Open invoices and GR/IR report

    Hi experts,
    Would like to know is there any report that will show the open invoices that tie to the balances in GR/IR account report from FS10N?
    I've tried on ME80FN, MB5S, ME2N (RECHNUNG) but none of the reports are tie to the balances in GR/IR account report from FS10N.
    Thanks and regards,
    JT

    Use T-Code F.19 which will give you an analysis of the open items lying in the GRIR account.
    Also after doing Invoice Verification (MIRO) use T-Code F.13 to do clearing of items lying in the GRIR a/c
    Use of F.13 regularly will ensure that your GRIR account will always show open items pending for Invoice Verification.
    Regds,
    Rajan Narayanswamy

  • Aging report for Open Invoice

    Hi All,
    I need to develop an Aging report for open invoice, there is no indication for open invoice or close invoice since we are using customise DS and DS from third party system. only one key flag we have is clearing date. so kindly let me know how to write the logic for this requirement.. can I use Customer exit for this? I have an Idea to do like
    first logic is
    *If Clearing date = blank than invoice is = open (by using of this logic we can get all open invoice).
    second logic
    total number of invoice = current date - document date.
    but I do not know how to implement this logic in BEx hnece kinnly advice me whether this logic can be work or suggest with different solution ples..
    Regards,

    hi,
    You can  check few default PO reports wid proper paramater in it
    or
    Can check table EKBE
    or
    Check PO history in the PO doc
    Or
    Check the ME80FN
    Regards
    Priyanka.P

  • Help me in  'AR Details ' report shows total open invoices by customer

    hi friends,
    please  help me in  'AR Details ' report shows total open invoices by customer and PO number over selected time range.
    any thing related to open invoices please send me as early as possible.
    Thanks,
    Regards,
    Yogesh

    Hi,
    Find the T.code VF05. You will get the list of open billing docs. Its SIS report. Please find whether the SIS is active or not in your system
    Regards,

  • Reset Cleared Documents and Vendor Open Items Report FBL1N

    Hi all,
    I have following scenario:
    - In last month, we had 2 documents (invoice and payment) cleared against each other. We created open items report as well as open items correspondence sent to Vendor. Obviously, the docs were not included in report.
    - In this month, we have reset and reverse clearing document of the documents. We create report again with the open key date as in last month. It should not include the 2 docs but it did with whichever key date we chose.
    Is there any setting that open item report doesn't include cleared item at the key date when we run report for previous month?
    Thanks and Regards,
    Dau

    Hi Dau,
    If i understand you correctly then you posted and paid invoice in Jan 2012 and generated the open line item report for Jan which correctly did not include this cleared invoice.
    Now in Feb 2012 you reset and reversed this payment document.
    The issue is when you execute the report FBL1N again then you get the open line item for this invoice correct. Please confirm what is the open item key date that you are using here for generating this report
    If you keep it 31.01.2012 then definetly this invoice should not appear in the report but if you keep that 29.12.2012 then this line item would for sure appear.
    The importance of key date is to limit the report to certain date. The system selects all items posted up to and including the specified key date and open for this period.
    so I think your issue is with the key date.
    Hope this helps you.
    Regards,
    Prasad

  • Vendor Open PO report

    Hi
    We have open PO for which we would like to list the PO that are not delivered completly yet.  We are using me2l for PO`s with selection parameter open invoices.  Is there a functionality or other reports (PO`s with delivery 5 days late, 10 days late, more than 15 days) and how does it work?
    Regards,
    DJ

    Hi,
    I hope you can get the list of purchase orders according to delivery date as below:
    u2022     List of PO per delivery date, you can go to transaction ME80FN and press "Change view" button to change view from header to Del. Schedule
    u2022     you can enter transaction (ME2M) and put the in the Selection parameters field (WE101) and put in the Delivery date field the date you want and leave the material plank and press execute , you will field the purchase orders still open according to the delivery date you put.
    Regards,
    Abhee.

  • Open Order reports that are tied to MRP?

    hi friends
    i would like to know if there is any standard report(for open PO order items) with estimated Delivery dates on it.
    i am aware of these reports
    1.     ME2M (by material)
    2.     ME2L (by vendor)
    3.     ME2N (by  purchase order number)
    Does SAP provide Open Order reports that are tied to MRP?
    thanks
    alahari

    How do you define due?
    if you mean has to be delivered today
    then you can still use the reports mentioned
    you use selection parameter WE101
    and in selection screen field delivery date, you enter the todays date, then hit F2 at this field and choose smaller equal. So you will get all open POs with delivery date from the past until today.

  • Details of open invoices for the current year/ material price analysis

    Hi,
    I'm very new to SAP SD,MM modules. Can any one help me in the following of my requirements?
    1. How to get the details of open invoices for the current year? Which table should I look into?
    2. I have to create a report to display material price analysis. How should I do that?
    3. How to develope a report to list out all the Open Sales Order with earliest ship date and requested ship date
    4.How to create an interactive report for displaying plant status to know the status of a particular material
    5. How to develope a report on Sales Order displaying Sales order Number, Sales order date, Material, PO Date and Customer requested date
    Thanks in advance!!
    Uma.
    Message was edited by:
            Uma Ravi

    Hi Ravi,
    for 3, 4, 5 --> u can go through the code ...
    REPORT ZEX2  MESSAGE-ID arc NO STANDARD PAGE HEADING.
    Tables :kna1,vbak.
    SELECT-OPTIONS : so_vkorg FOR  vbak-vkorg OBLIGATORY,
                     so_vtweg FOR  vbak-vtweg OBLIGATORY,
                     so_spart FOR  vbak-spart,
                     so_kunnr FOR  kna1-kunnr.
    DATA : BEGIN OF sales_open OCCURS 0 ,
           vbeln LIKE vbak-vbeln,
           auart LIKE vbak-auart,
           kunnr LIKE kna1-kunnr,
           bstnk LIKE vbak-bstnk,
           lfstk LIKE vbuk-lfstk,
           fkstk LIKE vbuk-fkstk,
           gbstk LIKE vbuk-gbstk,
           END OF sales_open.
    DATA : BEGIN OF itm_sales OCCURS 0,
           vbeln LIKE vbap-vbeln,
           posnr LIKE vbap-posnr,
           matnr LIKE vbap-matnr,
           kwmeng like vbap-kwmeng,
           lfsta LIKE vbup-lfsta,
           lfgsa LIKE vbup-lfgsa,
           fksta LIKE vbup-fksta,
           fksaa LIKE vbup-fksaa,
           gbsta LIKE vbup-gbsta,
           END OF itm_sales.
    DATA : l_kunnr LIKE kna1-kunnr,
           l_vkorg LIKE vbak-vkorg,
           l_vtweg LIKE vbak-vtweg,
           l_spart LIKE vbak-spart.
    DATA: v_statusl(20) TYPE c,
          v_statusb(20) TYPE c,
          v_statusf(20) TYPE c,
          v_statusg(20) TYPE c,
          v_status(20) TYPE c,
          v_field(1) TYPE c.
    data : v_openqty like vbap-kwmeng.
    **Selection Screen Validations.
    AT SELECTION-SCREEN.
      PERFORM validations.
    *&      Form  Validations
    *       text
    *  -->  p1        text
    *  <--  p2        text
    FORM validations.
    **Customer
      IF NOT so_kunnr[] IS INITIAL.
        SELECT SINGLE kunnr INTO l_kunnr
               FROM kna1
               WHERE kunnr IN so_kunnr.
        IF sy-subrc NE 0.
          MESSAGE e002 WITH text-005.
        ENDIF.
      ENDIF.
    **Sales Organization
      IF NOT so_vkorg[] IS INITIAL.
        SELECT SINGLE vkorg INTO l_vkorg
               FROM tvko
               WHERE vkorg IN so_vkorg.
        IF sy-subrc NE 0.
          MESSAGE e003 WITH text-006.
        ENDIF.
      ENDIF.
    **Distribution Channel
      IF NOT so_vtweg[] IS INITIAL.
        SELECT SINGLE vtweg INTO l_vtweg
                FROM tvkov
                WHERE   vkorg IN so_vkorg
                 AND    vtweg IN so_vtweg.
        IF sy-subrc NE 0.
          MESSAGE e004 WITH text-007.
        ENDIF.
      ENDIF.
    **Division
      IF NOT so_spart[] IS INITIAL.
        SELECT SINGLE spart INTO l_spart
                FROM tvta
                WHERE   vkorg IN so_vkorg
                AND     vtweg IN so_vtweg
                AND     spart IN so_spart.
        IF sy-subrc NE 0.
          MESSAGE e005 WITH text-008.
        ENDIF.
      ENDIF.
    ENDFORM.                    " Validations
    Top-of-page.
    PERFORM sales_top_of_page.
    Start-of-selection.
    PERFORM sales_sel.
    *&      Form  sales_sel
    *       text
    *  -->  p1        text
    *  <--  p2        text
    FORM sales_sel.
    SELECT vbeln auart kunnr bstnk
         lfstk fkstk gbstk
         INTO TABLE sales_open
         FROM vbakuk
         WHERE vkorg IN so_vkorg
         AND   vtweg IN so_vtweg
         AND   spart IN so_spart
         AND   kunnr IN so_kunnr
         AND gbstk NE 'C'.
      LOOP AT sales_open.
        WRITE:/4 sy-vline,
               5 sales_open-vbeln HOTSPOT ON COLOR 2 INTENSIFIED OFF,
               16 sy-vline,
               17 sales_open-auart COLOR 2 INTENSIFIED OFF,
               27 sy-vline,
               28 sales_open-kunnr COLOR 2 INTENSIFIED OFF,
               40 sy-vline,
               41 sales_open-bstnk COLOR 2 INTENSIFIED OFF,
               55 sy-vline,
               56 sales_open-lfstk,
               76 sy-vline,
               77 sales_open-fkstk,
               96 sy-vline,
               97 sales_open-gbstk ,
               117 sy-vline.
        HIDE sales_open-vbeln .
      ENDLOOP.
    ENDFORM.                    " sales_sel
    *&      Form  sales_top_of_page
    *       text
    *  -->  p1        text
    *  <--  p2        text
    FORM sales_top_of_page.
      WRITE:/4 sy-uline(114),
         50 'OPEN SALES ORDERS' COLOR 7 INTENSIFIED ON .
      WRITE: /4 sy-vline,
              5 'SalesOrder' COLOR 1 ,
              16 sy-vline,
             17  'OrderType' COLOR 1,
             27  sy-vline,
             28  'Customer' COLOR 1,
             40  sy-vline,
             41  'PoNumber' COLOR 1,
             55  sy-vline,
             56  'Delivery Status' COLOR 1,
             76  sy-vline,
             77  'Billing Status' COLOR 1,
             96  sy-vline,
             97  'Processing Status' COLOR 1,
             117  sy-vline .
      WRITE:/4 sy-uline(114).
    ENDFORM.                    " sales_top_of_page
    AT LINE-SELECTION.
      SELECT       a~vbeln
                   a~posnr
                   a~matnr
                   a~kwmeng
                   b~lfsta
                   b~lfgsa
                   b~fksta
                   b~fksaa
                   b~gbsta
                   INTO TABLE itm_sales
                   FROM vbap AS a JOIN vbup AS b
                   ON a~vbeln EQ b~vbeln
                   AND a~posnr EQ b~posnr
                   AND b~gbsta NE 'C'
                   WHERE a~vbeln EQ sales_open-vbeln.
      IF NOT sales_open IS INITIAL.
        LOOP AT itm_sales.
          at end of vbeln .
          sum.
          v_openqty = itm_sales-kwmeng.
          endat.
          WRITE:/5  itm_sales-vbeln,
                    itm_sales-posnr,
                    itm_sales-matnr,
                    itm_sales-kwmeng,
                    itm_sales-lfsta,
                    itm_sales-lfgsa,
                    itm_sales-fksta,
                    itm_sales-fksaa,
                    itm_sales-gbsta.
        ENDLOOP.
      ENDIF.
    skip 2.
      write:/  'open Quantity for the order is ', v_openqty .
    for 1.
    open invoices..
    SELECT vbeln
             fkart
             kunag
             gbstk
             INTO TABLE it_billing_h
             FROM vbrkuk
             WHERE vkorg IN so_vkorg
             AND vtweg IN so_vtweg
    *        AND spart IN so_spart
             AND kunag IN so_kunnr
            and   year in p_year                  ---->"parameter for year..
             AND gbstk NE 'C'.                   "----> open invoices
    for 2..
    2. refer TABLES mara, EINA ..
    regards,
    VIjay

  • Issue in counting open invoices

    Hi All,
    I am facing an issue which could be common but i am getting the correct count for open invoices.
    We have following scenario :
    Assume, we are loading an invoice(INV1) which was open(determined by item status = O) yesterday and loaded the same into ODS and to the cube yesterday itself.
    As we want to see the invoices which are open as of that particulat day.
    we have a CKF defined with value = 1 and aggregation : counter of all values, reference characteristic : 0REFERENCE.
    I run the report and I see open invoices = 1, which is correct.
    Now,the invoice which was open yesterday was cleared and paid today.
    Now , I loaded the data to ODS and then to the cube.
    In the cube, I have three entries like
    Invoice     Item Status            Amount 
    INV1         O(Open)                   100
    INV1         O(Open)                  -100
    INV1         C(Cleared)                100
    Since, this invoice is cleared today, when i run the report , i should get invoice count "Zero" but I am getting the count as "1" and the amount "0".
    The CKF which was created is getting the count as "1" even though it is cleared.If the invoice is cleared, it should not be counted.
    Anyone has any suggestions ?
    Regards,
    Jeevan

    okay - a number of issues here
    The two item statuses of O will cancel each other out and be deleted if you have zero elemination on the cube and run the next compression
    The negative zero was generated by the change log of the ODS when the item status = C cleared document came in
    You always run the open items as at a point in time using two RKFs added together in one CKF
    RKF1 is item status = O AND posting date <= key date of query
    RKF2 is cleared date > key date of query AND posting date <= key date of query
    Thus you can always restate the open items which have been subsequently cleared back to a point in time (ie historical aged debt reports etc..)
    You must not just use item status = O
    Now how to do the counts..
    I normally put a counter onto the cube and negate the counter when the changelog negative O record (so the two Os cancel each other out) and then just add up the values of the counter as per the RKFs above
    However there is another option but it still involves a change to the data model
    The counts are based on the uniqueness of a document number
    The full key of a uniqieness of an AR or AP document number in SAP is...
    Company Code, Fiscal Year, Document Number, line item
    (the line item is due to one AP document being split across many lines due to installment plans with different net due dates or partially allocated cash across many outstanding line items)
    The other items have to be considered in uniqueness because SAP allows you to configure number ranges per company code wither with internal or external numbering and these ranges can be year specific - hence the full key is required
    You cannot just count document number as this will give a false result as the same document numebr can be used in multiple years within the same company code AND across company codes as well (so group reporting of outstanding counts will be affected as well)
    So you have to create a new infoobject that is called "Document Full Key" - that concatenates Company Code, Fiscal Year, Document Number, line item into one object string
    You then put that in yoru cube and update it via the transformation rules
    Then you can create the RKFs above and do a count all values based on the characteristic  "Document Full Key" - then create a few more RKFs to do the splits of net due date and the offsets required for -30 -60 etc as per normal
    Sorry for the bad news - but if you want to do it properly - I don;t think you have another other choice but the two options above..
    But then what do I know!

  • Query for Open Invoices

    Hi 2 all
    Anybody know that how to fetch open invoices in 11i and these invoices balances should be match with Supplier Statement of Account Report.
    Thanks,
    Zulqarnain

    Hi,
    I use this one:
    SELECT HEADER.*,
    HEADER.END_BALANCE - HEADER.BEGIN_BALANCE NET_BALANCE,
    HEADER.BEGIN_BALANCE BEGIN_BALANCE_2,
    LINE.*,
    NVL(LINE.DEBE, 0) - NVL(LINE.HABER, 0) NETO_LINEA
    FROM (SELECT TP.THIRD_PARTY_ID,
    TP.THIRD_PARTY_NAME,
    TP.THIRD_PARTY_NUMBER,
    S.SUB_ID,
    S.SUB_NAME,
    AB_START.ACCOUNT_SEGMENT,
    AB_START.PERIOD_NAME BEGIN_BALANCE_PERIOD,
    AB_END.PERIOD_NAME END_BALANCE_PERIOD,
    AB_START.END_BALANCE_DR - AB_START.PERIOD_NET_DR +
    AB_START.PERIOD_NET_CR - AB_START.END_BALANCE_CR BEGIN_BALANCE,
    AB_END.END_BALANCE_DR - AB_END.END_BALANCE_CR END_BALANCE
    FROM AX_THIRD_PARTIES_V TP,
    AX_SUBS_V S,
    AX_BALANCES AB_START,
    GL_PERIOD_STATUSES GPS_START,
    AX_BALANCES AB_END,
    GL_PERIOD_STATUSES GPS_END
    WHERE TP.APPLICATION_ID = 200
    AND TP.APPLICATION_ID = S.APPLICATION_ID
    AND TP.APPLICATION_ID = AB_START.APPLICATION_ID
    AND TP.APPLICATION_ID = GPS_START.APPLICATION_ID
    AND TP.APPLICATION_ID = AB_END.APPLICATION_ID
    AND TP.APPLICATION_ID = GPS_END.APPLICATION_ID
    AND TP.THIRD_PARTY_ID = AB_START.THIRD_PARTY_ID
    AND S.THIRD_PARTY_ID = AB_START.THIRD_PARTY_ID
    AND S.SUB_ID = AB_START.SUB_ID
    AND AB_START.SET_OF_BOOKS_ID = GPS_START.SET_OF_BOOKS_ID
    AND AB_START.PERIOD_NAME = GPS_START.PERIOD_NAME
    AND TP.THIRD_PARTY_ID = AB_END.THIRD_PARTY_ID
    AND S.THIRD_PARTY_ID = AB_END.THIRD_PARTY_ID
    AND S.SUB_ID = AB_END.SUB_ID
    AND AB_END.SET_OF_BOOKS_ID = GPS_END.SET_OF_BOOKS_ID
    AND AB_END.PERIOD_NAME = GPS_END.PERIOD_NAME
    AND AB_START.SET_OF_BOOKS_ID = :P_SOB
    AND TP.THIRD_PARTY_NUMBER =
    NVL(:P_VENDOR_NUMBER, TP.THIRD_PARTY_NUMBER)
    AND TP.THIRD_PARTY_NAME = NVL(:P_PARTY_NAME, TP.THIRD_PARTY_NAME)
    AND S.SUB_NAME = NVL(:P_SUB_NAME, S.SUB_NAME)
    AND AB_END.ACCOUNT_SEGMENT = AB_START.ACCOUNT_SEGMENT
    AND GPS_START.EFFECTIVE_PERIOD_NUM =
    (SELECT MIN(P_BALANCE.EFFECTIVE_PERIOD_NUM)
    FROM AX_BALANCES BALANCE,
    GL_PERIOD_STATUSES P_BALANCE,
    GL_PERIOD_STATUSES P_DATE
    WHERE BALANCE.APPLICATION_ID = AB_START.APPLICATION_ID
    AND BALANCE.APPLICATION_ID = P_BALANCE.APPLICATION_ID
    AND BALANCE.APPLICATION_ID = P_DATE.APPLICATION_ID
    AND BALANCE.THIRD_PARTY_ID = AB_START.THIRD_PARTY_ID
    AND BALANCE.SUB_ID = AB_START.SUB_ID
    AND BALANCE.SET_OF_BOOKS_ID = AB_START.SET_OF_BOOKS_ID
    AND BALANCE.SET_OF_BOOKS_ID = P_BALANCE.SET_OF_BOOKS_ID
    AND BALANCE.SET_OF_BOOKS_ID = P_DATE.SET_OF_BOOKS_ID
    AND P_DATE.PERIOD_NAME = :P_PERIOD_START
    AND P_BALANCE.EFFECTIVE_PERIOD_NUM >=
    P_DATE.EFFECTIVE_PERIOD_NUM
    AND P_BALANCE.PERIOD_NAME = BALANCE.PERIOD_NAME
    AND BALANCE.CODE_COMBINATION_ID =
    AB_START.CODE_COMBINATION_ID)
    AND GPS_END.EFFECTIVE_PERIOD_NUM =
    (SELECT MAX(P_BALANCE.EFFECTIVE_PERIOD_NUM)
    FROM AX_BALANCES BALANCE,
    GL_PERIOD_STATUSES P_BALANCE,
    GL_PERIOD_STATUSES P_DATE
    WHERE BALANCE.APPLICATION_ID = AB_END.APPLICATION_ID
    AND BALANCE.APPLICATION_ID = P_BALANCE.APPLICATION_ID
    AND BALANCE.APPLICATION_ID = P_DATE.APPLICATION_ID
    AND BALANCE.THIRD_PARTY_ID = AB_END.THIRD_PARTY_ID
    AND BALANCE.SUB_ID = AB_END.SUB_ID
    AND BALANCE.SET_OF_BOOKS_ID = AB_END.SET_OF_BOOKS_ID
    AND BALANCE.SET_OF_BOOKS_ID = P_BALANCE.SET_OF_BOOKS_ID
    AND BALANCE.SET_OF_BOOKS_ID = P_DATE.SET_OF_BOOKS_ID
    AND P_DATE.PERIOD_NAME = :P_PERIOD_END
    AND P_BALANCE.EFFECTIVE_PERIOD_NUM <=
    P_DATE.EFFECTIVE_PERIOD_NUM
    AND P_BALANCE.PERIOD_NAME = BALANCE.PERIOD_NAME
    AND BALANCE.CODE_COMBINATION_ID =
    AB_END.CODE_COMBINATION_ID)) HEADER,
    ((SELECT LINE.THIRD_PARTY_ID VENDOR_ID,
    HEAD.EFFECTIVE_DATE FECHA_CONTABLE,
    INV.INVOICE_DATE FECHA_TRANSACCION,
    LOOK.DESCRIPTION TIPO_TRANSACCION,
    LINE.REFERENCE_25 NUM_TRANSACCION,
    INV.DOC_SEQUENCE_VALUE SECUENCIA,
    LINE.ACCOUNTED_DR DEBE,
    LINE.ACCOUNTED_CR HABER,
    CODE.SEGMENT3 CUENTA
    FROM AX_SLE_LINES LINE,
    AX_SLE_HEADERS HEAD,
    GL_CODE_COMBINATIONS CODE,
    AP_INVOICES_ALL INV,
    FND_LOOKUP_VALUES LOOK
    WHERE HEAD.EFFECTIVE_DATE BETWEEN
    (SELECT START_DATE
    FROM GL_PERIOD_STATUSES_V
    WHERE PERIOD_NAME = :P_PERIOD_START
    AND SET_OF_BOOKS_ID = LINE.SET_OF_BOOKS_ID
    AND APPLICATION_ID = 101)
    AND (SELECT END_DATE
    FROM GL_PERIOD_STATUSES_V
    WHERE PERIOD_NAME = :P_PERIOD_END
    AND SET_OF_BOOKS_ID = LINE.SET_OF_BOOKS_ID
    AND APPLICATION_ID = 101)
    AND HEAD.SET_OF_BOOKS_ID = LINE.SET_OF_BOOKS_ID
    AND HEAD.SET_OF_BOOKS_ID = INV.SET_OF_BOOKS_ID
    AND HEAD.JOURNAL_SEQUENCE_ID = LINE.JOURNAL_SEQUENCE_ID
    AND HEAD.SET_OF_BOOKS_ID = :P_SOB
    AND LINE.REFERENCE_7 = INV.INVOICE_ID
    AND CODE.CODE_COMBINATION_ID = LINE.CODE_COMBINATION_ID
    AND LINE.SLE_HEADER_ID = HEAD.SLE_HEADER_ID
    AND LINE.SOURCE_TABLE != 'AP_INVOICE_PAYMENTS'
    AND LOOK.LOOKUP_TYPE = 'INVOICE TYPE'
    AND LOOK.LANGUAGE = 'E'
    AND LOOK.LOOKUP_CODE = INV.INVOICE_TYPE_LOOKUP_CODE
    AND LINE.CODE_COMBINATION_ID IN
    (SELECT CODE_COMBINATION_ID
    FROM GL_CODE_COMBINATIONS
    WHERE SEGMENT3 LIKE '40%' -- Segment3 is our natural account, 40, 04, 41 are the natural accounts for suppliers
    OR SEGMENT3 LIKE '04%'
    OR SEGMENT3 LIKE '41%')) UNION ALL
    (SELECT LINE.THIRD_PARTY_ID VENDOR_ID,
    HEAD.EFFECTIVE_DATE FECHA_CONTABLE,
    INV.CHECK_DATE FECHA_TRANSACCION,
    'Pago' TIPO_TRANSACCION,
    LINE.REFERENCE_25 NUM_TRANSACCION,
    INV.DOC_SEQUENCE_VALUE SECUENCIA,
    LINE.ACCOUNTED_DR DEBE,
    LINE.ACCOUNTED_CR HABER,
    CODE.SEGMENT3 CUENTA
    FROM AX_SLE_LINES LINE,
    AX_SLE_HEADERS HEAD,
    GL_CODE_COMBINATIONS CODE,
    AP_CHECKS_ALL INV
    WHERE HEAD.EFFECTIVE_DATE BETWEEN
    (SELECT START_DATE
    FROM GL_PERIOD_STATUSES_V
    WHERE PERIOD_NAME = :P_PERIOD_START
    AND SET_OF_BOOKS_ID = LINE.SET_OF_BOOKS_ID
    AND APPLICATION_ID = 101)
    AND (SELECT END_DATE
    FROM GL_PERIOD_STATUSES_V
    WHERE PERIOD_NAME = :P_PERIOD_END
    AND SET_OF_BOOKS_ID = LINE.SET_OF_BOOKS_ID
    AND APPLICATION_ID = 101)
    AND HEAD.SET_OF_BOOKS_ID = LINE.SET_OF_BOOKS_ID
    AND HEAD.JOURNAL_SEQUENCE_ID = LINE.JOURNAL_SEQUENCE_ID
    AND HEAD.SET_OF_BOOKS_ID = :P_SOB
    AND LINE.REFERENCE_7 = INV.CHECK_ID
    AND CODE.CODE_COMBINATION_ID = LINE.CODE_COMBINATION_ID
    AND LINE.SLE_HEADER_ID = HEAD.SLE_HEADER_ID
    AND LINE.SOURCE_TABLE = 'AP_INVOICE_PAYMENTS'
    AND LINE.CODE_COMBINATION_ID IN
    (SELECT CODE_COMBINATION_ID
    FROM GL_CODE_COMBINATIONS
    WHERE SEGMENT3 LIKE '40%' --Segment3 is our natural account, 40, 04, 41 are the natural accounts for suppliers
    OR SEGMENT3 LIKE '04%'
    OR SEGMENT3 LIKE '41%'))) LINE
    WHERE HEADER.THIRD_PARTY_ID = LINE.VENDOR_ID(+)
    AND HEADER.ACCOUNT_SEGMENT = LINE.CUENTA(+)
    ORDER BY LINE.FECHA_CONTABLE
    :P_VENDOR_NUMBER -> Supplier Num
    :P_PARTY_NAME -> Supplier Name
    :P_SUB_NAME -> Supplier Address
    :P_SOB -> set_of_books_id
    :P_PERIOD_START -> Period Start
    :P_PERIOD_END -> Period End

  • Details of open invoices

    Can anyone please write me how to create a report with the details of open invoices for the current year.
    Which table I should look into to get the details of open invoices..
    I'm new to SAP..any help is really appreciated..
    Thanks!
    Uma

    Hi,
    If i understand your requirement, you want the report for "open invoice", that is invoice which are not paid / cleared. Then write the logic for below given steps.
    <b>[1].</b> Read data from table BSIK (Vendor open item ) Based on BUKRS (company code) and LIFNR ( vendor number )
    <b>[2].</b> Then for all data from BSIK, take bsik-bukrs, bsik-belnr and bsik-buzei and read table BKPF and BSEG ( put GJAHR = "current fiscal year )
    There you go, you got all open invoice in current year. You can not do any claculation with this data and display as output.
    You can also use transaction FBL1N to see vendor open items.
    Let me know if you have any question.
    Regards,
    RS

  • A/r Invoice report query based on posting date selection criteria

    Hi experts,
    I am trying to write a query to get the A/r invoice report including Docnum, Docdate, cardname, project, linetotal, taxcode, taxtotal.
    and i tried the below query
    SELECT T0.[DocNum], T0.[DocDate], T0.[CardCode], T0.[CardName],T1.[LineTotal] FROM OINV T0  INNER JOIN INV1 T1 ON T0.DocEntry = T1.DocEntry WHERE T0.[DocDate] >=[%0] AND  T0.[DocDate] <=[%1]
    In this query ,
    1) i am unable to sum up the linetotal( total before tax) 
    2) also unable to fetch the sum of taxamount.
    3) its more important , the above query will  me docnum , when i try to open that doc, it opens the 2007 docments. whereas the other details are correct like docdate, amount and all.
    example:   from date: 1/04/2011    to date: 28/07/2011
    Docnum    Docdate  cardname   linetotal.... etc
        2              1/04/11   XYZ              5000
    when i click the 2 (docnum)  it opens me the 04/04/2007  documents.
    how to limit the doc within the periods given?
    thanks in advance
    Dwarak

    Hi Rahul/Gordon,
    thanks for your query's .
    additionally,   i want this query without the A/r invoices whichever having credit memo as target doc. 
    and
    i have selection criteria as  T0.[U_Sec_Category] = '[%2]'  and this has 3 values like  1)CIM 2)BIN 3)DMP
    among these  CIM should be seen only only user1  and BIN & DMP only by user2.
    can u plz get me this
    thanks,
    Dwarak

  • GL open items report needs OSS Note

    Hi All,
    Report S_alr_87012282 is run at period end and year end to validate that A/P 21010000 is in balance against the open items report. For the 7th period (12/13/08) I could not run the report as it timed out. If you run this in the background there are 100,000 pages and you can not see the last page. I need a resolution for this report as accounting said I have to use to balance.
    I tried in foreground and it still timed out.  I recommended FS10N,Please provide the OSS for any performance improvement notes.
    Thanks in Advance
    Prathap

    Hello everybody:
    I need open clearing items to clearing with other items. For example in my job was issued a payment to a supplier, but was applied to the wrong invoice, for this reason I need to open this compensation payment and apply it to the right invoice, the Tx FBRA, tells me that I must cancel the payment, but the payment was delivered and collected by the supplier, so I can not avoid it and just need to open the clearing.
    Can us help me please????
    Thanks
    María

  • Format change when report open in report expert

    Hi all,
    I am using report builder 6i and I create invoice report I have attached it with oracle ebs 11i and run it from
    concurrent manager. Now I have to open my invoice report into report expert software.
    when it opens into report experts, It change our report builder fonts and format both.
    suppose if item are 1 then invoice total depens upon number of items. so invoice total position is changed
    according to the number of items. If 1 items total move up and if more than 1 item total moves down.
    In this way my invoice format become changed and total did not maintain in same position.
    Thanks

    The Format is changed due to sizes of Repeating frames in the report layout as well as the fixed frames.
    you can use the border color of the frames to design the report layout.
    when your fixed frame is not in lined with the repeating frame objects and the anchor is not applied then the report output in PDF will not be disturbed
    while in the Excel format it will be as per the no. of fixed frames/objects in the first line will come in first A1 column of the Excel file ans next in the second and so on...

  • Invoice Report Error

    Hi All,
    I got the invoice report in vf05n. But in that report I am getting the sold - to-party number only not the name of the sold-to-party.But my client want the sold-to-party name should come.How to get this.
    Its urgent.
    Reward points for helpful answer.
    Regards
    Ashis

    hi
    better option goto LIS report
    IMG menu path for SIS:  IMG>Logistics General>Logistics Information System (LIS)
    Figure 1: IMG menu path for SIS configuration steps
    Task 1: Create Self-Defined Information Structure
    •     Use transaction code MC21 (menu path Logistics Data Warehouse>Data Basis>Information Structures>Maintain self-defined information structures> Create) to create a Self-Defined Information Structure. Give a customer-range number 990 (any available number between 501 and 999). To make it easier, use ‘copy from’ to copy structure from S001.
    Figure 2: Create a Self-Defined Info Structure
    Figure 3: Structure S990 is created as a copy of S001
    Structure S990 is created as a copy of S001. Accordingly, you will see defaulted characteristics and key figures. Review various settings (unit, sum, etc.).
    •     Add two more characteristics: Sales Order Number and Item Number.
    Click on ‘Choose Characteristics’ Icon and then click on ‘Selection List’ icon to choose fields from ‘field catalogs’.
    Choose field catalog ‘SD: Bus transaction (order)’ by double-clicking it. Double-click on  ‘Sales Document’ and ‘Sales document item’ from ‘field catalog fields’ (you may need to scroll-down).
    Figure 4: Choose fields ‘Sales Document’ and ‘Sales Document Item’ from Field Catalog
    You can view technical names by toggling the Switch Display icon.
    Figure 5: ‘Switch display’ to view technical names
    Make sure that you have selected correct characteristics as: ‘MCVBAK-VBELN’ and ‘MCVBAP-POSNR’.
    Click on ‘Copy + Close’ icon and then click on ‘Copy’ icon to accept the changes.
    •     Review information
    Double-click on characteristics and key figures to review technical information. This step is not mandatory, just for information.
    Figure 6: Review technical field information for characteristics: Customer (KUNNR), Sales Order (VBELN), Item (POSNR) and Key figures: Incoming Order (AENETWR), Open Order (OAUWE)
    System displays the generation log.
    Figure 7: Generation log for Structure S990. Table S990E is ‘Structural Information’ for Table S990
    Task 2: Maintain Update Groups
    •     SIS IMG>Logistics Data Warehouse>Updating>Updating Definition>General Definition Using Update Groups>Maintain Update Groups
    Figure 8: Update Groups for Sales and Distribution
    No new entries need to be created. You can use the existing system-delivered update groups. Use Update Group (UpdGrp) 1 for the standard order process of: SIS: Sales Document, Delivery, Billing Document and use UpdGrp 2 for the SIS: Returns, Returns Delivery, Credit Memo.
    Task 3: Maintain Update Rules
    •     SIS IMG>Logistics Data Warehouse>Updating>Updating Definition>Specific definition using Update Rules>Maintain Update Rules>Display
    Info Structure S001 and Update Group 1.
    Before we create update rules for S990, let's review how update rules are defined for S001. Review rules for Characteristics and key figures.
    Figure 9: Update Rules for combination of Structure S001 and Update Group 1
    Double-click to review specific details of the update rule for Key Figure ‘Incoming Orders’. Note that the event is ‘VA – Sales Order creation’.
    Figure 10: Update rules for Key Figure ‘Incoming Orders’
    Figure 11: Characteristics for Incoming Orders
    Similarly review details of Key Figure ‘Sales’. Note that the Invoiced Amount (Sales Amount) is updated by event ‘VD – Billing Document’.
    Figure 11: Update rules for Key Figure ‘Sales’
    Figure 12: Characteristics for ‘Sales’
    •     Similar to Update Rules of ‘S001’, we need to create Update Rules for our Self-Defined Structure ‘S990’.
    SIS IMG>Logistics Data Warehouse>Updating>Updating Definition>Specific definition using Update Rules>Maintain Update Rules>Create  (transaction code MC24). To make it easier, use ‘copy from’ to copy update rules from S001.
    Figure 13: Create Update Rules for Structure S990
    Please make sure the Source information is properly updated for all the characteristics. Since you copied the rules, the sales order and item rules are defaulted too. Make sure appropriate changes are made for events VC (delivery) and VD (Invoice).
    Figure 14: Source Characteristics for Sales Document and Item
    Since we copied the Update Rules, the source field and table information is also copied. We need to change appropriately to make sure correct source information is populated. Click on “Rules for charact” and verify source information for every key figure, by clicking on ‘previous key figure’ and ‘next key figure’.
    Figure 15: For Event ‘VD – Billing Document’, Sales Document and Item are present in MCVBRP table
    Figure 16: For Event ‘VC – Shipping’, Sales Document and Item are present in MCLIPS table
    Change Source information for following to MCVBRP-AUBEL and MCVBRP-AUPOS:
    o     Sales     
    o     Gross Invoiced Sales
    o     Net Invoiced Sls 1
    o     Net Invoiced Sls 2
    o     Inv freight Chrgs
    o     Bill Docmnt PS5
    o     Bill Docmnt PS6
    o     Invoiced Qty
    o     Invoiced sls – cost
    Change Source information for following to MCLIPS-VGBEL and MCLIPS-VGPOS:
    o     Open Orders     
    o     Open Order Qty
    - Save and Generate by clicking on the Generate icon.
    •     Similarly, copy update rules for Update Group 2. Transaction Code MC24.
    Repeat these rules for the combination of information structure S990 and update group 2. (“Copy from” info structure S001 and Update group 2).
    Figure 17: Maintain Update Rules for Structure S990 and Update Group 2
    Again, click on “Rules for charact” and verify source information for every key figure, by clicking on ‘previous key figure’ and ‘next key figure’.
    Change Source information for following to MCVBRP-AUBEL and MCVBRP-AUPOS:
    o     Credit Memos
    o     Gross Credit Memos
    o     Net Credit Memos 1
    o     Net Credit Memos 2
    o     Credit memos – freight
    o     Credit memos – subtotal 5
    o     Credit memos – subtotal 6
    o     Credit memos qty
    o     Credit memos – cost
    Task 4: Maintain Statistics Groups
    •     Maintain Statistics Groups
    Maintain Statistics Groups for Customers, Materials, SD Document Types etc. Most of the pre-defined settings are enough. Make sure that settings are updated for customized objects too, e.g., SD document types for your organizations.
    Also, make sure that the customer (sales view) and material Master records are updated with appropriate Statistics Groups.
    Figure 18: Maintain and assign statistics groups. IMG path: Updating> Updating Control> Settings: Sales> Statistics Groups
    - Maintain Statistics Groups for Customers (OVRA)
    Figure 19: Statistics Groups for Customers
    - Maintain Statistics Groups for Material (OVRF)
    Figure 20: Statistics Groups for Materials
    - Maintain Statistics Groups for Sales Document
    Figure 21: Statistics Groups for Sales Documents
    - Assign Statistics Groups for relevant Sales Document Type
    Figure 22: Assign Statistics Groups to relevant Sales Documents
    - Assign Statistics Groups for each Sales Document Item Type
    Figure 23: Assign Statistics Groups to relevant Item Categories
    -Assign Statistics Groups to each Delivery Type
    Figure 24: Assign Statistics Groups to relevant Delivery Types
    -Assign Statistics Groups to each Delivery Item Type
    Figure 25: Assign Statistics Groups to relevant Delivery Item Categories
    - Determine Billing Document Types Relevant to Statistics
    Figure 26: Assign Statistics Groups to relevant Billing Types
    Note: As mentioned earlier, most of the settings are already set in standard system. Make sure that customized objects specific to your company are also updated appropriately.
    - Update Customer Master for Statistics Relevancy
    Transaction Code XD02 (Sales view, field “Cust stats.Grp”)
    Figure 27: Assign Statistics Groups to Customer Master Records (Sales view)
    - Update Material for Statistics Relevancy
    Transaction Code MM02 (Sales 2 view, field “Matl statistics grp”)
    Figure 28: Assign Statistics Groups to Material Master Records (Sales view)
    Task 5: Assign Update Groups to Header and Item Levels
    •     Assign Update Groups on Header and Item levels
    For combinations of Sales Area (Sales Org, Distribution Channel, Division), assign Update groups (transaction codes OVRO and OVRP).
    SIS IMG>Logistics Data Warehouse>Updating>Updating Control>Settings: Sales>Update Group
    - Update Groups at Item Level
    Figure 29: Update Groups at Item Level
    Figure 30: Update Groups at Item Level - details
    - Update Groups at Header Level
    Figure 31: Update Groups at Header Level
    Figure 32: Update Groups at Header Level - details.
    Task 6: Activate SIS Update
    •     Lastly, Activate SIS Update for the Structure (transaction code OMO1)
    SIS IMG path: Logistics Data Warehouse>Updating>Updating Control>Activate Update>Choose Activity as Sales and Distribution.
    Let's update our SIS structure S990 with period as ‘Month’ and update option of ‘Asynchronous Updating (2)’.
    Figure 33: Activate SIS Update for S990
    SIS tests with Sales Order Processing  (Order>Delivery>Invoice)
    •     Create a Sales Order, transaction code VA01
    Figure 34: Create a standard Sales Order and Sales Order 6437 is saved
    (Pricing details)
    Figure 35: Pricing Details for the Sales Order
    •     Execute transaction ‘MC30’ to find out which information structures are updated. Please note that this step is not mandatory.
    Transaction code ‘MC30’ is worth mentioning here. This transaction code, provided user parameter MCL is set to ‘X’ in user’s master record, provides analysis of which structures are updated for the activity. It generates a log of updates to Information Structures and detailed analysis. Since, it can take resources, it is advisable not to set user parameter MCL in productive system.
    Figure 36: Transaction MC30 lists that Structure S990 is updated
    Double-click on S990 line to view more details.
    Figure 37: Transaction MC30 details for Structure S990
    •     Execute Standard Analysis Report.
    SAP>Logistics>Sales & Distribution>Sales Information System>Standard Analyses>Self defined analysis (transaction code MCSI). (Choose Structure S990). Enter appropriate values and execute.
    Figure 38: Standard Analysis report for Structure S990
    Figure 39: Standard Analysis report for Structure S990 for given criteria
    •     Create a Delivery/PGI and review its impact on Standard Analysis Report.
    Delivery 80007493 Saved, execute MC30 to review the update log.
    Figure 40: At the time of Delivery/PGI, Structure S990 is updated
    Figure 41: At the time of delivery, since Order is no more open, Open Order value is reduced
    Please note in the Standard Analysis report that the Open Order value is reduced accordingly.
    Figure 42: Standard Analysis report reflects correct Open Order value
    •     Create an Invoice and review SIS report.
    Invoice 90021696 saved. Review Update log with MC30.
    Figure 43: Invoiced/Sales amount is updated at the time of invoice
    Note that in the Standard Analysis report, Sales value has increased.
    Figure 44: Standard Analysis report reflects correct Sales Amount
    •     Summary changes in Information structure depending upon Sales activity
    Sales Order: Note Open Order has EUR 49.60 value.
    Delivery: Note Open Order value is reduced.
    Invoice: Note Sales column reflects correct invoiced amount.
    Figure 45: Summary – Information Structures reflects correct values depending upon the status of transaction: whether order created, shipped or invoiced
    if u r not understand send me test mail [email protected]
    regards
    krishna

Maybe you are looking for

  • Instead of customized push notification getting only simple notification with alert message?

    Recently the provisional certificate got expired and we renewed new one installed in server the latest problem is we are just getting app name with text named alert. More than this nothing can see in push notification we are customized with name and

  • HT1926 iTunes won't open :'(

    I have tried absolutely everything to get iTunes working on my asus laptop. It is installed but won't open. Can anybody help with some more suggestions other than the ones listed? Thanks

  • DDoS/Skiddie protection

    I wrote a tumblr about this a while ago and I thought I'd share. This'll help if some script kiddies(skiddies) are out to get you. http://parter.tumblr.com/post/340337853 - -your-boot

  • Error code 50 and 8012 when downloading

    After I brought a couple of tv shows and I try to download them I get error code 50 or 8012 stating that I need to check connection to network and try again.  The internet is connected and I'm logged into itunes store so don't understand what the pro

  • Emails will NOT delete from the server

    Hello, My issue is I have a gmail account setup on my phone. When I delete the emails from my phone it actually doesn't delete the emails from the main server account also. What it does is that it hides them, so when I access my gmail on the webserve