Skip to Content
-3

How to display selection text in the output(list screen)?

Apr 09 at 06:21 AM

62

avatar image
Former Member

I have a select-options variable "so_matnr".

I have maintained selection-text for the same "Material No.".

Now in the output I need to display the above selection-text.

I cannot use literals for some reason.

How to access this selection-text? Where is it stored?

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

3 Answers

Horst Keller
Apr 09 at 07:30 AM
2
Share
10 |10000 characters needed characters left characters exceeded
Guus Werinussa Apr 09 at 12:27 PM
-2

Have a look at function PRINT_SELECTIONS

Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Apr 09 at 06:36 AM
-3

You can write TOP OF the Page Code in User Command as below.

DATA: ls_line TYPE slis_listheader.
 
 CLEAR ls_line.
 ls_line-typ = 'H'.
 ls_line-info = 'Report Name'.
 APPEND ls_line TO lt_top_of_page.
 CLEAR ls_line.

 ls_line-typ = 'S'.
 CONCATENATE s_matnr-low '-' INTO ls_line-info SEPARATED BY ' '.
 CONCATENATE 'Material' ls_line-info INTO ls_line-info SEPARATED BY ':'.
 APPEND ls_line TO lt_top_of_page.
 CLEAR ls_line.


Share
10 |10000 characters needed characters left characters exceeded