Subscribe

RSS Feed (xml)

Powered By

Skin Design:
Free Blogger Skins

Powered by Blogger

Tuesday, April 22, 2008

Q. What is a function module? ABAP Interview Questions

Broadly speaking Function module is one modularization technique.

The different modularization techniques available are
1) Include programs

2) Macros

3) Function Modules

4) Subroutines

5) Methods

Q. What is the use of modularization?

1) Improves readability. That means, easy to read

2) Re-usability, the procedures can be used in other programs as well

3) Encapsulation of data

4) Reduces code redundancy, i.e. Avoids duplication of code


Q. How to create Function Module?

We can create function modules by using function builder. The transaction code
for function builder is SE37.

Q. Is it necessary to attach the function module to a function group?

Yes, every function module must be attached to a function group. That means
function group acts as a container. A single function group may contain one or
more function modules which are logically related.

Q. How many types of function modules are there?

There are two types of function modules –

1) Normal

2) Remote (RFC)

Q. How RFC function module differs from normal function module?

RFC stands for remote function call. As the name itself reveals, this function module can be called remotely by using RFC destination. Here remote means, external system, it may be a SAP system or Non-SAP system like Java system.

Q. What are the advantages of function modules?
As we discussed above, it is one of the modularization techniques which helps code re-usability. We can handle exceptions using function modules.

No comments:

Post a Comment

Content

Recent Topics