2014 May 23 9:34 AM
Hello experts,
I want to make a selection-screen reusable, so I created an include for that.
Furthermore it is possible to set the texts for the parameters and select-options dynamically.
But I can't find a possibility to set the title for a selection screen block dynamically. For example in that code, I want to set that for text-001.
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001
*... Parameters and Select-Options ...
SELECTION-SCREEN END OF BLOCK b1.
Thank you in advance
Thomas
2014 May 23 9:40 AM
Hi Thomas,
you can set the frame title of Selection-Screen Block in INITIALIZATION statement
Example:
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text.
PARAMETER par TYPE char1.
SELECTION-SCREEN END OF BLOCK b1.
*
INITIALIZATION.
*
text = 'DynamicText'.
Regards,
Angelo.
Hi Thomas,
you can set the frame title of Selection-Screen Block in INITIALIZATION statement
Example:
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text.
PARAMETER par TYPE char1.
SELECTION-SCREEN END OF BLOCK b1.
*
INITIALIZATION.
*
text = 'DynamicText'.
Regards,
Angelo.
2014 May 23 9:40 AM
Hi Thomas,
you can set the frame title of Selection-Screen Block in INITIALIZATION statement
Example:
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text.
PARAMETER par TYPE char1.
SELECTION-SCREEN END OF BLOCK b1.
*
INITIALIZATION.
*
text = 'DynamicText'.
Regards,
Angelo.
2014 May 23 9:41 AM
Hi Thomas,
If I understood your question, are you looking for INITIALIZATION event on condition basis?
Regards,
Anubhab
2014 May 23 9:56 AM
Hi ,
Pls try this scenario.
Selection screen begin of block b1 with frame title a1.
parameter par type char1.
selection screen end of block b1.
perform selection_screen.
form selection screen.
a1 = 'Dynamic Test'.
end form.
So in this part u can include some text for selection screen in future too.
2014 May 23 10:22 AM
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |