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: 

need to know_enchancement_of_VA01_which _allow_to_disable_quantity field

Former Member
0 Kudos

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,

6 REPLIES 6

Former Member
0 Kudos

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

0 Kudos

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

0 Kudos

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

0 Kudos

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.

0 Kudos

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.

0 Kudos

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.