2023 Oct 04 3:22 AM
Dear Expert's,
My requirement is to keep the lengthy text with more 100 character's per line between begin and end of block,
SAP text symbols allows us to keep only 79 characters using Selection-screen comment,
Is there any another way to keep text with more 80 character per line in selection screen.
Regards,
Bharathi
2023 Oct 04 6:39 AM
A few things are wrong in your question:
If you are using ABAP statements to display fields, no, you can't have fields of more than 83 characters.
The best you can do with simple ABAP statements is to combine two fields with visible length of 83 and 34 characters, and both with a 83 characters text length (hover shows a tooltip with full text):
REPORT.
PARAMETERS dummy.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT (83) output_1.
SELECTION-SCREEN COMMENT (83) output_2.
SELECTION-SCREEN END OF LINE.
INITIALIZATION.
output_1 = |{ sy-abcde } { sy-abcde } { sy-abcde } ABC|. "truncates C (83 characters)
output_2 = |{ sy-abcde } { sy-abcde } { sy-abcde } ABC|. "truncates C (83 characters)
Of course, you may use workarounds: create a normal screen, possibly include it in the selection screen, or combine your selection screen with graphical elements from the Control Framework, etc.2023 Oct 04 6:39 AM
A few things are wrong in your question:
If you are using ABAP statements to display fields, no, you can't have fields of more than 83 characters.
The best you can do with simple ABAP statements is to combine two fields with visible length of 83 and 34 characters, and both with a 83 characters text length (hover shows a tooltip with full text):
REPORT.
PARAMETERS dummy.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT (83) output_1.
SELECTION-SCREEN COMMENT (83) output_2.
SELECTION-SCREEN END OF LINE.
INITIALIZATION.
output_1 = |{ sy-abcde } { sy-abcde } { sy-abcde } ABC|. "truncates C (83 characters)
output_2 = |{ sy-abcde } { sy-abcde } { sy-abcde } ABC|. "truncates C (83 characters)
Of course, you may use workarounds: create a normal screen, possibly include it in the selection screen, or combine your selection screen with graphical elements from the Control Framework, etc.2023 Oct 04 9:56 AM