Application Development and Automation 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: 
Read only

tabstrip fields gets readonly after validation using chain endchain

Former Member
0 Likes
489

hello ,

in module pool program i am using tabstrip with two tabs containing 4 and 6 fields respectively .

but the problem i am getting while using validation which i am using chain and endchain.

the situation arise:

suppose the input to the second field in the second tab is wrong and the first tab is displayed and when i am pressing submit which is in the main screen , the error message i am getting bu the fields in the second tab gets input disabled and again when i am coming back to that tab after navigating from some other tab. it is allowing me to re-enter the value....

so , please help me to solve this issue...

thanks in advance

'gopal'

1 REPLY 1
Read only

Former Member
0 Likes
341

Hi,

You need to clear the OK_CODE in the PAI for each CASE - ENDCASE. The fields were editable after navigating from the other tabs, since the function cdoe changes on pressing the tabs. For you, the ok_code = SUBMIT when the error displayed in second tab. This ok_code needs to be cleared.

Use OK_CODE = SY-UCOMM ineach PBO and clear the OK_CODE in each validation in PAI.

Hope this helps.

Regards,

Satish Kanteti