What tables which will link Ledger to Legal Entity?

I am looking for the scripts to get all the Legal Entity under specific Ledger. In my example, I want to get all the Legal Entity which belongs to "ABC" Ledger. But I do not know what tabes will link from Ledger to Legal Entity.
SELECT GL.NAME LEDGER,GL.LEDGER_ID LEDGER_ID,
glc.configuration_id,
GLCD.OBJECT_NAME
FROM GL_LEDGERS GL,
GL_LEDGER_CONFIGURATIONS GLC,
GL_LEDGER_CONFIG_DETAILS GLCD
WHERE GL.NAME = GLC.NAME
AND GLC.CONFIGURATION_ID = GLCD.CONFIGURATION_ID
AND GLCD.OBJECT_TYPE_CODE ='LEGAL_ENTITY'
AND GL.NAME ='ABC'
>
Please kindly advice.

Hi,
Please refer the below view, it gives you the reference between LE and Ledger.
GL_LEDGER_LE_BSV_SPECIFIC_V
Regards,
Yuvaraj.C

Similar Messages

  • Transaction Currency Tables which will give totals only

    Transaction currency purpose  bseg, bkpf, bsis, bsid contain document wise details hence will not be useful for my purpose,   i need a table which will give transaction currency  totals only.

    Hi Anu,
    I am unable to understand your exact requirement as if you need total of any transaction currency then there must be a criteria for the same like one want to add all currencies monthly/annually/weekly for reporting purpose and in this case you have to write a report and add currencies.No tables can hold such calculative recordes.
    Please elaborate more so I can u'stand requirement.
    Regards,
    Gaurav

  • Need PlSQL code to find out the column/combination of columns from a given table which will be unique values

    Given a table with some columns and data associated with that. Need to find out a column or a combination of some columns, so that the values or combination of values will be unique in the table.
    The table and number of columns and the columns will be dynamic.
    Can you please help me with the solution?

    f8d0dcea-cdf0-4935-8734-632fe021456c wrote:
    No key is defined in the table.
    Suppose a table contains 20 columns then I need the unique combinations of all columns.
    Example: A table 'Employee' has 4 columns: Emp_No, Emp_Name,Passport_No,Emp_Designation. No key is defined for Employee table. Need to find out which column(single column and combination if columns) have unique values. Like, First check if Emp_No is unique then check Emp_No+Emp_Name is unique, then check if Emp_No+Emp_Name+Passport_No is unique, then check Emp_No+Emp_Name+Passport_No+Emp_Designation is unique.
    Then again try with the combination of Emp_No+Passport_No and so on. In this way I need to find out all the combinations having unique values.
    As Paul says, that will be a waste of time, as it will taken a lot of processing for all the possibilities, checking all the data each time to determine which combinations of columns provide uniqueness.  What happens if someone inserts or deletes some data whilst your doing it?
    You'd be quicker to manually look at the tables, and make an educated guess and then test for uniqueness with a quick query on that guess.

  • Name of tables which will store Discoverer Reports Information.

    Hi Everyone,
    Hope all are doing good.
    I have a requirement on up-gradation project, find the discoverer reports where will store table names and path.
    Once i get Discoverer Reports information, we have to find-out the custom Discoverer reports.
    Thanks in advance...
    Sreenivas.U

    80f8bcb6-a8b3-426c-839a-cd401b686d56 wrote:
    Hi Everyone,
    Hope all are doing good.
    I have a requirement on up-gradation project, find the discoverer reports where will store table names and path.
    Once i get Discoverer Reports information, we have to find-out the custom Discoverer reports.
    Thanks in advance...
    Sreenivas.U
    How to Find Out the Sharing Information for Discoverer workbooks From the Database (Doc ID 293021.1)
    How To Get A List Of Discoverer Worksheets Directly From The Database? (Doc ID 1333531.1)
    How To See Which Discoverer Workbooks Are Owned And Shared By An Existing Or Dropped Database User (Doc ID 375777.1)
    How To Query Metadata To Determine Which Discoverer Workbooks Are Accessible To User ? (Doc ID 433794.1)
    How To Determine Which Business Areas Are Used By The Workbooks Saved To The Database (Doc ID 458739.1)
    Thanks,
    Hussein

  • How to create a table which will appear on each sheet

    I would like to have one table with some information in the corner of each sheet, but I would like the tables update automatically. Soo.. if I update one of them, rest of them update accordingly.
    I thought I would be able to put a table in the header but it didn't work.
    Thanks in advance.

    Conferenceorg wrote:
    I would like to have one table with some information in the corner of each sheet, but I would like the tables update automatically. Soo.. if I update one of them, rest of them update accordingly.
    I thought I would be able to put a table in the header but it didn't work.
    Thanks in advance.
    CO,
    Program your master sheet with representative data in the cells that you would like to have repeated in the slave sheets.
    Prepare a typical slave sheet, with a table programmed to reference the key cells in the master sheet.
    Name the slave sheet "Template", or other distinctive name that you will recognize and keep otherwise empty and as a template for new sheets.
    When you need a new sheet, Click on the Sheet icon of Template sheet. Then Command-C, Command-V, and rename "Template-1" to identify it as a working sheet.
    Regards,
    Jerry

  • Best method to design a table which can point to two different entities

    I have the following set of tables,
    Dimension1, Dimension2, Dimension3
    Dimension1 is dependant on the both Dimensions2 and Dimension3,  however the data mapping with Dimension3 will be very sparse (say only 1% of data will be available remaining will be NULL). So in this case, per my understnading there are the following
    options available,
    Option1: Have two columns in Dimension1 table and link them to the respective dimensions (However as mentioned the column which will be mapped to Dimension3 will have very less values ~1%), and have some conditional check to make sure that one of these
    two columns shuld always contain a value.
    Option 2: Split the Dimension1 table into two tables and map them to the respective dimensions. This removes the NULL aspect however is this is a right thing to do as per the DB design good practices and normalization techniques.
    Option3: Add one column (DimensionType) in Dimension1 table which will denote the type of dimension to which the data will be mapped into ('Dimension2' or 'Dimension3') and then add another column which will contain the actual ID and will map to both the
    dimensions based on DimensionType column (logically, because physically you cannot map a single column to 2 different entities).
    Which one of the above is a good design, also if we say either of option1 or option2 then what will be the case if Dimension3 will be dependant on a new dimension in future. Do we need to add a clumn or create one another table for this? Please let me know
    the thoughts.
    Regards, Murugan S

    Thanks Visakh
    Any other thoughts? or should option1 be considered the best approach given the scenario. Also this implies that if there is going to be a new dependancy in future which does not fit into Dimension2 and Dimension3, the solution is to add a third column in
    Dimension1 - Am I correct in the understanding?
    Regards, Murugan S
    Yes any new dependency have to be represented by a new foreign key column
    Now I'm getting one doubt 
    By new dependency do you mean a new related attribute? Are all these dimensions holding related attributes for the main entity?
    If yes then you may merge them to a single dimension ie attribute table like format with a type column to indicate the type of attribute
    Then you will always need only a single reference key (column) in your fact
    Any new dependency will just be a new record addition in the table with a new type value
    Please Mark This As Answer if it solved your issue
    Please Vote This As Helpful if it helps to solve your issue
    Visakh
    My Wiki User Page
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • Table that have link between mblnr and belnr

    HI,
    i need the table which had link between mblnr(material doc no)
    and belnr(miro document no)
    i need help
    regards
    siva shanmugam.A.V.

    Assume you have Accounting Document number BELNR.
    Then From BKPF you can find the Material Document number
    MBLNR.
    Relation..
    Go to BKPF table with BELNR which is in your hand.
    Now field AWTYP and AWKEY are the Keys for Material Document.
    AWTYP               MKPF
    AWKEY               00490021321995
    (Materialdocument+ year)
    suppose if you have Material document and Year then reverse way..
    with AWTYP as MKPF and AWKEY as MBLNR+YEAR
    and go to BKPF table and see..

  • Prevent oracle r12 legal entity from being posted in another ledger

    Given the following:
    Ledger = Ireland
    Legal Entity:
    Germany =123 segment 1
    France= 456 segment 1
    Ledger=Hong Kong
    Legal entity=Hong Kong=789 segment 1
    The Ireland ledger is intended for Euro based companies, the Hong Kong for HKD
    I want to prevent any journal entries that have a segment1 789 from being posted in the Ireland Ledger, and segment 1 of 123 and 456 from being posted in the Hong Kong ledger.
    How does one do this?

    Looks like you are sharing a chart of account structure between the two ledger or at least you are sharing the segment 1 value set between the two ledgers.
    Once you defined your ledgers, create and assign respective legal entities to your ledgers.
    Associate Legal Entity Hong Kong to the ledger Hong Kong.
    Associate Legal Entities Germany and France to the ledger Ireland.
    Make sure you also assign balancing segment values to the legal entities associated with your ledgers.
    Assign 789 to Legal Entity Hong Kong (associated with the ledger Hong Kong)
    Assign 123 to Legal Entity Germany (associated with the ledger Ireland)
    Assign 456 to Legal Entity France (associated with the ledger Ireland)
    Once you assign the balancing segment values to the legal entities, system will not let you use any other balancing segment values (that are not assigned to the legal entities associated with your ledger). This will prevent 789 from being used in Ireland Ledger, and 123 and 456 from being used in Hong Long Ledger.
    Hope that helps.
    Hasan
    Learn Oracle Financials Through Video Demonstrations at http://handsonerp.com

  • Why do we need Legal Entity?

    Hi,
    I have read some of Oracle manuals and the discussion on the web. However, I still don't get why we need Legal Entity in EBS. What's difference between Organization Unit (actually I read some on the web)? Since we just need Org_ID in the subledger tables for various operational units, why we still bother to create Legal entity? In some web sites, it always mentions it is used for taxation purpose or repoorting. But I can't find any reports which is generated reply on the legal entity.
    I am so confuse on this. Can anyone clarify my mind? thanks a lot in advance.
    Regards,
    Edmond

    Hi Edmond,
    the purpose and usage of Legal Entity is not as visible as that of Operating units / Inventory Orgs, however it gained its importance due to the way Configuration has been designed. I would say it is more of a configuration compliance than a feature that meets business expectations ...
    You can create a Ledger without Legal Entity, which is allowed by the system, whereas you cannot create an Operating unit without having a legal entity in place....
    All security features, transaction controls, reporting requirements are extracted at the Operating unit level ..
    When will the legal entity be used during the application operation/reporting?
    From Reporting perpective, it plays a vital role.... The reporting requirements of any organization is classified as two, one is BUSINESS need another is LEGAL/STATUTORY need. Now the statutory auhtorities would demand information from a company that has a separate legal presence ...the Statutory authorities are not keen on how many operating units we have under one particular establishment ...it is purely the way how we operate internally ... All custom reports or standard reports available at the Operating
    unit level gathers information of the respective legal entity as well....So when i plan my Multi org structure or configuration i should design my operating units in such a
    fashion, that it must be grouped under appropriate Legal Entities.
    Oracle mentioned about that legal entity is used for taxation and financial reporting. How can we do that?
    Legal Entity definition and BSV assignments are used by the system internally on various configurations and also at transaction processing stages, which incidentally includes taxation
    aspects and financial reporting .... the statement refers to the system design and not a feature available for configuration ...
    What is the difference that more than 1 OU are assigned to 1 single legal entity VS only 1 OU is assigned to 1 single legal entity?
    The difference in first case is that, (i.e. 1 OU = 1 LE)
    Your operating unit data reflects the Complete Legal Entity Data, hence there is no specific report that needs to be designed for legal entity.
    The difference in second case is that, (i.e. 1 or more OU = 1 LE)
    every operating unit contains partial information of your Legal Entity and not complete, hence in order to know your Legal Entity's performance or statements, you are to define a report which would club data pertaining to all operating units under it...
    If a legal entity is assigned to a ledger, what's the difference if balancing segment is assigned to the ledger VS the balancing segment is assigned to the legal entity?
    Honestly, there is no difference since you are allowed to create transactions for all of those BSV's values, there is no system restriction or validation happens during data entry ... However there could be a valid justification from system design/architectural perspective which we may not be aware of .. But there are differences like, when you do not have BSV values at LE level, it impacts certain configuration.... etc ....
    All of your questions are very valid, i have only given my views/comments, these are not FINAL answers... :)
    Regards,
    Ivruksha

  • Currency Code of a Legal Entity - R12

    Hi,
    I need to find out the currency code for a Legal Entity in a R12 instance
    Based on what I have read and from e-TRM, I have written the following queries:
    select gsb.currency_code
      from hr_operating_units hou,
           xle_entity_profiles xep,
           gl_ledgers gsb
    where hou.default_legal_context_id = xep.legal_entity_id
       and hou.set_of_books_id = gsb.ledger_id
       and xep.legal_entity_id = 9999;       
    select currency_code
      from gl_ledger_le_v
    where legal_entity_id=9999
       and ledger_category_code='PRIMARY';Which of these two is more accurate or is there some other way in which I can obtain the Legal Entity currency?
    Thanks,
    Sujoy
    Closing this thread as there have been no answers. I went with the second query.

    Hi Sandeep and thanks for your quick response.
    Our business problem is that this entity is very high volume pertaining to open purchase orders and invetory transactions. In essense the business stays exactly the same, the only change is that it will move to another country with an ownership change. We want the current R12 ledger, company and inventory orgs to stay the same. If the new entity cannot assume the current structure, we have a huge setup and conversion task to make the change.
    Again thanks for your quick response.

  • What html code will start an EXE (program) with a click on a webpage link?

    The code in bold below worked. After I switched my browser from IE 11 to Firefox to get the hover on hotspots to work, the program gave me this error message. I moved the EXE file to my local file folder and tried it as shown below. Still no success. Any suggestions?
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <title>Family Tree Charts</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /><style type="text/css">
    <!--
    body,td,th {
        color: #000;
    -->
    </style></head>
    <body link=blue vlink=blue>
    <table width="100%" height="25" border="0" cellpadding="4" cellspacing="0">
      <tr>
        <td width="93%" height="27" bgcolor="#EFEFEF"> <div align="center"><font color="#999999">
        <b>This Software Allows You To Review Neat Charts of Your Family Tree </b></font></div></td>
        <td width="7%" bgcolor="#CCFFFF"> <div align="center"><A href="Mementos_Menu.html"><font size="2">Back</font></a></div></td>
      </tr>
    </table><BR><center>
    <br>
    <FONT color=#ff00ff><strong>Click the link below to download a special software program for your PC.</strong></FONT><br>
    <br>
    <a href="http://jdmcox.com/"><strong>Cox Website</strong></a><br><br>
    <strong>ITEM 1</strong> (AT THIS  WEBSITE) IS  THE <strong>FAMILY TREE CHART</strong> PROGRAM.<br>
    It is called <strong>Simple Family Tree</strong><br>
    <table width="80%" border="2" cellspacing="2" cellpadding="2">
      <tr>
        <td width="49%" align="left" valign="top"><FONT color=#ff00ff><strong>Click the link below to use this special software program after you download and install the program.</strong></FONT><br>
    <br>
    <!--<a href="C:\Program Files (x86)\Simple Family Tree\Simple Family Tree.exe"><strong>Family Tree Charts Program by Doug Cox</strong></a><br><FONT color=#ff00ff>
    -->
    <a href="C:\Users\Tom and Polly\Documents\Genealogy CD\Simple Family Tree\Simple Family Tree.exe"><b>Family Tree Charts Program</b></a><br><br>
    <FONT color=#ff00ff><strong>Click  the &quot;run&quot; button for both warning messages.<br>
    Click the &quot;READ THIS!&quot; menu option when the program opens.<br>
    Click  "X" in the upper right to close the program.<br><br>
    You can update the family data in future years with this program too.</strong></FONT>
    <br></td>
        <td width="51%" align="left" valign="top"><FONT color=#ff00ff><strong>NOTE 1: Be sure your HTML code for this webpage has a proper line to link to the location where the software was installed. You can use NOTEPAD to make HTML code changes. My existing line is: </strong></FONT><br>
          "c:\<u>program files (x86)</u>\simple family tree\simple family tree.exe"<br><br>
          <FONT color=#ff00ff><strong>The underlined portion will need to agree with where the program was installed. Just change the directory (see underlined sample above). Good luck. If I am still living, call me.<br><br>
          NOTE 2: After you download, install, and try to use the program, you may get an error message window that looks like this -&quot;0 FAMS @F191 @ FAM&quot;. This means you have an individual record in your GEDCOM file that does not have a parent. Be sure all GEDCOM records have at least one parent even if you must name the parent UNKNOWN.</strong></FONT></td>
      </tr>
    </table>
    <br></center> 
    <table width="100%" border="0" cellpadding="2" cellspacing="0" bgcolor="#CCCCCC">
        <tr>
          <td bgcolor="#EFEFEF"> <font size="2">&copy;2002 Sales and People</font></td>
        </tr>
    </table></body>
    </html>

    Herbert:
    Here is my latest code attempt, but I get messages about the lines in BOLD that I do not understand.
    Perhaps you will see what I need to fix. Sure appreciate what you have found and shared with such a neophyte (aka dumbo).
    Tom
    <!--
    body,td,th
    -->
    function RunExe(path) {
    try {
    var ua = navigator.userAgent.toLowerCase();
    if (ua.indexOf("msie") != -1) {
    MyObject = new ActiveXObject("WScript.Shell")
    MyObject.Run(path);
    } else {
    netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");
    var exe = window.Components.classes['@mozilla.org/file/local;1'].createInstance(Components.interfaces.nsILocalFile);
    exe.initWithPath(path);
    var run = window.Components.classes['@mozilla.org/process/util;1'].createInstance(Components.inteinterfaces.nsIProcess);
    run.init(exe);
    var parameters = ["/c start Simple Family Tree.exe"];
    run.run(false, parameters, parameters.length);
    } catch (ex) {
    alert(ex.toString());
    This Software Allows You To Review Neat Charts of Your Family Tree
    Back
    Click the link below to download a special software program for your PC and your GED file.
    *Cox Website*
    ITEM 1 (AT HIS  WEBSITE) IS  HIS FAMILY TREE CHART PROGRAM.
    It is called Simple Family Tree
    Click the link below to look at my GEDCOM file contents.<br>Instructions are provided in the READ THIS menu option at the top of the window.
      *Show Yarnall Chart*
    *Return to this webpage by clicking on the backarrow after looking at the chart.
    You can update the family data in future years with this program too.*
    ©2002 Sales and People
    Date: Thu, 2 Jan 2014 02:09:18 -0800
    From: [email protected]
    To: [email protected]
    Subject: What html code will start an EXE (program) with a click on a webpage link?
        Re: What html code will start an EXE (program) with a click on a webpage link?
        created by Herbert2001 in Dreamweaver support forum - View the full discussion
    Perhaps this might be helpful:
    https://addons.mozilla.org/en-US/firefox/addon/opendownload-10902/
    It allows executables in Firefox to be run - it is an extenstion, though, so it must be installed in Firefox before your page will work.
    Another option is this solution, but it will still require a manual change in Firefox:
    http://forums.mozillazine.org/viewtopic.php?f=19&t=803615
    Or this: http://stackoverflow.com/questions/6472435/running-exe-in-firefox-why- do-i-get-an-error
    However, you will still have problems with getting it to work cross-browser. Honestly, browsers are not supposed to have access like that to the client side file system, which absolutely makes sense for the web.
    That is why you may have to approach the solution from a different angle - perhaps create a server side cloud version of your application(s) which can be easily accessed and run by your family members. I believe you used C to develop the applications? Although I have no experience with this framework, Wt might be a solution to convert your projects to server side applications:
    http://www.webtoolkit.eu/wt
    Good luck!
         Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/5972893#5972893
         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/5972893#5972893
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/5972893#5972893. In the Actions box on the right, click the Stop Email Notifications link.
               Start a new discussion in Dreamweaver support forum at Adobe Community
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/thread/416458?tstart=0.

  • What are the best coding technics which will avoid performance problems

    Hi Experts
    What are the best coding technics which are avoiding memory problems and performance problems
    Some times one of few reports are taking too much time to executing while handling large data.
    1.What are the best way to declare a internal table to avoid performance problems.
    2.what is the best way to process data.
    3.what is the best way to clear memory.
    Can you guys help me give some good suggestions for  writing better programs  to avoid performance problems.
    Thanks
    Sailu

    Hi,
    Check this link..[Please Read before Posting in the Performance and Tuning Forum Updated |Please Read before Posting in the Performance and Tuning Forum;
    Which will be the first thread in the Performance and Tuning Forum.
    Search the SCN first.

  • Basic type :HRMD_A07  in which table data will be store

    Hi,
    I have the basic type HRMD_A07 .so can any one tell me in which table data will store .
    Thanks in advance.
    Regard

    Hi,
    Check the following link for more information on tables and the flow of information in sd
    <u>http://www.erpgenie.com/sap/abap/tables_sd.htm</u>
    Award points if it adds information.
    Thanks
    Mohan

  • Please tell me SQL to see, what tables are locked by which user

    could you please tell me the query
    so that I can see, what tables are locked by which user in a databse
    Thanks

    The only way you can ensure that only one transaction touches the data at any one time is to use a select .. for update nowait statement to select the rows to be updated.
    Try this::
    Where I select the data i want to update in a cursor Incase the row is locked due to any reason it will throw me an error as shown below;
    SQL>DECLARE
      2   cursor c
      3   is
      4   select * from emp
      5   where empno = 10
      6   for update nowait;
      7  BEGIN
      8 
      9   for rec in c
    10    Loop
    11     update emp set ename ='J' where empno = 10;
    12    End Loop;
    13   
    14  DBMS_OUTPUT.PUT_LINE('Record Updated');
    15 
    16  EXCEPTION
    17 
    18  WHEN OTHERS THEN
    19 
    20  DBMS_OUTPUT.PUT_LINE(sqlcode || sqlerrm);
    21 
    22  END ;
    23  /
    -54ORA-00054: resource busy and acquire with NOWAIT specified
    PL/SQL procedure successfully completed.Edited by: J99 on Jul 28, 2009 4:57 PM

  • What analyze table command will do exactly?

    Hi,
    Can any one tell me what this analyze table command will do when we execute it??? Please help me out.
    Cheers,
    Senthil

    Which database version?
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/statements_4005.htm#i2086320
    See the NOTE on that link.
    Basically, unless there is a bug in DBMS_STATS where the recommended workaround is to use ANALYZE use DBMS_STATS instead.

Maybe you are looking for

  • How to delete icloud account with no password and email is invalid

    My mother updated her iphone 4 with IOS 7 and signed up for the iCloud and activated the "Find my phone app". She can't remember her the password that she initially entered.  On top of that, when she set up the account she typed a ".con" instead of "

  • Serial I/O IRQ Method

    I am trying to do some simple I/O using an NI 9870 serial module in a cRIO with a NI-9014 host (LabVIEW 9, RIO 3.2.1) .  I am already using 3 DMA FIFO's for other things and was trying to pass the data in and out of the FPGA using an interrupt driven

  • Two finger scrolling while dragging files in finder

    Hi guys. I'm new to this forum but have used it in the past so I'll start by saying thank you for all the people who post on here. Now for my query, and this one is driving me nuts because it seems like such a simple thing that is either missing or I

  • Why is HP Photosmart C4780 wi-fi not working with MacBook Air?

    My HP Photosmart C4780 and my MacBook Air seem incapable of maintaining a wi-fi connection. My printer will work with a wired connection but the combined scanner no longer works at all. I have installed and uninstalled the printer on numerous occasio

  • Sender object type for price catalog in Generation of BizPackage

    what is sender object type for price catalog in Generation of BizPackage and BIU under bizPackage Generate (SAP B1iSN Tools) i should put PRICAT (the msgtype in the model view or PRICAT02 in standard basic IDoc types) Thanks elson