Hi
We use RZL_READ_DIR_LOCAL fm to browse through files in a particular folder in the app server and then pickup the ones we need based on a pattern ( by looping through internal table returned by this fm ).
Now the internal table returned by this fm - is based on SAP std structure SALFLDIR. This structure has a filename size restriction of 32 chars. We are calling this fm within another ABAP program - to scan through files in a particular folder. Unfortunately, the files dropped in on this folder is done by a middleware that names files more than 32 characters - we do not have any control over that -
Is there any other standard fm of reading files within a folder - that has a bigger filename size in the return structure - unlike 32 char filename size in this SALFLDIR structure - used in RZL_READ_DIR_LOCAL ? Or is copying this RZL fn module to a Z* - and using a ZSALFLDIR the only option ?
Any pointers, suggestions appreciated.