Skip to Content
avatar image
-3
Former Member

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

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?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Apr 09 at 07:30 AM
    Add comment
    10|10000 characters needed characters exceeded

  • Apr 09 at 12:27 PM
    -2

    Have a look at function PRINT_SELECTIONS

    Add comment
    10|10000 characters needed 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.
    


    Add comment
    10|10000 characters needed characters exceeded