FBL5 FIAR - exception aggregation - count customers with open items at key

Hello gurus,
I have read the information about counting all values in reference to a characteristic. I manage to count how many customers have a FIAR open item 'billing status' = Open in my FIAR cube.
Now I am asked to replicate transaction FBL5 of R3. This transaction will give you open items at a given key date by adding
the items with
A) Item status = 'O' and posting date <= key date
and the items with
B) Item status = 'C' and posting date < =key date and clearing date > key date.
I calculate the net value by creating 2 restricted key figures and then adding them in a CKF.
But for counting I have a problem. I can count how many customer make up the open items (case A)
and how many customers makeup items that where cleared between key date and today.(case B).
But I cannot sum the two numbers as there might be customers that are counted in both cases.
For example I have 4 customers that correspond to case A : 1000 1011, 1012 and 1014
And I have 3 customers that correspond to case B  1000 , 1011 and 1013
I would like to get 5 as the number of customers that verify either case A or case B (or both).
Is there a way to do this with the exception 'aggregation 'and 'count all values' property of CKF ?
Claudio

Hi,
The logic given in the above post may be a bit confusing to you. Check out this explanation and try to understand what I mean.
Posting Date - PD
Key Date - KD
Clearing Date - CD
PD--KD--
CD
-O(Status)-C--O-----C
-5107-----8
Let me explain the above table.
Between PD & KD there are 5 count with status'O' and 10 counts with status 'C'.
Between KD & CD there are c counts with status 'O' & 8 counts with status 'C'.
This means 5 with status 'C' becomes 7 between KD & CD.
Similarly, 10 status with 'O' becomes 8.
The logic I am trying to say is..
If you don't want to get counts with status 'C'(repeated) as I understood) 7-5 = 2. Show this 2 as count for status 'C' between KD & CD.
So the table will become like this now.
PD--KD--
CD
-O(Status)-C--O-----C
-5102(7)---2(8).
In braces shown are the total with status 'O'/'C' for the dates.
I hope this will solve your problem.
Message was edited by: AVR - IGA

