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

Select-option frame

0 Likes
4,490

Hi,

Is it possible to add text from the message class as a title in a Select-options block frame?

Thanks!

1 ACCEPTED SOLUTION
Read only

adityaIngale66
Active Participant
4,430

Hi abap_newbie,

Try this

SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE lv_text.
SELECT-OPTIONS: s_budat FOR lv_budat OBLIGATORY.
SELECTION-SCREEN END OF BLOCK b1.

INITIALIZATION.
MESSAGE E000(Message_class) INTO lv_text.
4 REPLIES 4
Read only

0 Likes
4,430

Thank you !

Read only

xiaosanyu
Participant
4,430

YES!

SELECTION-SCREEN BEGIN OF BLOCK blk01 WITH FRAME TITLE t01.

INITIALIZATION.
MESSAGE ID 'your msg ID' TYPE 'S' NUMBER 'your msg number' INTO data(lv_message) .
t01 = lv_message.
Read only

adityaIngale66
Active Participant
4,431

Hi abap_newbie,

Try this

SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE lv_text.
SELECT-OPTIONS: s_budat FOR lv_budat OBLIGATORY.
SELECTION-SCREEN END OF BLOCK b1.

INITIALIZATION.
MESSAGE E000(Message_class) INTO lv_text.
Read only

Sandra_Rossi
Active Contributor
0 Likes
4,430

Ask Google? abap Select-option frame site:sap.com