06-28-2007 12:03 PM
hi experts
i want to know the name of the enchancement which will disable the quantity field in sales order transaction,and if any one know the implementation code of the same then please let me know.
thaking you,
06-28-2007 12:09 PM
Hi,
user exit USEREXIT_FIELD_MODIFICATION inside this you can write the logic as follows
case screen-name.
when 'VBAP-PRODH'.
screen-input = 0.
modify screen.
when 'COBL-PRCTR'.
screen-input = 0.
modify screen.
endcase.
<b>Reward points</b>
Regards
06-28-2007 3:31 PM
Hi
the user exit name u have sent is not an user exit,it is a perform name written
by the SAP user so we are not allowed to modify that one if u know any enchancement name which will allow to disable the quantity field in VA01
transaction
06-28-2007 4:31 PM
Hi Ameen,
In SD module, SAP has implemented all the user exits differently. So here, you will get the userexits in FORM/PERFORM mode. But in actual, all of these are user exits only. So you can write your code in that form. If you check the documentation as well, it will tell you the same thing.
So please write the code where you need to check the field name you want to disable, make INPUT = 0 and modify the screen.
Regards,
Sandip Kamdar
06-28-2007 6:31 PM
i found the enhacement "v45a0003" which is accessing all the screen fields of
va01 and wrote the code like this
if screen-name = '*vbap-kwmeng'.
screen-input = 0.
modify screen.
endif.
but it is not working
and again i tried like this
If screen-name ='*vbap-kwmeng'.
c_screen_active = 1.
c_screen_invisible = 0.
c_screen_input = 0.
modify sceen.
endif.
then the lable of the quantity field is invisible but field is still enable.But i need the whole quantity field to be disable.
06-29-2007 10:03 AM
i found the enhacement "v45a0003" which is accessing all the screen fields of
va01 and wrote the code like this
if screen-name = '*vbap-kwmeng'.
screen-input = 0.
modify screen.
endif.
but it is not working
and again i tried like this
If screen-name ='*vbap-kwmeng'.
c_screen_active = 1.
c_screen_invisible = 0.
c_screen_input = 0.
modify sceen.
endif.
then the lable of the quantity field is invisible but field is still enable.But i need the whole quantity field to be disable.
06-29-2007 12:35 PM
Try this
if screen-name = 'VBAP-KWMENG'.
screen-input = 0.
modify screen.
endif.
if the above solution doesn't work, then try this
if screen-name = 'RV45A-KWMENG'.
screen-input = 0.
modify screen.
endif.