2007 Mar 20 8:03 AM
Hi experts,
I have added customer fields with the Enhancement MEREQ001. How is it possible to darken this fields when I switch from edit to view in transaction ME52N/ME53N?
Thanks in advance
2007 Mar 20 10:45 AM
Hi,
assign a value to your screen fields (see attributes) eg to screen-group1.
in the EXIT_SAPLMEREQ_001 you check for the activity type:
DATA: ls_mereq_item TYPE mereq_item.
ls_mereq_item = im_req_item->get_data( ).
IF NOT im_req_item IS INITIAL.
gf_aktyp = im_req_item->GET_ACTIVITY( ).
endif.
In the PBO of your cutomer screen you use following to switch to "no input":
IF gf_aktvt = 'A' "Display mode
LOOP AT SCREEN.
if screen-group1 = 'ZNO'
screen-input = 0.
MODIFY SCREEN.
endif.
ENDLOOP.
ENDIF.
Rgds,
JP
Hi experts,
I have added customer fields with the Enhancement MEREQ001. How is it possible to darken this fields when I switch from edit to view in transaction ME52N/ME53N?
Thanks in advance
2007 Mar 20 10:45 AM
Hi,
assign a value to your screen fields (see attributes) eg to screen-group1.
in the EXIT_SAPLMEREQ_001 you check for the activity type:
DATA: ls_mereq_item TYPE mereq_item.
ls_mereq_item = im_req_item->get_data( ).
IF NOT im_req_item IS INITIAL.
gf_aktyp = im_req_item->GET_ACTIVITY( ).
endif.
In the PBO of your cutomer screen you use following to switch to "no input":
IF gf_aktvt = 'A' "Display mode
LOOP AT SCREEN.
if screen-group1 = 'ZNO'
screen-input = 0.
MODIFY SCREEN.
endif.
ENDLOOP.
ENDIF.
Rgds,
JP
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |