cancel
Showing results for 
Search instead for 
Did you mean: 

How to change a field attribute for input enable in VF02

former_member181995
Active Contributor
0 Kudos

Hi Guys,

Is there any chance to change a field attribute of VBRK-KURRF(Exchange rate-acc) (Header level)as imputable/changeable in VF02 only for certain company code ?

Before we go with any SAP standard changes for doing this, I want to make sure if this is possible with any configuration?

Any inputs?

Thank you,

Amit.

Accepted Solutions (1)

Accepted Solutions (1)

former_member217082
Active Contributor
0 Kudos

Hi Amit

I think you should go with the user exit , kindly check the following user exit which will help you

USEREXIT_FILL_VBRK_VBRP (Module pool SAPLV60A, program RV60AFZC)

This user exit is only called when the billing document is created

Regards

Srinath

former_member181995
Active Contributor
0 Kudos

Hi Sri nath,

I already checked all exit with programs RV60AF* , and found none of them let us flexibility to change the field attributes before output. Like we have a routine USEREXIT_FIELD_MODIFICATION for Sales order.

Although i found one standard routine, I need to populate the code in this, once I will done with this and if work fine than i will post the solution.

Thank you,

Amit.

former_member217082
Active Contributor
0 Kudos

Hi amit

Have you checked through Transaction variants SHD0 then . I hope you can make that feild modifiable.IF option is there

Regards

Srinath

former_member181995
Active Contributor
0 Kudos

Correct me if Iu2019m wrong, I guess we cannot change field attribute from SHD0 based on specific condition.It will reflect for all means globally/for all comp code.

But I want to make this field enable only for certain comp codes.

Thanks,

Amit.

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Amit,

Apart from SHD0 let me suggest another option. i.e.

Press F1 on the field and check for technical information.

Check the program name and screen number.

Goto T.Code SE51,enter the program name and screen number in that.

Check the layout and in the field you requested there you can find in the layout.

Click on the field and go to attributes where you can make it as editable or inputtable text box.

Regards,

Mohan.

former_member181995
Active Contributor
0 Kudos

That's what i already done.

I'm able to make field changeable for all company codes

Anyways i have done it well with Enhacement for certain comp codes.

As soon as i will get SAP access i will post the solution soon.

P.S. However I'm still open, if this is possible with configuration.

Thank you.

Former Member
0 Kudos

Hi Amit ,

We have the same problem we need to do the same thing.

Can u please suggest me how u have done the kurrf field as enable.

former_member181995
Active Contributor
0 Kudos

Hi Madhu,

Although, I didnu2019t found any Solution by which it can be possible with Configuration.

But I found The Screen and its PBO module Code which i have to change to manage our Business Requirement.

The screen No is 6105 of Program SAPMV60A.You can change the field Attribute with changing this Screen with Access key.

And for PBO code you have to put small code in include MV60AO0F_INVIVIBLE_SEL_FIELD with help of ABAPer.

For this Field you have to add below piece of code.

IF SCREEN-NAME EQ 'VBRK-KURRF'.
 SCREEN-INPUT = 0.
  MODIFY SCREEN.

Cheers,

Amit.

Former Member
0 Kudos

Hi,

I am afraid if this can be possible in standard SAP...

Hrishi

former_member181995
Active Contributor
0 Kudos

Hi,

Thanks for reply.

I'm able to make field changeable for all company codes, but not able to success to make this only for certain company codes.