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: 

Disable 'Change partner address' in VA02

Former Member
0 Kudos

Dear all,

We are on ECC6.0.

In transaction VA02, "Header" > "Partner" > "Detail" for Sold-to, Bill-To, Payer ..

it is now possible to edit the name / address / Phone etc .

Is it possible to disable the manual editing of this address-field?

This is necessary since on our invoices, this address is displayed.

We have tried several customizing settings in "Partner determination", but without success.

I've tried to build some user-exit in program 'MV45AFZZ' but without success.

Any help would be greatly appreciated and detail information would be better.

Thank you.

5 REPLIES 5

former_member156446
Active Contributor
0 Kudos

Former Member
0 Kudos

Hi Jung,

Try this user exit: MV45ATZZ

but you need to know the screen number and field name.

code should be write like:

IF ( SY-TCODE EQ 'VA02' ).

LOOP AT SCREEN.

IF SCREEN-GROUP1 EQ 'A1' and screen-name = 'ADRC'

SCREEN-INPUT = 0. " Make the fiels input disabled

MODIFY SCREEN.

ENDIF.

ENDLOOP.

ENDIF.

regds,

Srinu

0 Kudos

Alas, user exit MV45ATZZ is only for additional data definitions, you cannot place that code there. In MV45AFZZ it doesn’t work either because ADRC is not on the screen, partner number is. And you do not want to block a change of partner number.

Cheers, Marjon

Former Member
0 Kudos

Change the value of FIF_DISPLAY_ONLY to 'X' in function module SD_PARTNER_ADDR_DIALOG_INTERN

Former Member
0 Kudos

Hi Jason,

According to your this requirement, did you find any solution? Actually, I encounter the same requirement as you and looking for a solution. Could you please kindly tell me. Thank you so much.

Cheers, Jay