Tables contain org-hierarchy or structure

Hi all can any body tell me the tables that contain the information of hierarchy of organization like the main operating unit and all the sub-orgs associated with it??
Thanks in advance
Koushik

Hi Vibhu,
Have you checked the XSL files that control the images? I believe they are EmployeePictureXSL.xsl and EmployeePictureCondensedXSL.xsl. You might need to amend them to fit your solution.
I hope that helps.
Luke

Similar Messages

  • SELECT * cannot be used in an INSERT INTO query when the source or destination table contains a multivalued field

    Hi,
    I am using Access 2013 and I have the following VBA code, 
    strSQL = "INSERT INTO Master SELECT * from Master WHERE ID = 1"
     DoCmd.RunSQL (strSQL)
    when the SQL statement is run, I got this error.
    SELECT * cannot be used in an INSERT INTO query when the source or destination table contains a multivalued field
    Any suggestion on how to get around this?
    Please advice and your help would be greatly appreciated!

    Rather than modelling the many-to-many relationship type by means of a multi-valued field, do so by the conventional means of modelling the relationship type by a table which resolves it into two one-to-many relationship types.  You give no indication
    of what is being modelled here, so let's assume a generic model where there is a many-to-many relationship type between Masters and Slaves, for which you'd have the following tables:
    Masters
    ....MasterID  (PK)
    ....Master
    Slaves
    ....SlaveID  (PK)
    ....Slave
    and to model the relationship type:
    SlaveMastership
    ....SlaveID  (FK)
    ....MasterID  (FK)
    The primary key of the last is a composite one of the two foreign keys SlaveID and MasterID.
    You appear to be trying to insert duplicates of a subset of rows from the same table.  With the above structure, to do this you would firstly have to insert rows into the referenced table Masters for all columns bar the key, which, presuming this to be
    an autonumber column, would be assigned new values automatically.  To map these new rows to the same rows in Slaves as the original subset you would then need to insert rows into SlaveMastership with the same SlaveID values as those in Slaves referenced
    by those rows in Slavemastership which referenced the keys of the original subset of rows from Masters, and the MasterID values of the rows inserted in the first insert operation.  This would require joins to be made between the original and the new subsets
    of rows in two instances of Masters on other columns which constitute a candidate key of Masters, so that the rows from SlaveMastership can be identified.
    You'll find examples of these sort of insert operations in DecomposerDemo.zip in my public databases folder at:
    https://onedrive.live.com/?cid=44CC60D7FEA42912&id=44CC60D7FEA42912!169
    If you have difficulty opening the link copy its text (NB, not the link location) and paste it into your browser's address bar.
    In this little demo file non-normalized data from Excel is decomposed into a set of normalized tables.  Unlike your situation this does not involve duplication of rows into the same table, but the methodology for the insertion of rows into a table which
    models a many-to-many relationship type is broadly the same.
    The fact that you have this requirement to duplicate a subset of rows into the same table, however, does make me wonder about the validity of the underlying logical model.  I think it would help us if you could describe in detail just what in real world
    terms is being modelled by this table, and the purpose of the insert operation which you are attempting.
    Ken Sheridan, Stafford, England

  • Create_dynamic_table does not work when fieldcatalog table contains LVC_S_S

    I'm getting short-dump when creating dynamic internal table via CALL METHOD cl_alv_table_create=>create_dynamic_table. The fieldcatalog contains a component named LVC_S_STYL which populates fine when after call function LVC_FIELDCATALOG_MERGE but when this is passed to cl_alv_table_create=>create_dynamic_table it short dumps!
    Is it possible to pass the style catalog in this case, how? Below is my code.
    Structure of 'ZZ_ALV_FCAT' is WERKS type werks_d, DATE type datum, CELLTAB type LVC_S_STYL.
       CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
         EXPORTING
           i_structure_name             = 'ZZ_ALV_FCAT'
          CHANGING
            ct_fieldcat                  = lt_fieldcat.
        CALL METHOD cl_alv_table_create=>create_dynamic_table
          EXPORTING
            it_fieldcatalog           = lt_fieldcat
            i_length_in_byte          = ''
          IMPORTING
            ep_table                  = dy_table
          EXCEPTIONS
            generate_subpool_dir_full = 1
            OTHERS                    = 2.
        IF sy-subrc EQ 0.
          ASSIGN dy_table->* TO <dyn_table>.
        ELSE.
          MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                     WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        ENDIF.
    <b>I'll be generously giving away points for any help!</b>
    Any idea anyone? I was thinking may be convert the HEX data to CHAR before creating the dynamic table then again convert the CHAR data back to HEX before I call SET_TABLE_FOR_FIRST_DISPLAY? In that case, how to convert Hex of a structure to CHAR and vice versa?
    Message was edited by:
            Sougata Chatterjee

    Hi
    I worote this code in my system (4.6C) and I got any dump:
    DATA: CT_FIELDCAT TYPE  LVC_T_FCAT.
    DATA: DY_TABLE TYPE REF TO DATA.
    FIELD-SYMBOLS: <TABLE> TYPE TABLE.
    CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
      EXPORTING
    *   I_BUFFER_ACTIVE              =
        I_STRUCTURE_NAME             = 'ZLVC_S_STYL'
    *   I_CLIENT_NEVER_DISPLAY       = 'X'
    *   I_BYPASSING_BUFFER           =
      CHANGING
        CT_FIELDCAT                  = CT_FIELDCAT
    EXCEPTIONS
       INCONSISTENT_INTERFACE       = 1
       PROGRAM_ERROR                = 2
       OTHERS                       = 3
    IF SY-SUBRC <> 0.
      MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    CALL METHOD CL_ALV_TABLE_CREATE=>CREATE_DYNAMIC_TABLE
          EXPORTING
            IT_FIELDCATALOG           = CT_FIELDCAT
    *       I_LENGTH_IN_BYTE          = ''
          IMPORTING
            EP_TABLE                  = DY_TABLE
          EXCEPTIONS
            GENERATE_SUBPOOL_DIR_FULL = 1
            OTHERS                    = 2.
    IF SY-SUBRC = 0.
      ASSIGN DY_TABLE->* TO <TABLE>.
      IF SY-SUBRC = 0.
      ENDIF.
    ENDIF.
    I've included the structure LVC_S_STYL in my structure ZLVC_S_STYL and then add some fields.
    But if I insert a field CELL like LVC_S_STYL, instead of to include it directly, I get the dump.
    So I believe it depends on how you've defined the structure in dictionary, because in the second case it seems the METHOD can't create the subroutine to create the dynamic table.
    It seems if it uses a complex structure where a field is a structure, the METHOD can't write a right defintion of an internal table based on the dictionary structure.
    In my system I saw the method try to create a subroutine where the interna table is defined in this way:
    DATA: STYLE TYPE ZLVC_S_STYL-STYLE. 
    instead of
    DATA: STYLE TYPE ZLVC_S_STYL-CELL-STYLE. 
    Max

  • SM58 - IDoc adapter inbound: IDoc data record table contains no entries

    Trying to send Idocs from SAP ECC6.0 via PI 7.0 up until 2 days ago there was no problem.
    Since yesterday, only one specific type of Idoc does not make it into XI (PI). In the Idoc monitor (WE02) the idocs that were created gives status 3 which is good. But all Idocs of that specific type (ZRESCR01) does not go to XI. I can only find them bakc in SM58 where it gives the following message:
    IDoc adapter inbound: IDoc data record table contains no entries
    I have checked SAP notes 1157385 and also 940313, none of them gives me any more insight into this error. I have also checked all the configuration in WE20, SM59, and in XI (repository and directory) and in XI IDX1, IDX2 but could not find anything that would cause this. I can also not think of anything that changed since 2 days ago.
    Please point me in the right direction.

    hi,
    i think in sm 58 u can find entries only when there is some failure in login credential .
    if there is change in IDoc structure than you have to reimport the idoc metadata defination at IDX2.otherwise not requird.
    please check the logical system name pointing to the your requird target system....
    please also verify thet your port should not be blocked.
    pls find the link it may help
    Monitoring the IDOC Adapter in XI/PI using IDX5
    regards,
    navneet

  • Set up table contains the enhanced field information?

    Hi Experts,
    I am enhancing a field in the datasource 2lis_11_vaitm,
    Things i did :
    1.Enhanced the ext.structure with the required field.
    2.Activated the ext.structure.
    3.Witten the logic in the CMOD.
    4. Deleted the Setup table and refilled.
    Now my question is :
    1.Did the setup table contains the ENHANCED FIELD with the historical data ?if so where to see that?
    I checked in RSA3 the enhanced field is displayed with the records.
    The code i have wriiten is WHEN "DATASOURCE " then -> logic from the base table.
    Now will the data come from the base table or from the setup table?
    Can any one help me in this issue.
    Best Regards
    Jelina

    Why do we need to delete the setup table after doing enchancement with standard Datasource.
    Ans :
    You neednot refill the setup table just because you enhanced the datasource.
    You need to delete and refill if the postings happened after you filled the setup table.
    Meaning you will miss the current posting.Unless you have done a init in BI/BW side.
    Hope this helps.

  • Which table contains the field CNTRC(Counter Reading)?

    Hi Guys,
    1) Can anybody tell me which table contains the field CNTRC (short description is Counter Reading) ?
    2) CNTRC is available in the structure RIMR0. In a situation like this, how do we identify the table name?
    Thanks in Advance,
    Vijay

    Dear Vijay
    The counter reading is available in IMRG table in field CNTRR. It is available in exponential form. you need to convert to decimal from using the FM FLTP_CHAR_CONVERSION_FROM_SI
    Please go through the below link for the
    same
    Link: [Re: Counter reading in IK11]
    Regards
    gajesh

  • Which R3 table contains the field WRSHB (Amount in FC)?

    In InfoSource 0FI_AP_4, the InfoObject 0DEB_CRE_DC is mapped with R3 field WRSHB (Amount in FC).  We try to find which R3 table contains this field, but fail to find it.   We've tried BKPF, BSEG, and PAYR, not successful.  We tried RSO2 and find that no view/table is attached to the datasource 0FI_AP_4, instead the extraction function BWFID_GET_FIAP_ITEM is used for the extraction, but inside this function, still can't find this field WRSHB.
    Any idea?
    Thanks

    hi AHP,
    Thanks for your answer to 0FI_AP_4.  Now we've got a question for 0FI_GL_4:
    Follow the similar SAP Help link for 0FI_GL_4:
    http://help.sap.com/saphelp_nw04/helpdata/en/57/dd153c4eb5d82ce10000000a114084/frameset.htm
    The above link shows the Origin Fields in the Extract Structure, however it doesn't contains the field called KNTTP, but it does exist in the datasource of 0FI_GL_4 of our R3 system, why?  Our R3 system version is 4.7.  SAP Help website should be updated, right?  Why SAP Help website doesn't contain the field KNTTP for datasource 0FI_GL_4?
    Thanks

  • No master pages applied because MasterPageMaps table contains no mapping information

    I use FM8 and DITA files to create my books. I have tired in the past to apply masters automatically but have not been able to. Now that I create books from xml, it is even more important to automate this process. I use structured FM and have deleted and re-created the StructMasterPageMaps in my file. I created a book that has my one test file so I can experiment quickly. In that file I have a Master page defined as Chapter_cover which I can apply manually no problem. In the StructMasterPageMap, I refer to the paragraph tag title.0 and the right-hand MasterPage Chapter_cover and set the range to Single.
    When I then select the book and try to update the master pages (Update book->Master Pages->update), I get the error "No master pages applied because the MasterPageMaps table contains no mapping information.
    I have searched the forum and the archive and found an instance similar to mine (Jun19/07), but no clear resolution was found. I have tried the suggestions made therein such as re-creating the MasterPages reference page, which I have done. And I am sure that I have typed them correctly (case sensitive etc).
    What could be my problem? I could send the book since it consists of only one 2-page fm file.
    Thanks in advance for any help,
    Kevin

    Further to this problem, I found that if I create a brand new file, import the structure definitions and then refer to E:title in the StructMasterPage table, it will apply the Master page, but not when I refer to the paragraph tag title.0
    So I see that I am close, but I cannot use the Title element since it is used by all the tasks in the real files. Only the title.o paragraph tag will flag the first page.
    Does anyone have any suggestions why the p tag does not work while the element does?
    I have tried defining E:title or title and p:title.0 or title.0 to see if that made a difference, but it did not.
    Thanks again

  • One table containing DIMENSION and FACT columns ... How to make it work?

    Guys, i have a question that relates to OBIEE working with a single table containing both fact and dimension columns.
    What is the "best" strategy to get this to behave like a star schema? Following are my questions:
    - Should i alias each dim set of columns in physical layer
    - Should i alias fact set of columns in physical layer
    - Join them in the Physical layer and then pretend they are actually two separate structures in business layer?
    OR
    Something else?
    Please share your ideas how to handle this type of situation.
    Regards,

    You can just duplicate the table in the Business Model and separate the Facts and Dimensions, there is an article about this type of design here..
    http://www.rittmanmead.com/2009/11/10/oracle-bi-ee-10-1-3-4-1-single-table-repository-design-part-1/

  • Tables containing item status procedure used in sales documents

    Hello experts,
    I need make a query in order to know the status procedure used into items of sales documents.
    Example: In some items of sales orders I have status procedure CRMORD_I and in some items I have Z_ORDR_I. I need make a query in order to clarify it.
    What table contains the item status procedure linked to each item into sales documents ?
    Regards
    Juan

    If you want to know the status profile(CRMPRD_I or Z_ORDR_I) attached to a particular line item, you can obtain it from knowing the item category type(ex TAN). The satus profiel are attached to the item category type. The item category value is available in the field ITM_TYPE of the item structure (ET_ORDERADM_I).
    once you know the item category type you can obtain the obtain the status profile from calling the FM CRM_ORDER_ITEM_TYPE_SELECT_CB, the ES_ITEM_TYPE-USER_STAT_PROC will have the status profile value.
    Regards,
    Kiran

  • Nakisa Org Hierarchy view setup

    Hi,
    Does anyone have any information on setting up the Org Hierarchy view in TVN? Currently I only have a single, blank box displaying on the Nakisa webpage in the Org view (under Position tab).
    Also, I'm looking for the full document set and a config manual (other than the installation guide and administrator guide available after installation).
    Any assistance will be greatly appreciated.
    Dirk.

    Hi David,
    Usually these fields are stored by default. They are a standard set of names that are used by the BAPIs that get and return the data from SAP. These are:
    OrgUnit Hierarchy:
    Hierarchy ID: Object_ID
    Parent ID: ParentNo
    Element ID: Object_ID
    Position Derived:
    Hierarchy ID: Object_ID
    Parent ID: <blank>
    Element ID: EmployeeID
    Sucession:
    Hierarchy ID: Object_ID
    Parent ID: <blank>
    Element ID: Object_ID
    Youalso  need to make sure the link settings are also populated.
    If you have already used these and only get part of the structure your SAP user ID may not have the required authorisations to view all of the structure. Nakisa can recommend how to setup the user.
    Good luck.
    Luke

  • I can't import a table contains BLOB column  from one user to another user.

    1) I create two user both have connect role,and each has its own tablespace, DDL:
    create user d2zd identified by d2zd default tablespace d2zd quota unlimited on d2zd account unlock;
    grant connect to d2zd;
    create user d3zd identified by d3zd default tablespace d3zd quota unlimited on d3zd account unlock;
    grant connect to d3zd;
    2)Then enter oracle as d2zd and create a table contains BLOB column and insert data to the table.
    3) export d2zd as follow:
    exp d2zd/d2zd file=d2zd.dmp
    4) import to d3zd as follow:
    imp d3zd/d3zd fromuser=d2zd touser=d3zd file=d2zd.dmp
    the question is the table with BOLB colum can't be import,
    it says:have no privilege on tablespace d2zd.
    How can I import a table contains BLOB column from one user to another user?

    Hi - the reason for as our friend already told ist that a blob can be stored outside of the table segment, in another Tablespace, This is for performance reason.
    Sou you would need to have Quota on two tablespaces.
    the one which holds the table segment the other which holds the blob(segment).
    Regards
    Carl
    Message was edited by:
    kreitsch

  • Error when opening table container file keydb read only

    Hi Guys,
    We are installing solution manager 4.0 on windows/sql but we are getting following error and couldnt continue the installation
    FKD-00070  Error when opening table container file C:\PROGRA1\SAPINS1\SOLMAN\SYSTEM\MSS\CENTRAL\AS\keydb.xml for writing. Possible reason: "read-only"
    ERROR 2008-06-04 20:10:56.843
    FKD-00049  XML - Parser error: error: no DTD specified, can't validate in line 1, 1
    in file C:\Program Files\sapinst_instdir\SOLMAN\SYSTEM\MSS\CENTRAL\AS\keydb.xml.
    Please help
    Regards,
    Santosh

    Further info
    keydb.xml is empty and the directory has got write access for everyone
    regards
    Edited by: Santosh Keerti on Jun 4, 2008 1:29 PM

  • What is the best practice for inserting (unique) rows into a table containing key columns constraint where source may contain duplicate (already existing) rows?

    My final data table contains a two key columns unique key constraint.  I insert data into this table from a daily capture table (which also contains the two columns that make up the key in the final data table but are not constrained
    (not unique) in the daily capture table).  I don't want to insert rows from daily capture which already exists in final data table (based on the two key columns).  Currently, what I do is to select * into a #temp table from the join
    of daily capture and final data tables on these two key columns.  Then I delete the rows in the daily capture table which match the #temp table.  Then I insert the remaining rows from daily capture into the final data table. 
    Would it be possible to simplify this process by using an Instead Of trigger in the final table and just insert directly from the daily capture table?  How would this look?
    What is the best practice for inserting unique (new) rows and ignoring duplicate rows (rows that already exist in both the daily capture and final data tables) in my particular operation?
    Rich P

    Please follow basic Netiquette and post the DDL we need to answer this. Follow industry and ANSI/ISO standards in your data. You should follow ISO-11179 rules for naming data elements. You should follow ISO-8601 rules for displaying temporal data. We need
    to know the data types, keys and constraints on the table. Avoid dialect in favor of ANSI/ISO Standard SQL. And you need to read and download the PDF for: 
    https://www.simple-talk.com/books/sql-books/119-sql-code-smells/
    >> My final data table contains a two key columns unique key constraint. [unh? one two-column key or two one column keys? Sure wish you posted DDL] I insert data into this table from a daily capture table (which also contains the two columns that make
    up the key in the final data table but are not constrained (not unique) in the daily capture table). <<
    Then the "capture table" is not a table at all! Remember the fist day of your RDBMS class? A table has to have a key.  You need to fix this error. What ETL tool do you use? 
    >> I don't want to insert rows from daily capture which already exists in final data table (based on the two key columns). <<
    MERGE statement; Google it. And do not use temp tables. 
    --CELKO-- Books in Celko Series for Morgan-Kaufmann Publishing: Analytics and OLAP in SQL / Data and Databases: Concepts in Practice Data / Measurements and Standards in SQL SQL for Smarties / SQL Programming Style / SQL Puzzles and Answers / Thinking
    in Sets / Trees and Hierarchies in SQL

  • Select from table containing clob

    If i try to select from table containing clob column in SQL PLus it gives error.
    Tab1 contains 3 clob columns and 1 blob column
    select * from tab 1;
    SP2-0678: Column or attribute type can not be displayed by SQL*Plus
    The same statement works in SQL Developer and I am able to see the result.
    Actually i am writing the queries and they will be used by Java developers in their JSP page.
    So what happens here? Can Java use these select statements or will it throw error like SQL Plus?

    BLOB column content can't be displayed in SQL*Plus:
    SQL> create table t_blob (b blob);
    Table created.
    SQL> edit
    Wrote file afiedt.buf
      1* insert into t_blob values('01')
    SQL> /
    1 row created.
    SQL> commit;
    Commit complete.
    SQL> select * from t_blob;
    SP2-0678: Column or attribute type can not be displayed by SQL*PlusBlob and clob columns content can be processed using DBMS_LOB
    package procedures and functions or using client's language (like Java)
    methods. See JDBC specification.
    Rgds.

Maybe you are looking for