11-17-2006 3:18 PM
Hi Friend,
I have an requirement to make disable the field EXTI1 in VT01n transaction or in VT02n transaction. I have tried with " USEREXIT_FIELD_MODIFICATION in MV56AFZZ where wecan change screen attributes of any field by setting SCREEN-INPUT to '0' if SCREEN-NAME = "your screen-name'. I" . But it was not triggering at the screen. Can anyone help me to resolve this issue.
With Regards,
Ajit Prasad.
11-17-2006 3:26 PM
Try Enhancement V56BMOD component EXIT_SAPLV56B_001 to change field attributes.
Regards
Sridhar
11-17-2006 3:26 PM
Try Enhancement V56BMOD component EXIT_SAPLV56B_001 to change field attributes.
Regards
Sridhar
11-17-2006 3:27 PM
Hi,
That userexit is commented out and no longer called..
Use the function exit EXIT_SAPLV56B_001
Once you change the value in the Function exit set the exporting parameter to E_SCREEN_MODIFIED = 'X'.
Check the following code in the include LV56BF01 for more details..
c_screen = screen.
Customer-Function
<b>* perform userexit_field_modification(sapmv56a).</b>
CALL CUSTOMER-FUNCTION '001'
EXPORTING
is_vttk = is_vttk
is_vtts = is_vtts
i_in_table_control = in_table_control
i_only_display = display
IMPORTING
e_screen_modified = l_screen_modified
CHANGING
c_screen = c_screen
EXCEPTIONS
OTHERS = 0.
IF NOT l_screen_modified IS INITIAL. fmod-control = fmod-on. ENDIF.
ENDFORM. " FIELD_CONTROL
Thanks,
Naren
11-17-2006 3:27 PM
Hi Ajit,
Did you set the the following in the exit?
There is a comment above to the form definition that is saying the following.
If an attribute is changed, *
the field FMOD-CONTROL must be set to FMOD-ON. *
Thanks
Ramakrishna
11-17-2006 3:30 PM
Hi ram,
I have set the FMOD-CONTROL must be set to FMOD-ON but it was not called in that screen.
11-17-2006 3:33 PM
Hi Ajit,
As I mentioned earlier..Check the code in the include LV56BF01..The userexit calling is commented..
Please check my previous reply for details..
Thanks,
Naren