ABAP Interview Questions

简介:

What is a 'Z' report? 
Y or Z report refer to customized abap programs written for modules such as mm, sd, pp or fi/co etc.

Can we create an ABAP program without using Y or Z? 
No, this is because all non Yor Z programs are standard SAP programs.

1. How data is stored in cluster table?  
Each field of cluster table behaves as tables which contains the no. of entries. 

2. What are client dependant objects in abap/sap?  
SAP Script layout, text element, and some DDIC objects. 

3. On which even we can validate the input fields in module progams?  
In PAI (Write field statement on field you want to validate, if you want to validate group of fields put in chain and End chain statement.) 

4. In selection screen I have three fields, plant mat no and material group. If I input plant how do I get the mat no and material group based on plant dynamically?  
AT SELECTION-SCREEN ON VALUE-REQUEST FOR MATERIAL.  
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' to get material and material group for the plant. 

5. How do you get output from IDOC?  
Data in IDOc is stored in segments, the output from Idoc is obtained by reading the data stored in its respective segments. 

6. When top of the page event is triggered?  
After excuteing first write statement in start-of-selection event. 

7. Can we create field without data element and how?  
In SE11 one option is available above the fields strip. Data element/ direct type. 

8. How do we debug sapscript?  
Go to SE71 give lay set name , go to utilities select debugger mode on.

9. Which transaction code can I used to analyze the performance of ABAP program.  
TCode AL21.

10. How can I copy a standard table to make my own z_table. 
Go to transaction SE11. Then there is one option to copy table. Press that button.  Enter the name of the standard table and in the Target table enter Z table name and press enter.

Following are some of the answers which I gave upto my knowledge.

1. What is the use of 'outerjoin'  
Ans. With the use of outer join you can join the tables even there is no entry in all the tables used in the view. 
        In case of inner join there should be an entry in al the tables use in the view.

2. When to  use logical database? 
Ans. Advantage of Logical databases: 
        less coding s required to retrieve data compared to normal internel tables. 
        Tables used LDB are in hierarchial structure.

3. What is the use of 'table index'? 
Ans .Index is used for faster access of data base tables.

4. What is the use of 'FOR ALL ENTRIES'? 
Ans. To avoid nested select statements we use SELECT FOR ALL ENTRIES statement. 
        If there r more than 10000 records SELECT FOR ALL ENTRIES is used. 
        Performance wise SELECT FOR ALL ENTRIES is better to use.

5. Can you set up background processing using CALL TRANSACTION? 
       Yes,Using No Screen Mode.

6. What are table buffers? 
    Table buffers reside locally on each application server in the system. The data of buffered tables can thus be accessed  
    directly  from the buffer of the application server. This avoids the time-consuming process of accessing the database.

    Buffering is useful if table needs to be accessed more no. of times in a program.

With Compliments from: Pavan

1. How do I set a flag for a field in any table? 
Create a char field of length 1. for example field STAS-LKENZ is Deletion Indicator. It means that if the value in the field is 'X' then that record has been deleted.

2. Can I execute user exits? If yes, how? 
Yes you can. after finding the user exit, you need to use, goto CMOD add ur user-exit to your project. Then activate the FM which you require. Now go into that function module there will be a Include program wit name ZX* . Double click on it, it will ask to create an object, answer it Yes and then write your code in it. 

3. How do I find the output type of a table or a program? 
Table TNAPR / NAST                *-- Raj

专注于企业信息化,最近对股票数据分析较为感兴趣,可免费分享股票个股主力资金实时变化趋势分析工具,股票交流QQ群:457394862

本文转自沧海-重庆博客园博客,原文链接:http://www.cnblogs.com/omygod/archive/2007/12/16/996988.html,如需转载请自行联系原作者
目录
相关文章
|
1月前
|
存储 数据处理 开发者
ABAP 如何把 unicode 代码点转换成字符
ABAP 如何把 unicode 代码点转换成字符
19 0
|
6月前
|
存储 语音技术 UED
如何用 ABAP 代码进行文本转语音的输出工作
如何用 ABAP 代码进行文本转语音的输出工作
36 0
|
19天前
|
存储
使用 ABAP 代码打印出 SAP CRM 系统里所有维护了 Sales Area 的 business partner id
使用 ABAP 代码打印出 SAP CRM 系统里所有维护了 Sales Area 的 business partner id
19 0
|
2月前
|
SQL 数据库
小技巧:如何让 ABAP OPEN SQL 代码具有自解释性(Self-Explained)
小技巧:如何让 ABAP OPEN SQL 代码具有自解释性(Self-Explained)
25 0
|
1月前
|
BI
工具分享 - 将一个 ABAP Function Group 内所有 Function Module 按照代码行数从高到低排序并显示试读版
工具分享 - 将一个 ABAP Function Group 内所有 Function Module 按照代码行数从高到低排序并显示试读版
15 0
|
1月前
|
存储
ABAP 代码从十进制转二进制的方法
ABAP 代码从十进制转二进制的方法
21 0
|
2月前
|
XML 持续交付 开发工具
SAPGUI 里 ABAP 代码导出成 PDF 格式的隐藏小技巧
SAPGUI 里 ABAP 代码导出成 PDF 格式的隐藏小技巧
27 0

热门文章

最新文章