Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

How to clear a pop up screen text?

Hi All,

I have an ALV report and I have some pushbuttons. The user can select the output rows and click on one of these pushbuttons and a popup screen is called. The user is allowed to input some text and this text is written to the invoice. The problem I am having is that when I select a row the second time, the pop up box will appear on the screen with the previous text. How do I clear this screen. My code is something like call screen 100...

Before calling this screen the second(onwards) time..I want to refresh the screen..how do I do that?

Thanks

Tags:
replied

Hi,

Call the method SET_TEXT_AS_STREAM with a blank string as input or call another method DELETE_TEXT in PBO at the end of your subroutine INIT_TEXT_CONTROL.

text_control->DELETE_TEXT.

That should solve your problem.

Please mark helpful answers.

Regards,

Nagaraju Chidurupalli.

Message was edited by: Nagaraju Chidurupalli

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question