Pull all GL Lines for specific period

I am in need of pulling all GL Lines for a specific period. However, the query I built is also pulling in Project Account Lines. What I want are lines that posted to an account. I've posted my query below but can someone shed light onto how I can pull al GL Lines that posted to an account for a specific period?
thanks,
select distinct
cb.segment1
,cb.segment2
,cb.segment3
,cb.segment4
,cb.segment5
,cb.segment6
,cb.code_combination_id
, fv.description acct_desc
,jh.posted_date
,jh.je_category category
,jh.name entry
,jh.description reference
,jh.external_reference
,jb.name batch
,jl.accounted_dr debit
,jl.accounted_cr credit
,usr.user_name last_updated_by_username
,usr.description last_updated_by_user
,cusr.user_name created_by_username
,cusr.description created_by_user
,jl.EFFECTIVE_DATE
,jl.je_header_id je_unique_id
from gl_je_headers jh
, gl_je_lines jl
, gl_je_batches jb
, gl_code_combinations cb
, FND_ID_FLEX_SEGMENTS fs
, FND_FLEX_VALUES_VL fv
, fnd_user usr
, fnd_user cusr
where
jh.je_header_id = jl.je_header_id
and jh.je_batch_id = jb.je_batch_id
and jl.code_combination_id = cb.code_combination_id
and fs.flex_value_set_id = fv.flex_value_set_id
and fv.flex_value = cb.segment1
and jb.last_updated_by=usr.user_id
and jb.CREATED_BY = cusr.user_id
and jl.EFFECTIVE_DATE between '01-APR-10' and '5-APR-10'

hi friend
u have specify ur account segments so it will only retrive the account code u want
u can also limit Source_Name for specifying the source of journals
but for limiting post date u have to write the posted date u want by putting condition on "Posted_Date" in GL_JE_Headers
bests

