Você está na página 1de 4

1.What is a function module?

Differnitate between function group and function mod


ule?
2.What happens when function group is created?What is the significance of both i
ncludes creaored in tableted?
3.Can function modules, subroutine ,includes be accessed locally?if no why, if y
es how.
4.difference between function module and subrutine?
5.data declared in include is created at run time or compile time.
6.Which keyword is use to access function module.
7.Is function group stored in table? if yes name the table
8.What will be the output.
perform hi.
perform hello.
form hi.
write 'hi'.
form hello.
write 'hello'.
endform.
endform
9.perform foo.
form.
write 'foo'.
perform foo.
endform.
10.data:lv_num type i value 10.
write 'lv_num'.
perform check.
write lv_num.
11parameters:p_num type i.(p_num = 50)
perform add.
form add.
at selection screen.
pnum = pnum + 10.
endform.
start-of-selection
write:p_num.
12.perform add using p_num type i.(p_num = 100)
form add using p_num type i.

perform sub.
p_num = p_num +90.
write p_num.

endform.
form sub.
p_num = p_num - 20.
endform.
13.data:gv_value type i value 100,
gv_value1 type i value 100,
gv_value2 type i value 200.
perform check using/changing gv_value gv_value1 gv_value2
form check using/changing p_gv_value value(p_gv_value1) changing values(p_gv_va
lue2)
data:lv_name type i.
lv_name = p_gv_value + 30.
p_gv_value = p_gv_value + 10.
lv_name = p_gv_value1 + 30.
p_gv_value1 = p_gv_value1 + 10.
lv_name = p_gv_value2 + 30.
p_gv_value2 = p_gv_value2 + 10.
endform.(gv_value = ? p_gv_value = ? lv_name= ?
gv_value1 = ? p_gv_value1 = ?
gv_value2 = ? p_gv_value2 = ? )
14.perform add using p_num type i.(p_num = 100)
form add using p_num.


p_num = p_num +90.
write p_num.

endform.
form sub.
p_num = p_num - 20.
endform.
write p_num.
top-of-page.
write 'sum is'.
15.name the tables in which function module, sub routine and tables are stored?
16.is include an executable program?Is there any syntax chek in include.
17. write the syntax for passing tables and structure in subroutine and function
module.
18.Can the importing parameter pass by value can be changed inside function modu
le.
19.Can I call a subroutine definition present in one program from another.If yes
how.
and explain me thine. affect on variables in pass by value and reference in c
ase of external sub routine.
20.What is the difference between formal arugument and actual argument in a sub
rotutine.
21. Can we change the value of exported and tables parameter in a function modul
e.
22,what are exceptions in function module?How it can be handled.
23. what is the difference between changing and exporting parameter in function
module.
24.Can i return a value of a variable in a subroutine and function module? if y
es how if no why?
25.what is modularisation? name the tecniques used?
26.How exceptions can be raised inside a function module.Can I raise more than o
ne exception inside one fm.
27.Can i call a subroutine inside a function module.
28.How I can know the function group of already existing function module.
29.Which transaction is used for creating function module,subroutine and include
30which keyword is use bind our include with our pgm? How we can call declare an
d define subroutine and function module.

Você também pode gostar