Similar Messages

  • Vendors with open items

    Dear experts
    How do i get a list of vendors and customers with open items for a given company code at a given date

    Hi
    A) Trx:
    1- Vendor FBL1N
    2- Customer FBL5N
    B) Tables:
    1- Vendor BSIK/BSAK
    2- Customer BSID/BSAD
    C) BAPI:
    1- Vendor     BAPI_AP_ACC_GETOPENITEMS
    2- Customer BAPI_AR_ACC_GETOPENITEMS
    Max

  • Function or bapi returning customers or vendors with open items

    Dear experts.
    may you please tell me which function or bapi can i use that will return all customers or vendors with open items per given plant. i have tried to use BAPI_AR_ACC_GETOPENITEMS and BAPI_AP_ACC_GETOPENITEMS but they return open items for a given customer and vendor respectively per given company code.

    willard,
    the term "open items per given plant" is not defined exactly. VENDORS and CUSTOMERS are not linked to  specific plant. GOODS are produced and stotred in one or more plants. They may be sold  by a sales organization linked to a company code. Copany may have seral plants.
    That may be one reason for SAP not to provide the function you are looking for.
    Please give more information about company structure and sales and purchase process.
    Regards,
    Clemens

  • Function or bapi returning customers or vendors with open items  per plant

    Dear experts.
    may you please tell me which function or bapi can i use that will return all customers or vendors with open items per given plant. i have tried to use BAPI_AR_ACC_GETOPENITEMS and BAPI_AP_ACC_GETOPENITEMS but they return open items for a given customer and vendor respectively per given company code.

    ok but those 2 BAPIs return open items after providing the customer or vendor. what i need is a BAPI which returns a list of customers or vendors with open items

  • Posting to G/L accounts with open item management not permitted Fagl_post

    Dear Expert,
    When i run the foreign cur rev. through FAGL_FC_VAL then system is not post the currency rev on open item on GL account.  It showing subject message and also show below mesaage:-
    Message no. FAGL_POST_SERVICE012
    Diagnosis
    You use GL account 210012 in company code 1000 with open item management. However, posting  are not permitted G/L accounts in individual ledger with open item management.
    Please advice on this issue.
    Thanks & Regards,
    Pankaj

    Hello Pankaj,
    Is your adjustment account was defiined as OI management. if yes, then t is generally not permitted to use the O/I managed account as an djustment account. The adjustment account is the same as O/I
    managed GL account, so the error message FAGL_POST_SERVICE012 is issued. This is justified because open items must be made valid for ALL ledgers in the client but FAGL_FC_TRANS posts ledger specific posting by having ledger group in the document header - Ledger Grp 0L.
    The best solution is to assign non-O/I managed account as an adjustment account, and this is the 'standard' solution.Please also check note 884639.
    Best Regards,
    Gladys xing

  • Account type M and G/L account with open item management not permitted

    Hi,
    I am getting the following error while applying VL02N (PGI) is "Account type M and G/L account with open item management not permitted".  Before I got an error like posting period and I have closed those posting periods 2008/08 and 2008/07.   Now I am getting this error. 
    Please provide the solutions to overcome this and I want to execute the full transaction.
    Thanks in ADVANCE.
    Kishore

    Hi Kishore,
    Please check these threads
    Account type M and G/L account with open item management not permitted
    Re: Account type M& GL with open item managment not permitted error
    Posting to G/L accounts with open item management are not permitted
    Hope this would help you.
    Good luck
    Narin

  • Postings to G/L accounts with open item management are not permitted Messag

    HI All,
    Me activiated New GL. and when I am trying to post the
    document, I am getting the below error.
    The GL used 200100 is Cash A/c (40)
    Cr Eq Share Capital A/c (50)
    As Cash A/c requires Clearing, I have activated "Open Item Management".
    Can you advice me why Its giving me the below mentioned error.
    Thanks
    Postings to G/L accounts with open item management are not permitted
    Message no. FAGL_POST_SERVICE012
    Diagnosis
    You use G/L account 200100 in company code RLIF with open item
    management. However, postings are not permitted to G/L accounts in
    individual ledgers with open item management.
    Procedure
    If you have not yet made any postings to this account and if the
    account is to be used for closing processes in non-leading ledgers,
    deactivate the Open Item Management indicator in the company code data
    for the G/L account.
    Thanks,
    Niranjan Yandamuri

    Hi,
    Please, refer to note 1646466 for the info on this message.
    Regards,
    Eli

  • F-30 Post clearing with Open Items

    Hi to all.
    i have created a function module that will ask for external invoice # upon pressing the SAVE button in VF01 and will populate the custom table i have created also with System Invoice # and the External Invoice entered by the user. i was able to link my custom table to FBL5N displaying the External Invoice  based on the System invoice in FBL5N.
    now i need to add a custom fields  to the Account Item table display in F-30 Post clearing with Open Items displaying the external Invoice from my custom table .
    thanx in advance....

    Solved it myself.
    for those who will have requirements like mine.
    these are the steps i did.
    -append structure in both RFOPS and RFOPS_S
    -create a BTE using bte 0000900 events
    -from zfunction modules of bte 00009000 i link my custom table base on the work area of rfops then insert the value for my custom fields.

  • Account type M& GL with open item managment not permitted error

    Hi
    We are getting the below error message while trying to do Goods reciepting using MIGO transaction.We have created new plants and done all assignments...
    Account type M&GL account with open item management not permitted....

    Hi
    GL code is assigned for GR/IR clearing account..But in fs00,for GL account/Company code,Open item management is ticked..Can u tell me how to remove the open item management.When i untick the open item management it gives an error message as below...
    (you want to switch off the open item management function
    retroactively for an account, you must first clear all the postings
    currently on this account. You cannot make any changes to the account
    management method until this is done.)
    Iam doing config in development server...In production server open item management is unticked

  • Postings to G/L accounts with open item management are not permitted

    Dear all,
    i am getting one error FB01L ledger specific posting  for ledger group L2 ledger (IFRS) error is "postingst o GL accounts with open item management are not permitted " i am posting both gl accounts  are balance sheet  account, please help me how to resolve the problem .
    Message no. FAGL_POST_SERVICE012
    Reregards
    rajashekhar

    Dear all,
    Thanks for reply, The error message appears FAGL_POST_SERVICE012 because it is generally not permitted to use the O/I managed account as an adjustment account.It is not possible to post on Individual Ledger (on a Leading or non-leading) on OI Account. This is for your informations
    We want to post ledger specific for L2 ledger  i am getting above error can help me how to sovle the problem , otherwise any alternaitve solution for posting  L2 Ledger

  • New gl with open item

    Hi experts,
    out user by mistakely created one gl account with out open item management and posted to the gl account, but not they want to put open item tick mark, if i create new gl account with open item and how can i transfer the posted items to the new gl. (line items are in previous months)
    pls. give the valuable suggestions.
    regards,
    gopi

    Dear Mr Akash,
    System will not allow you to put the tick markin open item managed cell, because open item is still there in the old GL even if the balance is made zero.
    Account balance = 0 but open items exist in the account
    Message no. FH190
    The data contains error, you cannot save
    Message no. FH511
    For avoiding above error message you have to change the error message to warning message and update the GL Code to open item managed and repost the line items from Adjsutment A/c created.
    But this is not advisable as you are changing the standard SAP functionality.
    Dear Mr Gopi option is upto you to change the message control and change GL Code to Open item managed and after posting the open items from a dummy a/c you need to reset the message control as error message again.
    Regards,
    Alok

  • 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

  • Posting to gl a/c with open item management are not permitted.

    hello,
    When i run FAGL_FC_VAL it display the report and generate the batch input session.
    But when i run the session the error massage appear -
                "posting to gl a/c with open item management are not permitted."
    When i post the same gl mannually, it doesn't show any error.
    The Same Problem appear when i run the session generated from FAGLF101- the regrouping program.
    Can any body give some idea, what should be done.
    Thanx
    Subodh

    Hello this is chandu,
    When u run the fc val it posts the ex gain or loss to  respective a/cs.Means those a/cs are not B/S a/cs.Only B/S a/cs we select open item management which r require to maintain on OI management basis.
    So try to maintain other a/cs for ex gain and loss y bcoz once u post any transaction in those a/cs which r created already on O Item mgnt basis u cannot change that again.
    Then assign those a/cs to automatic postings and run the rc val again
    May it will be useful to u
    Thank u

  • FB50L error: Postings to G/L accounts with open item management are not permitted

    Dear All
    I need your help.
    I am trying to do some adjustment to GR/IR clearing account in Non-leading ledger. Since for this account open item management is ticked, I am getting an error message 'Postings to G/L accounts with open item management are not permitted'.
    Now I have checked the forum to find some solution...but does not fit my requirement.
    I cannot create a new account. I cannot change the existing account. I tried OBA5, but the message persists.
    I also checked the notes.
    Appreciate a response on how the post to open item managed accounts in non-leading ledger.
    Regards
    Kunaal

    Hi Kunaal
    Usually, OIM accounts are not allowed for Non Leading Ledger postings... With EhP4 or 5, i guess, a new feature is added in GL Master whereby you can specify that a GL will be OIM for Leading Ledger and Not OIM for a Non Leading Ledger
    Regards
    Kavita Agarwal

  • ASKBN - Postings to G/L accounts with open item management are not permitte

    Hi All!
    I have a problem: I run the transaction ASKBN (periodic asset postings) and receive the message about error: "Postings to G/L accounts with open item management are not permitted".
    Please let me know how correctly run the transaction?
    Thank.

    Hi,
    if you would have posted this information with your opening post, it would have been more helpful. How should the community know this detail?
    Regards,
    Markus

