cancel
Showing results for 
Search instead for 
Did you mean: 

Change a screen field label in Standard screen based on condition

Former Member
0 Kudos

Hello all,

I want to change a screen field lable on SAP standard screen based on document type selected.

How can we do it?

Thanks in advance.

Regards,

Kuldeep

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

well, there are two chances you got:

1. copy whole transaction and then add some coding in PBO of desired screen that changes the text for the desired label.

--- not really recommended ---

2. modify the standard transaction, and add your coding.

--- this has the pro that you will notice if the transaction got new coding when e.G. doing a release update. BUT you have to do SPAU ---

Former Member
0 Kudos

Here my query is I have line item table control in a particular transaction...This line item table is fixed for different Document types. Now If I select a particular doc type then a particular column name should be displayed with the new text that I want to put and if the doc type is other than that particular doc type then original text should be displayed i.e. column header.

Former Member
0 Kudos

Hi Kuldeep,

We can not change the lable for sap standard screens.

If it is custom screen we can try to use module pool and we can can do it.

I hope we can achive this for only screen field validation and we can not do it for label.

Please give me some more inputs to do the needfull.

Thanks,

AMS