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: 

RE : user exit

Former Member
0 Kudos

Hi ..

My requirement is this.

I should make a column non-editable at any point of time.The field is vbap-mvgr2 in va02 transaction.

FORM userexit_field_modification.

CASE screen-name.

WHEN 'VBAP-MVGR2'.

screen-input = '0'.

MODIFY screen.

END FORM.

This will make it grayed only after the line item is entered.At the time of entering a new line item the vbap-mvgr2 s editable.

I want the rows under vbap-mvgr2 to be grayed initially itself.Is there any way I can do it?.

Thanks and regards,

Tharun Venkat

Thanks and regards.

Sujatha

4 REPLIES 4

suresh_datti
Active Contributor
0 Kudos

Hi,

You can try it by creating a Transaction varaint for VA02 in SHD0.

Regards,

Suresh Datti

Former Member
0 Kudos

Hi suresh,

How do I do that?.I have no idea on transaction variant.

Thanks and regards,

Tharun

0 Kudos

Pls find attached help link which explains in detail about Transaction Variant

http://help.sap.com/saphelp_nw04/helpdata/en/7d/f63a0a015111d396480000e82de14a/frameset.htm

regards

ashish

0 Kudos

1. Execte Tcode SHD0

2. Enter VA02 in the Transaction Code field

3. Enter Z_VA02 in the Transaction Variant field

4. Click create

5. Hit Enter

6. Change the attributes of the field you don't want to be edited to display only

7. Save it

8. In SE93 create a Variant Transaction, say ZVA02 & tie it to the Transaction Variant Z_VA02.

9. Let the users use ZVA02 instead of VA02.

Regards,

Suresh Datti