Maybe you are looking for

  • I am currently using the iPhone 5 ( Verizon ) to text another non-smartphone ( AT

    As the question stated, that's pretty much the problem. At the end of most messages the receiving phone is getting messages with the @ sign at the end. Not sure exactly what the problem is. I appreciate the help greatly. Thanks!

  • ORA-03113 Oracle10G

    Hi need help When I exec this whith sql*plus in Oracle10g i have this error SQL> CREATE TABLE PHOTOS 2 ( 3 ID NUMBER PRIMARY KEY 4 ,PHOTO BLOB 5 ,PROP CLOB 6 ) 7 / Table created. SQL> Create or Replace Procedure INSERT_IMAGE(P_ID NUMBER, P_FILE VARCH

  • Tax Invoice Report

    Hi All, as i'm new to oracle apps and reports,i have assigned some work on reports that is with India Localization. Can any one is intrested me to helpin this issue as i ahve given this report by 2day. If any one is intrested i will provide the acces

  • I want to freeze frame  while rendering and to continue

    hey all i am using a processor and a codec to grab frames (AccessFrame...) while rendering the media i created a mouse listener . on the first click i want to freeze the image and click 3 more times in order to get specific coordinates and then to ca

  • JSP/Servlet communication

    Hi all I want to populate a list containing domain objects in a servlet and then send the list to a JSP but without storing them in a HttpSession. I'm leaning toward storing the list as a ServletRequest attribute and then reading the attribute from t