How I can show up The Journal content

I am using R12 Apps and 10 g database
this is my query!
SELECT ROWNUM,Q.* FROM
SELECT gcc.segment3,ff2.DESCRIPTION "PROGRAM",
gcc.segment2||'-'||gcc.segment4||'-'||gcc.segment5||'-'||gcc.segment6||'-' Code_Combination1,
gcc.segment7||'-'||gcc.segment8 Code_Combination2,
ff1.DESCRIPTION||'-'||ff3.DESCRIPTION||'-'||ff4.DESCRIPTION||'-'||ff5.DESCRIPTION||'-' Description1,
ff6.DESCRIPTION||'-'||ff7.DESCRIPTION Description2,
bb.ending_balance Budget,nvl(aa.ending_balance,0) Actual,bb.ending_balance-nvl(aa.ending_balance,0) Variance
FROM
select a.code_combination_id,sum(a.dr)dr,sum(a.cr)cr,sum(a.dr)-sum(a.cr) Ending_Balance
from
select b1.code_combination_id,b1.period_name,b1.period_net_dr+b1.begin_balance_dr DR,b1.period_net_cr+b1.begin_balance_cr CR
from gl_balances b1
where
b1.actual_flag='A'
and b1.period_name=
select p.period_name
from gl_periods p
where p.period_set_name = 'ETNL_CALENDAR'
and '31-OCT-2010' between p.start_date and p.end_date
and p.adjustment_period_flag = 'N'
) A
group by a.code_combination_id
)AA,
select b.code_combination_id,sum(b.dr)dr,sum(b.cr)cr,sum(b.dr)-sum(b.cr) Ending_Balance
from
select b1.code_combination_id,b1.period_name,b1.period_net_dr+b1.begin_balance_dr DR,b1.period_net_cr+b1.begin_balance_cr CR
from gl_balances b1
where b1.actual_flag='B'
and b1.period_name=
select p.period_name from gl_periods p
where p.period_set_name = 'ETNL_CALENDAR'
and '31-OCT-2010' between p.start_date and p.end_date
and p.adjustment_period_flag = 'N'
)B
group by b.code_combination_id
)BB,
gl_code_combinations gcc,
FND_FLEX_VALUES_VL FF1,
FND_FLEX_VALUES_VL FF2,
FND_FLEX_VALUES_VL FF3,
FND_FLEX_VALUES_VL FF4,
FND_FLEX_VALUES_VL FF5,
FND_FLEX_VALUES_VL FF6,
FND_FLEX_VALUES_VL FF7
WHERE AA.CODE_COMBINATION_ID(+)=BB.CODE_COMBINATION_ID AND BB.CODE_COMBINATION_ID= GCC.CODE_COMBINATION_ID
AND FF1.FLEX_VALUE=GCC.SEGMENT2
AND FF2.FLEX_VALUE=GCC.SEGMENT3
AND FF3.FLEX_VALUE=GCC.SEGMENT4
AND FF4.FLEX_VALUE=GCC.SEGMENT5
AND FF5.FLEX_VALUE=GCC.SEGMENT6
AND FF6.FLEX_VALUE=GCC.SEGMENT7
AND FF7.FLEX_VALUE=GCC.SEGMENT8
AND FF1.FLEX_VALUE_SET_ID = 1013668
AND FF2.FLEX_VALUE_SET_ID = 1013669
AND FF3.FLEX_VALUE_SET_ID = 1013670
AND FF4.FLEX_VALUE_SET_ID = 1013671
AND FF5.FLEX_VALUE_SET_ID = 1013672
AND FF6.FLEX_VALUE_SET_ID = 1013673
AND FF7.FLEX_VALUE_SET_ID = 1013668
and gcc.segment3 = '01116C00050'
ORDER BY GCC.SEGMENT2,GCC.SEGMENT3,GCC.SEGMENT7
)Q
This query works well but i have to include more columns like JE_CATEGORY and JE_SOURCE from gl_JE_TABLES
Tell Me How could accomplish this task
or Update This Query!
Thanks

Hi,
You need to post this question in right forum.
Here you will get solutions for SQL, Pl/SQL issues.
Try here : Financials
Thanks,
Suri
Edited by: Suri on Apr 14, 2011 5:53 AM

