List of Tables used in IS Retail
Hi ,
I am currently desingning an adapter to integrate IS Retail and non SAP BI Solution. I need your help on the complete list of tables used in IS-Retails. It would be great if you could provide me the tcodes as well.
Expecting a prompt reply from experts.
Regards,
Raghu.
SAP Adapter Specialist.
Dear Raghavendra,
There are lot of SAP tables in IS Retail.
You can search all tables using transaction code SE16 or SE16N
For which transaction, you need SAP Table details?
Bye,
Muralidhara
Similar Messages
-
Query to find out the list of tables used in a package
hello,
can anyone please help me out with a query; i want to find out the list of tables used by a particular package.
thanks,
ortonorton607 wrote:
thanks for replying guys. But the thing is i am using dynamic sql execute immediate in my package, so i want those tables also and the schema name.
thanks,
ortonThis is not possible. The best you could do is to have a good guess.
Or how would you parse some dynamic statement as this:
v_suffix := 'loyees';
v_sql := 'Select count(*) from (select ''nonsense'' col1 from emp'||v_suffix||') where col1 = ''Y'''';
execute_immediate(v_sql);
...What is the table name? How do you want to parse that?
Better rewrite all dynamic SQL statements into non dynamic ones. Or do the source control logic for those dynamic parts in an extra module. For example implement your own dependency table and force every developer to add there all dynamic parts. -
Parsing query and getting list of tables used
Hi All,
I require to parse sql query (simple & complex as well) and to get the list of tables used in the query.
And need to validate that, the list of tables against a whitelist to maintained in the file.
I tried to write my own parser, since there are lots possible ways to write complex queries, i am unable to cover all the scenarios.
I require a help, Is there any other ways to get the list of tables used in a query?
Thanks,
Mahendran..user10279893 wrote:
Hi All,
I require to parse sql query (simple & complex as well) and to get the list of tables used in the query.
And need to validate that, the list of tables against a whitelist to maintained in the file.
I tried to write my own parser, since there are lots possible ways to write complex queries, i am unable to cover all the scenarios.
I require a help, Is there any other ways to get the list of tables used in a query?
Thanks,
Mahendran..
You'll never cover all scenarios by trying to parse a query.
For example, what about a query that queries views and those views query pipelined functions, and those pipelined functions query other views or tables or pipelined functions etc.
And what about a query that dynamically obtains the table names, such as...
SQL> select
2 table_name,
3 to_number(
4 extractvalue(
5 xmltype(
6 dbms_xmlgen.getxml('select count(*) c from '||table_name))
7 ,'/ROWSET/ROW/C')) count
8 from user_tables
9 where iot_type != 'IOT_OVERFLOW'
10 or iot_type is null;
TABLE_NAME COUNT
DEPT 4
EMP 14
BONUS 0
SALGRADE 5
.. in this case the tables being accessed (to count their rows) are not even known within the code, they are dynamically generated queries at run-time, so the only way to know what tables are accessed is to actually run the query.
Of course, a well designed system, with proper documentation and version control would allow you to take any database object and know where and what is using it, and whether it's even being used. -
List of tables used in Custom Forms
Hi All,
I am working on forms . There are nearly 100 forms, I need to find all the tables used in these forms.
Is there any way I can know the list of tables used in each form from backend.
Or do I need to open each form and analyze the forms one by one?
Thanks,
Raj KumarI am working on forms . There are nearly 100 forms, I need to find all the tables used in these forms.
Is there any way I can know the list of tables used in each form from backend.
Or do I need to open each form and analyze the forms one by one?You cannot get the list from the backend.
You have 3 options here.
Option 1) Open each form using Forms Builder and get the list of objects
Option 2) Use Record History and LAST_QUERY
Option 3) Enable trace
How To Determine Table and Column Name from a Field in a Form in 11i [ID 259722.1]
FAQ: Common Tracing Techniques within the Oracle Applications 11i/R12 [ID 296559.1]
Thanks,
Hussein -
How to get list of tables used in packages
Dear All
Can you pls tell me how to get list of tables used in packages
Regardsselect referenced_name
from user_dependencies
where name = 'your_package'
and referenced_type = 'TABLE'Regards,
Rob. -
Dear Friends,
I am looking for the TABLES used in IS Retail Module. If anyone has the information where all the info stored in the IS Retail kindly provide me.
Regards
SAPMAA site is a store, a distribution center or a production location. In SAP Retail, the site is the organizational level at which merchandise replenishment is planned and stocks are managed.
A store is assigned one purchasing organization and one sales area (sales organization, distribution channel and division) and thereby also a distribution chain, to which the store belongs and which is used primarily for intercompany billing purposes. The store must be authorized to receive goods from the sales area to which the supplying distribution center belongs. If it is to be possible for merchandise to be transferred from one store to another, then the recipient store must also be authorized to receive goods from the sales area to which the supplying store belongs.
Each distribution center is assigned a purchasing organization (and, if required, a sales area) for determining warehouse transfer prices and units of measure.
A distribution center can also be assigned to a site (normally to itself) and a distribution chain (for determining sales prices). These assignments enable merchandise in the distribution center to be valuated at retail prices. This sort of valuation is most common in the apparel industry.
Each site belongs to exactly one company code.
Site groups
A site group is a number of sites that have been grouped together using the Classification System.
You can use the Classification System to group together sites that have similar characteristics or are located close to each other, for example. This simplifies data maintenance, and can also be of use for reporting purposes.
To create site groups, at least one class type has to be defined in the Classification System.
Application groups are defined in Customizing and are assigned the class type required for creating the relevant site groups. This class type uses the customer number of the site as the key. The application groups Allocation Table, Promotions, Season and Labeling are predefined to allow these applications to work with the intended site groups.
Site groups operate independently of company codes, distribution chains and other fixed organizational structures.
Distribution Chain
The purpose of a distribution chain is to structure sales within a retail company. A distribution chain is made up of a sales organisation and a distribution channel.
Many retail companies use a variety of different sales channels to sell to their customers. These include store-based retailing, wholesale and Internet selling. In the case of store-based retailing, stores can belong to different chains, which have a common look and feel, a common assortment and common goods presentation but which target different groups of customers. SAP Retail reflects these different sales channels by means of distribution chains.
In addition to the marketing aspect, distribution chains are used in conjunction with sales area data to control logistics processes.
Distribution chains are also important for sales pricing. It is not only possible to determine sales prices for an individual site or customer but also for an entire distribution chain.
Distribution chains also have an important role as structuring characteristics for reporting on sales.
There are three types of distribution chains in SAP Retail:
Store distribution chains
Distribution center distribution chains
Wholesale distribution chains
You assign the distribution chain type in Customizing under Distribution chain control. Among other things, the distribution chain type controls different logistics processes. In sales price calculation, it controls whether the sales price includes taxes or not.
Customer relationships are important for controlling logistics processes. You maintain these according to sales area. A sales area is a combination of a sales organisation, distribution channel and division. Unlike in industrial companies, there is generally no differentiation made in SAP Retail between product-related divisions, therefore the distribution chain is definitive for the customer relationship.
You determine which distribution chains each site is going to use to deliver its merchandise. For a store that sells to consumers, the only available option is generally a store distribution chain, which represents a suitable chain of stores. Sometimes, however, you may need to differentiate between anonymous consumers and your known major customers, to whom you offer special prices. In this case you can set up a major customers distribution chain for your major customers. For distribution centers you can set up different distribution center distribution chains to supply the stores in the different chains, which have different transfer prices. For stores that are supplied by a distribution center, you maintain customer relationships for these distribution chains.
The significance of the distribution chain for logistics and price determination is also manifest in integrated article maintenance. In the distribution chain-related sales view you maintain data that is relevant for delivery, for example, the sales unit. For price determination, you maintain the actual sales price and other condition parameters but you also need to enter certain control data, such as the price fixing flag or the competition characterization of the article.
If there are lots of distribution chains, you can set up reference distribution chains to reduce the amount of work needed to maintain customer and article master data and conditions. To do this, enter suitable reference distribution channels for a distribution chain in Customizing under Distribution chain control. -
Tools to list all table-field used by a program
Hello everyone
Is there any available tool providing the list of fields used by a program?
There are several tools to list the tables used by a program but I need to have a list of the fields of those tables.
Here is a scenario.
DATA: lv_matnr TYPE matnr.
SELECT SINGLE matnr INTO lv_matnr FROM mara WHERE mtart = 'FERT'
WRITE:/ lv_matnr.
The list should contain the following information:
MARA-MATNR
MARA-MTART
Because both fields are used by the program. None of the other fields of the table mara should be listed.
Regards
dstjAll BlackBerry device use the same APN blackberry.net. This is unique accross all carrier.
tanzim
If your query is resolved then please click on “Accept as Solution”
Click on the LIKE on the bottom right if the post deserves credit -
Need tool/utility to get list of tables from sql query
Hi,
I often have to analyze huge queries without having access to database. Is there any tool where I can submit the a sql query and it gives me list of tables used in the query. I also need similar thing for documentation.
Let me know if anybody uses anything like this.
Thanks.
liquidloop[at]live[dot]co[dot]ukYou can find the size of each table, and thus list the tables in the process.
SET NOCOUNT ON
DBCC UPDATEUSAGE(0)
-- DB size.
EXEC sp_spaceused
-- Table row counts and sizes.
CREATE TABLE #t
[name] NVARCHAR(128),
[rows] CHAR(11),
reserved VARCHAR(18),
data VARCHAR(18),
index_size VARCHAR(18),
unused VARCHAR(18)
INSERT #t EXEC sp_msForEachTable 'EXEC sp_spaceused ''?'''
SELECT *
FROM #t
-- # of rows.
SELECT SUM(CAST([rows] AS int)) AS [rows]
FROM #t
SELECT
t.NAME AS TableName,
p.rows AS RowCounts,
SUM(a.total_pages) * 8 AS TotalSpaceKB,
SUM(a.used_pages) * 8 AS UsedSpaceKB,
(SUM(a.total_pages) - SUM(a.used_pages)) * 8 AS UnusedSpaceKB
FROM
sys.tables t
INNER JOIN
sys.indexes i ON t.OBJECT_ID = i.object_id
INNER JOIN
sys.partitions p ON i.object_id = p.OBJECT_ID AND i.index_id = p.index_id
INNER JOIN
sys.allocation_units a ON p.partition_id = a.container_id
WHERE
t.NAME NOT LIKE 'dt%'
AND t.is_ms_shipped = 0
AND i.OBJECT_ID > 255
GROUP BY
t.Name, p.Rows
ORDER BY
t.Name
--- SQL2005
select o.name
, reservedpages = sum(a.total_pages)
, usedpages = sum(a.used_pages)
, pages = sum(case when a.type <> 1 then a.used_pages
when p.index_id < 2 then a.data_pages else 0 end)
, SUM(a.used_pages)*8096 AS 'Size(B)'
, rows = sum(case when (p.index_id < 2) and (a.type = 1) then p.rows else 0 end)
from sys.objects o
join sys.partitions p on p.object_id = o.object_id
join sys.allocation_units a on p.partition_id = a.container_id
where o.type = 'U'
group by o.name
order by 3 desc --biggest tables first
Knowledge is the only thing that I can give you, and still retain, and we are both better off for it. -
Hi,
How can we know what are the tables used for the particular standard transcation.
Thanks in advance,
Meenu.Hi
RUN t-code ST05, Activate Trace.
Then Run your t-code say 'MM02' and close it.
And deactivate Trace in ST05 & Display Trace.
There you'll get list of tables used. -
Hi Experts, I am posting this thread once again
I came across a table named " I_T_DATA" in an user exit for enhancing the BC Data Source.
Can anyone clarify me the following points:
1) Is I_T_DATA a standard tale used in Service API.
2) What are the other standard tables used in Service API
Please forward me some material related to Service API
Thanks
KRThe user exits are actually function modules (EXIT_SAPLRSAP_001, _002, etc.). The tables used by the function module are actually listed when you first enter the user exit.
For example, when you enter the user exit EXIT_SAPLRSAP_001 (transaction data), the comments at the top list the tables used by the function module:
FUNCTION EXIT_SAPLRSAP_001.
*"*"Lokale Schnittstelle:
*" IMPORTING
*" VALUE(I_DATASOURCE) TYPE RSAOT_OLTPSOURCE
*" VALUE(I_ISOURCE) TYPE SBIWA_S_INTERFACE-ISOURCE
*" VALUE(I_UPDMODE) TYPE SBIWA_S_INTERFACE-UPDMODE
*" TABLES
*" I_T_SELECT TYPE SBIWA_T_SELECT
*" I_T_FIELDS TYPE SBIWA_T_FIELDS
*" C_T_DATA
*" C_T_MESSAGES STRUCTURE BALMI OPTIONAL
*" EXCEPTIONS
*" RSAP_CUSTOMER_EXIT_ERROR
INCLUDE ZXRSAU01.
ENDFUNCTION.
Here C_T_DATA is the table with the "blob" of data for extracting transaction data.
Your I_T_DATA is the table with the "blob" of data for extracting master data. If you look at the function module for EXIT_SAPLRSAP_002:
FUNCTION EXIT_SAPLRSAP_002.
*"*"Lokale Schnittstelle:
*" IMPORTING
*" VALUE(I_DATASOURCE) TYPE RSAOT_OLTPSOURCE
*" VALUE(I_CHABASNM) TYPE SBIWA_S_INTERFACE-CHABASNM
*" VALUE(I_UPDMODE) TYPE SBIWA_S_INTERFACE-UPDMODE
*" TABLES
*" I_T_SELECT TYPE SBIWA_T_SELECT
*" I_T_FIELDS TYPE SBIWA_T_FIELDS
*" I_T_DATA
*" C_T_MESSAGES STRUCTURE BALMI OPTIONAL
*" EXCEPTIONS
*" RSAP_CUSTOMER_EXIT_ERROR
INCLUDE ZXRSAU02.
ENDFUNCTION.
Hope this helps. -
Find all tables used in a set of programs
I need to find a list of all tables used in all Z programs. Originally I was thinking of getting a list of programs from table TRDIR, using READ REPORT for each one and then using Regex to get a list of tables used in SQL statements. However getting the regex working appears to be more complicated than first expected so I'm looking for other possibilities.
Use SAP standard program RPR_ABAP_SOURCE_SCAN and in the selection parameters
Program Name = Z*
Find String = SELECT
and execute
a® -
Would like to know about list of tables used for EBP 5.0.this would help me better trouble-shooting .Appreciate your direction on this.
Please send to [email protected]
Balaji.VHi Balaji,
As such there are many tables specific to the Application scenarios(e.g. SHC for shopping cart/requirement Request)...
For Shopping cart some imp tables for trouble shooting....
-> To check how many SCs have been created -
CRMD_ORDERADM_H
CRMD_ORDERADM_I
-> Shopping cart related tables to check whether all the items have been transferred properl form ITS to EBP :-
REQLINE
REQHEAD
REQTEXT
REQLINEMA
->. to check the Backend specific dta for follow on documents
BBP_PDBEH
BBP_PDBEI
regards,
Disha. -
How to find the list of un used table names in a schema?
Hi,
I have a doubt in Oracle. The doubt is that If we are using any tables in Function Or Proc.... Then...We can list all those used table names from USER_DEPENDENCIES system table. Right...
But, If the table is used with Execute Immediate Statement, then, those table names are not coming out with USER_DEPENDENCIES system table. Because they are identified at run time and not compile time.
It is fine. And I agree.. But, If I want to list out those tables also...then...How to do? Any idea?
I think ‘USER_SOURCE’ system table may not be the right one. If there is any other system table avails for this purpose...then..it would be very grateful to extract right...
So I am wanting that exact system table.
Please let me know about this, if you have any idea or check with your friends if they have any idea.
Regards,
Subramanian GHi Guys,
Thanks for all your answers.
Yes....You are all right. We can list out the used tables upto certain extent. Anyhow, I have done some R&D to derive the SQL's which is given below:
SELECT TABLE_NAME FROM USER_TABLES
MINUS
SELECT DISTINCT UPPER(REFERENCED_NAME)
FROM user_dependencies
where
referenced_type='TABLE' and UPPER(NAME) in
select distinct UPPER(object_name) from user_objects where UPPER(object_type) in
'MATERIALIZED VIEW',
'PACKAGE',
'PACKAGE BODY',
'PROCEDURE',
'TRIGGER',
'VIEW',
'FUNCTION'
UNION
SELECT UT.TABLE_NAME FROM
SELECT TABLE_NAME FROM USER_TABLES
MINUS
SELECT DISTINCT UPPER(REFERENCED_NAME)
FROM user_dependencies
where
referenced_type='TABLE' and UPPER(NAME) in
select distinct UPPER(object_name) from user_objects where UPPER(object_type) in
'MATERIALIZED VIEW',
'PACKAGE',
'PACKAGE BODY',
'PROCEDURE',
'TRIGGER',
'VIEW',
'FUNCTION'
AND REFERENCED_OWNER=(SELECT sys_context('USERENV', 'CURRENT_SCHEMA') FROM dual)
) UT,
( SELECT * FROM USER_SOURCE
WHERE NAME IN
( SELECT DISTINCT NAME FROM USER_SOURCE
WHERE TYPE NOT IN ('TYPE')
AND
UPPER(TEXT) LIKE '%EXECUTE IMMEDIATE%'
) US
WHERE
UPPER(US.TEXT) LIKE '%'||UPPER(UT.TABLE_NAME)||'%'
AND
(UPPER(US.TEXT) NOT LIKE '%--%')
The above SQL Query can list out unused tables by checking the Dynamic SQL Statement also upto some level only.
Once we extracted the list of unused tables, having a manual check would be also greater to verify as it is should not impact the business applications.
Regards,
Subramanian G -
Getting a useful list of tables
Can anyone recommend a query to get a useful list of tables for the end user? Our application allows users to browse the database and look at data in tables. Currently, we first have the user choose a schema, and then a table,view or synonym within the schema.
I just learned about the public owner though and it has 1000s of things in it's space, most of which aren't useful to the user.
Originally, i was using the OCI schema apis, but we switched to using a simple select from all_objects. To simplify things somewhat i automatically filter things with a '$' in them. In the public schema there are also lots of things with a '/' in them. filtering on that brings the total down to 2000+ objects, but that still seems like a lot.
I'd really like to separate 'system' objects from 'application' objects and only show the latter. Are there any idioms people use for this? Is there some information somewhere that I'm missing that might have this?
thanks,
:)rossI eventually settled on the following
SELECT OBJECT_NAME
FROM ALL_OBJECTS
WHERE OWNER='%s' AND
OBJECT_TYPE IN ('TABLE','VIEW','SYNONYM') AND
OBJECT_NAME NOT LIKE '%$%' AND
OBJECT_NAME NOT LIKE '%/%'
ORDER BY OBJECT_NAME
where the particular schema i'm interested in is plugged in for %s.
but when the schema is 'PUBLIC' I add the following to the WHERE clause
NOT EXISTS (
SELECT *
FROM ALL_SYNONYMS
WHERE OWNER=ALL_OBJECTS.OWNER AND
SYNONYM_NAME=OBJECT_NAME AND
TABLE_OWNER IN ('CTXSYS','DMSYS','EXFSYS','MDSYS','OLAPSYS','ORDSYS','SYS','WKSYS','WMSYS','XDB','SYSTEM','SYSMAN')) AND
to filter out all the system synonyms
:)ross -
Where used list information tables in 4.6c
Hi,
Could anyone please tell me the database tables used for "where used list" in SAP version 4.6C.
Thanks
Yogesh GuptaHi,
In 4.6C the TCode se49 is similar to Where used
Which refers to the Program : SAPMSEUZ
I executed SE49, for the Transaction: se49, again, to find the Tables used :
TDCT Dialog Modules
TFDIR Function Module
TLIBG Person responsible for function class
TRDIR Generated Table for View TRDIR
TSTC SAP Transaction Codes
Cheers,
Remi
Maybe you are looking for
-
My mac keeps crashing druing both safari and mail usage. Help I cant do anything unless im in firefox. This is driving me crazy Process: Safari [2101] Path: /Applications/Safari.app/Contents/MacOS/Safari Identifier: com.apple.Safari Versi
-
User exit needed (Problem related to duplicate batch entry in Migo(GR))
Dear all, I need a help from you.we facing problem in Goods receipt in MIGO. where we want to apply a check on batch which has already been assigned to a raw material in MIGO .we are using manual batch entry .we don't want to make dupl
-
How do I manually update a contact with their Facebook?
I signed on in settings into Facebook, I also have my Facebook app up to date. My contacts list correctly synced about 40% of my contacts with the correct Facebook account - with their profile picture etc. One contact is incorrect, I have no idea how
-
Airport Extreme & Remote Access for database application
Hi There, I have spent an entire week of my time between apple, apple consultants and networking experts trying to get a access remotely to a simple database program inside an wireless network. I have read the discussions on remote access thru the AE
-
Why did all my files suddenly become UNIX Executable Files?
After reformatting my hard drive and installing Panther server, I restored the Retrospect back up of files to my home directory. Unfortunately, all the files that didn't have suffixes (eg: .doc, .xls, .pdf, etc.) suddenly had their icons replaced wit