Skip to Content
0
Former Member
Feb 24, 2011 at 01:14 AM

disable amount column in grid of VA02

130 Views

I run transaction VA01 or VA02 then I click item conditions button.

Change standard Order form appear.

Now I want to disable amount column in grid based on condition for example CnTy = 'PR00'

How I do that?

I've tried to code inside include file LV61A002 as follows:

if sy-tcode = 'VA01' or sy-tcode = 'VA02'.

loop at screen.

if screen-name = 'KOMV-KBETR'.

screen-input = 0.

modify screen.

endif.

endloop.

endif.

but it doesn't work.

It runs screen-input = 0 but nothing happens.