Table defined as *Standard table name

Hi all,
Tables in standard program are defined as *table name,  i want to know how to use it and why they r defined as *table name
and what is the use of defining like this.
example:
Include Program FPLTDATA
TABLES: FPLT, *FPLT, TFPLT.
TABLES: FPLTD, *FPLTD.
TABLES: CCDATA, *CCDATA, CCDATE, CCARD_CVV, CCARD_RCVV.
Thanks
Venkatesh babu V

Hi Venkatesh,
just use F1 help on command TABLES.
Tables *tablename
declares an additional table work area.
Regards
rea

Similar Messages

  • How to find table name for the fields from Standard Extractor in CRM system

    How to find table name of fields from the standard extractor in CRM system ?
    e.g. We use LBWE TCode in R/3 system to find table name for the field from Extractor VCSCL(e.g.).
    Likewise is there any way to find table name for the fields from Standard extractor like 0CRM_LEAD_I.

    Hi ,
    Please find the link below for understanding BW CRM analysis.
    http://help.sap.com/bp_biv135/html/bw.htm
    activate the CRM DSs by scenario:
    1) Activate the application component hierarchy (tcode RSA9). Changes made to the application component hierarchy in the CRM system can be transferred to the BW using the "Edit Application Component Hierarchy" (SBIW - Postprocessing of DataSources).
    SAP Note 434886 must be implemented in CRM 3.0 before the application component hierarchy is activated.
    2) Activate the Business Content DataSources (tcode RSA5).
    Select/enter the application component and choose Execute (F8).
    To compare the shipped and active versions, choose the 'Select Delta' pushbutton. If there is no active version of the DataSource, it is selected automatically.
    To activate the shipped version, choose the 'Transfer DataSources' pushbutton.
    3) Management of the versions of the BW-Adapter metadata (tcode BWA5). All DataSources are displayed that are managed by the BW Adapter.
    As in transaction RSA5 (Service API Metadata Activation), the 'Select Delta' function can be used to select the inactive DataSources or compare shipped and active versions.
    You can also go directly to the screen for maintaining DataSources that are managed by the BW Adapter.
    The 'Compare Version' function makes a detailed comparison of the shipped and active versions.
    All BW-Adapter metadata is considered when versions are compared:
    Header information (Table SMOXHEAD)
    Mapping information (Table SMOXRELP)
    Global selection conditions (Table SMOXGSEL)
    Attribute key fields (Table SMOXAFLD)
    Hope this helps.
    Regards,
    csm reddy

  • Define variable a ROWTYPE based on a table name passed as a parameter

    I am trying to write a procedure that processes rows for tables of differing structures. Table_name is passed as an IN parameter to the procedure. I define a cursor within the function that is defined by a SELECT * FROM table_name. I also need to define two variables, l_this_row and l_prev_row. I need to define them as table_name%ROWTYPE. Of course, table_name is a VARCHAR2 that contains the name of a table, whereas Oracle is expecting an actual table name in the declaration. How can I define these variables to make something like the code shown below compile and work properly? I am using Oracle 10gR2.
    DEFINE PROCEDURE foo(table_name IN VARCHAR2) IS
    l_this_row table_name%ROWTYPE;
    l_prev_row table_name%ROWTYPE;
    l_cursor SYSREFCURSOR;
    BEGIN
    OPEN l_cursor FOR
    'SELECT * FROM '
    || table_name
    || ' ORDER BY '
    || get_pk_col_name_for_table(table_name)
    || ', version_num'; --version_num is guaranteed to be a valid column name in every table, although the other column names vary in name, quantity, and type per table.
    LOOP
    FETCH l_cursor INTO l_this_record;
    EXIT WHEN l_cursor%NOTFOUND;
    -- dynamic comparison of l_this_record and l_prev_record and conditional processing based on the comparison occurs here
    l_prev_record := l_this_record;
    END LOOP;
    END;

    Billy  Verreynne  wrote:
    Well, one method is to keep the SQL projection consistent across the number of dynamic SQLs being dealt with. With the projection being consistent, your code does not need to guess what the row structure the column returns.Unfortunately, what I need to compare is almost everything except the primary keys. So one table might contain addresses and another might contain invoice headers. There's no way to get them into the same structure.
    Billy  Verreynne  wrote:
    This approach can also be done in a generic fashion - dealing with an arbitrary number of columns per row. This dynamic structure is more flexible, but also increases the complexity of the code that has to deal with this. For example:
    create or replace type TStrings is table of varchar2(4000);Now SQLs can be created to pass any number of columns to the code to process:
    select TStrings( empid, ename, jobid, date_employed, date_of_birth ) from emp order by empidThe code then uses the Count method of the TStrings type to determine the number of columns passed and processes that.Then the problem becomes having to specify all the column names. I need to figure them out dynamically, as in "SELECT column_name FROM user_tab_cols WHERE column_name NOT IN ('ID', 'PREV_ID', 'NEXT_ID')". It would, of course, be best if I didn't have to populate each array element with an individual SELECT in its own EXECUTE IMMEDIATE statement. That would certainly slow things down. If I were trying to write this using ADO.NET, I could reference something like table_name(row_index).columns(ix) without having to know any of the column names, and I could exclude columns by name using a reference like table_name.columns(column_index).name. (I don't recall the exact syntax, but it is something reasonably close to that.) But PL/SQL doesn't seem to have anything close to this.
    Ideally, I want to get it to where I can do something like this in a private function:
    FOR ix IN 1..TStrings.Count LOOP
       IF this_row(ix) <> last_row(ix) THEN
          RETURN FALSE;
       END IF;
    END LOOP;
    RETURN TRUE;
    Billy  Verreynne  wrote:Last comment. I have to echo what the others said. This is not optimal. Dealing with variant/dynamic structures and processing rows using PL/SQL (in a slow-by-slow fashion) does not scale well. Scalability and performance comes from processing data sets using SQL.I completely understand. I'm a big fan of replacing a lot of code with one SQL statement, but that just won't work for this problem.

  • Table names and column names defined by other languages, not English.

    Hi, everyone.
    I am wondering if there are any possible problems or any inconvenience
    when I define table names and column names by Japanese, not English.
    Currently, we are using SQL server 2000 as a db and windows as a operating
    system. In the near future, we have the plan to change the database software
    and operating system to "Oracle 10g" and "Linux O/S".
    I have not experienced the oracle database, which has table names and column
    names defined by other languages, not English.
    Personally, I would like to use English as table names and column names.
    In this case, I might have to provide appropriate reasons.
    Are there any possible problems or any "inconvenience" in terms of
    system maintenance, development, or something else ?
    What could be pros and cons in this case?
    Thanks in advance.
    Have a nice day.
    Best Regards.
    Ho.

    First you need to make sure your database has character set that support Japanese.
    Choosing a Character Set
    http://download-west.oracle.com/docs/cd/B19306_01/server.102/b14225/ch2charset.htm#i1007681
    The main "inconvenience" you will have is if the client doesn't support Japanese or unicode, it will have trouble to access the table.
    And say in future after the application been developed, you want to implement the schema in some English environment, you will have hard time to do it.
    My point is English tablename and column names doesn't prevent you use it in Japanese environment and save Japanese data but not vice-versa. Hope you understand.

  • Suggest me the name of the Standard table name.

    Dear All,
                I need to have the Standard SAP table name which stores the details of all the Programs/Reports developed in ABAP.  Pls reply to me asap.
    Many thanks in Advance.
    Regards,
    Sirisha.

    Hi
    Look at TRDIR table.
    Cheers
    Shakir

  • Table names for fields from standard extractors

    Hello Experts,
    I want to know, if there is an easy way to find R/3 table names from extractor fields of standard data sources / extractors.
    ROOSOURCE , RSOSFIELDMAP did not help.
    Thanks

    Hi
    find your extract structure name from RSA6 or RSA5 and then go to SE11data type>give your extract structure name and click on 'where used list', then select 'programs'..
    You can see the name of the extract programs written by sap.go to the program then you can find the tables and their fields...
    Hope it helps up to some extent....
    Thanks,
    Teja

  • Unifier Table name used for storing User-Defined Reports Information

    Hello Everyone,
    I am looking for the table name that stores all the User-Defined Reports information pertaining to report creation details. I want to create a dataview that will provides all the user-defined reports the system presently had on file.
    Does anyone know about the system auto-created table name for User Defined Reports. It might start with "sys_"
    Thanks

    For custom reports, you can find them through data views - "sys_custom_report". I am wondering why UDR tables were not included.
    The only effort left is manually copy pasting each name and information from Unifier on an Excel sheet. It will take a lot of time though. I will also log a SR meanwhile.
    Thanks everyone for your help.

  • Process Defination-Table Name

    What is Table name in Process deff reffers to?

    Its design doc
    See we have a application to be intergrated and for that I need to provision some details to AD custom Attributes.
    Now to represent that app
    1.I created a RO as application
    2.Created a process deff and in the object name I added the app name.Now as per this doc the table name field has to have a value UD_appname.
    Now when I enter this UD_appname and try to save it gives me error as stated

  • 2005 PL07 User define table name size changed?

    Hi everyone,
    I just upgrade Add-on from SBO 2004 to SBO 2005 PL07, there is a problem, when a DBDatasource bind to an User difine table, if the UDT name length <=7, the code runs good under, but under 2005 PL07, when UDT name Length >7, an error "Data source - Invalid table name" shows when code runs to the statement "oDBDataSource.Query(oConditions)".
    who knows what's the reason of this problem, is this by the UDT name longer than SBO 2005 PL07 SDK constraint or other reasons.
    Thanks in advance!
    Kathy

    Hi Kathy,
    I haven't experienced this error, but it looks like Barend has. I am not sure if he has solved his problem, but it seems to be the same. His table name is also longer than 7 characters. Look at this post posted a couple of days ago:
    SBO 2005 DBDatasource
    Hope it helps,
    Adele

  • Is it possible to change Overridden Qualified Table Name in code?

    Hi,
    Environment: Crystal Reports XI R2, 2008, Sql Server 2005
    I had about 1000 reports to change. Several changes are the standard, so i had created several tools that i use to make that change in all reports.
    However i can't find a way to change Overridden Qualified Table Name and remove the Catalog and Owner information, so it seems that the only way is using CR editor and make these changes one by one... not a good idea!
    Does anyone managed to do this???
    Thanks,
    Carlos Crespo

    Hi,
    <P>Thanks for your input.</P>
    <P>I use CR in two ways:<BR>
    a) to develop reports to use in our projects - In this case we don't have major issues with this, and we chance the location of the database in code at runtime;<BR>
    b) to develop reports to use in ERP softwares from third parties - and here we are having some issues - not always but some times.<BR>
    We know that they change the location of the DB in code also (no specific info however).<BR>
    <P>An example:<P>
    We change a report on my development PC, against a DB called TEST;<BR>
    We send the report to the customer, who runs it on its system, trying to read data from a db XYZ;<BR>
    If the customer also has a TEST db, in some reports the system reads some tables from XYZ, but others he gets the info from TEST db. In one example our customer has an invoice where all data was from the production DB, except the COUNTRY table that was read from a copy of the TEST db. After TEST was removed, the data was read from the production DB....<BR><BR>
    And to get you an idea: we're talking about hundreds of customers - some of them have 600 SQL DBs in the same server (small Dbs, around 70/500 MB in size) - so we can only hope that the user doesn't create a DB with the same name we used to develop the report...<BR><BR>
    And what i don't understand is WHY we can define Overridden Qualified Table Name  in same tables, and not in others.<BR><BR>
    Example:<BR><BR>
    One of the reports has 6 sub-reports. <BR>
    I can define Overridden Qualified Table Name  in the main report (except for a View), and in 2 of the subreports - but not in the other 4...<BR>
    The zero in front of the table name shows  a table where Overridden Qualified Table Name has been defined, and the original Catalog and Owner was removed - the 2 shows a table where Overridden Qualified Table Name has been defined, but the original catalog (PRITESTEDOC75) and owner (dbo) remains.<BR><BR>
    I even tried to export the sub-reports, change this info in the sub-report, and then import it again (a suggestion from Business Object support), but it doesn't work...<BR><BR>
    Main Report:<BR>
    Artigo     0     <BR>     
    CabecDoc     0     <BR>     
    LinhasDoc     0     <BR>     
    ModosExp     0          <BR>
    Clientes     0          <BR>
    CondPag     0          <BR>
    DocumentosVenda     0     <BR>     
    Moedas     0          <BR>
    MoradasAlternativasClientes     0     <BR>     
    OutrosTerceiros     0<BR>          
    ArtigoIdioma     0          <BR>
    Paises     0          <BR>
    ArtigoLote     0     <BR>     
    TDU_CC_INFODOCVND     0     <BR>     
    Clientes_Fac     0     <BR>     
    Paises_Fac     0          <BR>
    V_Entidades     2     PRITESTEDOC75     dbo        (V_Entidades is a View, not a Table)<BR><BR>
    Sub-Report 1:<BR>
    GCP_VND_CalculaTotaisDocumento     2     PRITESTEDOC75     dbo (GCP_VND_CalculaTotaisDocumento is a SP)<BR><BR>
    Sub-Report 2:<BR>
    CnfTabLigCBL     2     PRITESTEDOC75     dbo<BR><BR>
    Sub-Report 3:<BR>
    LinhasNumSerie     2     PRITESTEDOC75     dbo<BR><BR>
    Sub-Report 4:<BR>
    ResumoRetencao     0          <BR>
    Historico     0          <BR>
    OutrosTerceiros     0          <BR>
    EntidadesPublicas     0          <BR>
    Clientes     0          <BR><BR>
    Sub-Report 5:<BR>
    1 ResumoRetencao     0     <BR>     
    2 Historico     0          <BR>
    3 OutrosTerceiros     0          <BR>
    4 EntidadesPublicas     0     <BR>     
    5 Clientes     0     <BR><BR>
    Sub-Report 6:     <BR>
    1 ResumoIva     2     PRITESTEDOC75     dbo<BR>
    2 CabecDoc     2     PRITESTEDOC75     dbo<BR>
    3 Iva     2     PRITESTEDOC75     dbo<BR><BR>
    Best Regards,<BR><BR>
    Carlos Crespo<BR>

  • Issue with determing table name runtime

    Hi All,
    I have a problem in determing the table name during runtime
    TABLES : ekko.
    DATA : test TYPE REF TO lcl_test.
    DATA : itab TYPE STANDARD TABLE OF ekko.
    IF test IS INITIAL.
        CREATE OBJECT test.
      ENDIF.
    test->cmeth( EXPORTING itab1 = itab ).
    CLASS lcl_test DEFINITION.
      PUBLIC SECTION.
        METHODS : cmeth IMPORTING itab1 TYPE STANDARD TABLE.
    ENDCLASS.                   
    *       CLASS lcl_test IMPLEMENTATION
    CLASS lcl_test IMPLEMENTATION.
    METHOD test.
    *Here i have to know the table name of the importing internal data itab1 (In this particular case its EKKO)
    *In general it can be any table
    *Is there a way to determine a table name (as EKKO) in this method
    *My problem is i need to find out the field of that internal table
    *to find out the fields of the  table i'm using
    CALL FUNCTION 'GET_COMPONENT_LIST'
    EXPORTING
    program = sy-repid
    fieldname = 'I need to pass header of the internal table something like wa_ekko'
    TABLES
    components = icomp.
    ** so i have to find out the table name and declare a work area and then pass that to Get_component_list FM*
    OR
    I CAN USE BELOW CODE AS WELL
    data:
        wa_ref        type ref to data,
        desc_table    type ref to cl_abap_tabledescr,
        desc_struc    type ref to cl_abap_structdescr.
      field-symbols:
        <p_data>      type any,
        <p_field>     type any,
        <p_component> type abap_compdescr.
    ** The probelm  here is it_data has s tructure defined in class unlike mine  with is type standard table*
    create data wa_ref like line of it_data.
      assign wa_ref->* to <p_data>.
    desc_table ?= cl_abap_tabledescr=>describe_by_data( it_data ).
      desc_struc ?= desc_table->get_table_line_type( ).
    loop at it_data assigning <p_data>.
        loop at desc_struc->components assigning <p_component>.
            assign component <p_component>-name of structure <p_data> to <p_field>.
        endloop.
      endloop.
    endmethod.
    Hope i'm clear
    Thanks
    David

    Hi
    Perhaps something like this can help you:
    TABLES : EKKO.
    DATA : ITAB TYPE STANDARD TABLE OF EKKO.
    CLASS LCL_TEST DEFINITION.
      PUBLIC SECTION.
        METHODS : CMETH IMPORTING ITAB1 TYPE STANDARD TABLE.
    ENDCLASS.                    "lcl_test DEFINITION
    CLASS LCL_TEST IMPLEMENTATION.
      METHOD CMETH.
        DATA: MY_WA       TYPE REF TO DATA.
        DATA: DESC_TABLE    TYPE REF TO CL_ABAP_TABLEDESCR,
              DESC_STRUC    TYPE REF TO CL_ABAP_STRUCTDESCR.
        FIELD-SYMBOLS:
             <P_DATA>      TYPE ANY,
             <P_FIELD>     TYPE ANY,
             <P_COMPONENT> TYPE ABAP_COMPDESCR.
        CREATE DATA MY_WA LIKE LINE OF ITAB1.
        ASSIGN MY_WA->* TO <P_DATA>.
        DESC_STRUC ?= CL_ABAP_TYPEDESCR=>DESCRIBE_BY_DATA( <P_DATA> ).
        LOOP AT DESC_STRUC->COMPONENTS ASSIGNING <P_COMPONENT>.
          WRITE: / <P_COMPONENT>-NAME.
        ENDLOOP.
      ENDMETHOD.                    "test
    ENDCLASS.                    "lcl_test IMPLEMENTATION
    DATA : TEST TYPE REF TO LCL_TEST.
    START-OF-SELECTION.
      IF TEST IS INITIAL.
        CREATE OBJECT TEST.
      ENDIF.
      TEST->CMETH( EXPORTING ITAB1 = ITAB ).
    Max

  • Table name decided at runtime - How to do a select?

    Hi,
    Searching these forums I found how to do a select * from where the table name is decided at runtime. You use paranthesis on the variable containing the table name.
    However, I still get syntax error I can't solve and need some help.
    This syntax doesnt work, could you help me find out what is the problem?
    SELECT tab1~field1 tab2~field2
    FROM ( (dynamic_tab_name1) AS tab1 INNER JOIN
           (dynamic_tab_name2) AS tab2 ON tab1~someIndex = tab2~someIndex )
    dynamic_tab_name1 and dynamic_tab_name2 are defined as two strings where I concatenate the table prefix name with the system client number.
    The syntax works if i replace the dynamic_tab_name1 and dynamic_tab_name2 with hardcoded table names.
    thanks & regards
    Edited by: Baran Sölen on Feb 5, 2009 1:44 PM

    Well you can generate your program dynamically in the following way.
    But I never like to use the method.
    append 'PROGRAM SUBPOOL no standard page heading.' to code.
    append 'form dyn1.' to code.
    append 'data: begin of i_tab occurs 0,' to code.
    append '      kolnr like t682i-kolnr,' to code.
    append '      gstxt like tmc1t-gstxt,' to code.
    append '      kschl like t685-kschl,' to code.
    append '      vkorg like komg-vkorg,' to code.
    append '      vtweg like komg-vtweg,' to code.
    append '      matkl like komg-matkl,' to code.
    append '      matnr like komg-matnr,' to code.
    append '      inco1 like komg-inco1,' to code.
    append '      inco2 like komg-inco2,' to code.
    append '      charg like komg-charg,' to code.
    append '      vkbur like komg-vkbur,' to code.
    append '      vkgrp like komg-vkgrp,' to code.
    append '      zsales like komg-zsales,' to code.
    append '      end of i_tab.' to code.
    append 'data: begin of i_t682 occurs 0,' to code.
    append '      kolnr like t682i-kolnr,' to code.
    append '      kotabnr like t682i-kotabnr,' to code.
    append '      end of i_t682.' to code.
    data: v_table_name(16),
          v_condition_type_code(72),
          v_kolnr like t682i-kolnr.
    concatenate 'kschl = ''' p_kschl  '''.' into v_condition_type_code.
      loop at i_t682.
        concatenate 'A' i_t682-kotabnr into v_table_name.
        append 'select * from' to code.
        append v_table_name to code.
        append 'appending corresponding fields of table i_tab' to code.
        append 'where kappl = ''V'' and' to code.
        append v_condition_type_code to code.
        append 'if sy-subrc = 0.' to code.
        append 'loop at i_tab where kolnr = '' ''.' to code.
        concatenate 'i_tab-kolnr = ' i_t682-kolnr '.' into code separated by space.
        append code. clear code.
        append 'i_tab-gstxt = ''Description will be put later''.' to code.
        append 'modify i_tab.' to code.
        append 'endloop.' to code.
        append 'endif.' to code.
      endloop.
    append 'export i_tab to memory id ''i_tab''.' to code.
    append 'endform.' to code.
    generate subroutine pool code
             name prog
             message msg
             line lin
             word wrd
             offset off.
    *break-point.
    if sy-subrc = 0.
      perform dyn1 in program (prog).
    endif.
    import i_tab from memory id 'i_tab'.

  • SE16: Syntax error in program "/1BCDWB/DB table name "

    Hello experts,
    I am facing one problem with SE16 transaction code. I am getting a dump saying 'Syntax error in program "/1BCDWB/DB<Z table name> ". SE16 is giving dump only for few Z tables and not for all.
    We have created another transaction code ZZSE16 which resembles SE16 but with few authorizations.
    I am getting similar dump with ZZSE16 also. But this time for all tables Z tables and standard tables.
    It was working fine until yesterday. No code has been changed to the technical objects involved.
    The dump says :
    The following syntax error occurred in program "/1BCDWB/DB<table name> " in
    include "/1BCDWB/DB<table name> " in
    line 1060:
    "The field "%_ENQU_<table name>" is unknown.
    This is occurring in so many boxes with different landscapes.
    In some boxes it is working fine. The program "/1BCDWB/DB<table name> " has no field starting with %_ENQU. Instead at line 1060 the field is %_K<table name> which was defined.
    Can anybody please help me in solving this? Thanks in advance.
    Thanks & Regards,
    Paddu.

    Paddu,
    Please try these:
    Try to activate your Ztable from SE11. Of course you may see that the table is in active state, but still try to activate it.
    While activating the table if you get a pop-up saying "Display activation errors and warnings" (the message may be not exactly same) the click on No button.
    Now go to transaction SE14 (Database utility), provide table name and press enter
    Select Processing type as Direct, choose radio button Save data and click on "Activate and adjust database" button.
    You will get a pop-up with message "Request: Adjust". Click Yes button.
    Once it is completed, you can try opening the table in SE16.
    I hope this helps.
    Regards,
    Venkat

  • How to know the table name of an InfoCub if we know cube technical name?

    How to know the table name of an ODS if we know the ODS technical name?
    Thanks
    Message was edited by: Kevin Smith

    hi kevin
    if the ODS is a standard ODS then you check the following way in SE16
    (for custom ODS objects)
    /BIC/A<ODS technical name>00 (Active Data Table)
    /BIC/A<ODS technical name>40  (Activation Queue)
    /BIC/B<10 digit number> (Change Log Table)
    (for SAP defined ODS Objects)
    /BI0/A<ODS technical name>00 (Active Data Table)
    /BI0/A<ODS technical name>40  (Activation Queue)
    /BI0/B<10 digit number> (Change Log Table)
    and for Transactional ODS Object you will have only the active data Table. So you need to check with /BIC/A<ODS technical name>00 for the custom ODS objects and /BI0/A<ODS technical name>00 for SAP defined ODS objects.
    hope this helps.
    regards
    vijaykumar

  • How to find table name in ebs

    Hello,
    ebs r12 12.1.1
    os oul5x64
    i am looking for a table name in the database to compare the setup between 2 systems.
    when connect as sysadmin --->Concurrent --->manager --->define-- select Standard manager -->select Specialization Rules--
    in this form there are columns
    Exclude Type Application Name
    Exclude Program Master Schedule/MRP Copy MPS Plan
    how can i find the table that stores the Application and Name above.
    Thanks in advance.

    Hi,
    if I understand your requirement, you want to find the application names, which are stored in
    FND_APPLICATION and FND_APPLICATION_TL tables.
    you need to join these tables to the APPLICATION_ID column in FND_CONCURRENT_QUEUES_VL to get application_name.
    Tip: one way to confirm if you are checking correct table is to query for same data on the Form and in the database and comparing.
    Regards
    Imran

Maybe you are looking for