Application Development and Automation 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: 
Read only

Make some fields in transaction VF02 editable...

aris_hidalgo
Contributor
0 Likes
1,774

Hello Experts,

I have some requirements wherein I have to make 2 fields editable particularly(XBLNR and ZUONR). I

tried using transaction variant but it does not help. What are other ways to do this?

Thank you and take care!

Edited by: Viraylab on Nov 5, 2008 7:33 PM

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,255

Hi

I believe u need to change the dynpro, u can't do it by trx variant.

Max

Hello Experts,

I have some requirements wherein I have to make 2 fields editable particularly(XBLNR and ZUONR). I

tried using transaction variant but it does not help. What are other ways to do this?

Thank you and take care!

Edited by: Viraylab on Nov 5, 2008 7:33 PM

4 REPLIES 4
Read only

Former Member
0 Likes
1,256

Hi

I believe u need to change the dynpro, u can't do it by trx variant.

Max

Read only

0 Likes
1,255

Hi Max,

Thanks for your reply. This is for both VF01 and VF02. Also, if you know any EXIT or BADI that might help me with my requirement please let me know. I was searching the forums and testing out different exits/badis to no avail.

Thanks again.

Read only

0 Likes
1,255

Hi

There's no EXIT or BADI: because SAP don't want the user can change them.

U need to change the routine FORM FELDAUSWAHL_SONDERREGELN defined in the include MV60AF0F_FELDAUSWAHL_SONDERREG.

U need a piece of code like this:

IF T180-TRTYP <> 'A'.
    IF SCREEN-NAME = 'VBRK-XBLNR' OR
        SCREEN-NAME = 'VBRK-ZUONR'.
      SCREEN-INPUT = 1.
      MODIFY SCREEN.
   ENDIF.
ENDIF.

U should place that modification at the end of routine MV60AF0F_FELDAUSWAHL_SONDERREG.

If you're using a release equal or greater than 5, u can create an enanchement, else u need to obtain the access key by your OSS.

Anyway remember the information placed on those fields will be transfered to account document: so are you sure u want to allow the user can change them?

Max

Read only

0 Likes
1,255

Hi Max,

I guess I have no choice but to modify the standard. We are currently using version 6.0.

Thanks again!