SAP_ABAP_PA题例(16~30)

本文深入探讨ABAP编程中的关键概念与实用技巧,包括参数传递、屏幕处理、错误检查、数据类型定义、调试方法、变量使用、运输任务管理、内存操作及程序验证等核心主题。通过具体问题解析,帮助读者掌握ABAP编程的精髓。
部署运行你感兴趣的模型镜像

QUESTION 16

You want to define a formal parameter to a subroutine that accepts only internal tables of types standard and type sorted as actual parameters. Which of the following generic ABAP data types must you use?

  1. Sorted table
  2. Standard table
  3. Index table
  4. Hashed table

Answer: C

Section: ( none )

QUESTION 17

Which fo the following ABAP standard types are incomplete?

  1. F
  2. N
  3. X
  4. STRING

Answer: BC

Section: ( none )

QUESTION 18

Which statement ends a screen sequence and starts from the initial screen?

  1. LEAVE TO SCREEN 0
  2. LEAVE SCREEN
  3. CALL SCREEN
  4. SET SCREEN 0

Answer: AD

Section: ( none )

QUESTION 19

Which of the following actions can be performed in the Process After Input (PAI) processing block?

  1. Set fo the GUI status of the screen
  2. Modify screen attributes dynamically
  3. Set title bar
  4. Check the function code

Answer: BD

Section: ( none )

QUESTION 20

Using the system table what can you modify through a LOOP AT SCREEN ... ENDLOOP construct?

  1. Values of screen elements
  2. Function codes of buttons
  3. Screen status
  4. Attributes of screen elements

Answer: D

Section: ( none )

QUESTION 21

Which ABAP statement can make an element visible that you statically defined as invisible?

  1. SCREEN-INVISIBLE = 0
  2. SCREEN-ACTIVE = 1. C. SCREEN-ACTIVE = 0.

D. SCREEN-INVISIBLE = 1.

Answer: CD

Section: ( none )

QUESTION 22

Which of the following function types in a GUI status are reserved for internal use?

  1. S - System
  2. E - Exit
  3. H - Help request
  4. T - Transaction

Answer: ABD

Section: ( none )

QUESTION 23

When is a foreign key check performed on an input/output field?

  1. If the fields refers to a dictionary field for which an append search is defined
  2. If the fields refers to a dictionary field for which a value help is defined
  3. If the field refers to a dictionary filed for which a check table is defined
  4. If the field refers to a dictionary filed for which a search help is defined

Answer: C

Section: ( none )

QUESTION 24

You want a validation routine for a selection screen field if a wrong value is entered into the field an error message should be displayed and the focus should move to the field. Which event do you use to achieve this?

  1. START-OF-SELECTION
  2. AT-SELECTION-SCREEN
  3. END-OF-SELECTION
  4. INITIALIZATION

Answer: B

Section: ( none )

QUESTION 25

Which of the following ABAP code lines is valid?

  1. CONSTANTS gc_matnr TYPE matnr VALUE 100'.
  2. PARAMETERS p_matnr TYPE matnr DAFAULT "100'.
  3. DATA gc_matnr TYPE matnr DEFAULT '100'.
  4. SELECT-OPTIONS s_matnr TYPE matnr DAFAULT '100'.
  5. STATICS s_matnr TYPE matnr TYPE matnr DAFAULT '100'.

Answer: AB

Section: ( none )

QUESTION 26

How can you add a section breakpoint to your program?

  1. Set a breakpoint in the ABAP debugger and press F8
  2. Set a breakpoint in the ABAP debugger and select Save
  3. Set a breakpoint in the ABAP editor
  4. Execute command /h

Answer: BC

Section: ( none )

QUESTION 27

You define a generic variable that can hold the ABAP types C,D,N,STRING and T. You want to restrict the use of other ABAP types. Which generic data type must you use in the definition?

  1. CLIKE
  2. SIMPLE
  3. DATA
  4. CSEQUENCE

Answer: A

Section: ( none )

QUESTION 28

Which type of transport task is used when you modify SAP standard objects?

  1. Transport of copies
  2. Workbench
  3. Repair
  4. Development/Correction

Answer: CD

Section: ( none )

QUESTION 29

In an ABAP program you have the following code sequence: DATA var TYPE n LENGTH 1. FIELD-SYMBOLS <fs> TYPE c. ASSING var TO <fs> CASTING. Which type is used to dast the assigned memory area?

  1. The default type I
  2. The type of var
  3. The default type STRING
  4. The type of

Answer: B

Section: ( none )

QUESTION 30

You want to move a transport request from the development system to the subsequent system. Which of the following are prerequisites for this?

  1. The extended program check must show no warnings
  2. The transport request must released
  3. All tasks of the transport request must be assigned to the same user
  4. All object included in the transport request must be activated

Answer: BD

Section: ( none )

 

您可能感兴趣的与本文相关的镜像

Wan2.2-T2V-A5B

Wan2.2-T2V-A5B

文生视频
Wan2.2

Wan2.2是由通义万相开源高效文本到视频生成模型,是有​50亿参数的轻量级视频生成模型,专为快速内容创作优化。支持480P视频生成,具备优秀的时序连贯性和运动推理能力

评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值