Find the sequence name for a particular table

Hi,
Please give query to find the sequence name for a particular table in oracle.
Thanks

I mean getting List of Sequence names defined in DB.
I got the answers
select *from user_sequences                                                                                                                                                                                                               

Similar Messages

  • How to know the column name using the index name for a particular table

    Hi All,
    I have small query regarding, I have index name and table name so by using this how can I know the column name associated with that index of that particular table specific to Oracle9i.
    Thanks
    Sudheer

    select *
    from user_ind_columns -- or all_ind_columns
    where table_name = UPPER('&table_name')
    and index_name = UPPER('&index_name');
    Regards
    Arun
    Gurgaon

  • To find the User Exits for a particular Transaction.

    hi,
        I want to find the number of User Exits for a The Transaction MM01 or MM02,
        I serched in the forums but could not find satisfactory ans,
        I tried with:
                 T.Code-> System>Status->Prog Name>SE38>find Call Customer-Exit.
        But its not helping me,
        Please help me.
    Thanks and Regards
    Suraj S Nair.

    hi ,
    if you are new to user exist use --> follw the below methos to find the user exit for a particular transaction or t-code
    create one custom pgm in se38 and execute >selection screenenter t-code and execute it will return all the user exists for a specific transaction..
    Finding the user-exits of a SAP transaction code
    * Finding the user-exits of a SAP transaction code
    * Enter the transaction code in which you are looking for the user-exit
    * and it will list you the list of user-exits in the transaction code.
    * Also a drill down is possible which will help you to branch to SMOD.
    * Written by : SAP Basis, ABAP Programming and Other IMG Stuff
    *              http://www.sap-img.com
    report zuserexit no standard page heading.
    tables : tstc, tadir, modsapt, modact, trdir, tfdir, enlfdir.
             tables : tstct.
    data : jtab like tadir occurs 0 with header line.
    data : field1(30).
    data : v_devclass like tadir-devclass.
    parameters : p_tcode like tstc-tcode obligatory.
    select single * from tstc where tcode eq p_tcode.
    if sy-subrc eq 0.
       select single * from tadir where pgmid = 'R3TR'
                        and object = 'PROG'
                        and obj_name = tstc-pgmna.
       move : tadir-devclass to v_devclass.
          if sy-subrc ne 0.
             select single * from trdir where name = tstc-pgmna.
             if trdir-subc eq 'F'.
                select single * from tfdir where pname = tstc-pgmna.
                select single * from enlfdir where funcname =
                tfdir-funcname.
                select single * from tadir where pgmid = 'R3TR'
                                   and object = 'FUGR'
                                   and obj_name eq enlfdir-area.
                move : tadir-devclass to v_devclass.
              endif.
           endif.
           select * from tadir into table jtab
                         where pgmid = 'R3TR'
                           and object = 'SMOD'
                           and devclass = v_devclass.
            select single * from tstct where sprsl eq sy-langu and
                                             tcode eq p_tcode.
            format color col_positive intensified off.
            write:/(19) 'Transaction Code - ',
                 20(20) p_tcode,
                 45(50) tstct-ttext.
                        skip.
            if not jtab[] is initial.
               write:/(95) sy-uline.
               format color col_heading intensified on.
               write:/1 sy-vline,
                      2 'Exit Name',
                     21 sy-vline ,
                     22 'Description',
                     95 sy-vline.
               write:/(95) sy-uline.
               loop at jtab.
                  select single * from modsapt
                         where sprsl = sy-langu and
                                name = jtab-obj_name.
                       format color col_normal intensified off.
                       write:/1 sy-vline,
                              2 jtab-obj_name hotspot on,
                             21 sy-vline ,
                             22 modsapt-modtext,
                             95 sy-vline.
               endloop.
               write:/(95) sy-uline.
               describe table jtab.
               skip.
               format color col_total intensified on.
               write:/ 'No of Exits:' , sy-tfill.
            else.
               format color col_negative intensified on.
               write:/(95) 'No User Exit exists'.
            endif.
          else.
              format color col_negative intensified on.
              write:/(95) 'Transaction Code Does Not Exist'.
          endif.
    at line-selection.
       get cursor field field1.
       check field1(4) eq 'JTAB'.
       set parameter id 'MON' field sy-lisel+1(10).
       call transaction 'SMOD' and skip first   screen.
    *---End of Program
    Regards,
    Prabhudas

  • How can i find the exact BADI For a Particular Transaction

    hi ppl,
    How can i find the exact BADI For a Particular Transaction. Is there any Standard transaction or Programs to do this or suggest some other way.

    Use this code:
    *& Report  ZGET_BADI
    REPORT  ZGET_BADI.
    TABLES : TSTC,
    TADIR,
    MODSAPT,
    MODACT,
    TRDIR,
    TFDIR,
    ENLFDIR,
    SXS_ATTRT ,
    TSTCT.
    DATA : JTAB LIKE TADIR OCCURS 0 WITH HEADER LINE.
    DATA : FIELD1(30).
    DATA : V_DEVCLASS LIKE TADIR-DEVCLASS.
    PARAMETERS : P_TCODE LIKE TSTC-TCODE,
    P_PGMNA LIKE TSTC-PGMNA .
    DATA wa_tadir type tadir.
    START-OF-SELECTION.
    IF NOT P_TCODE IS INITIAL.
    SELECT SINGLE * FROM TSTC WHERE TCODE EQ P_TCODE.
    ELSEIF NOT P_PGMNA IS INITIAL.
    TSTC-PGMNA = P_PGMNA.
    ENDIF.
    IF SY-SUBRC EQ 0.
    SELECT SINGLE * FROM TADIR
    WHERE PGMID = 'R3TR'
    AND OBJECT = 'PROG'
    AND OBJ_NAME = TSTC-PGMNA.
    MOVE : TADIR-DEVCLASS TO V_DEVCLASS.
    IF SY-SUBRC NE 0.
    SELECT SINGLE * FROM TRDIR
    WHERE NAME = TSTC-PGMNA.
    IF TRDIR-SUBC EQ 'F'.
    SELECT SINGLE * FROM TFDIR
    WHERE PNAME = TSTC-PGMNA.
    SELECT SINGLE * FROM ENLFDIR
    WHERE FUNCNAME = TFDIR-FUNCNAME.
    SELECT SINGLE * FROM TADIR
    WHERE PGMID = 'R3TR'
    AND OBJECT = 'FUGR'
    AND OBJ_NAME EQ ENLFDIR-AREA.
    MOVE : TADIR-DEVCLASS TO V_DEVCLASS.
    ENDIF.
    ENDIF.
    SELECT * FROM TADIR INTO TABLE JTAB
    WHERE PGMID = 'R3TR'
    AND OBJECT in ('SMOD', 'SXSD')
    AND DEVCLASS = V_DEVCLASS.
    SELECT SINGLE * FROM TSTCT
    WHERE SPRSL EQ SY-LANGU
    AND TCODE EQ P_TCODE.
    FORMAT COLOR COL_POSITIVE INTENSIFIED OFF.
    WRITE:/(19) 'Transaction Code - ',
    20(20) P_TCODE,
    45(50) TSTCT-TTEXT.
    SKIP.
    IF NOT JTAB[] IS INITIAL.
    WRITE:/(105) SY-ULINE.
    FORMAT COLOR COL_HEADING INTENSIFIED ON.
    *Sorting the internal Table
    sort jtab by OBJECT.
    data : wf_txt(60) type c,
    wf_smod type i ,
    wf_badi type i ,
    wf_object2(30) type C.
    clear : wf_smod, wf_badi , wf_object2.
    *Get the total SMOD.
    LOOP AT JTAB into wa_tadir.
    at first.
    FORMAT COLOR COL_HEADING INTENSIFIED ON.
    WRITE:/1 SY-VLINE,
    2 'Enhancement/ Business Add-in',
    41 SY-VLINE ,
    42 'Description',
    105 SY-VLINE.
    WRITE:/(105) SY-ULINE.
    endat.
    clear wf_txt.
    at new object.
    if wa_tadir-object = 'SMOD'.
    wf_object2 = 'Enhancement' .
    elseif wa_tadir-object = 'SXSD'.
    wf_object2 = ' Business Add-in'.
    endif.
    FORMAT COLOR COL_GROUP INTENSIFIED ON.
    WRITE:/1 SY-VLINE,
    2 wf_object2,
    105 SY-VLINE.
    endat.
    case wa_tadir-object.
    when 'SMOD'.
    wf_smod = wf_smod + 1.
    SELECT SINGLE MODTEXT into wf_txt
    FROM MODSAPT
    WHERE SPRSL = SY-LANGU
    AND NAME = wa_tadir-OBJ_NAME.
    FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
    when 'SXSD'.
    *For BADis
    wf_badi = wf_badi + 1 .
    select single TEXT into wf_txt
    from SXS_ATTRT
    where sprsl = sy-langu
    and EXIT_NAME = wa_tadir-OBJ_NAME.
    FORMAT COLOR COL_NORMAL INTENSIFIED ON.
    endcase.
    WRITE:/1 SY-VLINE,
    2 wa_tadir-OBJ_NAME hotspot on,
    41 SY-VLINE ,
    42 wf_txt,
    105 SY-VLINE.
    AT END OF object.
    write : /(105) sy-ULINE.
    ENDAT.
    ENDLOOP.
    WRITE:/(105) SY-ULINE.
    SKIP.
    FORMAT COLOR COL_TOTAL INTENSIFIED ON.
    WRITE:/ 'No.of Exits:' , wf_smod.
    WRITE:/ 'No.of BADis:' , wf_badi.
    ELSE.
    FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
    WRITE:/(105) 'No userexits or BADis exist'.
    ENDIF.
    ELSE.
    FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
    WRITE:/(105) 'Transaction does not exist'.
    ENDIF.
    AT LINE-SELECTION.
    data : wf_object type tadir-object.
    clear wf_object.
    GET CURSOR FIELD FIELD1.
    CHECK FIELD1(8) EQ 'WA_TADIR'.
    read table jtab with key obj_name = sy-lisel+1(20).
    move jtab-object to wf_object.
    case wf_object.
    when 'SMOD'.
    SET PARAMETER ID 'MON' FIELD SY-LISEL+1(10).
    CALL TRANSACTION 'SMOD' AND SKIP FIRST SCREEN.
    when 'SXSD'.
    SET PARAMETER ID 'EXN' FIELD SY-LISEL+1(20).
    CALL TRANSACTION 'SE18' AND SKIP FIRST SCREEN.
    endcase.
    Regards
    Vinayak

  • How to find the customer exits for a particular transaction

    hi
    how to find the customer exits for a particular transaction

    Hi jyothsna vankadari ,
    ther is a convenient way to find all BADIS called. You may know that BADIS are the newer version of EXITs.
    I would suggest you to go for BADI.
    Follow the below steps to find out what all BADI's are called when you press any button in any transaction.
    1) Goto se24 (Display class cl_exithandler)
    2) Double click on the method GET_INSTANCE.
    3) Put a break point at Line no.25 (CASE sy-subrc).
    Now
    4) Execute SAP standard transaction
    5) Press the required button for which you need to write an exit logic, the execution will stop at the break point.
    6) Check the values of variable 'exit_name', it will give you the BADI name called at that time.
    7) This way you will find all the BADIs called on click of any button in any transaction.
    Regards,
    Clemens

  • How to find the group name for a section programatically?

    I have these display formulas that are being repeated in each group footer.  The only thing that changes are the group names.
    How can I find the group name for the current section?
    The bolded(or starred) items are what I'm trying to create a generic function for.
    Ontario
         Bob
                   1000     Sales     Other
                   2000     Random     Billing
                   200     Phone     Billing
         *Total for Bob*      3200
         Sally
                   2000     Sales     Client
                   1000     Random     Billing
                    300     Cell     Billing
         *Total for Sally* 3300
    *Total for Ontario*       6500
    Thanks in advance,
    J

    I'm not sure if the GroupingLevel or GroupNumber fuctions will help.  (There description in the on-line help leaves much to be desired, IMHO...)
    If not, you could try adding formula fields to each level that sets a global variable to tell your other formula fields what level it is on.  If you only have one or two other formulas, and only one or two groups, this really wouldn't be a whole lot easier.  But if you had a lot of groups or a lot of formula fields that you want to make "group independent" it could help.
    So for each footer, create a formula field like (basic syntax):
    WhilePrintingRecords
    global geoupLevel as String
    groupLevel = "Province"
    formula = ""
    (changing the name given to groupLevel for each footer).  Then in your "generic" formula you could put something like:
    WhilePrintingRecords
    global groupLevel as string
    select case groupLevel
      case "Province"
        formula = "Total for " + {Province}
      case "Name"
        formula = "Total for " + {Name}
      else
        Formula = "Totals"
    end select
    HTH,
    Carl

  • Where do I find the Instance Name for EPM Batch Script Utility?

    I am trying to find the Instance Name for the EPM Batch Script Utility. I have done the obvious...looked at the Deploy settings in EPM, but the Instance field is not even listed. I have tried 'Default', 'localhost', 'Planning', 'epmsystem1' and " " (nothing).
    Anyone know where I can look? The script will not deploy without this option (I have tried removing the field altogether). This is the error I am getting:
    2012-12-05 03:02:21,908 INFO Parameters(ApplicationName, InstanceName, ApplicationServer, HubProject, datasourceName, waitForCompletion, deployOption, RefreshOutline, CreateSecurityFilters)
    2012-12-05 03:02:21,909 INFO Values('BKAdFund', 'Default', 'PLANNING_LWA', 'Planning', 'BKAdFund', 'True', 'All','True', 'True');
    2012-12-05 03:02:23,149 ERROR [Line 16] Unable to find the instance with name Default.
    Thanks!

    Hi all,
    I referred Andy's suggestion to set both App Server name and instance name as PLANNING_LWA.
    It worked in Planning 11.1.2.3
    My deploy string set as followed:
    set bpmaserverurl=http://localhost/hyperion-bpma-server;
    set workspaceurl=http://localhost:9000/workspace;
    login;
    Execute Deploy
    Parameters(ApplicationName, InstanceName, ApplicationServer, HubProject, ClearAll, CheckIntegrity, waitforcompletion, purgeTransactions,  deployOption,  datasourceName,CreateOutline,RefreshOutline,CreateSecurityFilters,SharedMembersSecurityFilters,ValidateSecurityFilterLimit,Notes)
    Values ('HRPLN1', 'PLANNING_LWA', 'PLANNING_LWA', 'Planning', 'false', 'false', 'true', 'true', 'AppView','HRPLN_DS','false','true','false','false','false','HRPLN1 redeploy by batch client');
    Thanks Andy!!

  • Pls help me to find the smartform name for RMA REQUEST(RMA)

    Hi Experts,
    Pls Tell me how too find the smartform name for RMA REQUEST(RMA)
    Pls help
    Thanks and regards
    Jaya

    WHat is RMA REQUEST form please ellobrate your query
    the smrat form tcode is SMARTFORMS.....you can try

  • Why does Itunes say it can't find the original file for a particular song?

    why does Itunes say it can't find the original file for a particular song? and then asks if I want to locate it? I can't access a bunch of old song files. any new cds are available to me in itunes. all others are not accessible. how do i merge the new cd's with the old ones so that all the songs are playable in Itunes. thanks.

    sheri 0713 wrote:
    Of course, I have backed up to CD and/or external drive.
    I'm wondering if you're attempting to maintain your library on your external HDD? If iTunes has been directed to use a location on your external hard drive as your iTunes Music Folder location (you can check this in iTunes > Preferences > Advanced tab) you MUST ensure that the hard drive is connected to the computer and mounted in the Finder prior to launching iTunes. If it isn't, it can cause this error to appear. This is probably one of the most common reasons this error begins to appear.
    It seemed my purchased songs were the first to DISAPPEAR and I had to rebuy.(Nice scam in the bug?)
    So... why not restore them from your backup? If, for some reason, this wasn't an option, you could have also recovered them from any iPod or iPhone they were currently synced to (http://support.apple.com/kb/HT1848), or, you can also email iTunes Store support and request a "regrant," which is a once-per-account exception they might be able to offer you and allow you to download missing purchases again.
    I am now convinced this a HUGE BUG in 7.7.1. and possibly the previous version or two.
    I'm not so sure... I've never run across this particular error (my library is stored on my internal hard drive, but copied to an external for backup purposes with an application other than iTunes or Finder. I don't think Apple will provide acknowledgment to issues experienced only by very small numbers of people... I'm one of those, perhaps foolish, individuals who allows my computer to download updates immediately, rather than waiting for fear of problems, and again, I've never had this error.
    CG

  • How to find the role name for the trasaction

    Dear Gurus,
    Kindly assist me to find the role name to which a perticular transaction was assigned.
    For example:- I need to find the role name for SU01, SUIM, SE38...etc
    Thanks&Regards,
    Kalyan.

    Hi Kalyan,
                        Use SUIM T-code to analyse User Vs Roles  and Roles Vs T-Codes. Then your problem will be solved.
    Regards,
    Hari.
    PS: Points are welcome.

  • Find the column name for a constraint

    Hi Guru,
    I know the constraint name, now i need the column name and table name for the constraint?
    Thanks

    Query the USER_CONS_COLUMNS  then you will find the column name and table Name
    SQL> Select  *  from  USER_CONS_COLUMNS  where Constraint_Name='<Your_constraint_Name>';

  • Where can i find the Datewise stock for a particular material

    Hello friends,
    In which table i can find the stock of a particular material on particular date?.MARD, MCHB these all tables gives the current stock of material.But i want to find the stock of material on particular date.In Report MB5B and MC.9 we can find the stock on particular date but is there any table from where these reports fetch the data?
    Thanking you guys in advance.

    Dear Jitendra,
    Check once again in this thread whether are you able to find out some help.
    But I'm sure MB5B is not getting the info from a single table,it's getting the information from info
    structures and few tables.
    table to see stock on particular date
    Regards
    Mangalraj.S

  • How to find the program name for LSMW

    hi experts,
                  i have created a LSMW for uploading data in HR.i hope there will be a ABAP progarm automatically generated from it .where i can find the program name .
    i have succesfully completed all the 14 stepas and data is uploading comfortably .
    thanx in adavance

    hi,
    just do liek this to know abt the program name,
    select system at the menu in your lsmw,
    select status ,
    in popup u'll get the proram name and all other related details.
    reward points if useful,
    regards,
    seshu.

  • Getting column names for a particular Table from Connection object.

    Hi,
    Can any one suggests me a way to get column names from a particular table of a database from the java.sql.Connection object. ?
    Thanks in advance.

    Connection connection;
    DatabaseMetaData metadata = connection.getMetaData();
      String[] names = {"TABLE"};
      ResultSet tables = metadata.getTables(null,"%", "%", names);
      while (tables.next()) {
      String tableName = tables.getString("TABLE_NAME");
       ResultSet columns = metadata.getColumns(null, "%", tableName, "%");
    while (columns.next()) {
      String columnName = columns.getString("COLUMN_NAME");
        }

  • How to find the number views for a particular DB Table

    Hi Friends,
       I would like to know the number of views(all) exists for a particular Data Base Table like MARA, MARC etc.,
    Thanks in advance.
    BaLu

    Hi Balaji,
    check this below link may be helpful for u
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ecab446011d189700000e8322d00/content.htm
    If u find it useful plz mark the points
    Regards,
    Naveen

Maybe you are looking for