cancel
Showing results for 
Search instead for 
Did you mean: 

Grey out profit center field in account assignment in VA01/VA02

0 Kudos

Hi All,

I have a requirement where i have to disable profit center field in Account Assignment tab in VA01/VA02 transactions for particular users based on some conditions.

I tried it using Exit USEREXIT_FIELD_MODIFICATION in program MV45AFZZ.

I am able to modify rest of the fields of sales order using this exit, but not profit center.

If anyone came across similar requirement, kindly help me out.

Thanks,

Malvi Aggarwal

Accepted Solutions (1)

Accepted Solutions (1)

raymond_giuseppi
Active Contributor
0 Kudos

Those fields are part of the coding block, managed in a FI/CO dynpro (subscreen) not by SD application.

0 Kudos

Hi Raymond,

In that case, can you please help me how i can modify the desired field.

Thanks,

Malvi

raymond_giuseppi
Active Contributor
0 Kudos

There is a PBO exit for customer fields in coding block, there you could use a LOOP AT SCREEN to disable input of some fields such as COBL-PRCTR. (EXIT_SAPLKACB_001 in enhancement ACCOBL01)

Warning: But you must make sure that this exit won't disturb standard processing of the coding block (e.g. checking transaction code, some data exported to memory in SD or the Abap call stack)

Answers (1)

Answers (1)

Lakshmipathi
Active Contributor
0 Kudos

When I searched in Google with the text "va02+greyed out profit center+sap", the first link i got was on the similar requirement. Other similar discussion have taken place starting with the same text what you used in the subject. Take the inputs from there