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

Answer some more questions on Basic ABAP?

Former Member
0 Likes
756

hi all

Answer the Following,

1)at wch loop "ABC' will be printed.

loop at itab.

do 8 times.

write : ' '.

enddo.

skip.

write : 'ABC'.

endloop.

a)8

b)9

c)10

d)1

2)to sort itab which of the following field will help(more than 1 answer id correct)

data : begin of itab,

a) field(10) type p,

b) field(10) type c,

c) field(10) type n,

d) field(10) type x,

end of itab,

3)which SQL stmt does not LOCK the corresponding DB entries?

a)select single *

b)insert

c)select single update

d)modify

4)data : fielda(10) value 'ABCD'.

if fielda CO 'ABCD'.

what is the value of sy-fdpos.

a)0

b)ABCD

c)A

d)1

5) to delete the contents of itab(with header line)

a)clear itab

b)clear itab[]

c)refresh itab

d)refresh itab[]

6)what will be the value of F1 after submiting

program abc.

data :F1.

F1 = ' '.

perform out.

submit abc1 using F1 exporting list to memory id 'xyz'.

program abc1.

form out.

data : F1.

F1 = '1'.

endform.

a)space

b)1

c)run time error

d)0

reward points will be given for all correct answers....!!

5 REPLIES 5
Read only

jaideeps
Product and Topic Expert
Product and Topic Expert
0 Likes
727

hi asha,

1.1

3.a

4.none (ans :4)

5. b

in 1 st question what does itab holds..

thanks

jaideep

jaideep srinivasan

Read only

Former Member
0 Likes
727

hi,

ans:

1: d

5:b

reward points if useful,

regards,

seshu.

Read only

Former Member
0 Likes
727

Hi,

1)at wch loop "ABC' will be printed. - d)1.

2)to sort itab which of the following field will help - c) field(10) type n.

3)which SQL stmt does not LOCK the corresponding DB entries - a)select single *

4)data : fielda(10) value 'ABCD'.if fielda CO 'ABCD'.what is the value of sy-fdpos. 4

5)to delete the contents of itab(with header line) - refresh itab.

Regards,

Priyanka.

Read only

Former Member
0 Likes
727

1. a

2. b / c

3. a

4. d

5. c

6. a ( => F1 in the routine is local to the routine, this isn't the same )

Erwan

Read only

Former Member
0 Likes
727

Hello

1)at wch loop "ABC' will be printed. - d)1.

2)to sort itab which of the following field will help - any field can be used.

3)which SQL stmt does not LOCK the corresponding DB entries - a)select single *

4)data : fielda(10) value 'ABCD'.if fielda CO 'ABCD'.what is the value of sy-fdpos. 4

5)to delete the contents of itab(with header line) - refresh itab[].

6) None as it would give syntax error.