Query to get all General Ledger: Actual Line Items

Hello All,
I am developing a cash flow report. for this I write a query on FAGLFLEXA table but in my system business area is not mation in FAGLFLEXA table becouse customization is not done.
so i want to use other table where i get Business are, company code, year and period.
so can anybuddy send the query from i get all actual line items
so can you help me...
thanks in adv.
Kaustubh

Hello Balu Latpate 
Thanks for u r reply
but their is no entries in the GLPCT and GLPCA

Similar Messages

  • Enhancing the FAGLFLEXA(General Ledger: Actual Line Items) table

    Hi All,
    I am trying to add Material Number (MATNR) to the table FAGLFLEXA(General Ledger: Actual Line Items)
    For this i have added Material number in the include CI_FAGLFLEX04 of the table  FAGLFLEXA.
    But still material numbers are not appeared in the table FAGLFLEXA.Material number exist in the structure COBL - Coding Block,i believe SAP standard programs has to pick up material number from coding block to FAGLFLEXA table.
    Please advise me if anyone enhanced this table .
    Regards
    L Appana

    Hi Appana,
    I also want to add MATNR to FAGLFLEXA. Can i know how did you go about creating new segment to flow MATNR in FAGLFLEXA?
    Somar
    Edited by: Somar on Mar 6, 2009 10:37 PM

  • 0FI_GL_14 or 0FI_GL_4 General Ledger Accounting Line Items

    Hello experts,
    we should extract the Line Items from General Ledger Accounting.
    There is a new datasource from SAP 0FI_GL_14 (General Ledger Accounting (New): Line Items of the Leading Ledger)
    I cant find it in our source system because I think we donu2019t have SAP Enhancement Package 3 for SAP ERP 6.0 yet.
    The question is, instead of this new datasource, can we use the old one 0FI_GL_4 (General Ledger: Direct Line Items ) if all necessary fields are available in extract structure.
    Do you have any idea or experiences ?
    Thanks.

    We donu2019t have ehp3, so i cant use 0FI_GL_14.
    Can we really compare 0FI_GL_14 and 0FI_GL_10  ?
    Because 0FI_GL_10 extracts not on document level but I need information (Work breakdown structure element(PROJK)) on document level.
    So I need both fields in extract structure u201CAccounting document number (BELNR)u201D and u201CWork breakdown structure element(PROJK)u201D.
    0FI_GL_10 contains none of them.

  • Getting all documents(and their line items) on basis of a vendor r customer

    Hello to all,
    I have made a report which takes a range of document dates and querys the bkpf on the basis of bldat(and query bseg on basis of the retrieved belnr). Now want i need is to add another selection(lifnr in case of vendor and kunnr in case of customer) so that if i want to see a particular vendor or customer, i can see only those record(line items).
    i tried querying the bseg on basis of lifnr , but i get only those line items (vendor line item or customer line items)
    i want all the line items.. 
    How to do it ?
    Help needed..Thanks..
    Shehryar

    Hey,
    Accounting document data is stored in the below tables:
    BKPF - Header
    BSEG - Line Item: GL/Customer/Vendor
    BSID/BSAD - Open/Cleared Customer Items
    BSIK/BSAK - Open/Cleared Vendor Items
    BSIS/BSAS - Open/Cleared GL Items
    Follow the logic below:
    For Vendors:
    Select (BELNR) data from BKPF based on BLDAT
    Select data from BSIK and BSAK where BELNR = (BELNR in Step 1) and LIFNR = (User Input)
    Select data from BSIS and BSAS where BELNR = (BELNR in Step 2)
    For Customers:
    Select (BELNR) data from BKPF based on BLDAT
    Select data from BSID and BSAD where BELNR = (BELNR in Step 1) and LIFNR = (User Input)
    Select data from BSIS and BSAS where BELNR = (BELNR in Step 2)
    -Kiran
    *Please reward useful answers

  • SAP R/3  General ledger Open line item posting

    Hi
    I have a query on how to clear a Gl account after it has been made open item managed
    Issue: Assuming GL A/c 12345  was not open item managed till March 2007 .  when we look for open items for this Gl acount through T Code FBL3n it shows all the items made to this Gl account as posted but not cleared .
    Now we have made this Gl as open item managed since April 2007 . I want to know is there any way
    I can clear the open items posted to this Gl account before it was made open item managed.
    Thanks & regards
    RK

    Hi
    Have a look to the ABAP RFSEPA02.
    Since 4.0 you can no longer run it but jour can change the program or run it in DEBUG mode.
    In ERP2005 it was no longer possible to change g/l to open item management. (without turnoff the error message) When you use new G/L you can no longer use this.
    SAP advise to create a new G/L account and don't change it. (for this there is an OSS note. There are risks that this is going wrong. Test this first in a test system (95% it don't will give problems
    Paul

  • Actual Line Items for Special Ledger

    Hello,
    I wrote an report to show FI-SL balances.
    In addition to that, now I need the actual line Items for them (table TRACTSLA)
    I've found a transaction called KE5Z, which is for PCA line items.
    Is there also such a transaction for special ledger line items, which I can reuse?
    Thanks in advance.

    Tty KE24, KE25.
    Regds,
    Anil

  • Oracle query to get all occurences of a text in a string

    Hi
    Does anybody know how to write a query to get all occurences of a text in a string in different rows of the table
    For eg:
    I have a string <aa>bb</aa><aa>cc</aa><aa>ddd</aa>
    I have to find every occurence of <aa> and get the data between <aa> and </aa>
    So the output should be
    bb
    cc
    ddd
    I think this can be done by using a regular expression but I dont know how.
    Can anyone help me?
    Thanks in advance.

    user2360027 wrote:
    BluShadow,
    The query gives correct results if i only have <aa></aa>
    What if i have <ff></ff>?
    Example:
    <aa>bb</aa><aa>cc</aa><aa>ddd</aa><ff>dsd</ff>
    I want to have the following (dsd should not be there in the result)
    bb
    cc
    dddThis is a new requirement and not what you asked for in your original post. Perhaps you should tell us exactly what you are trying to achieve and what database version you are using to save us guessing.
    To crokitta,
    This version will deal with multiple rows..
    SQL> ed
    Wrote file afiedt.buf
      1  with t as (select '<aa>bb</aa><aa>cc</aa><aa>ddd</aa>' as x from dual union all
      2             select '<aa>xx</aa><aa>yy</aa>' from dual)
      3  -- end of test data
      4  select x, vals
      5  from (
      6    select x, regexp_replace(REGEXP_SUBSTR (x, '>[^<]+', 1, lvl),'[<>]') as vals
      7    from t
      8        ,(select level lvl from dual connect by level <= (select max(length(regexp_replace(x,'[^>]*'))/2) from t))
      9    )
    10  where vals is not null
    11* order by 1,2
    SQL> /
    X                                  VALS
    <aa>bb</aa><aa>cc</aa><aa>ddd</aa> bb
    <aa>bb</aa><aa>cc</aa><aa>ddd</aa> cc
    <aa>bb</aa><aa>cc</aa><aa>ddd</aa> ddd
    <aa>xx</aa><aa>yy</aa>             xx
    <aa>xx</aa><aa>yy</aa>             yy
    SQL>

  • SQL Query to get All AD Groups and its users in Active Directory

    Hi,
       Is there any query to get all AD groups and its user in an instance of a SQL server?

    Check this blog.
    http://www.mikefal.net/2011/04/18/monday-scripts-%E2%80%93-xp_logininfo/
    It will give you more than what is required. If you dont want the extra information,then you can try this.. I took the query and removed the bits that you might not require.
    declare @winlogins table
    (acct_name sysname,
    acct_type varchar(10),
    act_priv varchar(10),
    login_name sysname,
    perm_path sysname)
    declare @group sysname
    declare recscan cursor for
    select name from sys.server_principals
    where type = 'G' and name not like 'NT%'
    open recscan
    fetch next from recscan into @group
    while @@FETCH_STATUS = 0
    begin
    insert into @winlogins
    exec xp_logininfo @group,'members'
    fetch next from recscan into @group
    end
    close recscan
    deallocate recscan
    select
    u.name,
    u.type_desc,
    wl.login_name,
    wl.acct_type
    from sys.server_principals u
    inner join @winlogins wl on u.name = wl.perm_path
    where u.type = 'G'
    order by u.name,wl.login_name
    Regards, Ashwin Menon My Blog - http:\\sqllearnings.com

  • Query for getting all function and procedure inside the packages

    hi All
    Please provide me Query for getting all function and procedure inside the packages
    thanks

    As Todd said, you can use user_arguments data dictionary or you can join user_objects and user_procedures like below to get the name of the packaged function and procedure names.
    If you are looking for the packaged procedures and functions source then use user_source data dictionary
    select a.object_name,a.procedure_name from user_procedures a,
                  user_objects b
    where a.object_name is not null
    and a.procedure_name is not null
    and b.object_type='PACKAGE'        
    and a.object_name=b.object_name

  • All line items on a Cost Center Are archived, do not see in custom reports - error No actual line items were selected

    Hello, experts !
    Please advise,
    I have a cost center,
    on witch I know there are bookings,
    1. I do KSB1, have message "No actual line items were selected"
    2. I select - extras - data source - archive
    in this way I can see my items.
    ok.
    maybe all bookings are archived.
    no:
    I de a new movement on this CC - KB11N (exemple) - and on the new one I have the same problem
    I se it only when I check "archive",
    and do not see it on custom reports.
    Why ?
    Ay idea ?

    Dear Jonny,
    Check the T Code: S_ALR_87013611
    Then T Code: KSB1 by removing all the filters like date restriction..etc.
    Still if you are not finding the postings:
    Check the postings in the T code FAGLB03 - Display Balances by giving GL Account.
    Postings happen in co module if there is a cost object.
    If there is no cost object it will not flow to controlling, that will be in FI.
    What you need to do is:
    Select your GL
    Select your Payment date
    Select your Document number.
    You can check the same in FBL3N also.
    go to the transaction summary and verify the cost object whether it is a cost center or Order...etc.
    Also check whether the payment is in parking stage ....?
    Regards,
    Pavan Kumar Arvapally

  • Dear Gurus, Can i have SQL query to get Ar cash receipt appled lines details in R12

    Dear Gurus, Can i have SQL query to get Ar cash receipt appled lines details in R12

    I need to get ar and ap details from GL through xla.For ex: Reference1,reference2,reference3,reference4,reference 5, in 11i these column values are displayed in gl_je_lines where as in R12 we need to join xla tables with gl_sl_link_id and gl_sl_link_table
    Can someone provide query to get subledger details particularly ar and ap?.How are the AP & GL Journal Tables linked? [ID 1188714.1]
    R12 Mapping Between Subledger Tables, SLA and GL Tables [ID 871622.1]
    eTRM
    http://etrm.oracle.com/
    Thanks,
    Hussein

  • Query to get all ports assigned and used by EBS instance.

    Hi,
    Can some one pleaase help to get
    Query to get all ports assigned and used by EBS instance.
    Help is appreaciated.
    Regards,
    Milan

    MILAN RATHOD wrote:
    Hi,
    Can some one pleaase help to get
    Query to get all ports assigned and used by EBS instance.
    Help is appreaciated.
    Regards,
    MilanIn addition to the thread referenced above by Helios, please check the context files and (Oracle E-Business Suite R12 Configuration in a DMZ [ID 380490.1] -- F. List of Ports to Open in a DMZ Configuration).
    Thanks,
    Hussein

  • Error: No Actual Line item were selected (Message No. KB420)

    Hi All,
    I have created order in KO01 and posted the transaction in F-02. And assigned the same order in KH01.
    And, now i am trying to Actual cost of line items for order in KOB1, i am getting below error
    "Error: No Actual Line item were selected (Message No. KB420)"

    HI,
    Thank you for the reply.
    Madce necessary changes internal order and assigned the correct cost element.
    issue got resolved. Thank you

  • User defined Characterestics not being updated in actual line items

    Gurus!
    I am using Accounting Based COPA only.
    I have defined a user based characteristic for which I am using user exit to derive.
    However, this charaterstic is not getting updated in actual line items.
    The derivation is working correctly at Sales order and Invoicing documents. (account assignment tab).
    Where could I be going wrong??
    Regards
    Saurabh

    Hi,
    Please check the settlement rule of the sales order and check whether the relevant characteristics have been maintained in the settlement rule of PSG. If not, you may have to include the same.
    Trust this helps much.
    Cheers

  • Profit center - actual line items report

    < MODERATOR:  Message locked.  Please post this message in the [Controlling forum|SAP ERP Financials - Controlling;. >
    hi,
    i am trying to excute ke5z, profit center actual line item report. it does not show any values even if i am running it wide open, I am testing this in our quality client, we have data all of 2008 posting to profit centers. i
    is there some kind of config involved in this.
    please let me know if anyone has an idea.
    thanks.

    Are you absolutely sure there are no values in any of the fields in selection screen?  Recheck if any of the multiple selections (arrow at the end of each field) is active?  Are you running it for record type 0 (actual) - you did say you are running it wide open, but I am just trying to reconfirm.
    Just another think that you could check - when you are in the initial screen of KE5Z, go to Extras -> Data source (F5) from the top menu and make sure Database checkbox is checked.
    Edited by: Srikanth Tamma on Sep 22, 2008 6:46 PM

Maybe you are looking for

  • Questions on SAP b1

    1) Which document in the purchasing process cannot be used as a service document? 2) Which of the following documents are optional in the purchasing process?   a) Purchase Order   b) Goods Receipt PO   c) AP Invoice   d)  Landed Costs document   e) d

  • Error While Commiting .PAK files from ODDC Services

    Hi I am trying to scan and commit documents using ODDC client. I am able to successfully send the Document from Remote Location and corresponding .PAK files are also created but when ODDC services try to process and Commit the document, i get followi

  • IPod Classic connection issue

    Just bought the 80 gig Classic and have already had issues. See http://discussions.apple.com/thread.jspa?threadID=1243711. Finally got this resolved and synched the iPod to iTunes. Now, I can't get the d**n thing to connect again. The screen says CON

  • How to make curved arrows from circle?

    Hi, I want to make four curved arrows that lead into each other. Ideally, arrow head would just be a > shape at the end of the line that is the same width as the line (i.e., as if a straight line was cut at the end, so no tips or gaps.) I have drawn

  • OIM-AD connector Issues

    Hi, I am using a VMware image already configured with OIM-AD. But the AD connector is having some issues. When I test the ADITResource connectivity, the test is failed. It says the input parameters are correct. I have cross-checked may times...but al