Columns in table OCRD and mapping table

Hey,
I want to recreate the form settings form or the query generator form.
That means I need all columns in this table including the translations.
The background is that I select the column address and property 1 and contact person and my program creates automatically the corresponding select clause.
SELECT Address, Property1, contctprsn
FROM OCRD
For this I need the mapping table:
CntctPrsn = Contact Person
a.s.o
Where ist this saved?
Regards Chris

Hi Janos,
thanks a lot for your fast replies.
I think I still explained it wrong.
I will try it again.
My requirement from my customer is to write a tool which gives out all selected columns. I am using a list box where I can set check boxes. The list box includes for example DocNum, Sales Employee, Owner, Posting Date, Delivery Date and all other columns sometimes more than 60 depending on the table.
The customer selects now Sales Employee, Owner, Delivery Date. Now I create the select query.
SELECT SlpCode, Owner Code, DocDueDate
FROM OINV
If you open now the query generator and load the table ORDR you will get the Name and Description of every column.
I only need the information where this mapping is saved in B1.
What I want to do is to give out all Descriptions of the columns and to create to sql query with all Names, which you can see in the query generator.
This meta data is somewhere saved in SAP but I did not found the table yet.
Sorry for my complicated issue description.
Regards Chris

Similar Messages

  • Add Audit Columns to the Dimension and Fact tables (Created & modified date Time)

    Hi All,
    I am new to SSIS , I have to Add Audit Columns to the Dimension and Fact tables (Created & modified date Time) of the package.
    Please let me know the best and easy way through which I can implement the same.
    If possible suggest some real time example or link where I can find the same
    Regards,
    Vipin jha
    Thankx & regards, Vipin jha MCP

    You can simply use ALTER TABLE ADD.. syntax to add the columns if the tables already exist.
    You can generate a single script for all tables using INFORMATION_SCHEMA.TABLES view
    You can make then of NOT NULL type and set the default value to GETDATE()
    In addition you can also have a Audit Trail trigger for UPDATE to make sure Modified date gets updated correctly on each update if not passed explicitly.
    Please Mark This As Answer if it solved your issue
    Please Mark This As Helpful if it helps to solve your issue
    Visakh
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • Compare table A and table B and update table B ,,,,table B has 300k rows

    Hi,
    I m trying to write a code, I have tables A and table B.
    I need to compare table A and table B , and update table B with one column.
    using joins b/w A&B tables, I selected one record from table A in cursor.
    After Begin I m trying to open cursor and in FOR LOOP
    Im trying to update table B WHERE CURRENT OF Cursor.
    this is erroring out.
    could you let me know on this.
    there is another way like selecting required columns from both table.but i was told to do as above.
    Thanks

    > this is erroring out.
    You haven't posted nearly enough for anyone to help you.  You didn't even tell us what error you are getting.
    So about the only thing we can do is post a generic MERGE statement which you'll have to modify for your use.
    merge into tableB b
    using (select some_key, some_column from tableA where etc.) u
    on (u.some_key = b.some_key)
    when matched then update
    set b.some_column = u.some_column;

  • OMBPlus "Analyze table statements" and "Analyze table sample percentage"

    Hello!
    I want to use OMBPLUS to fetch what properties a mapping have for “Analyze table statements” and “Analyze table sample percentage”.
    I have tried to use OMBRETERIVE MAPPING but I can’t find the right GET PROPERTIES.
    I hope YOU can help me.
    Best regards,
    Tina

    Hi Tina,
    try
    OMBRETRIEVE MAPPING 'MAP_DUMMY' GET PROPERTIES (ANALYZE_TABLE_STATEMENTS)
    OMBRETRIEVE MAPPING 'MAP_DUMMY' GET PROPERTIES (ANALYZE_TABLE_SAMPLE_PERCENTAGE)
    Regards,
    Carsten.

  • View Customization Table changes and Data  table base changes in a report

    Hi All,
    How to view Customization Table changes and DAta  table base changes in a report ,
    Is it right transactions: SCU3 or RSVTPROT
    Also plz let me know the concept of audit trial,
    Thanks
    SD

    Hi,
    Changes to master data objects must be captured for the For compliance purposes. The auditor allows you to be able to view and print an audit log of changes to master data objects for a chosen period. It is very common for external auditors to focus on what has changed from one year or quarter to the next to help determine the nature, extent, and population for testing. To configure and access your audit log, perform the actions listed with each of the following utilities.
    Audit Trail is used to track the record changes.
    The report RPUAUD00 gives all the changes done to the masterdata by any user anytime.
    But, before using this audit trial, please ensure that the system hardware is well equipped as the audit trials activation would later become a performance issue as this would occupy a lot of space in the coming time.
    Best Regards,
    Venkat.

  • The detail algorithm of OLTP table compress and basic table compress?

    I'm doing a research on the detail algorithm of OLTP table compress and basic table compress, anyone who knows, please tell me. 3Q, and also the difference between them

    http://www.oracle.com/us/products/database/db-advanced-compression-option-1525064.pdf
    Edited by: Sanjaya Balasuriya on Dec 5, 2012 2:49 PM
    Edited by: Sanjaya Balasuriya on Dec 5, 2012 2:49 PM

  • Purpose of tables UJA_FORMULA_APP  and UJA_FORMULA tables

    Hi BPC Experts,
    What is the purpose of tables UJA_FORMULA_APP  and UJA_FORMULA tables?
    Thanks.
    Mila

    Hello,
    There r 3 default measures provided with ApShell: Periodic, Quarter To Data, and Year To Date. U can create your own measure by defining it in a table UJA_FORMULA.
    When you create a new application, the entries from UJA_FORMULA are read and copied to table UJA_FORMULA_APP. This is required to replace the variable names with the technical names (we could have read UJA_FORMULA at runtime and done a dynamic replacement, but this optimizes runtime performance). Therefore, it is important to note that if you add a new formula into UJA_FORMULA for an existing application, you will also need to manually update UJA_FORMULA_APP, as well.
    Hope this info will help u,
    Dzmitry

  • How can we delete SID table data and Text table data

    Hi,
    How can we delete SID table data and Text table data of any
    InfoObject.

    Hi,
    Go to transaction SE14, give the technical name if the table:
    /BIC/T<InfoObject Name>   for Text Table
    /BIC/S<InfoObject Name>  for SID Table
    Select "Table" in the given 4 options below  &  hit Edit button.
    in the next screen select "Direct"
    & also select "detele data" radio button.
    & hit  "Activate & adjust database".
    this will delete the complete data from the tables.
    Note: before deleting the SID's make sure of the consequences & after effects.
    Also the SID gets generated the next time you load master data/transaction data only for those records which were loaded..
    Regards,
    Iliyas

  • Joining OCRD and OCQG tables

    HI all,
    How can i link these two tables?
    OCRD and OCQG?
    Appreciate your advice.
    Thanks!

    Hi,
    By default, join condition exist on these two tables with GroupCode field.
    Regards,
    Vijay Kumar
    SAP Business One Forums Team

  • Table compression and alter table statement

    Friends
    I am trying to add columns to a table which is compressed. Since Oracle treats compressed tables as Object tables, I cannot add columns directly so I tried to uncompress table first and then add columns. This doesnt seems to work.
    What could be issue.
    Thanks
    Vishal V.
    Script to test is here and results are below.
    -- Test1 => add columns to uncompressed table -> Success
    DROP TABLE TAB_COMP;
    CREATE TABLE TAB_COMP(ID NUMBER) NOCOMPRESS;
    ALTER TABLE TAB_COMP ADD (NAME VARCHAR2(10));
    -- Test2 =. try adding columns to compressed tables, uncompress it and then try again -> Fails
    DROP TABLE TAB_COMP;
    CREATE TABLE TAB_COMP(ID NUMBER) COMPRESS;
    ALTER TABLE TAB_COMP ADD (NAME VARCHAR2(10));
    ALTER TABLE TAB_COMP move NOCOMPRESS;
    ALTER TABLE TAB_COMP ADD (NAME VARCHAR2(10));
    SQL> -- Test1 => add columns to uncompressed table -> Success
    SQL> DROP TABLE TAB_COMP;
    Table dropped.
    SQL> CREATE TABLE TAB_COMP(ID NUMBER) NOCOMPRESS;
    Table created.
    SQL> ALTER TABLE TAB_COMP ADD (NAME VARCHAR2(10));
    Table altered.
    SQL>
    SQL> -- Test2 =. try adding columns to compressed tables, uncompress it and then try again -> Fails
    SQL> DROP TABLE TAB_COMP;
    Table dropped.
    SQL> CREATE TABLE TAB_COMP(ID NUMBER) COMPRESS;
    Table created.
    SQL> ALTER TABLE TAB_COMP ADD (NAME VARCHAR2(10));
    ALTER TABLE TAB_COMP ADD (NAME VARCHAR2(10))
    ERROR at line 1:
    ORA-22856: cannot add columns to object tables
    SQL> ALTER TABLE TAB_COMP move NOCOMPRESS;
    Table altered.
    SQL> ALTER TABLE TAB_COMP ADD (NAME VARCHAR2(10));
    ALTER TABLE TAB_COMP ADD (NAME VARCHAR2(10))
    ERROR at line 1:
    ORA-22856: cannot add columns to object tables

    Which version of oracle you are using?
    1* create table test1234(a number) compress
    SQL> /
    Table created.
    Elapsed: 00:00:00.02
    SQL> alter table test1234 add(b varchar2(200));
    Table altered.
    Elapsed: 00:00:00.02

  • Help regarding 'table controls' and 'internal table' updation

    Hi all.
    Basically this is what i have done..... I have created a table control in module pool program. I declared an Internal table and also have populated it from a database table. I have also used insert statement to insert an blank record in the table control view and delete statements to delete any record,  also in the table control view... .
    But I am not able to update any new record into an Internal table or  the  original table ..
    Any Ideas how to do it ,Gurus
    Thanks

    HEllo,
    Check thsi simple report.
    REPORT ZTFH_TABLECONTROL .
    TABLES : ZEMPTABLE.
    DATA : SELLINE .
    DATA : FLD(20).
    DATA : LINNO TYPE I , OFF TYPE I.
    DATA : ITAB LIKE ZEMPTABLE OCCURS 10 WITH HEADER LINE.
    CONTROLS  : CON_TAB TYPE TABLEVIEW USING SCREEN 100.
    SELECT * FROM ZEMPTABLE INTO TABLE ITAB.
    DESCRIBE TABLE ITAB LINES CON_TAB-LINES.
    CALL SCREEN 100.
    *&      Module  EXT_COMM  INPUT
    *       text
    MODULE EXT_COMM INPUT.
    LEAVE PROGRAM.
    ENDMODULE.                 " EXT_COMM  INPUT
    *&      Module  TAB_UPDATE  INPUT
    *       text
    MODULE TAB_UPDATE INPUT.
    CASE SY-UCOMM.
    WHEN 'DEL'.
          IF SELLINE = 'X'.
            DELETE ITAB WHERE EMPNO = ITAB-EMPNO.
            MESSAGE I000(ZYF_DEL).
          ENDIF.
    WHEN 'UPD'.
        IF SELLINE = 'X'.
             MODIFY ITAB INDEX CON_TAB-CURRENT_LINE.
             MESSAGE I001(ZYF_DEL).
        ENDIF.
    WHEN 'INS'.
         IF SELLINE = 'X'.
          GET CURSOR FIELD FLD LINE LINNO OFFSET OFF.
          SET CURSOR FIELD FLD LINE LINNO OFFSET OFF.
          IF FLD CP 'ITAB*' AND SY-SUBRC = 0.
            IF LINNO >= 1.
              LINNO = LINNO + CON_TAB-TOP_LINE - 1.
              CLEAR ITAB.
              INSERT ITAB INDEX LINNO.
              CON_TAB-LINES = CON_TAB-LINES + 1.
            ELSE.
              CLEAR ITAB.
              APPEND ITAB.
              CON_TAB-LINES = CON_TAB-LINES + 1.
            ENDIF.
          ENDIF.
        ENDIF.
    WHEN 'SAV'.
      MODIFY ITAB INDEX CON_TAB-CURRENT_LINE.
      MESSAGE I002(ZYF_DEL).
    ENDCASE.
    ENDMODULE.                 " TAB_UPDATE  INPUT
    “ FLOW LOGIC
    PROCESS BEFORE OUTPUT.
    MODULE STATUS_0100.
    LOOP AT ITAB WITH CONTROL CON_TAB.
    ENDLOOP.
    PROCESS AFTER INPUT.
    MODULE USER_COMMAND_0100.
    MODULE EXT_COMM AT EXIT-COMMAND.
    LOOP AT ITAB.
    MODULE TAB_UPDATE.
    ENDLOOP.     
    REgards,
    Vasanth

  • Table types and internal table

    Hi all,
    What is the relationship between table type in ABAP dictionary and internal table?
    Moderator message : Search for available information OR read ABAP documentation. Thread locked.
    Edited by: Vinod Kumar on Jul 16, 2011 11:16 AM

    You can INCLUDE TYPE.
    Types: begin of itab,
           field1 type string,
           field2 type string,
    *      More Fields in here.
           Field30 type string,
           End of itab.
    Data: lt_itab type table of itab.
    TYPES BEGIN OF new_itab.
           INCLUDE type itab.
    TYPES: field31 type string,
           field32 type string,
    END OF new_itab.
    Regards,
    Rich Heilman

  • Material Group Difference MM03  (Table MARA) and Reservation (Table RESB)

    Why material group at T-code MM03 (MARA-MATKL) difference at Table RESB ?
            Table MARA-MATKL = 04
            Table RESB-MATKL = 02
    I checking  MM03 not change about material group. I don't know some T-code can change material group link to table RESB.

    Dear Mr.Jutamas,
    As per to my understanding,initially when the reservation was made for the
    particular material ,material group - 02 in Basic Data 1 view  would have been
    present or maintained in the material master.
    After that a change might have occured,i.e someone must have changed the
    material group from 02 to 04.
    So in MARA table the value is showing as 04 and in RESB its showing as 04.
    Once after creating reservation ,if such changes are made,as far as i know that
    will not get updated or reflected in RESB.
    Better confirm the same,in MM03 - Display mode of the material and after going
    into any one of the view,in the top menu check Environment - Display Changes -
    you may get one or a list of changes that were made,along with the user,date &
    time details.
    <b>If useful reward points</b>
    Regards
    Mangal

  • Statistical table, pool table, structure, and ordinary table

    请教在ABAP引用表时,不同类型的表的区别:
    statistical table
    pool table
    structure,
    ordinary table
    其它 table (请列出)
    谢谢!

    >
    leopard123456 wrote:
    > 请教在ABAP引用表时,不同类型的表的区别:
    > statistical table
    > pool table
    > structure,
    > ordinary table
    > 其它 table (请列出)
    >
    > 谢谢!
    对上面提到的几个term不是很明白(尤其是statistical table和ordinary table),其中structure应该不是表的类型。
    请举例。

  • Want to know more about tables used and mapping detail

    HELLO THERE
    I actually have to develop a report in which i able to see all information about from GR to excise to quality testing to bill Passing .
    we are using t.code MIGO to J1IEX to QA32 to MIRO RESPECTIVELY .
    so i want to know tables used in the respective t.code and how they are mapped .give me a detail sketch plz.so that by entering PO no. in the initial screen we can get all the detail about gr to excise to quality to bill passing detail .My mailid is  prabhupad.sap at gmail dot com
    Thanking you
    neon

    hi,
    EKEB - History per purchasing doc..
    EKPO - PO doc item..
    MSEG - GR: Doc segment material...
    BSEG - Accounting doc Segment...
    hope it helps...
    Regards
    Priyanka.P

Maybe you are looking for