ABAP QA
在ABAP的數據字典里可以創建哪些類型的對象?
Tables
Views
Data Elements
Structures
Table Types
Type Groups
Domains
Search Helps
Lock Objects
在ABAP的數據字典里可以創建哪些類型的數據表?
Transparent Tables
Pooled and?Clustered?Tables
集團依賴數據表和集團無依賴數據表有啥區別?
The MANDT field of the table specifies whether thetable is client independent or not.
共享表和聚集表直接有啥區別?
Cluster tables and Pooled tables have many to onerelationship with the underlying database.
A table pool corresponds to a table in the databasein which all records from the pooled tables assigned to it arestored.
Several logical data records from different cluster tables can bestored together in one physical record in a table cluster.
- A pooled table cannot have the name having more than 10characters.
- All the key fields of the pooled table must be of characterdata type.
- In pooled tables, the maximum length of the key field/datafields should not exceed the length of varkey/vardata of the poolrespectively.
- In cluster table the records having the same key are stored ina single key in the cluster.
- If there is an overflow of the data records a continuationrecord is created with the same table key.
數據庫表和視圖直接有啥區別?
The Table has a physical storage of data whereasviews do not have physical storage of data.
The view is derived from one or more tables whichis created only with the required fields from the databasetable(s). It can also be created with table inner joins andspecifying conditions for data retrieval.
SAP中有哪幾種不同類型的視圖?
- Projection view - Just retrieves some fields from a singletable.
- Help View - This is used for search help.
- Database View - This is inner join view of one or moretables
- Maintenance View - Helps in creating maintaining data of theapplication object. The data can be distributed among severaltables.
是不是sap的所有類型的視圖都可以在ABAP程序中使用?
No. You can use only projection view or databaseview in your ABAP program.
什么是數據表維護生成器?
The Table Maintenance Generator is used to createtable maintenance program to add, modify or delete records in thedatabase table. This can be accessed using transaction SE54 or inSE11 using the menu Utilities->Table MaintenanceGenerator.
數據表維護生成器中的一步和兩步是什么?
This specifies the screens to be created in theTable Maintenance Program.
Single step: Only overview screen is created i.e.the Table Maintenance Program will have only one screen where youcan add, delete or edit records.
Two step: Two screens namely the overview screenand Single screen are created. The user can see the key fields inthe first screen and can further go on to edit further details.
如何激活對數據庫表的修改?
After making changes to the table, inorder toreflect the changes go to transaction SE14 and Choose Edit and thenchoose Activate and Adjust Database.
OR
You can directly activate it from the SE11.
Abap程序保存在哪些數據表內?
The programs are stored in the table TADIR and thedevelopment class packages in TDEVC.
在修正自建表增加字段后,如何能是數據表維護生成器生成的程序正確地維護數據表?
You have to delete and recreate your own existingtable maintenance program to see your new fields.
INSERT和MODIFY語句的區別?
Whenever you need to create new records in thedatabase table use INSERT. Whenever using INSERT be sure that aduplicate entry having the same values for the primary key fieldsare not present. Else it may throw a dump.
When you use MODIFY it makes a check for thematching key field values. If present it modifies the matchingrecord, else it creates a new record in the database table.
如何創建數據庫表的索引?
Go to transaction SE11, open your database table.Choose the menu, Goto->Indexes to create index. Giveyour index name and choose the fields of the table. Be careful, anadditional index may vanish with the next upgrade orhotpackage.
Check Table和Value Table的區別?
The Check Table is the dependent table to which therelationship is defined using foreign keys. The contents of thecheck table field are shown in the input help for the referencedfield.
The Value table is the table attached to a field atthe domain level, where the entry to the field can be only from thevalue table. They are not used in the Input Help.
域和數據元素的區別?
The Domain specifies the Technical attributes ofthe field such as the data type, length and the value range.
The data element is an elementary type defining thedescription/text for the field when displaying on the screen andParameter ID.
如何保證數據表的字段值都為大寫?
The reason for this is that the Domain for thefield in the table might have Lowercase checkbox unchecked. Checkthe Lowercase checkbox to preserve the case of your data.
什么是金額/數量字段的參考表和參考字段?
The reference table and reference field are thefields which specify the currency key or Unit of Measure. Supposeif the user specifies a currency amount say 1000$, the currencyamount field would indicate the amount 1000 and the currency keyindicates that the currency specified is in Dollars.
關于數據字典的一些sap表?
DD02L : SAP Tables
DD01L Domains
DD01T R/3 DD: domain texts
DD02ALL Table Parameters for ALLBASE
DD02DB2 DB2/390: Table Parameters
DD02DB6 DB6: Table Parameters for DB2 Version 2
DD02INF Table Parameters for INFORMIX, Version 6
DD02MSS Table Parameters for Microsoft SQLServer
DD02T SAP DD: SAP Table Texts
DD03L Table Fields
DD03T DD: Texts for fields (language dependent)
DD04L Data elements
DD04T R/3 DD: Data element texts
DD05S Foreign key fields
DD06L Pool/cluster structures
DD06T R/3 DD: texts on SQL tables
DD07L R/3 DD: values for the domains
DD07T DD: Texts for Domain Fixed Values (Languag
DD08L R/3 DD: relationship definitions
DD08T Texts on the relationship definitions
DD09C ABAP/4: Sytem-dependent attributes of tech
DD09L DD: Technical settings of tabl
總結
- 上一篇: ABAP/4 Open SQL
- 下一篇: WM-Tcode集合