SAP for Automotive Discussions
Connect with fellow SAP users in discussions to troubleshoot challenges, share best practices, and fuel each other's success. Join a conversation or start your own.
cancel
Showing results for 
Search instead for 
Did you mean: 

Customer specific fields in WTY Transaction

Former Member
0 Kudos
416

Dear All,

We have created an additional tab page in WTY transaction with customer specific fields. When we open the Claim in display mode, this tab is still in editable mode.

How do we control this ?

Thanks.

Raj

3 REPLIES 3

Former Member
0 Kudos
247

Please add code in the PBO module of your cutome scree to deactivate the fields.

e.g.

Loop at screen.

if "Put here condition for display of screen i.e check tcode or sy-ucomm"

if screen-fname = " you custom field name".

screen- input = 0.

modify screen.

endif.

endif.

endloop.

0 Kudos
247

Thanks for your reply.

But this has been tried out by ABAP but did not resolve the issue. It is not going in the PBO of this newly added screen so it is not executing the code .

We have grouped all the custom fields in one screen group and gave the following logic.

LOOP AT SCREEN.

IF screen-group1 = 'GR1'.

screen-input = '0'.

screen-output = '1' .

ENDIF.

MODIFY SCREEN.

ENDLOOP .

Is there any specific coding required for WTY transaction in particular ?

Thanks again.

Raj

0 Kudos
247

Hi,

We had activated an INCLUDE ZXWTYZZZ program and resolved this issue.

Regards,

Raj