Identify tables which are not used in any access seq.

Hi
Need to identify those tables (A500 - A999) which are NOT used in any access sequence (table T682I).
Not sure how to do this.
Thanks for the help

Hi Karen,
if you don't want to use SE11 and see it on one glance, you could use the following coding:
DATA: it_t682i TYPE TABLE OF t682i,
      wa_t682i TYPE t682i,
      it_missing TYPE TABLE OF t682i,
      wa_count TYPE kotabnr VALUE 499.
SELECT * FROM t682i INTO TABLE it_t682i
              WHERE kvewe = 'A'
              AND  kotabnr BETWEEN 500 AND 999.
DO.
  ADD 1 TO wa_count.
  READ TABLE it_t682i INTO wa_t682i
             WITH KEY kotabnr = wa_count.
  IF sy-subrc <> 0.
    CLEAR wa_t682i.
    MOVE wa_count TO wa_t682i-kotabnr.
    APPEND wa_t682i TO it_missing.
  ENDIF.
  IF wa_count = 999.
    EXIT.
  ENDIF.
ENDDO.
BREAK 'your user'.
The table it_missing is just a quicky solution, you could use a table with just one field or use write to print the result.
Hope that helps!
Regards
Nicola

Similar Messages

  • Join 2 tables which are not related with any primary-foriegn key constraint

    Hello,
    How to join 2 tables which are not related with any primary key foreign key constraint.
    Ex.Consider Table A has 5 columns->A_ID,A_Name,A_Address,A_City,A_Pin(Total 10 rows)
    Table B has 5 columns->B_ID,B_Name,B_Adress,B_City,B_City(Total 30 rows)
    From both the table i want the data,which i need to use in curosr to display finally as "Address Label".
    Both the table are entirely different,but there can be some names of Table A which may come in Table B also,if the name,address and city is also same.That means same person in both the table.
    So finally i want total number of distinct records(distinct data of Table A which is not in B+all the data of table B) to come under Address Label.
    How can i write the select query for this condition?
    Thanks
    Swapna

    Hi, Swapna,
    user11018268 wrote:
    Hello,
    How to join 2 tables which are not related with any primary key foreign key constraint.
    Ex.Consider Table A has 5 columns->A_ID,A_Name,A_Address,A_City,A_Pin(Total 10 rows)
    Table B has 5 columns->B_ID,B_Name,B_Adress,B_City,B_City(Total 30 rows)
    Both the table are entirely different,but there can be some names of Table A which may come in Table B also,if the name,address and city is also same.That means same person in both the table.I think you want a UNION, not a join.
    If you have 10 rows in table_a, and 30 rows in table_b, then
    SELECT       A_ID,          A_Name,     A_Address,     A_City,     A_Pin
    FROM      table_a
    UNION
    SELECT       B_ID,          B_Name,     B_Adress,     B_City,     B_City
    FROM      table_b
    ORDER BY            2,               4          
    ;will produce up to 40 rows; 40 if there are no duplicates. (UNION implies DISTINCT.)
    The corresponding column types should be similar, if not exactly the same.
    There's no problem if A_Name is VARCHAR2 (50) and B_Name is CHAR (30).
    However, there will be a problem if A_ID is a NUMBER and B_ID is a TIMESTAMP.
    You must have the same number of columns in all branches of the UNION.
    If you want an ORDER BY clause, put it at the very end, after the last branch of the UNION.
    You can use positional notation (where 2 means the 2nd column) like I did, or you can use names from the first prong of the UNION (such as A_Name).
    From both the table i want the data,which i need to use in curosr to display finally as "Address Label".
    So finally i want total number of distinct records(distinct data of Table A which is not in B+all the data of table B) to come under Address Label.I'm not sure what your mean about "Address Label".
    Whenever you have a question, post a little sample data (CREATE TABLE and INSERT statements, relevant columns only) from all tables, and the exact results (formatted) that you want from that data.
    You can concatenate all 5 columns into one VARCHAR2 column, if you want to.
    You'll probably want to use RPAD (or simillar functions) to make the output line up nicely.
    If any of the columns are not strings, use TO_CHAR to make string versions of them.
    For example:
    SELECT  TO_CHAR (A_ID, '9999999')
         || '   '          -- leave a little space between the left-justified a_id and the right-justified a_name
         || RPAD (A_Name, 25)
         || RPAD (A_Address, 50)
         ...Edited by: Frank Kulash on Nov 14, 2009 10:11 AM

  • TS1368 I want to delete a lot of things childrens stories, albums which are not used which that are on my ipad. However when I go through Itunes it wont show me most of the stuff in my library. it takes ages to delete one at a time.

    I want to delete a lot of things childrens stories, albums which are not used which that are on my ipad. However when I go through Itunes it wont show me most of the stuff in my library. it takes ages to delete one at a time.
    Can you help please?

    Thanks King_Penguin for taking time to read and reply. 
    I just purchased this movie on Thursday, May 15, so just a few days ago.  I have never had any trouble whatsoever since I have been in Vietnam.  I have downloaded several movies and even music and they have all synced to my respected Apple products except for this purchase. 
    Sorry, I don't quite understand what you mean by studios and different versions.  Could you please explain? 
    I checked my purchased list in my purchase history under my account and there are no hidden items. 

  • Delete records from tableA which are not in tableB

    Table A contains milions of records which is the best way to delete records from tableA which are not in tableB
    delete from tableA where empno not in (select empno from tableb)
    or
    delete from tableA where empno not exists (select empno from tableb
    where b.empno=a.empno)
    any help

    Hi
    If you can do this, do with this:
    create table tableC
    as select a.*
    from tableA a,
    (select empno from tableA
    minus
    select empno from tableB) b
    where a.empno = b.empno;
    drop table tableA;
    rename table tableC to tableA;
    Ott Karesz
    http://www.trendo-kft.hu

  • Adobe FLME Error Message "Please check if video devices are connected properly and are not used by any other application."

    Hello, I'm trying to use my MAC Book Pro with Adobe FMLE. Once I select either my internal or external camera and microphone, in the live encoder I get this error message. "Please check if video devices are connected properly and are not used by any other application." The Facetime HD camera works in Photo Booth. Can someone assist me in what to do please, Thanks in advance!

    Hi all ,
    We found the solution for this issue .
    We have installed the crypto library in global executable directory and any way it will replicate those binaries to individual application servers.
    But the parameters are still looking for global executable directory for loading crypto library during time.
    So all application servers are trying to load crypto library files from global "exe" instead of local directory, which was clustered .Sometimes during  heavy network load it may cause some delays to load the libraries to individual application servers and in turn is causing the license key issues.
    Note 982056 - The license key library has not been initialized yet..
    SAP Recommend option for all SSF parameters should be instance profile parameters not in default parameters..This was mentioned in below note:
    Note 662340 - SSF Encryption Using the SAPCryptolib --- .
    But in our Environment SSF and SEC parameter were set in DEFAULT profile instead Instance profile.
    Recommendations:
    o     ssf/ssfapi_lib  = <Path and file name of SAPCRYPTOLIB>
    o     sec/libsapsecu  = <Path and file name of SAPCRYPTOLIB>
    This was mentioned in the below SAP HELP.
    http://help.sap.com/saphelp_nw04/helpdata/en/3d/bf463c6796e61ce10000000a114084/frameset.htm.

  • How to find aggregates which are not used.

    Hi ,
    There are lot of aggregates in my system , so i should deactivate the aggregates which  are not used from long back. so how to find out all those , can u plz guide me ,

    You can also check the usage column of the aggregates. If usage value is high then the aggregate is used very frequently.
    If there is no value at the last used then the aggreagete is not used at all.
    Hope it helps
    Regards
    Sadeesh

  • I have got a lot of apps, which are not installed on any of my iDevices anymore. is there a possibility to remove all those apps from iTunes without searching which ones are, and which ones aren't installed on one of my iDevices?

    I have got a lot of apps, which are not installed on any of my iDevices anymore. is there a possibility to remove all those apps from iTunes without searching which ones are, and which ones aren't installed on one of my iDevices?

    Assuming all the device(s) have been synced to this computer as its Home computer. The easiest way would be to delete all the apps from iTunes. After which connect your device(s) to the computer (iTunes) and transfer purchases from the device(s) by right click (control click) the device name in the left sidebar and the click transfer purchases. When done only the apps on your device(s) will be in you iTunes library.
    Hope that helps

  • We have the invoices in staging table which are not posting to EBIZ

    We have some invoices in RFM fm_ap_staging* tables from past month, which are not getting posted to EBIZ.
    The invoices are in FP status and the invoices should picked up and posted to EBIZ.
    We are not sure, why this was happening.
    But , when we have changed the sequence number of the invoices to the maximum sequence number and ran the batch , the invoices got picked up and posted to EBIZ.
    This doesn't make sense to me.
    Is it the correct functionality, or whatever is in the staging table evry thing should be picked up by the batch and post to EBIZ.
    Kindly verify.

    Hi Henry,
    From your description, I would like to verify the following things:
    1. If you can receive emails from ExQuilla account via OWA? If yes, the Exchange Server is ok.
    2. If other users can receive emails from ExQuilla account?
    3. When you use Outlook Anywhere, can you receive emails from Outlook client? If yes, there are some problems with the third-party software ExQuilla.
    If there are any problems with Exchange Server, please feel free to let me know.
    Best regards,
    Amy
    Amy Wang
    TechNet Community Support

  • Query to show which are not used till Jan 2011

    Hi Friends !
    Need to make a BeX query to know which all queries are used till Jan 2011. Which Stats Cube we need to use? "0BWTC_C05"? Please advise how to make this report. We need this report to clean up our BI Prod system.
    With Regards
    Rekha

    use the info provider -- >0TCT_DS02 or 0TCT_DS01
    Check the below query and the MP -- which provides query runtimes.
    Query Runtime- 0BWTC_C10_Q014
    Average Time per Query (0BWTC_C10_Q021)
    Average Time per Query (0BWTC_C10_Q507)
    Which are Based on InfoCube: BW statistics MultiProvider (0BWTC_C10)
    or you can use the table RSDDSTAT_OLAP in BI7.0 or RSDDSTAT  in BW3.x version.
    based on the table you can get the requeired inforamtion wht u r looking for.
    Regards
    KP

  • Deleting Child records which are not associated to any parent

    Hi
    We have seen that in the application though the Activty records has been deleted the child records like sample dropped and the roduct details has remained in the system. This happened cos in R18 when contact was deleted activty got deleted but the Activity child records remained in the application.
    we found that child records are present by looking into record utilization.
    Wanted to know if there is any way to delete these child records from teh application cos we are unable to query for them from UI as well as via webservices.
    any pointers would be helpful.
    -MR

    There is not a reporting subject area or folder available on Books. The workaround we employed was to create a field on the entity that was assigned books and that field was checked when the books were assigned. We are using web services to assign books and the web services also updates the field "Books Assigned". This gives us a way of reporting on that field to see those records without book assigned.

  • MM-Report to see the materials which is not used from last 3 months

    Dear All,
    I want to find out the materials which are not used from last 3 months.Is there any report?
    Thanks
    Vishal

    Hi
    check MB5B
    give material and plant there
    select valuates stock radio button and NON-Hierarchical representation layout  on selection screen
    give last three month duration period on selection screen and execute report
    and see total  Goods receipt and total goods issue for material
    Regards
    kailas ugale

  • Deletion of Request which are not updated to data target

    hi,
    I want to all PSA data whether it is updated or not In our project this is being done by Using a Process chain, But it is not deleting the request which are not updated to any data target or failed, I have selected both the check boxes
    Only successfully booked requests
    Only requests with errors, not updated in any data target
    but even after selecting this check box it is not deleting the failed request, can any one tell me why it is so.
    Any help in this would be highly appreciated.

    Try to do it without checking any of the checkboxes...
    Regards,
    Luis

  • How can I find the profiles which are not in a role

    Hi all,
    how can I find all profiles which are not used in a role. Its important for a security check.

    Hi Stefan,
    you do one thing use the transaction SUIM
    SUIM>>Profile>>By Roles
    give all the role name and execute you will get roles with profiles
    and extract to excel sheet
    to get only profiles
    suim>>profile>>by profile name or text give * and execute
    and extract in excel sheet no compate profile coloumns get the profiles which does not there in any roles
    hope ds helps
    thanks
    kishore

  • Standard Manager executing other programs which are not INCLUDED .

    hello guys,
    We are having eBiz 11.5.9 environment and 9.2.0.6 Database on AIX 5.3 32-bit environment.
    I am new to this client's environment and found that, there are 3 include specialization rules defined for Standard Manager which does not include "Active Responsibilities" program but still this Standard Manager is executing "Active Responsibilities" without any issues.
    How is this possible ???
    Ideally, Standard Manager should only run those 3 included programs ONLY and for rest of the programs which are not assigned to any of the concurrent manager , we should get "INACTIVE/No Manager" message.
    My 2nd question is, when I am running this oracle seeded script $FND_TOP/sql/afrqscm.sql which shows the manager assigned to the perticular request id, it gives the below output,(Below is request id is for "Active Responsibilities")
    ===================================
    SQL> @afrqscm.sql
    Enter request ID : 22035368
    Request 22035368 can be run by the following concurrent managers:
    Running Manager
    20 STANDARD
    0 ALTS
    Below are the active concurrent manager log filenames:
    no rows selected
    ===================================
    In our environment , ALTS is DISABLED manager without having any specialization rules attached to it and its basically a "Backup standard manager".
    I am wondering, what setup is required to have backup concurrent manager like ALTS which will take care of requests in case standard manager goes down ?????
    Ebiz architecture is one Admin/conc/db Tier (Aix 32 bit) and 5 Web nodes ( RHEL Linux 32 bit).
    Thanks,
    Prasad
    Edited by: 881822 on Dec 7, 2011 3:00 AM

    Hi Hussein,
    Thnks for your reply,
    My second doubt is resolved as even though there are no specialization rules assigned to ALTS manager , that means it is exactly the same as that of Standard Manager and will execute all the programs. Below is statement from your mentioned pdf ,
    =========
    Specialize your manager to run only certain kinds of requests. Without specialization rules, a manager accepts requests to start any concurrent program.
    =========
    Regarding your first question, Yes , we do bounce managers once in a month , below is the status of those two conc programs which are INCLUDED in Standard Manager.
    SQL> select 'Concurrent program '||fcp.concurrent_program_name||' is ' ||decode(fcqc.include_flag,'I','included in ','E','excluded from ')||fcqv.user_concurrent_queue_name specialization_rule_details from fnd_concurrent_queues_vl fcqv,fnd_concurrent_queue_content fcqc,fnd_concurrent_programs fcp where fcqv.concurrent_queue_id=fcqc.concurrent_queue_id and fcqc.type_id=fcp.concurrent_program_id and fcp.concurrent_program_name='CPINR080C';
    SPECIALIZATION_RULE_DETAILS
    Concurrent program CPINR080C is included in Standard Manager
    Concurrent program CPINR080C is excluded from TESTPlus General
    SQL> select 'Concurrent program '||fcp.concurrent_program_name||' is ' ||decode(fcqc.include_flag,'I','included in ','E','excluded from ')||fcqv.user_concurrent_queue_name specialization_rule_details from fnd_concurrent_queues_vl fcqv,fnd_concurrent_queue_content fcqc,fnd_concurrent_programs fcp where fcqv.concurrent_queue_id=fcqc.concurrent_queue_id and fcqc.type_id=fcp.concurrent_program_id and fcp.concurrent_program_name='CPDOR270C';
    SPECIALIZATION_RULE_DETAILS
    Concurrent program CPDOR270C is excluded from TESTPlus General
    Concurrent program CPDOR270C is included in Standard Manager
    Thanks,
    Prasad

  • How to delete layers not used in any layer comp?

    I have a psd with multiple layers and multiple layer comps. Many of the layers are not used in any layer comp. I need to import this file into flash, but I don't want to import anything I don't need. So, I need to delete any layer (particularly text layers) that aren't used in any of the layer comps. I know I could go through and turn on each individual layer comp and manually delete, but the way this file is laid out, that could take years and cost millions of lives.
    Is there a more automated way to do this?

    You could export the layer comps to files and then re-import them to a fresh file.

Maybe you are looking for

  • ASA 5505 Best Practice Guidance Requested

    I am hoping to tap into the vast wealth of knowledge on this board in order to gain some "best practice" guidance to assist me with the overall setup using the ASA 5505 for a small business client.  I'm fairly new to the ASA 5505 so any help would be

  • F110 payment run - Plant wise

    Dear All, We have a  scenario where clients is having five plants under one legal entity. Client wants F110 payment run  separately for all vendor invoices specific to the plant. For all plants , there are separate bank accounts and respective invoic

  • Adding a Drop Shadow to text in InDesign CS6

    I have no character styles in my recent installation of Cloud InDesign CS6 and want to know how I import these effects.

  • How to read char from console

    Hi can any body help me.. I want to read char from keybord. withought pressing ENTER. I am not sure how i can do it. I can't use BufferedReader br = new  BufferedReader(new InputStreamReader ( System.in )) ; char key ; key = (char )br.read() ; cuz i

  • Powerbook G3 and Lepoard

    I have a powerbook G3 and need info on what I need to upgrade to run Leopard.. This G3 is currently running 8.5.. I was given this Mac and plan to use it to run a home studio program.(Protools by Digidesign)