2006 Sep 26 5:05 AM
hiii ,
iam doing BDC . i want to download data into an excel sheet . when i try to give a file name dynamically using parameters option , it is giving dump error ..... if someone knows how to do it , help me out
regards ,
varma
hiii ,
iam doing BDC . i want to download data into an excel sheet . when i try to give a file name dynamically using parameters option , it is giving dump error ..... if someone knows how to do it , help me out
regards ,
varma
2006 Sep 26 5:08 AM
2006 Sep 26 5:08 AM
if you are using <b>ws_download</b> then use filename of the type <b>rlgrap-FILENAME</b>.If you are using <b>GUI_UPLOAD</b> then declare file name of the type <b>string.</b>
2006 Sep 26 5:15 AM
2006 Sep 26 5:23 AM
HI RAVI,
declare File parameter as:
PARAMETER: P_FILE LIKE RLGRAP-FILENAME.
if u r using GUI_DOWNLOAD.
UNDER AT SELECTION-SCREEN ON VALUE REQUEST FOR <FILE>.
at selection-screen on value-request for p_file.
perform file_help using p_file.
form file_help using p_p_file.
data: l_filepath type ibipparms-path.
CALL FUNCTION 'F4_FILENAME'
EXPORTING
PROGRAM_NAME = SYST-CPROG
DYNPRO_NUMBER = SYST-DYNNR
FIELD_NAME = ' '
IMPORTING
FILE_NAME = l_filepath
.
p_p_file = l_filepath.
endform. " file_help
hope this helps,
do reward if it helps,
priya.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |