SAP Data dictionary overview
I need to know, How can i obtain a list from the SAP's Data Dictionary? I need the database tables and his fields specification.
Thank you.
Jesus Alen
Hi,
Here is the code sample to see the table and its field.If you double click the table name,then you can go to SE11 and see the field descriptions from the program itself.Kindly reward points if it is useful.
TABLES: DD02L,
DD02T,
DD03L,
DD04T.
DATA: BEGIN OF ITAB_TABLES OCCURS 0,
TABNAME LIKE DD02L-TABNAME,
END OF ITAB_TABLES.
DATA: FILEOPENCANCELLED.
SELECTION-SCREEN: COMMENT 1(80) TEXT-001, SKIP 1,
COMMENT 1(80) TEXT-002, SKIP 1.
PARAMETER: TBLNAME LIKE DD02L-TABNAME.
IF TBLNAME IS INITIAL.
CALL FUNCTION 'UPLOAD'
EXPORTING
FILENAME = 'tablenames.txt'
IMPORTING
CANCEL = FILEOPENCANCELLED
TABLES
DATA_TAB = ITAB_TABLES.
IF NOT FILEOPENCANCELLED IS INITIAL.
EXIT.
ENDIF.
ELSE.
CLEAR ITAB_TABLES. REFRESH ITAB_TABLES.
ITAB_TABLES-TABNAME = TBLNAME.
APPEND ITAB_TABLES.
ENDIF.
SORT ITAB_TABLES.
DELETE ADJACENT DUPLICATES FROM ITAB_TABLES.
TRANSLATE ITAB_TABLES-TABNAME TO UPPER CASE.
SELECT TABNAME DDTEXT FROM DD02T
INTO CORRESPONDING FIELDS OF DD02T
FOR ALL ENTRIES IN ITAB_TABLES
WHERE TABNAME = ITAB_TABLES-TABNAME AND
DDLANGUAGE = 'E'.
FORMAT COLOR COL_KEY.
WRITE: / 'N ' AS SYMBOL,
DD02T-TABNAME RIGHT-JUSTIFIED, '-', DD02T-DDTEXT,
'? ' AS SYMBOL.
HIDE DD02T-TABNAME.
FORMAT COLOR OFF.
SELECT FIELDNAME ROLLNAME DATATYPE LENG DOMNAME FROM DD03L
INTO CORRESPONDING FIELDS OF DD03L
WHERE TABNAME = DD02T-TABNAME.
SELECT DDTEXT FROM DD04T
INTO CORRESPONDING FIELDS OF DD04T
WHERE ROLLNAME = DD03L-ROLLNAME AND
DDLANGUAGE = 'E'.
WRITE: /
DD03L-FIELDNAME, DD03L-ROLLNAME,
DD03L-DATATYPE, DD03L-LENG NO-ZERO,
DD03L-DOMNAME, (35) DD04T-DDTEXT.
ENDSELECT.
ENDSELECT.
ULINE.
ENDSELECT.
CLEAR DD02T-TABNAME.
AT LINE-SELECTION.
IF NOT DD02T-TABNAME IS INITIAL.
call function 'RS_DD_DEF_SHOW'
EXPORTING
OBJNAME = DD02T-TABNAME.
ENDIF.
CLEAR DD02T-TABNAME.
Similar Messages
-
Oracle indexes that are missing in the SAP Data Dictionary
We have an old SAP SAP system we just shut down, but Oracle is still up.
I am trying to put together a query using DBA_INDEXES and a SAP Data dictionary table, that will show me what tables are in Oracle and not in the SAP data dictionary.
I cannot bring up SAP, but database is still up.Hi Bill,
Table DD12L contains the definition of the SECONDARY indexes.
Watch it, indexes may be concatenated to table with ^ or ~ or severel
_ chars so an index 3 for a table might be named
table~3
table^3
table_____3
depending on what upgrade History the system has.
For primary indexes, you should ensure, that every table has an index
with suffix 0 as in
table~0
table^0
table_____0
Hope this helps
Volker -
Crystal Reports - Tables Missing from the List Within SAP Data Dictionary
We have installed the Integration Kit and would like to create reports in Crystal Reports 2008 based on some transparent tables (BKPF being one) in our ECC 6.0 box. Using the standard Data Source 'SAP Table, Custer, or Function' we are able to connect to our ECC system and generate a list of tables within the data dictionary. However, we are missing quite a few tables such as BKPF and VBAK (tables we can see include EBKN and EBKZ).
We ran a trace on the system (ST01) but have not found any authorization failures for the assigned account (nor do any errors or issues show up in any of the work process trace logs).
Has anyone experience anything similar? Helpful pointers to helpful info is much appreciated (we do have all the install and user docs).
Thanks!
Joe Haynes
Edited by: Joe Haynes on Apr 14, 2009 11:41 AMHi Joe,
try the following:
- right click on the connection entry
- select the item options
- there is on the right hand a box that allows you to enter filter values. example SFL% will show all tables starting with SFL
- enter a filter and hit OK
- right click again
- select refresh.
most likely it is just the amount of tables coming back
Ingo -
In which Data Dictionary View I can find ...
Hello,
I will do a Overview over all of our Full Backups.
I am searching in the Data Dictionary Views but I colud not found the right information.
I could find a nice overview over the last redo log archive etc but no overview over the full backups?!
In which view I can find these informtaion?
Thanks in advance!Check Summary of RMAN Recovery Catalog Views for the data dictionary views for RMAN.
-
Diff B/w ABAP Dictionary and Data Dictionary
What is the difference between ABAP Dictionary and Data Dictionary........
Hi,
Both are the same.
Please check this online document perhaps it may help.
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCDWBDIC/BCDWBDIC.pdf
Regards,
Ferry Lianto -
FAQ's, intros and memorable discussions in the ABAP Data Dictionary Forum
Welcome to the SDN ABAP Data Dictionary Forum!
In addition to release dependent information avalaible by:
- pressing the F1 key on an ABAP statement,
- or searching for them in transaction ABAPDOCU,
- using the [SDN ABAP Development Forum Search|https://www.sdn.sap.com/irj/sdn/directforumsearch?threadid=&q=&objid=c42&daterange=all&numresults=15&rankby=10001],
- the information accessible via the [SDN ABAP Main Wiki|https://wiki.sdn.sap.com/wiki/display/ABAP],
- the [SAP Service Marketplace|http://service.sap.com] and see [SAP Note 192194|https://service.sap.com/sap/support/notes/192194] for search tips,
- the 3 part [How to write guru ABAP code series|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f2dac69e-0e01-0010-e2b6-81c1e8e5ce50] ... (use the search to easily find the other 2 documents...)
... this "sticky post" lists some threads from the ABAP forums as:
- An introduction for new members / visitors on topics discussed in threads,
- An introduction to how the forums are used and the quality expected,
- A collection of some threads which provided usefull answers to questions which are frequently asked, and,
- A collection of some memorable threads if you feel like reading some ABAP related material.
The listed threads will be enhanced from time to time. Please feel welcome to post to [this thread|Suggestions thread for ABAP FAQ sticky; to suggest any additional inclusions.
Note: When asking a question in the forum, please also provide sufficient information such that the question can be answered usefully, do not repeat interview-type questions, and once closed please indicate which solution was usefull - to help others who search for it.
ABAP Dictionary
Modifying SAP Tables directly => Direct SAP table changes, internal only warnings, and other DDIC risks....
RTTS dynamic DB table reference, how? => Dynamically assigning a DB table reference.
retreive data from table pool and table cluster => What works and what not to access table clusters and pools.
Must i_structure_name for LVC_FIELDCATALOG_MERGE be pre-defined in dict? => Convert SLIS to LVC, or convert DDIC standards.Welcome to the SDN ABAP Data Dictionary Forum!
In addition to release dependent information avalaible by:
- pressing the F1 key on an ABAP statement,
- or searching for them in transaction ABAPDOCU,
- using the [SDN ABAP Development Forum Search|https://www.sdn.sap.com/irj/sdn/directforumsearch?threadid=&q=&objid=c42&daterange=all&numresults=15&rankby=10001],
- the information accessible via the [SDN ABAP Main Wiki|https://wiki.sdn.sap.com/wiki/display/ABAP],
- the [SAP Service Marketplace|http://service.sap.com] and see [SAP Note 192194|https://service.sap.com/sap/support/notes/192194] for search tips,
- the 3 part [How to write guru ABAP code series|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f2dac69e-0e01-0010-e2b6-81c1e8e5ce50] ... (use the search to easily find the other 2 documents...)
... this "sticky post" lists some threads from the ABAP forums as:
- An introduction for new members / visitors on topics discussed in threads,
- An introduction to how the forums are used and the quality expected,
- A collection of some threads which provided usefull answers to questions which are frequently asked, and,
- A collection of some memorable threads if you feel like reading some ABAP related material.
The listed threads will be enhanced from time to time. Please feel welcome to post to [this thread|Suggestions thread for ABAP FAQ sticky; to suggest any additional inclusions.
Note: When asking a question in the forum, please also provide sufficient information such that the question can be answered usefully, do not repeat interview-type questions, and once closed please indicate which solution was usefull - to help others who search for it.
ABAP Dictionary
Modifying SAP Tables directly => Direct SAP table changes, internal only warnings, and other DDIC risks....
RTTS dynamic DB table reference, how? => Dynamically assigning a DB table reference.
retreive data from table pool and table cluster => What works and what not to access table clusters and pools.
Must i_structure_name for LVC_FIELDCATALOG_MERGE be pre-defined in dict? => Convert SLIS to LVC, or convert DDIC standards. -
Open conversions in data dictionary
Dear experts,
We have been trying to install an ST-PI package in an SAP system.However,it gives a warning saying "Open conversions in data dictionary". It says - Some open conversion requests still exists for the following ABAP data dictionary objects.To avoid inconsistencies and data losses you must process these conversions first.
Further it asks us to run the transaction SE14 which points towards the table GLPCA and says Index Z1 does not exist.
What can be the cause behind this?I do not have an ABAP background.So,hoping if you could help me out.
Regards,
Minuj
Edited by: minuj sarma on Feb 22, 2008 2:12 PMhi sagar,
Go to transaction SE14 and choose the following options in the menu
DB requests --> Terminated
Reward points if usefull,
Thanks,
Kalyan. -
Identity DB field in Data Dictionary Table
Hi
I am using NW04 SP9
I created a Data Dictionary DC and created a new TABLE.
I need one of the fields to be an IDENTITY field (that generates an ID automatically whenever a new record is craeted).
Q1. Is the Data Dictionary DC and Plug in (of NW04 SP9) support such a feature?
Q2. If the answer is no, what are my alternatives?Hi,
the enqueue method in question is called
getUniqueIncreasingNumber()
There is another SDN forum thread describing its invocation pretty well:
Autogenerate Primary Key
(in this thread you can also view the invocation of guid based strings, as guid based generation executes locally, it is a good idea to use it if primary keys can be strings, contrary, enqueue invocation implies connecting to the enqueue instance)
You can view the Javadoc for getUniqueIncreasingNumber()
in the local documentation of your Developer Studio installation (API WAS/J2EE Engine/com.sap.services.......applocking),
i just copy and paste it here:
"getUniqueIncreasingNumber
public long getUniqueIncreasingNumber()
throws com.sap.engine.frame.core.locking.TechnicalLockException
Returns a number with the following properties:
every method-call returns a higher number than the previous ones
the number contains the timestamp of the central server, so this will work correctly in a distributed environment and also after a restart of the cluster
This number can be used for every purpose, it is not locking-specific.
ATTENTION: if the system-time of the central server is changed this will probably not work correctly any more."
Note that the precondition is that you never change the system time of the Enqueue Instance (what is indeed in general not allowed in SAP systems, see the SAP note #771577). In the case of enqueue replication server, both system clocks have to be synchronized.
good luck, Katarzyna -
ABAP program to list Data Dictionary objects referenced in custom program
I want an uitlity program that will list all ( Custom and standard) data dictionary objects referenced to declare variables in custom ABAP program. Is there any standard program available in SAP to meet this requirements?
This is required to create a separate transport requests only with data dictiornay objects.
Thanks in advance for your help
Regards,
SunilHi
You can try the FM AKB_WHERE_USED_LIST.
~~~Ganesh Kumar K. -
Discrepancy in OUTPUTLEN in ALV_FIELDCATALOG_MERGE and Data Dictionary
Hi Gurus,
I have a program that uses ALV_FIELDCATALOG_MERGE to create a dynamic table. When running it using table VICDCONDCALC or VICDCONDDIST the output length produced for field CALCNUMBER (data element RECDCALCNUMBER) is 6 however when trying to view it in the data dictionary table like DD04L the output length is 5. When I debugged the program there is a statement IMPORT NAMETAB X030L_WA X031L_TAB ID TABNAME. in FM DD_GET_NAMETAB after it passes through this statement the internal table X031L_TAB has the field above with 6 as the External length. Where does the FM retrieved the value 6? Is there any database/transparent table in SAP that I could use to query the table that will produce value of 6?There is always a problem with output length in the FM - REUSE_ALV_FIELDCATALOG_MERGE. Go to utilities> settings>ABAP Editor --> Editor --> select the check box Downwards-comp line (72). Try to run the program I think the output length will be same for both.
Hope it will work.
Regards,
Preetham -
SQL remote query and data-dictionary
Hi,
We are considering the implementation of SAP Business One 2005. I've installed a demo version but in order for it to continue to support some business functions I need to perform a number of SQL queries against the data. Unfortunately I'm having difficulties in getting the answer from our reseller.
Does anyone know the answers to the following question. I'd very much appreciate some help.
1) Is there a data-dictionary document showing which tables perform which roles and the associated joins/associations.
2) Is it 'advised' to open the SAP datasource directly to perform a SELECT query to obtain the results or should a third-party tool be used?
3) Do I need the SDK if I want to perform direct SELECT queries or if I want to automate posting invoices to SAP? We have competent programmers in the company - I believe they use VB6 and VB.net.
4) Is there an example if I simply wanted to query all suppliers within SAP? (e.g. SELECT NAME FROM Supplier_tbl...etc..etc)
Any help would be very much appreciated - it's a huge application and I'm struggling a little.
Many thanks,
Gavin Russell.Gavin,
The forum that you have posted your questions in is or questions related to the SAP Business One Integration for SAP NetWeaver. Your questions seem to be along the line of general data access to SAP Business One. You should typically post those types of questions in the SAP Business One Discussion Forum or the SAP Business One SDK Discussion Forum.
As to your questions ...
1. The definition of the SAP Business One table schema is part of the SAP Business One SDK Help Center documentation. You simply need to install the SAP Business One SDK Help and you will have it. There is not a "data dictionary" other than this documentation.
2. Typically any direct access to SAP Business One data using SQL is discouraged as if data corruption occurs as a result of it, the environment would not then be supported by SAP.
3. If you want to push data into SAP Business One, as stated, direct access to the Business One database is forbidden. You would use the SAP Business One SDK for this.
4. You can use the SAP Business One Query Manager/Wizard in the SAP Business One product which in essence is performing SQL type SELECTS for data on Business One tables.
HTH,
Eddy -
Hi,
What are the the views in the data dictionary that store the user packages (spec, body, function list and parameters etc) ?
TIA.
StephanYou could always DESCRIBE (or DESC) the package, function, or procedure to get the overview
SQL> desc pkg_test
PROCEDURE READ_FILE
PROCEDURE WRITE_FILE
Argument Name Type In/Out Default?
P_PKG VARCHAR2 IN -
Data dictionary and data source
Hi
In http://help.sap.com/saphelp_nw04/helpdata/en/6c/c8bbdc13a8435fa4e0d7ccd97bb1ea/frameset.htm it explains how to create a data dictionary and web frontend.
Regards to this point "Choose New -> Other. Choose Persistence in the left-hand pane and SQLJ Source in the right-hand pane", it creates a java class with the class body etc. So I do I just overwrite it with
package temp.persistence.gettingstarted.dao;
#sql public context Ctx with (dataSource = "java:comp/env/TMP_PERSISTENCE_EXAMPLE");
Please help me in creating a data source alias, I dont get this option "New -> META-INF/data-source-aliases.xml.
" in j2ee explorerHello,
You have several options to create an alias http://help.sap.com/saphelp_nw2004s/helpdata/en/ea/a418d295d4493fa51aaad026a756b3/frameset.htm
the option New -> META-INF/data-source-aliases.xml that you are referring to, requires Enterprise Archive project.
Once you create the project you will see the New -> META-INF/data-source-aliases.xml on the right click menu.
Regards,
Dmitry -
Download & Upload Data Dictionary objects
Hi,
Like we have utilities for downloading and uploading ABAP Reports, SAP Scripts & Dynpros; does anybody have some tool to download data dictionary objects from one system and uploading it onto another??
Else we would have to use transports from source to destination - which is my fallback option.
Any pointers to such tools would be highly appreciated.
Thanks,
PramodHi,
Refer to below threads:
How to Download Upload Dictionary Tables (No data)????
Re: Upload/download DDIC Objects, FM, Classes ....
Hope you find your solution here.
Reward points for useful answers
Rgds, -
SAP Data Services available as part of learning hub
Notice that SAP Data Services classes are available on SAP Learning Hub Free Courses Overview. Did you see the word FREE?
Hi Terry,
Not exactly but you can use BODS script to call all function and procedure from SQL.
Regards
M Ramesh
Maybe you are looking for
-
My Apple TV is having issues!
When I try and use ATV I get stuck on setting date/time screen. No matter what I press or try to restart ATV it will not work. It says you should be able to press menu and set up to a wireless router, but it doesn't do anything when I try! After abou
-
Garbage characters on PDF output
My PDF documents converted from Word sometimes have a short bit of garbage characters just about the TOC. Not everyone sees the characters on the document. It only is visible to a few individuals. See the attached. Is there a setting that needs atte
-
Thanks a lot in advance - I just need a basic advice to make Thunderbird operational, even without any encryption or signature systems- happy new year !
-
To Upgrade to 3.1.2 OS or Wait?
I have an iPod Touch 2G running 2.2.1 OS. Everything has been running quite well. I've been patrolling these message boards since the 3.0 release and have noticed many horror stories about upgrading (i.e. wifi crippled). Now that we're at 3.1.2 it se
-
Difference Between Transport and message protocols in XI
Hi, Can u please explain with some example , Difference Between Transport and message protocols in XI. thanks dhanush