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: 

To deactivate the standard field EXTI1 in VT01n and in VT02n transaction

Former Member
0 Kudos

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.

1 ACCEPTED SOLUTION

sridhar_k1
Active Contributor
0 Kudos

Try Enhancement V56BMOD component EXIT_SAPLV56B_001 to change field attributes.

Regards

Sridhar

5 REPLIES 5

sridhar_k1
Active Contributor
0 Kudos

Try Enhancement V56BMOD component EXIT_SAPLV56B_001 to change field attributes.

Regards

Sridhar

Former Member
0 Kudos

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

venkata_ramisetti
Active Contributor
0 Kudos

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

0 Kudos

Hi ram,

I have set the FMOD-CONTROL must be set to FMOD-ON but it was not called in that screen.

Former Member
0 Kudos

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