Application Development 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: 

How to create a windows list?

0 Kudos

I have one report program with a T_code ,and I create several reference for this program.

I want to implement one button 'HELP' in statu bar ,when user click this button , A list window will show and list

all the reference .select one of them ,then open it.

Could you give me some advice ,how to implement it.

1 ACCEPTED SOLUTION

former_member188685
Active Contributor
0 Kudos

Search the Forum with the Function module

REUSE_ALV_POPUP_TO_SELECT

Note:

Always use search option, since there are many threads available with the similar topic.

4 REPLIES 4

former_member188685
Active Contributor
0 Kudos

Search the Forum with the Function module

REUSE_ALV_POPUP_TO_SELECT

Note:

Always use search option, since there are many threads available with the similar topic.

0 Kudos

REPORT demo_list_window NO STANDARD PAGE HEADING.

Data:..........

AT USER-COMMAND.

CASE sy-ucomm.

WHEN 'SELE'.

IF sy-lsind = 1.

WINDOW STARTING AT 15 3 ENDING AT 80 10.

PERFORM showfiles.

ELSEIF sy-lsind = 2.

PERFORM excutewinapp.

ENDIF.

ENDCASE.

START-OF-SELECTION.

SET PF-STATUS 'BASIC'.

WRITE 'Select line for a demonstration of windows'.

FORM showfiles.

filepath = 'C:'.

filetcode = 'ZTCODE'.

CONCATENATE filepath '\' filetcode INTO docpath.

CALL FUNCTION 'KCD_FRONT_END_DIRECTORY_READ'

EXPORTING

i_path = docpath

  • IMPORTING

  • E_PURE_PATH =

TABLES

e_directory = outputtab

  • EXCEPTIONS

  • DOWNLOAD = 1

  • UPLOAD = 2

  • EXECUTE = 3

  • DIRECTORY_NOT_EXIST = 4

  • DIRECTORY = 5

  • OTHERS = 6

.

IF sy-subrc <> 0.

  • MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO

  • WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.

ENDIF.

DESCRIBE TABLE outputtab LINES fileline.

LOOP AT outputtab.

WRITE: / outputtab .

HIDE outputtab.

ENDLOOP.

ENDFORM.

I use this way can open the cataloge,and show files in the opening window.but must after execute start-of-selection.

I need a button execut like help or document.

Former Member
0 Kudos

hi,

try this..

1. OPEN se38 write ur program name.

2. click on GOTO .

3. then DOCUMENTATION

4. then choose chnage.

here you maintain the help according to your report.

hope this helps

Regards

Ritesh J

0 Kudos

Hi Ritesh J

Use document maintain is too complex! There are so many codings .

thanks anyway.