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: 

Select-option frame

0 Kudos
755

Hi,

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

Thanks!

1 ACCEPTED SOLUTION

adityaIngale
Active Participant
695

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

0 Kudos
695

Thank you !

xiaosanyu
Participant
695

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.

adityaIngale
Active Participant
696

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.

Sandra_Rossi
Active Contributor
0 Kudos
695

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