Similar Messages

  • New GL - Financial Statement for Specific Periods

    We are using the new GL. I am looking for a report similar to F.01. Instead of displaying reporting period, comparison period, absolute difference, and rel diff, we would like to display amounts for specific periods.
    For example, we would like to see totals for period 11 2009, period 10 2010, and period 11 2010 all in one report with columns like below.
    Ccode     Acct          11.2009          10.2010          11.2010
    ABCD     101000          7.221,53     6.482,51     5.418,92
    ABCD     102000          2.447,34     2.361,81     3.144,62
    Is there such a report? I have looked, but it appears that all the reports can only be displayed for a range of periods.
    Thanks for your help.
    Brenda

    Hi,
    define such a report using T-code FGI0.
    Best regards, Christian

  • Export data for specific period through Data Pump

    Hi,
    I've a specific requirement to take the dumps of some tables for specific time period. like between last 10 days like 01-JAN-11 to 10-JAN-11. How can I acommplish this. For Documentation what I read is that we can export the data for specific period of thie by either setting FLASHBACK_SCN or FLASHBACK_TIME parameter in expdp command but this is point in time export not for the specific time export.
    Please guide me how can export between the specific time. like between 1-JAN to 10-JAN
    Regards,
    Abbasi

    export between the specific time. like between 1-JAN to 10-JANYou need to clarify your requirements. Data is always "at a point in time". I can see data as at noon of 01-Jan. I can see data as at noon of 10-Jan. What would I mean by data "between" 01-Jan and 10-Jan ?
    Say the table has 5 rows on 01-Jan :
    ID    VALUES
    1      ABC
    2      DEF
    3      TRG
    4      MXY
    5     DEW2 Rows "6-GGG" and "7-FRD" were inserted on 02-Jan.
    2 Rows "2" and "3" were updated from "DEF" and "TRG" to "RTU" and "GTR" on 03-Jan.
    1 Row "5-DEW" was deleted on 09-Jan.
    2 Rows "8-TFE" and "9-DZN" were insereted on 09-Jan.
    Can you tell me what is the "data between 01-Jan and 10-Jan" ?
    (the above example actually happens to have an incrementing key column "ID". Your table might not even have such an identifier column at all !)
    Hemant K Chitale
    Edited by: Hemant K Chitale on Jan 10, 2011 5:23 PM

  • Oracle HR 11.5.7 -Select DateTracked Info of Employees for Specific Period

    Oracle HR 11.5.7 -Select DateTracked Info of Employees for Specific Period (From/To)
    Hi,
    We have Oracle Human Resources 11.5.7 and I would like to know which is the best way to use when need to query data for employees valid within a specific period (From/To) or at specific date.
    For example:
    Say Current Date= 25-OCT-05
    1.
    If I want to query the number of employees booked for a training event occurred as at 01-AUG-05 and one of the employees booked left as at 30-SEP-05, I would like to be included in the query.
    or 2.
    If I want to see the employees assignment details for a specific period to see the active(latest) assignment details as at that period.
    I would appreciate any feedback regarding the best way to do such queries as far as accuracy of data and performance is concerned.
    Thanking you in advance.
    Best regards,
    Elena

    Thank you for your reply..:)
    Actually I'm already using this..
    My problem is when I need to retrieve information for a specific period of time.
    For example say I want to retrieve all sickness absences for Year 2004 and want to retrieve the last employee details (people & assignment tables) that fall within this period (either with an effective date >= sysdate (ie. still active) or which was current upto 31-dec-2004 and might changed later on).
    To be more specific let's say an employee took sick leave in 2004 for total 10 days and has the following rows in per_people_f and per_assignments_f:
    per_people_f:
    start_date end_date person_id other personal details
    01-FEB-2001 - 15-MAR-2004 3808 xxxx
    16-MAR-2004 - 30-JUN-2004 3808 yyyy
    01-JUL-2004 - 17-FEB-2005 3808 zzzz
    18-FEB-2005 TO DATE 3808 www
    per_assignments_f:
    start_date end_date person_id assign_id other assignment details
    01-FEB-2001 - 15-JAN-2003 3808 1114 aaaa
    16-JAN-2003 - 30-AUG-2004 3808 1114 bbbb
    31-AUG-2004 - TO DATE 3808 1114 cccc
    What I need the query to return for the above example is:
    per_people_f:
    start_date end_date person_id other personal details
    01-JUL-2004 - 17-FEB-2005 3808 zzzz
    and
    per_assignments_f:
    start_date end_date person_id assign_id other assignment details
    31-AUG-2004 - TO DATE 3808 1114 cccc
    and sickness days =10
    (sum of duration where
    absence start_date >= 01-JAN-2004
    AND end_date<=31-DEC-2004)
    Thanking you in advance for any help on this issue.
    Regards,
    Elena

  • BICA import data only for specific period

    Hello,
    when using BI connector (BICA) and importing data, is it possible to set for which period (month) to import data?
    Because now I see that it deletes all the data and imports for all months, which I think is not performance wise.
    Thanks.
    Regards,
    Nerijus.

    Also, why connection between PAS and BW is kept, even after both schema and data import into PAS?
    If I break connection, I can see from logs that DAT171:Unable to do drillthrough operation is being spammed due to connection failure, so it seems it checks for connection frequently.
    Why is it needed when I have both schema and data imported?

  • Asset history for specific period

    Hi All,
    How to check the list of assets for a particular period.
    Could u plz. suggest any body immediately.
    Regs,
    Bhaskar

    Follow the path in Menu
    financial accounting->Fixed asset->Information system->Reports on Asset Accounting -> Balance Lists ->Asset Balances
    Here while pulling up the report select radio button List assets

  • Error: Automatic tick in free Item in purchase order on line for specific vendor

    Hello All,
    Sales order is created then running mrp through MD01,requisitions are created.while creating purchase order for a particular vendor it is automatically ticking on free item indicator and giving error as material is not maintained in the plant (XXX) Free trade. while PR is not created for plant(XXX).
    i have checked they are not doing any transaction in plant (xxx).
    Please do needful in above issue.

    Hi all ;
    Can you share screen-shoots for your sales document ?
    1-What is your sales document type ? Go to VOV8 find it and share.
    2-What is your item category for this sales order? Go to VOV7 find it and share us.
    3-What is your schedule line ? Go to VOV6 find it and share us.
    Regards.
    M.Ozgur Unal

  • BAPI to get all user lists for specific inputs

    Hi Experts,
    Is there any BAPI to get all input related user lists when I give input specific object, authorizations, profiles and values?
    Thanks,
    Rohan

    Hi
    use the fun module/Bapi's
    BAPI_USER_GET_DETAIL
    BAPI_USER_LOCPROFILES_ASSIGN
    BAPI_USER_LOCPROFILES_DELETE
    BAPI_USER_LOCPROFILES_READ
    BAPI_USER_PROFILES_ASSIGN
    BAPI_USER_PROFILES_DELETE
    SUSR_BAPI_USER_PROFILES_ASSIGN
    SUSR_BAPI_USER_PROFILES_DELETE
    also you can use the tables UST12 for user based authorizations
    AGR_USERS   -roles assignment for users
    AGR_PROF  - Profile data for roles
    AGR_DEFINE - Auth Profiles for users
    See the AGR_* and US* tables further
    Reward points if useful
    Regards
    Anji
    Message was edited by:
            Anji Reddy Vangala

  • How to find all the instances for specific recurring report

    How can I use UQery Builder to find out all the instance related to specific Recurring job. I have tried using following query to get the result with poor performance.
    select SI_ID, IS_SCHEDUILE_STATUS from ci_infoobjects where SI_NEW_JOB_ID = 2604480
    Since I find that SI_ID stores the current instance id and SI_NEW_JOB_ID stores the recurrign job's ID.
    Please Help.
    Edited by: Gabriel Luk on Feb 14, 2011 5:21 PM

    I can not find 'SI_KEYWORD' is a indexed properties in following SAP Notes.
    1364250 - Which BusinessObjects Enterprise InfoObject properties are indexed
    1499196 - Which of the InfoObject properties are indexed
    Edited by: Gabriel Luk on Feb 15, 2011 5:09 AM

  • RRI - pulling all customers info for jump query

    Folks,
    I have created a RRI from query Q1 (Order information for all customers) to query Q2 (Detailed Invoice information at Customer level) also I have created a Variable on Customer in query Q2. My intention is when I right click on the customer from query Q1,  I wanted my jump query to display only Invoice detail information for that customer _intead it is showing for all customers._
    If I executed my Q2 seperately with a selected customer then I can only seeing Invoice detail information for that customer.
    Please share your thoughts...
    Thanks,
    KK

    Hi Kumar,
    What U r done is correct but u want under each customer order drill down to all invoices, anyway by using rsbbs u r getting the second query .aginn that variables also excutes in q2 . but u want drilldown particular to the customorder. pls try with  in second query on customer order number create the heirarchy with invoices and keep nodedisplay level as 1 in charactarstic properties of customer order number, because in ordertype drilldown given for oredrs it is also RRI report only I think It will Works pls try.
    Thanks
    k.sathish

  • DP Forecast transfer to R/3 for Specific Period

    Hi Friends,
    I have APO DP forecast ready to be transfered to R/3 demand management. When I transfer it to demand management even past forecast is transfered again. Is there anyway to restrict it so that only future forecast is transfered to R/3.
    Thanks and Best Regards, Manoj

    you need to use a release profile and schedule it as a mass processing job
    to restrict the time you can create a data view that has only the periods you need and use that in scheduling the mass processing job created above

  • How to make a loop run for specific period of time ?

    hello !
    i'm new to labview and could'nt found how to make a loop run for 2 sec for example, and then to exit.
    Solved!
    Go to Solution.

    Hi Hookso,
    You can do it using the different loops like While loop and For Loop. Roderic has already stated how to do it using a for loop. I have illustrated in the attached vi how to do it using a while loop and Elapsed Time function. Take a look.
    Regards,
    Nitzz
    (Give kudos to good Answers and Mark it as a Solution if your problem is Solved) 
    Attachments:
    Untitled 2.vi ‏36 KB

  • Schedule lines for schedule agreement

    Hi,
    I need get all schedule lines for schedule agreement (all schedule lines = all visible in tab analysis u2013 all lines for all forecast dlv. sched).
    I check table VBEP and VBEH and I canu2019t find all items.
    Could you help?
    Thanks in advance,
    E

    Hi Manju,
    For this you need to set creation indoactor for planning run in SPRO.
    The path is spro-MM-CBP-Carry out overall maintenance of plant parameters-Click on maintain-give your plant-click on external procurement under planning run-here you can give your option for the schedule line creation.
    Traction code is omi8. Hope this will help you.
    Cheers
    Ravi

  • Limiting of sale price for specefic period and customer

    Dear Gurus,
    May you guide me if you want to give a customer specific price to specific customer for specific period. How can you limiting the quantity more than one order within a specified period without any trade deal. I did it with the change of the scale  B and then put the quantity.  i tried to create the sale order, it is working only for one order but not limiting the quantity on quantity bases bought by the customer within the period. Please give me solution.
    Regards,
    Kaleem.

    How can you limiting the quantity more than one
       order within a specified period
    Have you come across Quantity Contract ??  Explore this by searching the forum.  This will meet your requirement.
    G. Lakshmipathi

  • Revenue for a material for a period

    How can we find the revenue for a material for a particular period? Is there a standard report that shows the billing data for material with the list of customers
    Edited by: SATHISH KUMAR ARUGA KEERTHI on Sep 25, 2009 9:08 AM

    Dear Customer,
    you can check the following tables:
    VBREVK: Control lines
    Each sales document item (type A, B) has 2 control lines (per G/L account)
    Each invoice item (type D) has 1 control line (per G/L account)
    Her it hows total accrual value, account balance, revenue amount,  processing status
    VBREVE: detail lines
    Each sales document item has revenue detail lines for different periods (per revenue account) representing the revenue forecast
    Revenue account, posting period, amount, processing status
    VBREVR: reference document lines
    Each document line item of the subsequent Invoice or Cancellation
    Accounts, amounts
    I hope that the information are helpful.
    With best regards
    Claudia Neudeck

Maybe you are looking for