2012 Jan 31 1:30 PM
Hello Friends,
My requirement is :
I need to create a report for inbound interface.
on execution of the report in thr foreground mode, it is required that all the files that are present on the application layer for the default path, should be displayed on the selection screen.
Function module RZL_READ_DIR_LOCAL can be used to get the details of the files available.
But i am unable to display those on the selection screen.
Kindly help me to achieve the functionality.
Thanks & Regards
Dheeraj Bulchandani
Hello Friends,
My requirement is :
I need to create a report for inbound interface.
on execution of the report in thr foreground mode, it is required that all the files that are present on the application layer for the default path, should be displayed on the selection screen.
Function module RZL_READ_DIR_LOCAL can be used to get the details of the files available.
But i am unable to display those on the selection screen.
Kindly help me to achieve the functionality.
Thanks & Regards
Dheeraj Bulchandani
2012 Jan 31 5:58 PM
2012 Jan 31 6:16 PM
Actually, it sounds like a simple table control would be the best option.
Rob
2012 Feb 01 5:10 AM
This may helpful to you
parameters : p_file type rlgrap-filename,
AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_FILE.
CLEAR P_FILE.
DATA: PATH_NAME(151) TYPE C.
SUBMIT RS_GET_F4_DIR_FROM_APPLSERV AND RETURN.
IMPORT PATH_NAME TO PATH_NAME FROM MEMORY ID 'PATH_NAME_SDL' .
P_FILE = PATH_NAME.
Edited by: sadeqAhmed on Feb 1, 2012 6:14 AM
Edited by: sadeqAhmed on Feb 1, 2012 6:15 AM
2012 Feb 01 5:25 AM
My req is to create a selection screen as follows:
File Path: -
Files available on file path: -
-
-
In need to select the files available on the application layer and populate on the selection screen in the files available area..
2012 Feb 01 3:35 PM
2012 Feb 01 3:55 PM
Hi Dheer,
Are you able to get the list of files on a particular path?
if yes then you can use a parameter as a listbox to display all your files and select any one, use this approach if you dont want to use module pool, but said this, i would suggest that you should go as per Rob's suggestion for a module pool, if not then i would say listbox would be your next best bet.
Regards,
Kartik
2012 Feb 06 9:55 AM
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |