2022 Feb 15 3:53 PM
Hello friends,
So, I make user-command of check box which change view of the selection screen when i check it.
while i check, it is going to be this
but, when i run this program, i back to selection screen/ screen 1000. it will be this
the checkbox still checked but the view of selection screen differed with the first view/the user-command (checkbox weekly report) not works.
someone know to solve this issue or had been along with this experience? please help, experts. Thankyou
2022 Feb 15 3:53 PM
Thank you for visiting SAP Community to get answers to your questions. Since this is your first question, I recommend that you familiarize yourself with our Q&A Tutorial: https://developers.sap.com/tutorials/community-qa.html, as it provides tips for preparing questions that draw responses from our members.
Should you wish, you can revise your question by selecting Actions, then Edit.
By adding a picture to your profile you encourage readers to respond: https://www.youtube.com/watch?v=46bt1juWUUM
Many thanks!
Keep in mind, when you receive an answer that was helpful to you, accept it as best answer.
2022 Feb 27 12:53 PM
I have found the answer. So, you just put logic
CASE abap_true
WHEN pa_weekly(the checkbox).
LOOP AT SCREEN.
IF ...
ENDIF.
screen-active = '0'.
ENDLOOP.
WHEN OTHERS.
ENDCASE.
so, if reversed. then it won't run. because, when you go back to the selection screen, all the variables will be initialized, but not abap_true because it's a constant, and it will check which one is abap_true
2022 Feb 27 5:17 PM
Sorry, I don't understand neither your question nor your latest comment. If you have solved your issue, then it's great.