Find the table_name from the view

Hi
I am stuck at one point:
Working on a form in oracle 11i GL, I have picked-up the view name from record history.
I do have sql access to the instance and want to know how to find the table_name/s for the related view.
For eg. I have a view name : GL_SETS_OF_BOOKS_V, how do i find using sql commands the table name for this view?
Thanks in Advance
Shanks

Hi shank ,
Please check properly .Iam able to execute all the above queries with results.It is oracle EBS databae standard view.
Many reports and forms are built on this view.
Finally the result wht you what is
CREATE OR REPLACE VIEW gl_sets_of_books_v (row_id,
set_of_books_id,
last_update_date,
last_updated_by,
currency_code,
chart_of_accounts_id,
chart_of_accounts_name,
NAME,
period_set_name,
suspense_allowed_flag,
allow_posting_warning_flag,
accounted_period_type,
user_period_type,
short_name,
require_budget_journals_flag,
enable_budgetary_control_flag,
allow_intercompany_post_flag,
creation_date,
created_by,
last_update_login,
latest_encumbrance_year,
earliest_untrans_period_name,
cum_trans_code_combination_id,
future_enterable_periods_limit,
latest_opened_period_name,
enable_secondary_track_flag,
enable_reval_ss_track_flag,
ret_earn_code_combination_id,
res_encumb_code_combination_id,
suspense_ccid,
net_income_code_combination_id,
transaction_calendar_id,
enable_avgbal_flag,
consolidation_sob_flag,
translate_eod_flag,
translate_qatd_flag,
translate_yatd_flag,
daily_translation_rate_type,
description,
attribute1,
attribute2,
attribute3,
attribute4,
attribute5,
attribute6,
attribute7,
attribute8,
attribute9,
attribute10,
attribute11,
attribute12,
attribute13,
attribute14,
attribute15,
CONTEXT,
global_attribute_category,
global_attribute1,
global_attribute2,
global_attribute3,
global_attribute4,
global_attribute5,
global_attribute6,
global_attribute7,
global_attribute8,
global_attribute9,
global_attribute10,
enable_automatic_tax_flag,
enable_je_approval_flag,
transaction_calendar_name,
balancing_segment,
daily_user_translation_type,
mrc_sob_type_code,
track_rounding_imbalance_flag,
rounding_ccid
AS
SELECT sob.ROWID row_id, sob.set_of_books_id set_of_books_id,
sob.last_update_date last_update_date,
sob.last_updated_by last_updated_by,
sob.currency_code currency_code,
sob.chart_of_accounts_id chart_of_accounts_id,
fifs.id_flex_structure_name chart_of_accounts_name, sob.NAME NAME,
sob.period_set_name period_set_name,
sob.suspense_allowed_flag suspense_allowed_flag,
sob.allow_posting_warning_flag allow_posting_warning_flag,
sob.accounted_period_type accounted_period_type,
gpt.user_period_type user_period_type, sob.short_name short_name,
sob.require_budget_journals_flag require_budget_journals_flag,
sob.enable_budgetary_control_flag enable_budgetary_control_flag,
sob.allow_intercompany_post_flag allow_intercompany_post_flag,
sob.creation_date creation_date, sob.created_by created_by,
sob.last_update_login last_update_login,
sob.latest_encumbrance_year latest_encumbrance_year,
sob.earliest_untrans_period_name earliest_untrans_period_name,
sob.cum_trans_code_combination_id cum_trans_code_combination_id,
sob.future_enterable_periods_limit future_enterable_periods_limit,
sob.latest_opened_period_name latest_opened_period_name,
sob.enable_secondary_track_flag enable_secondary_track_flag,
sob.enable_reval_ss_track_flag enable_reval_ss_track_flag,
sob.ret_earn_code_combination_id ret_earn_code_combination_id,
sob.res_encumb_code_combination_id res_encumb_code_combination_id,
sus.code_combination_id suspense_ccid,
sob.net_income_code_combination_id net_income_code_combination_id,
sob.transaction_calendar_id transaction_calendar_id,
sob.enable_average_balances_flag enable_avgbal_flag,
sob.consolidation_sob_flag consolidation_sob_flag,
sob.translate_eod_flag translate_eod_flag,
sob.translate_qatd_flag translate_qatd_flag,
sob.translate_yatd_flag translate_yatd_flag,
sob.daily_translation_rate_type daily_translation_rate_type,
sob.description description, sob.attribute1 attribute1,
sob.attribute2 attribute2, sob.attribute3 attribute3,
sob.attribute4 attribute4, sob.attribute5 attribute5,
sob.attribute6 attribute6, sob.attribute7 attribute7,
sob.attribute8 attribute8, sob.attribute9 attribute9,
sob.attribute10 attribute10, sob.attribute11 attribute11,
sob.attribute12 attribute12, sob.attribute13 attribute13,
sob.attribute14 attribute14, sob.attribute15 attribute15,
sob.CONTEXT CONTEXT,
sob.global_attribute_category global_attribute_category,
sob.global_attribute1 global_attribute1,
sob.global_attribute2 global_attribute2,
sob.global_attribute3 global_attribute3,
sob.global_attribute4 global_attribute4,
sob.global_attribute5 global_attribute5,
sob.global_attribute6 global_attribute6,
sob.global_attribute7 global_attribute7,
sob.global_attribute8 global_attribute8,
sob.global_attribute9 global_attribute9,
sob.global_attribute10 global_attribute10,
sob.enable_automatic_tax_flag enable_automatic_tax_flag,
sob.enable_je_approval_flag enable_je_approval_flag,
tcal.NAME transaction_calendar_name,
net.bal_seg_value balancing_segment,
dct.user_conversion_type daily_user_translation_type,
sob.mrc_sob_type_code mrc_sob_type_code,
sob.track_rounding_imbalance_flag track_rounding_imbalance_flag,
sob.rounding_code_combination_id rounding_ccid
FROM fnd_id_flex_structures_tl fifs,
gl_period_types gpt,
gl_net_income_accounts net,
gl_transaction_calendar tcal,
gl_daily_conversion_types dct,
gl_suspense_accounts sus,
gl_sets_of_books sob
WHERE fifs.id_flex_num = sob.chart_of_accounts_id
AND fifs.application_id = 101
AND fifs.id_flex_code = 'GL#'
AND fifs.LANGUAGE = USERENV ('LANG')
AND gpt.period_type = sob.accounted_period_type
AND sus.set_of_books_id(+) = sob.set_of_books_id
AND sus.je_source_name(+) = 'Other'
AND sus.je_category_name(+) = 'Other'
AND tcal.transaction_calendar_id(+) = sob.transaction_calendar_id
AND dct.conversion_type(+) = sob.daily_translation_rate_type
AND net.code_combination_id(+) = sob.net_income_code_combination_id
AND net.set_of_books_id(+) = sob.set_of_books_id
Edited by: Sankuratri on Mar 3, 2009 10:45 PM
Edited by: Sankuratri on Mar 3, 2009 10:46 PM

Similar Messages

  • How to find out the user from the Jobs queue in Report server

    Hello All!
    I have a doubt about finding out the user from the scheduled jobs queue. Say I go ahead and schedule a report on Reports Server how can I find out the user name. When I view the jobs using showjobs I could see that the DBMS_JOBS table has a column under "Job Owner". But it invariantly shows it is "rwuser". So is there a way to find out which user has scheduled which job?
    Regards
    Shobha

    hi,
    The below tables will give only the name .
    USER_ADDRS
    USER_ADDR
    USER_ADDRP
    USR02
    i think you need email address .
    you can use this Tcode : su01d
    and give the user name and excute it
    i hope it will help you.
    Ram
    Edited by: Ram velanati on Jun 30, 2008 6:57 PM

  • How do I view a movie I rented and downloaded to my computer on my apple TV. The ATV is not seeing the rented movie in my shared itunes library? I can't seem to transfer the rental to the ATV from the computer!

    How do I view a movie I rented and downloaded to my computer on my apple TV. The ATV is not seeing the rented movie in my shared itunes library? I can't seem to transfer the rental to the ATV from the computer!

    Dear friends,
    Thank you for responding to my problem so promptly. Frankly, I did not expect to hear from people so soon! The fact is that as soon as I posted the question, I was shown a number of similar queries and managed to find the answer. I have to say it's not intuitive! I have an apple TV original version. Apparently I had the ATV on streaming and not syncing. Streaming does not allow you to stream a rental from your computer whereas you can sync and transfer the rental from the computer!
    Thanks again.
    Colin

  • Find equipment number from the asset number

    hi,
    where i can find ( I NEED TABLE name ) Equipment number,
    its in transaction as03 ->allocations -> right to field Equipment number
    i press f1 and found it's a structure  ra02s
    where i can find it (which table)?
    i know equi is the master data table of equipment but i need to find equipment number from the asset number
    Regards
    Edited by: liu shaochang on Jan 21, 2010 3:31 AM

    Hi
    Please use view M_EQUIA . Hope this will serve your purpose.
    Regards
    Gaurav

  • Why do we get the data from a view to a report.

    hi
    why do we get the data from a view to a report. is it possible to get the data from a view in all the cases?

    hi Jyotssna,
      Suppose you are planning to get the data from multiple tables then you got to specify seveal condtions and make use of joins which results in poor performance in fetching the data . In order to improve the performance we make use of views where the conditions of different tables are defined and the data is fetched accordingly.
    Regards,
    Santosh

  • I am having trouble keeping the quality of my video when exporting to my external drive.  I change the kind to "original" but when I view the video from the external drive once exported, the sound and picture are distorted.

    I am having trouble keeping the quality of my video when exporting to my external hard drive.  I have tried to export from iphoto with changing kind to "original" but when I open the video from the external drive the quality is effected.  I have also tried copying the video to my desktop and then dragging and dropping onto the drive...same problem. Any suggestions?  I would like to save everything to my external drive so that I can delete all of iphoto library and then reimport to correct a few things.

    The file sizes are identical.  In the finder I did a search for all .mov files.  Then when they came up, I went through them and named each one so that they would be easier to find.  I am a new mac user and am used to windows.  I realized later that I should not have done this....with a mac files should be named within iphoto app...not finder....When I went to open the videos in iphoto, it wouldn't allow me.  I had to go into finder, copy to desktop and reimport into iphoto.  Then the videos worked again.  However, I had the problem with the poor video quality when copied to external drive before that.  Actually the first problem I had was when I copied to ext drive...videos were copying as an image...so I learned that you have to change "kind" to original before exporting....then that problem was solved...now they are videos, not images but not of a great quality.  Skips, sound and images are not in sync...etc...

  • How can I find a photo from the backup file in my pc?

    How can I find a photo from the backup file in my pc?
    I have accidentally erased a photo. It happened after the backup.

    I am not aware you can extract a single photo or a single app's content from the backup, you can either restore the whole backup to your phone or not restore. If you restore your last backup to your phone then any content that is currently on your phone will be replaced with what was on it at the time that the backup was made - so if you do decide to restore, first copy off any purchases to your computer's iTunes via File > Transfer Purchases, and copy any documents/files that you've udpated on the phone since the backup.

  • How to hide the field from the view in the webdynpro application?

    Hi Gurus,
    I got a requirement where in which ,default layout has the field name Time.......To......... which is (2 input box ) and one lable assigned to the container.........
    Now my requirement is to hide this field from the layout for all cases of leave......(all types of leave)....
    I got a few inputs from forum that we can achieve this by implementing the following steps..........
    Create In context => Value attribute => Say Visibility
    Go to its properties
    Select com.sap.ide.webdynpro.uielementdefinitions.Visibility
    In View Layout
    Select UI Element Set Visible property to this context variable Visibility.
    In wdDoModifyView() You can set this property to false
    wdContext.currentContextElement().setVisibility(false);
    Can you people tell me where to create the value attribute........
    In the view context or in the component context...........
    and field that am talking about is assign to the container you want me to assign this context variable property to all ......Like to input box ,label and the container..........
    Please calrify this ASAP...........
    Thanks in Advance,
    Dharani

    Hi Manoj......
    Hi Murutuza,
    As per your guidelines I have created the value attribute in View context (which has the field..... which needs to be hide)inside the value node say FieldVisibility.......and attribute name OldTimeDuration......and I set this value with uidefeneitions Visibility .......
    and I bind this vaule with the field property visible(Time.......To..........)which I need to hide...........
    Now in the view implementation tab ..........I have coded in the doinit method(since my requirement to hide the field from the layout in all cases).........
    wdContext.currentFieldVisibilityElement().setOldTimeDuration(WDVisibility.NONE);
    But if I deploy the application and see still am getting the same field dispalying in the screen.........
    I even tried putting this code in wdmodifyview method.........same results........
    Kindly tell me how to hide the field permenantly from the screen............(without any conditions.)
    Thanks in Advance,
    Dharani

  • Is it possible to retrieve the data from maintainance view?

    Hi experts,
    Am facing one problem.
    Is it possible to retrieve the data from Maintainance View ,If yes how?
    IF it is not possible then Y?
    While am trying to retrieve data from maintainance view it's showing message like
    "it is not a database view or table".
    Can u pls give me ans.
    Thanks&Regards,
    Arun.

    Hi Arun,
    It is not possible to retrieve the data from Maintenance view. Maintenance View is different and Database View is different.
    Maintenance view : Maintenance view permits you to maintain the data of an application object together.The data is automatically distributed in the underlying database tables.
    A standardized table maintenance transaction is provided (SM30), permitting you to maintain the data from the base tables of a maintenance view together.
    In other words, Maintenance views enable a business-oriented approach to looking at data, while at the same time, making it possible to maintain the data involved. Data from several tables can be summarized in a maintenance view and maintained collectively via this view. That is, the data is entered via the view and then distributed to the underlying tables by the system.
    Database View: Data about an application object is often distributed on several database tables. A database view provides an application-specific view on such distributed data.A database view is automatically created in the underlying database when it is activated.Database views implement an inner join.If the database view only contains a single table, the maintenance status can be used to determine if data records can also be inserted with the view. If the database view contains more than one table, you can only read the data.
    Database views should be created if want to select logically connected data from different tables simultaneously. Selection with a database view is generally faster than access to individual tables. When selecting with views, you should also ensure that there are suitable indexes on the tables contained in the view.
    Hope this helps.
    Please reward if useful.
    Thanks,
    Srinivasa

  • Is it possible for deleting all the apps from the appstore which are showing up in the apps not on my phone section. Before I was able to delete them from itunes but now I am not able to find that option.

    Is it possible for deleting all the apps from the appstore which are showing up in the apps not on my phone section. Before I was able to delete them from itunes but now I am not able to find that option.

    You can hide them via your computer's iTunes : iTunes Store: Hiding and unhiding purchases - Apple Support
    The 'x' might not show on their top left corner (it might be invisible), but clicking where it should be should hide the app.

  • I have a Mac on my home network and also a Systemline music server on same network. My PC was able to find the server but my MAC cannot. I can ping the server from the mac, but cannot actually connect . Also can't add the mac as a location from server

    I have a Mac on my home network and also a Systemline music server on same network. My PC was able to find the server but my MAC cannot. I can ping the server from the mac, but cannot actually connect . Also can't add the mac as a location from server, despite following the Systemline instructions that impy this can be done.
    Can anyone please advise what I am doing wrong?

    Hi LowLuster
    Thanks for reply. I am not an expert on these sharing protocols but I think I have turned on SMB sharing but still wont connect. I tried adding netwrik drive by using cntrl K in finder and using smb\\network address but nothing. It is driving me mad!!

  • THE DATA FROM THE ORACLE DATABASE VIEW DATA IS NOT REFERESHED AUTOMATICALLY

    THE DATA FROM THE ORACLE DATABASE VIEW DATA IS NOT REFERESHED AUTOMATICALLY IN OBIEE DASHBOARD(ANSWERS)
    UNLESS AND UNTILL I OPEN THE ORACLE BI ADMINISTRATOR TOOL AND DO UPDATE ALL ROWCOUNT AND THEN SAVE THE RPD.
    WHERE AS ORACLE DATABASE TABLE DATA IS AUTOMATICALLY REFRESHED.
    PLS SOMEONE HELP OUT IN THIS ISSUE.

    Check whether you have enable cache on that view?

  • I have my camera (Canon 5D MARK 2) set to take both JPEG Large and Raw files with each shot. I uploaded the images from the card to my Pro (Aperture 3) and while the import info said 1500 images were uploaded, I can't find the RAW images.  Aperture put ab

    I have my camera (Canon 5D Mark 2) set to take both JPEG Large and Raw files with each shot. I uploaded the images from the card to my Pro (Aperture 3) and while the import info said 1500 images were uploaded, I can't find the RAW images.  Aperture put about 700 images in an untitled project folder, but all the images are the JPEGs.  What am I missing?
    Thanks,
    upsjdris

    Have you checked your "Import" settings for "Raw&Jpeg" pairs in the "Import" panel?
    You can set Aperture to import raw, jpeg, or raw&jpeg.
    If you imported Raw&Jpeg, but have set Aperture to use the Jpeg as original, you will see the imported image as Jpeg image, not as a raw image, even if the raw has also been imported. You can switch between Raw and Jpeg originals for selected images from the Photos menu:
    Photos > Use Raw as original.
    Regards
    Léonie

  • Get the content from the PDF file IN WD ABAP View

    Hi all,
    I have a offline interactive form with data filled in that and save in my desktop. I want to upload the PDF content ( data ) into Web dynpro view.
    Currently i have the view designed with all the input box bound with the respective fields in the context and these fields are same as Adobe form fields.
    I have a UI element to browse and pick the file from the desktop. I have the upload button to upload the data into it.
    When i click the upload button it goes for dump. " No Enough Information for processing or Output"
    *Get the content from the file
      WD_CONTEXT->GET_ATTRIBUTE( EXPORTING NAME = 'PDFSOURCE'  IMPORTING VALUE = CONTENT ).
    In the above statement CONTENT is initial.  Hence dump. I have take this source from SDN Blog.
    Kindly help me where i went wrong.
    Thanks in advance.I

    Hi,
    try my solution (reading dunamic table, but you can read any data from pdf xml) described here:
    Dynamic Table data cannot be Read.
    Regards Jiri

  • How to view data in tables by selecting the synonym from the database objec

    I could not figure out how to view data in tables by selecting the synonym from the database objects navigation tree. I had to first choose the synonym, view the details of the synonym to determine the table name, and then select the table from the database objects tree. Is this the only way available?

    This functionality currently does not exist. I don't see it on the 1.1 statement of direction either, so perhaps someone from Oracle can give some insight as to when this could be expected.
    Eric

Maybe you are looking for

  • My ipod will not sync with itunes, nothing happens when i plug it in. i updated itunes, i removed and reinstalled it but nothing seems to work. My ipod syncs with other itunes so what can i do to fix this?

    My ipod just will not sunc its like the itunes doesn't read it. Please help i can't update my ipod if itunes can't read it. I have tried all that it says in the help for me to do i have even uninstalled and reinstalled itunes but there must be someth

  • 3d not working right

    In Photoshop CC when I add text to a file and click on the 3d icon the text appears and everthing is workable, except the tool in the lower left of the file hardly ever works on all plans. In other words when I place the 'rotate tool' in the tool in

  • Photos show as pdf's-Help Please!!

    All my photo files show up as PDF'S. The icons for all the photos on my hard drive are pdf's. ( the red adobe icon) This includes e-mails of word docs- they also must be opened with adobe reader.. I have to save as-then open with Adobe reader in orde

  • Error In form Painter

    hi experts, After clicking on form painter in smartforms, i am facing the error - ' Internal error (RC = 1, FORM = SFPPAGEWINDOW_CREATE, NR = 1)'_    Message no. SMARTFORMS001 Due to which i am not able to create windows. Can anybody tell me how to s

  • ORA-12546 error

    I'm running Oracle 9i on a Windows platform. Using SQL Plus, I have no problem connecting as SYS. But when I try logging in using Oracle Enterprise Manager (OEM), I keep getting the error: ORA-12546: TNS permission denied. Any help would be appreciat