‎2008 Jul 09 1:44 PM
HI All,
I am working on Open dataset.I am giving My Application server file in parameter as a default value with the mixed letters.
When i am pressing execute the filepath is converting into UPPERCASE.When iam try to open the file using Open dataset the file path is incorrect so it sis giving Sy-Subrc 8.
How can i solve this pblm.Can anybody help me out plz.Parameter value shold not convert to UPPERCASE or LOWERCASE.
Thanks,
Swapna.
‎2008 Jul 09 1:52 PM
declare the parameter like this........
PARAMETERS : P_FILE LIKE RLGRAP-FILENAME.
Regards,
Rajasekhar Reddy.
‎2008 Jul 09 1:48 PM
Hello ,
SY-subrc 8: means The number of specified fields is incorrect.
do check ur fields number that ur passing to the dataset.
‎2008 Jul 09 1:49 PM
are you concatenating the Path to the front of the file name?
Are you sure the file is on the Application Server and not on your Presentation Server (Your PC)?
‎2008 Jul 09 1:52 PM
declare your file name as rlgrap-filename
parameters : p_file like rlgrap-filename. and not as
parameters : p_file(128).
‎2008 Jul 09 1:52 PM
Declare your parameter as below:
Parameters p_file type rlgrap-filename lower case default 'your path'.
‎2008 Jul 09 1:52 PM
declare the parameter like this........
PARAMETERS : P_FILE LIKE RLGRAP-FILENAME.
Regards,
Rajasekhar Reddy.
‎2008 Jul 09 1:53 PM
Hi Swapna,
Declare the Parameter with LOWER CASE addition.
Eg:
PARAMETERS:
a TYPE i LOWER CASE.Regards,
Nikunj.
‎2008 Jul 09 1:55 PM
Swapna,
To avoid auro translate when u execute, u can use TRANSLATE command to keep it as u enter in screen.
<REMOVED BY MODERATOR>
Edited by: Alvaro Tejada Galindo on Jul 9, 2008 12:00 PM
‎2008 Jul 09 1:57 PM
Hi Swapna,
There should not be a problem with Uppercase or lowercase.
sy-subrc = 8 implies The file could not be opened .
Make sure that filepath is correct or the file exists.
Hope this helps you.
Regards,
Chandra Sekhar