How to get the organization structures of a compnay code (BUKRS)?

Hi Friends,
I have a requirement to get the organization structures of a compnay code (BUKRS), such as Controlling area, Credit control area, Plant, Sales Organization, Purch. Organization, Personnel area.
How can I get them, I only know the compnay code table is T001, but how to get the organization structures  of a compnay code (BUKRS) into a internal table?
Thanks a lot!

Hi,
A lot of table will be involved for the same.
The company code is the highest unit and all other things are assigned to it.
Check the settings in SPRO as to how the maintainance is done.
From here you will get the maintainance view details if you do F1 help on each field.
From this view you can get the relevant tables.
For eg.
Go to SPRO>Controlling>Organization-->Maintain Controlling Area
Here you will find the assignment of controlling area to the company code.
The maintainance view is V_TKA02 and the tables involved are TKA02, TKA01, T001
In this way you can find the relevant tables.
Regards,
Ankur Parab

Similar Messages

  • VISA: How to get the CSV file through C/C++ code?

    How to get the CSV file through C/C++ code?
    I'm communicating with a USB oscilloscope using VISA.

    Thank you for your reply.
    I am using Apache Commons File Upload. Here is the code where I got the "fi".
         DiskFileUpload fu = new DiskFileUpload();
              fu.setSizeMax(1000000000);
              List fileItems = fu.parseRequest(request);
             Iterator itr = fileItems.iterator();
              FileItem fi = (FileItem)itr.next();
              if(!fi.isFormField())
                File tempFileRef  = new File(fi.getName());
         System.out.println("Field = "+tempFileRef.getAbsolutePath());
         }

  • How to get the NameTab Structure(X031L) for Dynamic internal table?

    when we pass standard table to the FM 'DD_GET_NAMETAB' we will get the
    nametab structure(x031l), like this i want to get the same structure for
    dynamic internal  table . how can I achieve this
    please help me...

    Hi,
    try this method
    REPORT zmaschl_create_data_dynamic .
    TYPE-POOLS: slis.
    DATA: it_fcat TYPE slis_t_fieldcat_alv,
          is_fcat LIKE LINE OF it_fcat.
    DATA: it_fieldcat TYPE lvc_t_fcat,
          is_fieldcat LIKE LINE OF it_fieldcat.
    DATA: new_table TYPE REF TO data.
    DATA: new_line  TYPE REF TO data.
    FIELD-SYMBOLS: <l_table> TYPE ANY TABLE,
                   <l_line>  TYPE ANY,
                   <l_field> TYPE ANY.
    Build fieldcat
    CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'       EXPORTING           i_structure_name = 'SYST'       CHANGING           ct_fieldcat      = it_fcat[].   LOOP AT it_fcat INTO is_fcat WHERE NOT reptext_ddic IS initial.        MOVE-CORRESPONDING is_fcat TO is_fieldcat.        is_fieldcat-fieldname = is_fcat-fieldname.        is_fieldcat-ref_field = is_fcat-fieldname.        is_fieldcat-ref_table = is_fcat-ref_tabname.        APPEND is_fieldcat TO it_fieldcat.   ENDLOOP.
    Create a new Table
    CALL METHOD cl_alv_table_create=>create_dynamic_table       EXPORTING        it_fieldcatalog = it_fieldcat       IMPORTING        ep_table        = new_table.
    Create a new Line with the same structure of the table.
    ASSIGN new_table->* TO <l_table>.CREATE DATA new_line LIKE LINE OF <l_table>.ASSIGN new_line->* TO <l_line>.
    Test it...
       DO 30 TIMES.
          ASSIGN COMPONENT 'SUBRC' OF STRUCTURE <l_line> TO <l_field>.
          <l_field> = sy-index.
          INSERT <l_line> INTO TABLE <l_table>.
       ENDDO.
       LOOP AT <l_table> ASSIGNING <l_line>.
          ASSIGN COMPONENT 'SUBRC' OF STRUCTURE <l_line> TO <l_field>.
          WRITE <l_field>.
       ENDLOOP.

  • How to get the Organization Units

    Hello,
    I have set up a LDAP server with JNDI Tutorial example. I have been able to search, list and also get the attributes from the server. But what i need to know is there a way to get the Organization Units in java.
    ie. o = JNDITutorial
    ou = People
    ou=Groups
    ou=NewHires
    Now what i want is there a way to get all the ou's in java for the given organization.
    Any help would be greatly appreciated.

    Mahmed
    I would strongly say you need to refer the Workforce and Management guide
    Which will explain you the complete details of the Organization
    You need to get the basics for this because these BG and OU are going to be the foundation for the instance. So just by know the definition will not help you
    Thanks
    Regards
    Ramesh Kumar S

  • How to get the folder structure using Sevlets

    Hi....
    I have to retrieve the directory structure on the server and display it
    to the user. Once the user selects a folder from the tree, the files
    have to load on a different pane. Of course the folder structure could
    change on the server if any folder or file is added. In short, i have
    to get something like the windows file explorer.Also I need to get the path to a particular folder in the server. Is it possible to do
    this with using servlets. If we can do this using
    servlets, how can i retrieve the folder structure and send it to the
    user interface?
    Can somebody help me to do this please.....
    Thanks!

    I need to get the path to a particular folder in the
    server. Is it possible to do
    this with using servlets.You can use:
    String thePath = getServletContext().getRealPath("/WEB-INF/someDir/somefile");
    If we can do this using
    servlets, how can i retrieve the folder structure and
    send it to the
    user interface?You could try using a File object and its method listFiles() or some of its other methods.

  • How to get the Organizer page to install when only the Editor page appeared after Elements12 installation?

    I  Can't figure out if it is possible to retrieve/install the Organizer page after only the Editor page installed on Elements 12. If it is possible, how do I do it?

    When I launch PSE 12 directly I do get the "welcome" screen first. If I then click on the Organizer box it gives the moving line for a bit, and then nothing more: no Organizer screen ever appears. However when I click on the Editor box the Editor screen does come up after the moving line starts.
    By the way, I've long used PSE 10, and that still works for both screens, so I'm now having to jerryrig the post production process by using the Organizer screen from version 10 to access my photos and then drag them to the Editor screen from version 12 !
    I bought PSE 12 because it accomodates/processes/edits in  RAW, where version 10 doesn't. I sure don't want to have to pay for version 13, and Adobe chat no longer supports version 12, so any help you can offer would be wonderful !!!
    By the way -- in addition, a very useful  plug-in (Nik Collection) that i've come to love to use with version 10 doesn't appear with version 12's Editor screen at all. So if you have any thoughts about how to fix that I would really appreciate that too !
    Thanks in advance. -- Jessie
    Sent via the Samsung Galaxy Note® II, an AT&T 4G LTE smartphone

  • HR ABAP: How to get the organizational unit for the penr as chief

    Hi ,
      I am new to HR ABAP. Could any one  specify if we have a PERNR  how we can get the possible values for Orga units,positions and the personal areas that this PERNR as chief.
    Thanks in advance,

    Hi,
    <li>Check the table PA0001 which contains Org unit(ORGEH), Position(PLANS), Personal Area(WERKS) assigned to PERNR.
    <li>Use SELECT query to get those if you don't use Logical database PNP.
    Thanks
    Venkat.O

  • How to get the Organizational Unit One level up

    Hi
    Does any one know any function module to get the org unit one level up by giving the current Organizational unit as input. Please reply very urgent.

    Hello Nirmal
    I am usually using the following function module to read to OM:
    *   SAP_SORG
    * OrgStructure with assigned orgunits)
        REFRESH: lt_struc.
        CALL FUNCTION 'RHPH_STRUCTURE_READ'
          EXPORTING
            plvar             = '01'            " active Planvar.
            otype             = 'O'             " OrgUnit
            objid             = l_wa_cb1-objid  " Toplevel-Node
            wegid             = 'SAP_SORG'
            begda             = iw_begda
            endda             = iw_endda
            pup_info          = 'X'
            with_stext        = 'X'
            tdepth            = 0               " alle Sub-Levels
          TABLES
            stru_tab          = lt_struc
          EXCEPTIONS
            catalogue_problem = 1
            root_not_found    = 2
            wegid_not_found   = 3.
    The parameter <b>WEGID</b> is the crucial on which determines the objects that are read from the OM. In your case you will need <b>WEGID = 'A002'</b> (reports (line) to).
    To understand the <i>evaluation path</i> (WEGID) better have a look at transaction <b>PPST</b>.
    Regards
      Uwe

  • How to get the document structure with the document number"?"

    Hello experts,
    I have now a big trouble. There is a document with the number '?' in our syste. And for this document a document structure was builded. Now I can't acess the document structure, because the system doesn't accept '?' as a document number...
    Can you help me?
    Thanks a lot!
    best regards,
    Ying

    Hi Sarita,
    thank you very much! My problem is now solved, and the documents in the structure are free again _
    best regards,
    Ying

  • HT1338 how to get the up-to-date OS content code back?

    Hi Guys
    I am new here. My iMac (purchased from middle of 2010 and eligilable to the up-to-date programe) down recently and I can't find the up-to-date os content code back? Can anyone tell me where and how can I get it back? Thanks in addvance.
    My current version 10.6.8.
    Thanks again in addvance.

    I was up-to-date to 10.7.x. with no additional charge because I am eligiable for the up to date progame when I purchased my iMac. Unfortunately it was down due to the power issue and I just got it back. So I reinstalled my os from the disc but only up to 10.6.8. I was looking back to my email to the content code that apple sent me, unfortunately that email was password protected. Now I can't get my content code to download to the 10.7.x. Do you know how can I get that back by any chance? Thanks for repling my post.

  • How to get the material structure list

    Hi All
    My business is project based. Sometime I found that a project/network having incomplete item so the project can't execute timely.
    is there any T-Code I can use to check the Bill of Material of all outstanding/ not closed project, so I can identify which project has incomplete item? Currently I use MB25.

    Hi,
    Use T-code MD4C to get Multi-level Report for Sales Order, WBSe,Material, Network etc.
    You can also use report : S_ALR_87013542 - Actual/Comm/Total/Plan in COAr crcy   &
    S_P00_07000139 - S_P00_07000139   Stock Card & Inventory  to get Material & WBSe Info.
    Hope this helps
    Best regards
    Amit Bakshi
    Edited by: AMIT BAKSHI on Apr 25, 2011 7:14 PM

  • How to get the error message from a AWS code to display on the portal

    I implemented IAuthProvider, it works, within the code when authentication fails, I threw AccessDeniedException(customMessage) but when the login fails, the login screen always display the "You could not be logged in to the portal." error message, how can I get it to display the custom message? Am I throwing the wrong exception?
    TIA.

    Simpler? Uhm as far I know there doesn't exist any magic and you have just to write one or two lines of Javascript code yourself. Is that hard?

  • How can I get the XML structure from a flat structure?

    Hi all,
    in my XI SP 12 I use a JMS adapter to read information using the WebSphereMQ transport protocol.
    The structure that I receive have this format:
    <Name_A.KeyFieldValue><Name_A.fieldName_A1_Value>...<Name_A.fieldName_AN_Value>
    <NumberRecordType_B><NumberRecordType_c>
    <Name_B.KeyFieldValue><Name_B.fieldName_B1_Value>...<Name_B.fieldName_BN_Value>
    <Name_B.KeyFieldValue><Name_B.fieldName_B1_Value>...<Name_B.fieldName_BN_Value>
    <Name_C.KeyFieldValue><Name_C.fieldName_C1_Value>...<Name_C.fieldName_CN_Value>
    <Name_C.KeyFieldValue><Name_C.fieldName_C1_Value>...<Name_C.fieldName_CN_Value>
    the problem is that in this structure each line is not separated by a carriage return or a comma, I have all the information in a single line:
    <Name_A.KeyFieldValue><Name_A.fieldName_A1_Value>...<Name_A.fieldName_AN_Value><NumberRecordType_B><NumberRecordType_c><Name_B.KeyFieldValue><Name_B.fieldName_B1_Value>...<Name_B.fieldName_BN_Value>...<Name_B.KeyFieldValue><Name_B.fieldName_B1_Value>...<Name_B.fieldName_BN_Value><Name_C.KeyFieldValue><Name_C.fieldName_C1_Value>...<Name_C.fieldName_CN_Value>...<Name_C.KeyFieldValue><Name_C.fieldName_C1_Value>...<Name_C.fieldName_CN_Value>
    and the customer don't want to insert a line separator.
    Then, the question is:
    How can I get the XML structure from this structure?
    If possible, I don't want to develop new Module and add it in the JMS Module Sequence.
    PS I have already read the article "How to Use the Content Conversion Module with the XI 3 J2EE JMS Adapter.pdf" and it doesn't seem to help me.
    Best Regards,
    Paolo

    To get context parameters from your web.xml file you can simply get the ActionServlet object from an implementing action object class. In the perform (or execute) method make the following call.
    ServletContext context = getServlet().getServletContext();
    String tempContextVar =
    context.getInitParameter("<your context param >");

  • How to get PNP Org Structure to reflect the org structure as of key date?

    I created a custom program using the PNP logical database.  I defined a custom report category indicating the selection period = employee selection period and allowing org.structure.  I’m also using the standard SAP PNP_DEFAULT selection view. 
    Inside my ABAP I initialize the pnpbegda and pnpbegps to reflect 20060930.  Upon Execution the key date reflects 09/30/2006.  I click on the org.structure button.  The org.structure displayed reflects the one as of today rather than as of Sept-30. 
    During run debug I see that the RP_PNP_ORGSTRUCTURE  program, LRPPNU11, calls function 'RH_TYPE_STRUC_HELP' to get the org.structure.  The call to this function passes 09/30/2006 for the begda and endda, but it still returns the latest org.structure.  I did some playing with this function and found that if I also pass the ACT_SEARCH_WEGID as ORGEH it works.
    Any idea on how I can get the LRPPNU11 program to pass the ACT_SEARCH_WEGID or the subsequent called functions to process for ORGEH?

    thanks. but maybe I don't describe my problem well.
    I use javascript to get some information such as position, sytle of each elements and then pass these to javafx. So the besides the dom tree, I can get more information about elements.
    I need to pass them back to javafx.
    if node support setUserData, I can associate them to each Node/Element. But webkit don't support this feature.
    BTW, If javascript pass a object to javafx. it can only deal with primary types such as string, numeric. But I need pass back a complicated javascript object like:
    {name:"parent", children:[{name:"child1"},{name:"child2"}]
    I can use (String)JSObject.getMember("name"); and JSObject children=JSObject.getMember("children");
    but I can't cast children to Object[] or JSObject[].
    so I have to use some tricky to convert Javascript Object to json string and then in javafx convert it back to Object tree.
    Edited by: user12956197 on 2013-3-11 上午4:27

  • How can i get the package structure(much complex)?

    I have a oracle package, which is called SPK_A.
    its structure as below:
    SPK_A...T_A1(table)
    ..............T_A2(table)
    ..............FUN_A1(function)
    ..............FUN_A2(function)
    ..............SPK_B(package)...FUN_B1(function)
    ..........................................FUN_B2(function)
    ..........................................T_B1(table)
    ..........................................T_B2(table)
    I have tried to write the sql with data ditionary(dba_dependencies).
    but i failed finaly.
    Because it can only decribe the reference by the package,
    and i found there are 2 problems with "dba_dependencies":
    1.the relationship between them are not necessarily filiation;
    2.It doesn't describe the really package structure;
    Can anyone help me to get the package structure as above?
    Any Ideas Appreciated.
    The sample sql as below:
    create table T_A1
    empno number,
    ename varchar2(10)
    create table T_A2
    deptno number,
    dname varchar2(10)
    create table T_B1
    empno number,
    ename varchar2(10)
    create table T_B2
    deptno number,
    dname varchar2(10)
    create or replace package SPK_B is
    lv_empno T_B1.empno%type;
    lv_deptno T_B2.deptno%type;
    function FUN_B1(in_empno number) return varchar2;
    function FUN_B2(in_deptno number) return varchar2;
    end;
    create or replace package body SPK_B is
    function FUN_B1(in_empno number) return varchar2 is
    lv_ename varchar2(50);
    begin
    select ename into lv_ename from T_B1 where empno=in_empno;
    return lv_ename;
    end;
    function FUN_B2(in_deptno number) return varchar2 is
    lv_dname varchar2(50);
    begin
    select dname into lv_dname from T_B2 where deptno=in_deptno;
    return lv_dname;
    end;
    end;
    create or replace package SPK_A is
    lv_empno T_A1.empno%type;
    lv_deptno T_A2.deptno%type;
    function FUN_A1(in_empno number) return varchar2;
    function FUN_A2(in_deptno number) return varchar2;
    end;
    create or replace package body SPK_A is
    function FUN_A1(in_empno number) return varchar2 is
    lv_ename varchar2(50);
    begin
    lv_ename := SPK_B.FUN_B1(in_empno);
    return lv_ename;
    end;
    function FUN_A2(in_deptno number) return varchar2 is
    lv_dname varchar2(50);
    begin
    lv_dname := SPK_B.FUN_B2(in_deptno);
    return lv_dname;
    end;
    end;
    /

    Use DBMS_UTILITY.GET_DEPENDENCY
    http://www.psoug.org/reference/dbms_utility.html

Maybe you are looking for