Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

ABAP FAQ

Former Member
0 Likes
904

Hi experts,

Need help for this, answers with comments would be very helpful. Many thanks!

1. Program specs call for screen 100 to appear in a modal dialog box.

PAI

-


module do_something.

If field1 = 'X'.

Call screen '0100'.

Endif.

Endmodule.

Why does the above code fail to produce a modal box?

a) The addition 'starting at X' is left out.

b) The screen should be numbered 900.

c) The code must occur in the PBO.

d) The screen is of the wrong type.

e) Screens are not called within modules.

2. Which one of the following is an example of an asynchronous update?

a) modify ztable from wa.

b) update ztable set field1 = '123'.

c) update ztable from ztable.

d) insert wa into ztable.

e) call function 'update_table' in update task

3. Which one of the following statements would occur in the PBO of a dialog program using table control?

a) loop at itab.

b) loop at itab with control itab_tc.

c) module exit at exit-command.

d) module user_command.

e) set screen '0100'

4. Which one of the following is true about a function module?

a) Function modules are locally accessible objects.

b) Function modules have inbound and outbound parameters.

c) Function modules have no built-in exception handling.

d) Function modules CANNOT be created by a programmer.

e) Function modules use a shared memory area.

Hi experts,

Need help for this, answers with comments would be very helpful. Many thanks!

1. Program specs call for screen 100 to appear in a modal dialog box.

PAI

-


module do_something.

If field1 = 'X'.

Call screen '0100'.

Endif.

Endmodule.

Why does the above code fail to produce a modal box?

a) The addition 'starting at X' is left out.

b) The screen should be numbered 900.

c) The code must occur in the PBO.

d) The screen is of the wrong type.

e) Screens are not called within modules.

2. Which one of the following is an example of an asynchronous update?

a) modify ztable from wa.

b) update ztable set field1 = '123'.

c) update ztable from ztable.

d) insert wa into ztable.

e) call function 'update_table' in update task

3. Which one of the following statements would occur in the PBO of a dialog program using table control?

a) loop at itab.

b) loop at itab with control itab_tc.

c) module exit at exit-command.

d) module user_command.

e) set screen '0100'

4. Which one of the following is true about a function module?

a) Function modules are locally accessible objects.

b) Function modules have inbound and outbound parameters.

c) Function modules have no built-in exception handling.

d) Function modules CANNOT be created by a programmer.

e) Function modules use a shared memory area.

4 REPLIES 4
Read only

Former Member
0 Likes
714

1 . Why does the above code fail to produce a modal box?

Ans : e , Screen should be of type Modal dialog Box

3. Which one of the following statements would occur in the PBO of a dialog program using table control?

b) loop at itab with control itab_tc.

Read only

uwe_schieferstein
Active Contributor
0 Likes
714

Hello Marc

You have to add:

  CALL SCREEN '100' STARTING AT ... ...
                                 ENDING    AT ... ...

Regards

Uwe

Read only

Former Member
0 Likes
714

Hello Marc,

Here are the answers -

1.

2. E.

Reason - The addition "IN UPDATE TASK" will always cause an asynchronous update. The updates are all fired when the next COMMIT WORK statement in executed.

3. B.

Reason - See this <a href="http://help.sap.com/saphelp_nw04/helpdata/en/9f/dbac5135c111d1829f0000e829fbfe/frameset.htm">link</a>

4. This does not make much sense to me. There can be more than one answer.

For Example -

--> Function modules <i><b>can</b></i> use a shared memeory area if the top include has some data.

--> Function Modules <b><i>can</i></b> have inbound and outbound parameters. but this is not always necessary.

=========================

Hope this helps.

Regards,

Anand Mandalika.