cancel
Showing results for 
Search instead for 
Did you mean: 

I need to make ZTERM in VA01 &VA02 read only fields.

Former Member
0 Kudos

I used SHD0 to create a screen variant, so the ZTERM in the header (under Sales tab screen 4440) is fine, but the one in the line item overview in the ALV greed (screen 4480) is not taking the read only property. The check mark remains, but the field is still an input field.

any ideas?

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Michael,

we tried to achieve similar thing changing the status of the field in the Item Overview grid.

Our Abapers spend many futile hours by doing the code in the user Exit. I spent many hours trying in SHD0.

Please post the solution if you were able to achive it.

I will make a try once again and will let you know.

Regards,

Aj.

Former Member
0 Kudos

Hi Micheal.

You can use user exitm USEREXIT_FIELD_MODIFICATION for VA01 and VA02 in program MV45AFZZ and disable users to edit this field.

I believe field ZTERM stands for Terms of Payment and will default from customer master.

Hope this will solve your doubt.

Reward points if it does.

Regards

Ravi

Former Member
0 Kudos

i was able to easely disable the ZTERMS field in the header, but the one in the line-item view (sy-dynnr = '4900') is not working.

CASE screen-name.

WHEN 'VBKD-ZTERM'.

IF sy-tcode = 'VA01'

OR sy-tcode = 'VA02'.

screen-input = 0.

MODIFY SCREEN.

ENDIF.

Former Member
0 Kudos

Disbale only at the header and check or disbale only at the item and check. during SHD0

rgds

Sai