Similar Messages

  • HT203167 I have just downloaded the latest itunes version (11.0.1). All my data cannot now be located, though the library is showing all the correct content.The data is stored on an external hard drive. How do I tell the library where to find it's data?

    I have just downloaded the latest itunes version (11.0.1). All my data cannot now be located, though the library is showing all the correct content.The data is stored on an external hard drive. How do I tell the library where to find it's data?

    The iTunes application should be installed on the system drive. You may need to repair iTunes to fix that error regarding a missing .exe.
    To organize your library properly see Make a split library portable.
    If you don't have a working version of the library that can be transformed into a portable shape I have tools and techniques that can repair the broken links.
    tt2

  • How i can show the selection screen input field in the top of page in alv

    hi ,
              how i can show the selection screen input field in the top of page in alv  grid output.
    tell me the process

    Hi,
    excample from my program:
    FORM topof_page.
      DATA: l_it_header   TYPE TABLE OF slis_listheader WITH HEADER LINE,
            l_info        LIKE l_it_header-info.
      DATA: l_it_textpool TYPE TABLE OF textpool WITH HEADER LINE.
      DATA: l_key LIKE l_it_textpool-key.
      READ TEXTPOOL c_repid INTO l_it_textpool LANGUAGE sy-langu.
      DEFINE m_selinfo.
        if not &1 is initial.
          clear l_it_header.
          l_it_header-typ   = 'S'.
          l_key = '&1'.
          translate l_key to upper case.
          read table l_it_textpool with key key = l_key.
          if sy-subrc = 0.
            shift l_it_textpool-entry left deleting leading space.
            l_it_header-key = l_it_textpool-entry  .
          endif.
          loop at &1.
            case &1-option.
              when 'EQ'
                or 'BT'
                or 'CP'.
                write &1-low to l_it_header-info.
              when others.
                write &1-low to l_it_header-info.
                concatenate &1-option
                            l_it_header-info
                       into l_it_header-info
                       separated by space.
            endcase.
            if not &1-high is initial.
              write &1-high to l_info left-justified.
              concatenate l_it_header-info
                          l_info
                     into l_it_header-info
                     separated by space.
            endif.
            if &1-sign = 'E'.
              concatenate ']'
                          l_it_header-info
                     into l_it_header-info.
            endif.
            append l_it_header.
            clear: l_it_header-key,
                   l_it_header-info.
          endloop.
        endif.
      END-OF-DEFINITION.
      m_selinfo: s_trmdat,
                 s_trmext,
                 s_trmint,
                 s_fkdat,
                 s_delno,
                 s_vbeln,
                 s_deact,
                 s_kdmat.
      CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
           EXPORTING
                it_list_commentary = l_it_header[].
    ENDFORM.
    I hope, this will help you.
    Regards
    Nicole

  • Since updating to Firefox 3.6.15, I can no longer print coupons from SmartSource. The error message is that Java is not detected. The check box is longer showing in the Options/Content of this version of Firefox, so I can not enable it.

    # Question
    Since updating to Firefox 3.6.15, I can no longer print coupons from SmartSource. The error message is that Java is not detected. The check box is longer showing in the Options/Content of this version of Firefox, so I can not enable it.

    Same PC as I used to post the question. When I go to the "plug in check" page, it shows I am up to date and it is not disabled.
    Java(TM) Platform SE 6 U24
    Next Generation Java Plug-in 1.6.0_24 for Mozilla browsers 1.6.0.24

  • How we can show the xml data without any attribute in a flex tree (without having any label field) ?

    how we can show the following data in a flex tree (without having any
    label field) ?
    <?xml version="1.0"?>
    <rootNode>
            <childNode>
            < subchildNode >
                    <valueNode>1000</valueNode >
                    < valueNode >999-888-777</valueNode >
                    < valueNode >STORTZ</valueNode >
                    < valueNode >PAM STORTZ</valueNode >
                    < valueNode >88 ST. MORTON ROAD</valueNode>
            </subchildNode>
            </childNode >
    </rootNode >

    as is - no how
    wrap those xml chunk with a class having clear public properties like:
    public class dataRecord {
         protected var xml:XML;
         function dataRecord(xml:XML) {
              this.xml = xml;
         public function get id ():String {
              return XML(xml.descendants("valueNode")[0]).toString();
         // and so on
    simpliest way is to change xml structure to use attributes than wrapping that thing with AS code, it's time consuming and non efficient.

  • How can I hide the preview content of the text on ios 5?

    How can I hide the preview content of the text on ios 5?

    one complement. I want to hide it in the popup window.

  • How can I add the audio content cd after logic finished installing ?

    There was an eror installing the Audio Content CD 1 and I did not notice. Everything else installed properly, Audio Content CD 2, Jam Pack, but how can I add the Audio Content CD1 after Logic has finished installing?
    If you can help me please be very specific as to how to do it so that I can follow the directions properly.
    Please help me.
    Thanks

    Hi
    You could re-run the installer, or, once you have updated to Logic 9.1.8 you could use the "Download Additional Content" function in the Logic Pro menu. It will tell you what is installed and what is incomplete.
    CCT

  • My macbook pro crashed after installing maverick. I lost all my photos however the iPhone iPhoto app still has these photos so how can i access the package contents to recover these photos?

    My macbook pro crashed after installing maverick. I lost all my photos however the iPhone iPhoto app still has these photos so how can i access the package contents to recover these photos?

    We'll need to know more to beable to help. Do you want to try to restore your photos from your iPhone to your Mac, or try to recover the photos from the old iPhoto Library on your Mac?
    What is the situation of your Mac now? In hat way did it crash? A hardware problem with the drive? Does the system not start properly? Does iPhoto not launch? Do you still have the iPhoto Library on your mac or a backup, so we could try to rescue the photos there?
    What versions of iPhoto are on your iPhone and your Mac?
    however the iPhone iPhoto app still has these photos so how can i access the package contents to recover these photos?
    On the iPhone you cannot access the "package contents" - IOS hides the file system from the users. To restore photos from your phone share all iPhoto photos to your Camera Roll, that are not already in the Camera Roll,  and then connect the iPhone via USB and import the Camera Roll to iPhoto or Image Capture. Or use any of the other sharing methods described on thos manual page: see:  Ways to share photos http://help.apple.com/iphoto/iphone/2.0/?handbuch#blnk7d8f763e
    To retrieve photos from a corruptrd iPhoto Library on your Mac we need to know the version number and more about the "crash" you experienced, the state of your mac, the system, the data. Please post back with more details.
    -- Léonie

  • How i can show the user input in alv list on the top

    hi all,
                   please tell me how i can show the user input in alv list on the top.
                         and  also tell me how i  can hide the toolbar in alv.
    regards
    vikas saini

    Hi,
    Use the Below Code.
    form top_of_page.                                          
      data : it_header type slis_t_listheader,
             is_header type slis_listheader.
      is_header-typ  = c_h.
      is_header-key  = space.
      is_header-info = 'Pending Order Information Report'(018).
      append is_header to it_header.
      call function 'REUSE_ALV_COMMENTARY_WRITE'
        exporting
          it_list_commentary = it_header.
    endform.                    "top_of_page
    and finally pass it to .
    call function 'REUSE_ALV_GRID_DISPLAY'
          exporting
            i_callback_program     = sy-repid
            i_callback_top_of_page = 'TOP_OF_PAGE'
    call function 'REUSE_ALV_GRID_DISPLAY'
          exporting
            i_callback_program     = sy-repid
            i_callback_top_of_page = 'TOP_OF_PAGE'
    Regards.
    Arbind

  • How to do not insert the message content in the Message Inbox when use MFMessageComposeViewController control

    Dear all.
    In my app use the MFMessageComposeViewController control to send SMS message.The message content will be inserted to Message Inbox of iPhone.
    How to do not insert the message content in the Message Inbox when use this control?Because my message content has been encrypted. I don't want user can see them.
    Thanks

    I can't remember the steps, but if i'm not wrong, there are many "next" to click, and at the last windows, there is one dialog box with "do not show this message again".Maybe something to do with the registry, to enable to view this dialog box again. Date: Thu, 2 Feb 2012 06:38:24 -0700
    From: [email protected]
    To: [email protected]
    Subject: How to enable  the option "do not show this message again" in dreamweaver cs5
        Re: How to enable  the option "do not show this message again" in dreamweaver cs5
        created by Murray ACP in Dreamweaver - View the full discussion
    So, you open Site manager, click New, and then what?  I'm trying to understand which dialog you dismissed.  Can you help me?
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/4180872#4180872
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/4180872#4180872. In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in Dreamweaver by email or at Adobe Forums
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • Can you add the entire content of your desktop to the allowable locations in flash player?

    can you add the entire content of desktop to the allowable locations in flash player?  when i click 'add' to allowable locations and type in file:///C:/Documents and Settings under website (i know it's not the website but where else would it be added) it doesn't show up in the overall list of allowable 'sites'.

    Hi radwh,
    Are you talking about trying to add your desktop to Flash Player's trusted locations? If so, you use the "Advanced" tab on the Local Settings Manager to designate folders and files as trusted. (Full path is Advanced->Developer Tools->Trusted Location Settings.) Here's a link to the documentation for that: http://help.adobe.com/en_US/FlashPlayer/LSM/WS6aa5ec234ff3f285139dc56112e3786b68c-7ff0.htm l .
    Hope this helps, and get back to me with further details if this is not what you were asking.
    Thanks,
    KALTechWriter

  • How we can show authorization object  at infoprovider  level

    hi all
    how we can show authorization object at infoprovider level..
    shalini

    S_RS_ICUBE:
              Auth objects for working with Infocubes and their sub-objects. For example,
              protecting users who can define the Infocube, applying update rules, and
              looking at the data in the Infocube.
    In order to execute any query, u must have access to R_RS_ICUBE and S_RS_COMP. S_RS_COMP is
    a powerful object that enables u to make choices on how to secure.

  • How I can show 3D Repousse Tool to use in my window?

    How I can show 3D Repousse Tool to use in my window, i can't find out it even when i check in box of Enable OpenGL Drawing (I was instructed from some websites).
    Thank you.

    You should post your question in the specific application forum.

  • I ordered a battery for my laptop because it said to replace battery soon.  How long can I let the new battery sit around as I wait for the old one to run out of more charge?

    I ordered a battery for my laptop because it said to replace battery soon.  How long can I let the new battery sit around as I wait for the old one to run out of more charge?  Will the new one become less effective if it sits around too long?

    How much capacity is remaining on your current battery?
    Check your power status
    From the  menu: Hold OPTION and click System Information... èHardware è Power
    Copy and Paste in your reply.
    The new battery will become less effective if you store it in a hot or humid environment. It should be stored at room temperature (22 C).
    Long term storage (6 months):
    Apple recommends that you store the battery with a 50% charge. If you store a battery when it’s fully discharged, it could fall into a deep discharge state, which renders it incapable of holding any charge. Conversely, if you store it fully charged for an extended period of time, the battery may experience some loss of battery capacity, meaning it will have a shorter life.
    http://www.apple.com/batteries/

  • I spilled water on my laptop and my "i", "j" and "k" letters don't work on my laptop. However my main problem is that my password contains an "i" so i am locked out of my computer. Any ideas how I can get around the password and login.

    I spilled water on my laptop and my "i", "j" and "k" letters don't work on my laptop. However my main problem is that my password contains an "i" so i am locked out of my computer. Any ideas how I can get around the password and login. I tried the method where you go into single user mode and type in commands, however that method uses some of the letters that are not working on my laptop.

    You didn't mention which version of OS X your running but there are password reset utilities provided OS X: Changing or resetting an account password (Snow Leopard and earlier) - Apple Support  or  OS X: Changing or resetting an account password - Apple Support
    Alternately you can use an external keyboard to log in and change the password. Make a backup if you don't have one, it's likely that your problems aren't over. If that water continues to migrate downward and fries the logic board your macbook will be toast.

Maybe you are looking for

  • Compress to SD DVD from FCP 7.0

    I have a project in FCP 7.0 that is made up of ProRes 422 (LT) footage that I just finished. I'm trying to get this to DVD. The footage is 1440x1080 30fps. Everything looks great in the time line. I've exported it to Quicktime twice using these setti

  • How do I get actionscript animation to video?

    I have a flash movie with actionscript animation that I need to convert to video. How can I do it? Every time export it to video from Flash (8 pro) I get nothing but stills. I have a number of mx transitions that would take forever to convert to time

  • BW report usage statistics

    Hello, we have BW web reports integrated in WEBAS Is there a way to obtain some kind of usage statistics? We need to know the top 10 used reports. Best regards

  • Po sales order

    hi, in sales order i've entered po no as abc in overview screen & i created contract with reference to order but po no is not getting copied into contract . Pl suggest

  • Why doesn't my address book sync with my phone?

    Hi everybody, I have used isync with my Nokia 6230 ever since I got my first Macbook Pro (had loads of trouble with the first one, and finally support changed it for me: LONG STORY). Today, I was syncing my phone as I normally do and I noticed that n