ABAP Questions Commonly Asked 1

简介:

1) What is the difference betwen abap and sap memories?

Data sending between internal sessions is called abap memory using import and export parameters. 
Data sending between main sessions using spa/gpa ie (set /get) parameters called sap memory.

2) What is nast? 
nast is a message status database table.

3) How to upload logo in sapscripts? 
 1... create a logo using paint shop and save it as tifffile then using RSTXLDMC (is a program name) used to upload logo 
 2.....create a logo using paint shop and save it as bmpfile then using SE78 you can do this.

4) What are symbols explain? 
Symbols are constants used to save un nessessary  work used in documentation 
 1. system symbols : example: &date& &time& etc 
 2. text symbols: they are defined using control statements 
     protect...endprotect, if endif, etc 
 3. standard symbols : all the messages are stored in TTDTG table 
 4. program symbols  : used in abap program example: &i_mara-matnr& &i_mara-ernam&

5) Difference b/w  call transaction and session. 
           Call transaction                   Ssession 
      1.  synchronous updation         only synchronous updation 
           optional 
      2.  errors can handled              error log is created 
           explicitely 
      3.  faster                                  slower  
      4.  less amount of data             more can transfer  
      5.  updation takes place           updation takes place 
           during program execution   once the session being created

6. Difference b/w smartforms and scripts. 
      Script                                   Smartforms 
      client dependant                    independant 
      not possible                           multiple page formats are possible 
      compulsory                           without  main window it can 
      labels are used                      labels cannot 
      not generated                        once session created function module  
  
7.  Errors hanling in call transaction 
 Two ways 
 1)... int table decalred having structure BDCMSGCOLL it is having certain variables not texts. ie msgtyp,megid, msgnr,  
msgvar1, msgvar2, msgvar3, msgvar4 etc all the text messages are stored using T100 database table. 
 2)....int table decalred having structure BDCMSGCOLL it is having certain variables . ie msgtyp,megid, msgnr,  
msgvar1, msgvar2, msgvar3, msgvar4 etc by declaring function modules format_message or write_message you can handle.

8. Errors handling in session  
 In SM35 error log is created, there you can handle.

9. Difference b/w select-options, valueranges, parameters.  
 par-----  singlevalue 
 select-options----range and itself implicitly creates internal table 
 value-ranges---- just for ranges 

10. How to remove duplicate entries? 
 using COLLECT 
 or 
 DELECT DUPLICATE ENTRIES FROM TABLENAME>

11. What are standard texts? 
 These are predefined texts used for create change and display tcode SO10 
 Starting with INCLUDE  
 These are for TERMS AND CONDITIONS .

12. What is the use of select....for all entries? 
 Avoid nested select or inner joins 
 uses 
   fast processing 
   sorting 
   delete duplicate entries

13. What is the difference b/w exit and continue? 
 exit----if it is in the loop comes out of the loop. 
      ----if it is in the subroutine comes out of the routine. 
      ----if it is in the program comes out of the preogram. 
 continue-----unconditional jumping out of the loop.

14. What is the diffenrence b/w collect and append. 
 collect----- checks whether it is there or not. if there adds integer,  packed, float otherwise remove 
 append-----just adding

15) What are barcodes? 
 For security purpose

Tips by : Ramana

What is meant by "Matchcode"?

Matchcodes are defined in two stages in Abap/4 Dictionary:

1) The revelant table and fields are stipulated in matchcode object. A matchcode object describes the set of all possible search paths for a search item. 
2) One or more matchcode ID can be defined for a matchcode object.  A matchcode ID describes a special search path for a search term.The fields or combination of fields via which the search is to take place is defined in the matchcode ID.

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

本文转自沧海-重庆博客园博客,原文链接:http://www.cnblogs.com/omygod/archive/2007/12/16/996996.html,如需转载请自行联系原作者
目录
相关文章
|
6月前
|
程序员
开发语言漫谈-ABAP
ABAP是SAP公司专门用于SAP软件环境的专门语言
|
SQL 设计模式 前端开发
【置顶】SAP ABAP开发实战——从入门到精通系列目录
本文章为SAP ABAP开发实战——从入门到精通系列的目录以及关于该教程的后续写作计划表
1567 0
【置顶】SAP ABAP开发实战——从入门到精通系列目录
|
BI
SAP ABAP在线预览文档对象的开发实现
应用场景:有些定制化开发(报表/功能增强等)完成之后,客户需要将其操作手册或者相关文档放在某个报表的初始画面,供实际操作者在线查阅,当然这个功能也同样类似于模板的下载,这里就以在线预览(直接打开)为例进行说明。
225 0
|
前端开发 JavaScript 数据库
如何使用 Restful ABAP Programming 编程模型开发一个支持增删改查的 Fiori 应用(二)
Restful ABAP Programming 编程模式是 ABAP 这门编程语言在不断向前进化的过程中,诞生的一门新的编程模型,简称为RAP模型。
156 0
如何使用 Restful ABAP Programming 编程模型开发一个支持增删改查的 Fiori 应用(二)
|
程序员 BI
也谈SAP业务顾问如何避免被ABAP开发顾问怒打
也谈SAP业务顾问如何避免被ABAP开发顾问怒打
也谈SAP业务顾问如何避免被ABAP开发顾问怒打
abap开发function module时使用tables传递参数报错过时的解决方法
如下图,我写了一个Function Module我要在tables中添加一个参数TABLES参数已过时不管怎么点击保存按钮,一直报错,怎么办呢?不管是不是过时,狂点回车,就保存了
1742 0
|
小程序
ABAP开发基础知识:11)子程序的建立与调用
ABAP子程序(Subrouting)是包含在程序中的一段具有一定功能的代码,能够将某个功能作为一个小程序包含在主程序中,以方便程序分析及阅读。特别是一此程序中多次用到的功能,可以简化代码,增加程序的可读性且便于维护。
1486 0
|
索引 机器学习/深度学习
ABAP开发基础知识:12)ABAP宏的应用
宏(Macros)是一段独立的代码,能实现数据的运算与输出,功能与子程序类似,主要应用于同一程序中某些重复的运算,以简化代码,其定义语法如下:        DEFINE INCREMENT.    "INCREMENT为自定义宏的名称。
924 0
ABAP开发基础知识:10)数据流控制
在SAP业务处理中,存在许许多多数据流,分别管控着不同的业务模式。下面介绍如何通过ABAP语法来实现数据流程管控。     1)使用IF语句实现分支       [Syntax]      IF .
1263 0