‎2007 Dec 13 4:58 PM
Hi all,
I am created a back ground job for every day with varient.My file is coming from the legacy system and putting in to the sap application server.I am using the Logical file name .
My question every day file differ with time and date.How to process that file using that varient,any funtion module is there.
please help me
regards,
rakesh.
‎2007 Dec 13 5:44 PM
Hi Rakesh,
I don;t know if we have any FM...
If the file is only once a day, then just have date stamp on your legacy file and in your Logical filepath, include the <sy-datum>. Then your variant will pick the correct file from the logical filepath.
Hope this helps.
Thanks.
‎2007 Dec 13 5:44 PM
Hi Rakesh,
I don;t know if we have any FM...
If the file is only once a day, then just have date stamp on your legacy file and in your Logical filepath, include the <sy-datum>. Then your variant will pick the correct file from the logical filepath.
Hope this helps.
Thanks.
‎2007 Dec 13 10:19 PM
take help of your visual basic guy. he can create some executable files such that you will get all files in directory( in your case u will get only one file).
Using standard variant function module you can change the variants just before your actuall progra is run.
CALL 'C_DIR_READ_START'
ID 'DIR' FIELD dir_name
ID 'FILE' FIELD file_mask
ID 'ERRNO' FIELD file-errno
ID 'ERRMSG' FIELD file-errmsg.