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: 

changing the field into display mode in XD01 using user exits

Former Member
0 Kudos

Hi,

Can any one please tell me the process or code to change the field in XD01 screen in to display mode from change mode by using the user exits.

Regards,

Chandu.

6 REPLIES 6

Former Member
0 Kudos

Hi,

I think its not advisable to change the change mode to display mode, thats why SAP provide tcode for create XD01, change XD02 and display XD03. If you are doing this just by authorization issue then, give the proper authorization to user.

If you push your requirement, you i'll endup nothing. Hope it helps

0 Kudos

Hi,

Thanks for your reply. In our requirement "We need to u201Cgrayu201D out the Search Term 1/2" in XD01 screen. I think this will be possible through User exits. I found the user exits for this but i need the example or formate of the code.

Ex: For field setting there is options like "Optional, Manatory,Suppresed."

Regards,

Chandu.

0 Kudos

I don't think it is not a good thing to override the customizing in a userexit. This is transacation XD01, which is create, which means the customer did not exist before, which means the field does not have any value. So you want to grey out the empty value. Why don't you set the field to supressed in the customizing? It does not make any difference in this case... (However oyu can check if BADI CUSTOMER_ADDRSCR_CHG is helpful)

0 Kudos

Hi,

Is there any other way to change the standard screen field into display mode as per the requirement with out axis key.

0 Kudos

Hi,

By using screen and transaction varients i modified the screen. i.e. changing the fields into display mode as per the requirement. But now i need to rename the fields in XD02. Is there any way for that.

If you know, please reply soon.

Thanks,

Chandu.

Former Member
0 Kudos

There is no need of user exits. we can do that through VArients. T-code SHD0