Application Development 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 field

Former Member
0 Kudos

hi,

i want to develop a report such that

roll no : ...... (i use roll no as parameters)

class no: ..... (same as parameters)

student object : ......

in run time i want to concatenate students roll no and class no ...

and then want to display it in student object. i want to keap student object field as read only..

so please suggest me how can i declare student object read only .(i am making normal report program not using module pool) and fill it with detail on the same screen.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

Hi after entering the values you need to press the enter to get the value in the p_object screen field.

PARAMETERS : p_rollno(4) TYPE c.
PARAMETERS : p_clasno(4) TYPE c.
PARAMETERS : p_object(10) TYPE c.

AT SELECTION-SCREEN OUTPUT.

  LOOP AT SCREEN .
   IF  SCREEN-NAME CS 'P_OBJECT'.
    SCREEn-INPUT = '0'.
    SCREEn-OUtPUT = '1'.
    MODIFY SCREEN.
    CLEAR SCREEN.
  ENDIF.
  ENDLOOP.

  CONCATENATE p_rollno p_clasno INTO p_object.

2 REPLIES 2

Former Member
0 Kudos

Hi,

Hi after entering the values you need to press the enter to get the value in the p_object screen field.

PARAMETERS : p_rollno(4) TYPE c.
PARAMETERS : p_clasno(4) TYPE c.
PARAMETERS : p_object(10) TYPE c.

AT SELECTION-SCREEN OUTPUT.

  LOOP AT SCREEN .
   IF  SCREEN-NAME CS 'P_OBJECT'.
    SCREEn-INPUT = '0'.
    SCREEn-OUtPUT = '1'.
    MODIFY SCREEN.
    CLEAR SCREEN.
  ENDIF.
  ENDLOOP.

  CONCATENATE p_rollno p_clasno INTO p_object.

0 Kudos

thanx,

it help me to solved my problem.