Query Regarding no of records in open items.

hi,
     I am extracting open items monthly . but for this month the no. of records i am getting  is very large.even for different areas the no. of records are coming nearly same and in crores but last month it was in lakhs.in this month it is coming nearly ten times this month. is there any problem in extraction.pleae help me .
                                                               thanks.
                                                                                Ajay.

Hi...........
May be no of Transaction was more..............due to this number of records is huge............also check if there is any reverse transaction take place...........
The base table in R/3 for open items data is DFKKOP..................check the table..........
The only problem is.........the load may take more time..............Short dump  due to Time out may occur.............or may not be............is load fails due to time out...........then try to repeat the load by reducing the data packet size............also sometimes increasing data packet size also works..................otherwise u can spili the load by selection...........
Regards,
Debjani...............

Similar Messages

  • Regarding creation of an invoice/open-item via FB01 or F-22

    Hello All,
    I was trying to post an invoice/open item in a customer's account. I used the transaction code fb01 or we can also use f-22 for the same.
    I was confused regarding what posting keys to use to have a debit and a credit entry while creating an open-item.
    While the Debit entry posting key is "01" which is invoice, I want to know what the credit entry posting key will be. I was guessing it will be "50" i.e. Credit into GL account. Can anybody please verify? Thanks.
    Points will be assigned.
    Jason

    Depending on what you are trying to do.  In some cases FB70 may not give you the flexibility you want hence your suggestion of using posting key - going via the old traditional way of posting is good.  Therefore what you are looking for are -
    01 Customer (debit)
    50 Credit
    AF

  • Query Regarding fetching selected records from table

    Hi All,
    I have a table like below:
    NUM1     NUM2     TYPE
    1     2     A
    1     2     S
    2     3     S
    3     4     A
    3     4     S
    4     5     S
    If for a record TYPE='A' then do not select the records for those num1 and num2.
    Eg: for num1=1 and num2=2 there are two records with type='A' and 'S', only records with type 'A' should get selected.
    Output should be like this:
    NUM1     NUM2     TYPE
    1     2     A
    2     3     S
    3     4     A
    4     5     S
    Please anyone could help me in this query.
    Any help would be highly appreciated.
    Thanks & Regards
    Anuj

    Just MIN function will get what you want
    SQL> with t
      2  as
      3  (
      4     select 1 num1, 2 num2, 'A' type from dual union all
      5     select 1, 2, 'S' from dual union all
      6     select 2, 3, 'S' from dual union all
      7     select 3, 4, 'A' from dual union all
      8     select 3, 4, 'S' from dual union all
      9     select 4, 5, 'S' from dual
    10  )
    11  select num1, num2, min(type) type
    12    from t
    13  group by num1,num2
    14  order by num1,num2
    15  /
          NUM1       NUM2 T
             1          2 A
             2          3 S
             3          4 A
             4          5 S

  • Open Items List Query.

    Hi all,
    Could you please advise if itu2019s possible to run a query in SAP based on the Open Items List in the reporting area that can detail the following;
    Both AR Invoices and Credit Notes and show additional fields, taken from the AR invoice u2013 Account Manager, Item Group and Project Code?
    The  Project Code and Item Group can be taken from the Item Line however the Account Manager field is located below the item line area on the contents tab.
    Would someone have a query which might enable us to do this or at least give us a directing to go in ?
    Thank you,
    MB

    Hi Matthew,
    You can try this one.
    It will check if the document is open on document level. The query is written so that it will give a result for every line in the document so you might have a problem if there are many line per document. For the account manager I used Sales person, I am not sure if that is what you mean.
    select
    'AR Invoice'+' '+(convert(varchar (10), t0.docnum)) as 'Document',
    (select t7.slpname from oslp t7 where t7.slpcode = t0.slpcode) as 'Account Manager',
    (select itmsgrpnam from oitm t5 inner join oitb t6 on t5.itmsgrpcod = t6.itmsgrpcod
    where t5.itemcode = t1.itemcode) as 'Item Group',
    t1.project
    from
    oinv t0 inner join inv1 t1 on t0.docentry = t1.docentry
    where t0.docstatus = 'o'
    union
    select
    'AR Credit'+' '+(convert(varchar (10), t0.docnum)) as 'Document',
    (select t7.slpname from oslp t7 where t7.slpcode = t0.slpcode) as 'Account Manager',
    (select itmsgrpnam from oitm t5 inner join oitb t6 on t5.itmsgrpcod = t6.itmsgrpcod
    where t5.itemcode = t1.itemcode) as 'Item Group',
    t1.project
    from
    orin t0 inner join rin1 t1 on t0.docentry = t1.docentry
    where t0.docstatus = 'o'
    Let us know if it works out.
    Jesper

  • GLs with open item management

    Dear All,
    I want to know, at the time of GL master creation, which GLs are to be maintained with open item management.
    Regards
    Swati

    Hi
    You cannot put open item management tick for P&L Accounts.  It can be done only for Balance Sheet Accounts and that too for example liability accounts(salary payable account, clearing accounts), receivables where you would like to make use of F-03 viz., GL clearing.  Similarly you do not tick open item management for GLs which have been mapped as spl GL accounts in Spl GL transactions.  Hope it is clear.
    Regards

  • F.05 - Posting Logic - How are the open items grouped?

    Hi,
    I am trying to understand how the posting logic works. We are on ECC 6, Classic Ledger and use F.05 for the revaluation. I am trying to revalue a Open Item managed balance sheet account, that has open items since 2009. It has  a total of 480 open items, but after reval system posts only 19 entries. I am trying to understand how SAP groups these open items, what criteria is used to group open items to different documents. The totals are matching, but I am failing to understand the how SAP combined these different open items into a smaller set that were actually posted. Can anyone please enlighten me with this logic?
    Regards,
    Venkat

    Hi,
    In terms of open item valuation, open items are grouped by the Vendor/customer and the transaction currency of the open item. But if corporate group of the vendor/customer are same and group vendor/customer is checked in settings of valuation method, the grouping will be based on corporate group and transaction currency of the open item.
    For example: You have 6 open items (say invoices)
    Local currency is USD
    1. Vendor ABC (GL account 160000) - 100EUR => diff 3$
    2. Vendor ABC (GL account 160000) - 150INR => diff 2$
    3. Vendor ABC (GL account 160000) - 200AUD => diff -2$
    4. Vendor ABC (GL account 160000) - 300EUR => diff 1$
    5. Vendor XYZ (GL account 160000) - 350EUR => diff 1.5$ (corporate group - A123)
    6. Vendor TTT (GL account 161000) - 200EUR => diff 0.5$ (corporate group - A123)
    If you carry out foreign currency valuation now, Assuming that each of these 6 open items gives valuation difference.
    1 & 4 will be grouped together and 5 & 6 will be grouped together.
    Once the open items are grouped, the following logic applies into each group.
    If post per line check is checked in the settings of valuation method, then each differences will be separate line item.
    If post per line check is not checked, then all the gains will be grouped as one line item and losses will be grouped as one line item.
    Thanks,
    Sukhbold
    Edited by: Sukhbold Altanbat on Oct 25, 2011 8:08 AM

  • Open item Mangement  not selected

    hi all
    We have created a GL A/c CST Recoverable-  A/c code No. 673210 on 02.02.07 (TC FS00) as a Balance Sheet account but due to oversight we didn’t mark the Account management as OPEN ITEM MANAGEMENT and Line Item Display.
    Latter we have marked line item display that was accepted by system but when we mark on OPEN ITEM Management  system does not allow for the same and displays a error message. on date A/c have a debit bal.Rs103,293.06
    Please give suggestion
    But, I executed Program RFSEPA01(Program name execute in se38):Switch On Line Item Display by Changing Master Record.
    but , stil system not accepting open item management
    pls give suggestion.. very urgently
    Thanks
    supriya

    Depending on your ERP release, you should be looking at RFSEPA02.  RFSEPA01 is to rectify if you forgot to check "Line item Display" on the account master record.  This will create the appropriate BSIS, BSID, and BSIK records for line item display. 
    RFSEPA02 is if you forget to check "Open Item Management" on the account.  This will creat the appropriate BSIS, BSID, and BSIK records for Open item management.
    By the way BSAS, BSAD, and BSAK are for the cleared items.
    RFSEPA03 is to turn the account off from Open item Management.
    In our ECC 6.0 system; however, RFSEPA02/03 are no longer options.  A popup error message suggests creating new accoutns and migrating the line items or archiving the existing items to use the existing account.

  • Reasons of open items.

    Dear Folks,
    We are migrating from classic GL to New GL (ECC 6.0). We have hundreds of thousands of open items which are pending and we need to clear those before migration activities.
    My question is - What could be the cause of such a huge number of open items? In my opinion it could be due to few of the inconsistencies like Balances in Local currency flag, account currency, open item managed flag and Tax category etc.
    Any other ideas comes to your mind besides the above, please let me know. It would be of great help so that I can capture it in my blue print.
    Thanks in advance!
    Best regards,
    Abhijit

    Hi,
    looks like th open items have not been cleared (periodically). So first check would be if automatic clearing is done and if yes, why its not clearing the open items (F.13).
    Check this one also: How to clear GR/IR account when criteria is not matching
    best regards, Christian
    Edited by: Christian Ortner on Nov 17, 2010 2:14 PM

  • Mark Debit Open Item as Doubtful

    Hi All,
    I like to do an enhancement on Dunning by defining Dunning Activities. For that I will create a function module which will mark the debit open item as doubtful, similar process is done by tcode FPZW.
    Is there any function module that would do certain process ? so I can make it as a reference. I have tried FKK_S_DOUBTFULDEBIT_CREATE, but kept getting error message saying that there's an error on the document, eventhough If I ran through FPZW it can be succeeded.
    another thing is, how do I create the function module which to be defined on Dunning Activities ? I mean, what parameters should I create for the function module ? or any parameters I need would do, but how am I supposed getting the informations required ?
    Thanks in advance
    Idi

    Depending on your ERP release, you should be looking at RFSEPA02.  RFSEPA01 is to rectify if you forgot to check "Line item Display" on the account master record.  This will create the appropriate BSIS, BSID, and BSIK records for line item display. 
    RFSEPA02 is if you forget to check "Open Item Management" on the account.  This will creat the appropriate BSIS, BSID, and BSIK records for Open item management.
    By the way BSAS, BSAD, and BSAK are for the cleared items.
    RFSEPA03 is to turn the account off from Open item Management.
    In our ECC 6.0 system; however, RFSEPA02/03 are no longer options.  A popup error message suggests creating new accoutns and migrating the line items or archiving the existing items to use the existing account.

  • Purchase Oder open item list query

    Hi experts,
    i will like to have a query for open item list for  purchase order which will show the following;
         1. the details of any particular order from a Vendor in terms of:
         a.     How much of it has been delivered
         b.     How much of it is left.
    Of any order at any particular time?
    Urgent Reply will be appreciated.
    Regards
    Justice

    hi
    try this query and update the status
    SELECT T0.[DocNum] as "PO No", T0.[NumAtCard] as "PO Ref", T0.[DocTotal] as "PO Value", T1.[ItemCode] as "Item Code", T1.[Dscription] as "Items", T1.[OpenCreQty] as "Still to be delivered" FROM OPOR T0  INNER JOIN POR1 T1 ON T0.DocEntry = T1.DocEntry
    Thanks&Regards
    Andakondaramudu

  • Regarding open items in credit management

    Dear friends
    My query is that is it possible to restrict credit management for credit and debit open items? See i am using oldest open item blocking in my scenario. Now credit and debit amounts are both considered as open item for credit management. I want only invoice (Debit entry) for consideration and not his payment(credit entry).
    Please advise is it possible or not and if possible where to define that???
    With regards
    Inder

    Hi,
    All business have their own credit management needs, SAP allows you to specify your own automatic credit checks based on a variety of criteria. You can also specify at which critical points in the sales and distribution cycle the system carries out these checks.
    SM30 - Table/View
    V_TVTW – Define Distribution Channel
    V_TVTA_KKB – Assign sales area to credit control area
    V_T014 – FI - Define Credit Control Area
    T001CM - FI – Assign Permitted Credit Control Area to company code
    OVXG - Set up Sales Areas
    e.g. Sales Organization
    Distribution Channel Division Distribution Channel Division
    FD32 - Customer Credit Management
    OVAK - Define credit limit check by sales document type
    Check Credit
    A – Credit limit check and warning message
    B – Credit limit check and error message (no sales order can be created)
    C – Credit limit check and delivery block (block delivery if hit credit limit)
    Options B and C -> used for checking open order values (when you create/change the sales order)
    D – Automatic credit control with open order values
    More control in transaction OVA8 - Automatic credit control
    You check for open orders and deliveries, or just open deliveries.
    or open order values with other options
    Credit group
    Allows you to combine different sales document types for the credit limit check
    VKM1 - Blocked SD Documents – Finance have to released the delivery block
    OVAD - Define credit limit check by delivery order
    whether the automatic credit check occurs at the time of delivery creation and/or goods issue
    OVA7 - Define credit limit check by item category
    Set whether to include/exclude item category for credit limit check
    OVA6 - Define credit group. You can groups together different business transactions which should be dealt with in the same manner with regard to the credit check.
    You enter the credit groups when you configure the sales document types for credit management and define the (D – automatic credit check).
    SAP default credit groups
    01 – credit group for sales order
    02 – credit group for delivery
    03 – credit group for goods issue
    OVA8 - Automatic credit control – Double click on the line items
    You can have the followings credit limit check :-
    Static
    Depends on the customer total value of open orders, deliveries, billing documents and open items.
    Open items
    No of days open
    Overdue open items checks is based on the ratio of open items that are overdue by a certain number of days.
    Max open items %
    The customer balance must not exceed a certain percentage.
    Oldest open items
    If you don’t want to deliver to the customer at all when even only 1 invoice is overdue.
    Tick the Check for Oldest Open Item and Set the field Days oldest item = 1.
    Days oldest item
    No of days allowed for overdue or payment terms.
    Use of the credit check Oldest Open Item. If a user attempts to alter the order quantity of a released sales document
    that was previously blocked, it would be reblocked again by the system. The system only reblocks the sales document if the new order quantity is above a certain % amount.
    Released documents are still unchecked
    The preset % is whatever you want to set it as when configuring your automatic credit processing. You enter a deviation % and number of days,eg, you can set it so that an order can be changed by up to 10% within 30 days of original order entry date without it going back on credit block.
    Next Review Date
    If a customer has a credit limit of 1000 USD, and you would like to restrict this credit limit only to be available in current month (say March). If the document day is in April then the credit limit is zero.
    You can use the “NextReview date” and “Number of days” fields and combined it with the “Last int.review” field in customer credit master “Status” view (FD32).
    VOKR - Display of work list for credit management (configure the display variant)
    regards,
    Siddharth.

  • Query For Open Items

    Hi,
    We are trying to create a query for the open items (purchase orders ) in order to add some fields useful for users.
    Would you be able to advise with the query needed to show us only the open items?
    Best regards,
    MB

    Hi,
    Try this one:
    Select distinct t1.cardcode as Vendor, t1.CardName as Name, t1.docnum as PO#, t0.itemcode, t0.Dscription, t0.OpenQty as 'Open Qty', t0.linenum Row#, t1.DocCur as Currency, t0.price as 'Purchase Price', t0.whscode, t1.taxdate as "PO Date"
    from dbo.por1 t0
    inner join dbo.opor t1 on t1.docentry = t0.docentry
    where t1.DocType = 'I' and t0.linestatus = 'O'
    order by t1.docnum Desc, t0.linenum
    Thanks,
    Gordon

  • Open items query in BW (restriction on amount)

    Hi all,
    from the open items report on FI-CA (transaction FPO4) it is possible to select based on the amount related to the balance at BP, CA... level.
    Does anybody know how to do the same with the query of open items from BW (0FC_C07_Q0001)?
    Example: We want to restrict only the open items for CA with a due amount grosser than 125 euros.
    Thanks!,
    Montserrat

    Solved

  • How to create ABAP Query for vendor open items

    HI,
    My client has requested me to create ABAP Query for vendor open items . So that it will be usefull for the users . Could anyone help me with this. I will assign you points.Thanks in advance.

    Hello,
    Use Table BSIK <Open Items of AP > & BSAK <AP Cleared items>......
    For Query you can use SQ01.
    USE BSID & BSAD for AR open/clear items...
    LFA1, LFB1 are vendor master data tables
    This is FYI
    Hope this helps.
    Rgds
    Rajendra

  • Regarding Open items in Tcode OVA8 in Credit Management

    Assignment of Credit control area to sales area is not maintained& Item category is not credit active. But it is blocking some customers for open items for order. I want to know the reason. and also. Credit limit is defined for all customers &Credit control area is defined for all Customer master data. But blocking only 2 customers for open items . I will be thankful if any one answer to the reply . And i want to know the implication of open items in OVA8.
    Regards
    Madhav

    01.12.2008
    Hi madav,
    Try executing check_cm thru SE38. You should get a clue.
    Regards,
    Uday

Maybe you are looking for

  • Infopath 2007 not printing footer in browser print view

    I have added a footer to the print view of a browser enabled form and it is not printing when printing the form. The footer is relatively sinmple, however when I click on print view on the browser form and use print preview, I cannot see the footer a

  • XMLEncoder problem

    Hi all!! when i was using XMLEncoder class for serializing some objects in a xml file using Jrun4 application server, it is creating the file(xml) in bin folder.But i need to have a xml file to have in webapp folder... please guide me on this......

  • Problems connecting FTP from Cyberduck to my Wordpress site

    ***forewarning, please be direct and simple, I am a WP beginner and do not know much about computers I am just trying to install a simple theme for my Wordpress site. I know I need a FTP or SFTP client, so I decided to use Cyberduck. When I click "Op

  • Where is the narwhal emoji? Wait there isn't one. C'mon Apple

    why isn't there a narwhal Emoji? The narwhal is the best whale in the sea. THe unicorn of the sea. please Apple, fulfill my dreams of the narwhal emoji, and I will be loyal to you forever.

  • Report addition via PFCG - erraneous

    Hi All, I have a issue.The reports added to a role thr PFCG is not visible when the role is opened in Bex. The table AGR_HIER is not updating the unique ID of the query when added via PFCG and hence this issue. Is there some settings that we need to