What are the wildcards for FILE_MASK in FM EPS_GET_DIRECTORY_LISTING

The wildcard for exactly 1 character is '?'.
example: with mask ????????.STA     , I get the following files:
BWMDAACW.STA
BWMDAADW.STA
BWMDAAEW.STA
BWMDAAFW.STA
BWMDAAGW.STA
(all files ending with .STA, with 8 characters before .STA)
But what is the wildcard for 'any character' ?
I tried with *.STA     , but the result is
test1
test2
test3
test4
y5c01
(all the filenames with exactly 5 characters)
with *STA, the result is
IBAN
PBCL
rfbi
stxh
stxl
(all the filenames with exactly 4 characters)
(the result is the same with *123 or *XYZ !!!)
with BW*, the result is
BWMDAACW.STA
BWMDAADW.STA
BWMDAAEW.STA
BWMDAAFW.STA
BWMDAAGW.STA
as expected, but * seems the right wild character for 'any character' only at the end of the mask; it seems not work as expected when it is not the last character of the mask.
It seems very strange! What are the rules for wildcards ? (I'm in 4.7)
thanks in advance

CONSTANTS DAYS1980     TYPE I VALUE 3652.
DATA: linelength TYPE i VALUE 0.
DATA: linelength1 TYPE i VALUE 0.
DATA: text TYPE string.
DATA: DLIST    LIKE EPSFILI OCCURS 0 WITH HEADER LINE,
      DPATH    LIKE EPSF-EPSDIRNAM,
      PFILE    LIKE EPSF-EPSFILNAM,
      MDATE    LIKE SY-DATUM,
      MTIME    LIKE SY-UZEIT,
      POINT_IN_TIME TYPE I.
DATA: BEGIN OF FATTR OCCURS 0,
          FILE_NAME  LIKE EPSF-EPSFILNAM,
          FILE_SIZE  LIKE EPSF-EPSFILSIZ,
          FILE_OWNER LIKE EPSF-EPSFILOWN,
          FILE_MODE  LIKE EPSF-EPSFILMOD,
          FILE_TYPE  LIKE EPSF-EPSFILTYP,
          FILE_MTIME(12),
      END OF FATTR.
PARAMETER P_PATH(50) TYPE C DEFAULT '/TMP' LOWER CASE.
PARAMETER P_FILE(50) TYPE C DEFAULT ' '  LOWER CASE.
DPATH = P_PATH.
PFILE = P_FILE.
CALL FUNCTION 'EPS_GET_DIRECTORY_LISTING'
     EXPORTING
          DIR_NAME               = DPATH
*          FILE_MASK              = PFILE
     TABLES
          DIR_LIST               = DLIST
     EXCEPTIONS
          INVALID_EPS_SUBDIR     = 1
          SAPGPARAM_FAILED       = 2
          BUILD_DIRECTORY_FAILED = 3
          NO_AUTHORIZATION       = 4
          READ_DIRECTORY_FAILED  = 5
          TOO_MANY_READ_ERRORS   = 6
          EMPTY_DIRECTORY_LIST   = 7
          OTHERS                 = 8.
break developer.
IF SY-SUBRC EQ 0.
  LOOP AT DLIST.
  linelength = STRLEN( DLIST-NAME ).
    linelength = linelength - 3.
  linelength1 = STRLEN( P_FILE ).
    linelength1 = linelength1 - 3.
  if DLIST-NAME+linelength(3) = P_FILE+linelength1(3).
    CALL FUNCTION 'EPS_GET_FILE_ATTRIBUTES'
         EXPORTING
              FILE_NAME              = DLIST-NAME
              DIR_NAME               = DPATH
         IMPORTING
              FILE_SIZE              = FATTR-FILE_SIZE
              FILE_OWNER             = FATTR-FILE_OWNER
              FILE_MODE              = FATTR-FILE_MODE
              FILE_TYPE              = FATTR-FILE_TYPE
              FILE_MTIME             = FATTR-FILE_MTIME
         EXCEPTIONS
              READ_DIRECTORY_FAILED  = 1
              READ_ATTRIBUTES_FAILED = 2
              OTHERS                 = 3.
    IF SY-SUBRC EQ 0.
      FATTR-FILE_NAME = DLIST-NAME.
      APPEND FATTR.
    ENDIF.
    endif.
  ENDLOOP.
  SORT FATTR BY FILE_NAME.
  LOOP AT FATTR.
    POINT_IN_TIME = FATTR-FILE_MTIME.
    CALL FUNCTION 'POINT_IN_TIME_CONVERT'
         EXPORTING
              POINT_IN_TIME = POINT_IN_TIME
         IMPORTING
              DATE          = MDATE
              TIME          = MTIME
         EXCEPTIONS
              OTHERS        = 1.
    SUBTRACT DAYS1980 FROM MDATE.
    WRITE: / FATTR-FILE_NAME,
             FATTR-FILE_SIZE,
             MDATE,
             MTIME.
  ENDLOOP.
ENDIF.
Edited by: kk.adhvaryu on Sep 25, 2010 12:08 PM

Similar Messages

  • My ipod nano 6th gen fell out of my pockey and the screen cracked badly, is there any coverage for this under warranty? I just bought it a month ago. If not what are the options for getting it fixed

    My ipod nano 6th gen fell out of my pocket and the screen cracked badly, is there any coverage for this under warranty? I just bought it a month ago. If not what are the options for getting it fixed? It is pretty frustrating, it fell from about 3 feet out of my pocket and now looks like it was beaten by a hammer.

    Debbie:
    deborahfromwindsor wrote:
    he advises restarting by inserting the OSX disc and pressing down the C button to reboot from there then selecting disk utility, hard disk and repair.... Does he mean me to hold down the C key on the alpha keyboard or the ctrl key?
    Should I just ask for my money back??? If it is a simple repair do I just literally push the disc in, push the power button and hold down the C button?
    That's where I would begin, too, with
    Repair Disk
    Insert Installer disk and Restart, holding down the "C" key until grey Apple appears.
    Go to Installer menu (Panther and earlier) or Utilities menu (Tiger) and launch Disk Utility.
    Select your HDD (manufacturer ID) in the left panel.
    Select First Aid in the Main panel.
    (Check S.M.A.R.TStatus of HDD at the bottom of right panel, and report if it saysanything but Verified)
    Click Repair Disk on the bottom right.
    If DU reports disk does not need repairs quit DU and restart.
    If DU reports errors Repair again and again until DU reports disk is repaired.
    If DU reports errors it cannot repair you will need touse autility like TechTool Pro,Drive Geniusor DiskWarrior
    First we need to determine if the issue you are experiencing with the computer is software or hardware based. Once we have gotten things sorted out there should be time enough to make you decision about keeping or returning it.
    cornelius

  • In Address Book, Lion, what are the checkmarks for when you Edit a Contact?

    In Address Book for Lion, when you are in the Add/Edit a Contact window, what are the checkboxes for?

    I am not seeing any checkboxes when I edit in Address Book in Lion, can you take a screen shot (Shift Command 4) of what you're seeing and post it?
    BTW please fill out your profile (under Your Stuff above) so we know what machine and version of Lion you're using.

  • What are the steps for loading master data

    Hello
    what are the steps for loading master data? i want to learn about loading all master data and the steps to choose the best way to load the data.
    if anyone has documents please send me the documents i will be really greatful
    [email protected] thanks everyone
    Evion

    Hi Heng,
    Download the data into a CSV file.
    Write a program using GUI_UPLOAD to upload the CSV file and insert records.Chk the below link for example
    http://www.sap-img.com/abap/vendor-master-upload-program.htm
    Reward Points for the useful solutions.
    Regards,
    Harini.S

  • What are the settings for Primere Elements 9 if I've filmed with a Canon Powershot sx50 HS?

    I just got this camera and I want the best quality possible. Unfortunately, it's hard for me to fully know if the settings I try create that. I get a fuzz or noise on objects like if I'm wearing a black jacket it's like static. When I put the video on my phone which is an Android Galaxy s4 it converts it into mp4 format and I get much more clear results than on my computer which perplexes me. I did a lot of trial and error with my previous camera (JVC Full HD Everio) which I got the same results. My newer Canon should be leagues ahead of the JVC, but I really can't tell as of yet. If anyone could help that would be awsome. I have examples of my trials and errors from my Youtube videos which you can see I felt I was slowly making progress with the JVC Oppositeofhood - YouTube

    Opposite
    Then I saw your latest post
    Wait, I think I just found it. I pressed record on different settings to take pictures with like portrait to see if it would make a difference and when I uploaded them to my computer I found where it shows the BIt rate and it varied. They run at 23 frames per second 1920 x 1080 MOV video files and all the Bit rates are like 36,356 35,414 ,36,521
    If your camera is recording with a variable bitrate, the Bitrate variations from file to file should not be contributing to the issue. But it does raise the issue related to whether or
    not we are setting the appropriate bitrate level in the export settings. What are the units for 36,356, 35,414, and 36,517 -
    kbps (also can be written Kbps) and is kilobits per second
    or
    Mbps which is megabits per second.
    Let us try this for one of your 1920 x 1080p24 videos.
    Go through the following workflow
    Manually set project preset...
    NTSC
    DSLR
    1080p
    DSLR 1080p24
    When you go to export your edited Timeline content, then use
    Share
    Computer
    QuickTime
    with Presets = NTSC DV 16:9 - that is going to be customized to 1080p24 (H.264.mov) under the Advanced Button/Video Tab of that preset
    The essential settings under the Advanced Button/Video Tab
    Video Codec = H.264
    Frame Width = 1920
    Frame Height = 1080
    Frame Rate = 23.976
    Field Type = Progressive
    Aspect = Square Pixels (1.0)
    Now here is where we are going to experiment....
    Bitrate
    Check Mark next to Limit Data Rate to and type in 36000 before kbps
    note the file size of the export as well as the quality of the playback.
    Repeat the whole process but in export
    Remove the check mark next to Limit Data Rate. The Bitrate field will be disabled.
    note the file size of the export as well as the quality of the playback.
    We will be watching for your results.
    Thanks.
    ATR

  • What are the settings for datasource and infopackage for flat file loading

    hI
    Im trying to load the data from flat file to DSO . can anyone tel me what are the settings for datasource and infopackage for flat file loading .
    pls let me know
    regards
    kumar

    Loading of transaction data in BI 7.0:step by step guide on how to load data from a flatfile into the BI 7 system
    Uploading of Transaction data
    Log on to your SAP
    Transaction code RSA1—LEAD YOU TO MODELLING
    1. Creation of Info Objects
    • In left panel select info object
    • Create info area
    • Create info object catalog ( characteristics & Key figures ) by right clicking the created info area
    • Create new characteristics and key figures under respective catalogs according to the project requirement
    • Create required info objects and Activate.
    2. Creation of Data Source
    • In the left panel select data sources
    • Create application component(AC)
    • Right click AC and create datasource
    • Specify data source name, source system, and data type ( Transaction data )
    • In general tab give short, medium, and long description.
    • In extraction tab specify file path, header rows to be ignored, data format(csv) and data separator( , )
    • In proposal tab load example data and verify it.
    • In field tab you can you can give the technical name of info objects in the template and you not have to map during the transformation the server will automatically map accordingly. If you are not mapping in this field tab you have to manually map during the transformation in Info providers.
    • Activate data source and read preview data under preview tab.
    • Create info package by right clicking data source and in schedule tab click star to load data to PSA.( make sure to close the flat file during loading )
    3. Creation of data targets
    • In left panel select info provider
    • Select created info area and right click to create ODS( Data store object ) or Cube.
    • Specify name fro the ODS or cube and click create
    • From the template window select the required characteristics and key figures and drag and drop it into the DATA FIELD and KEY FIELDS
    • Click Activate.
    • Right click on ODS or Cube and select create transformation.
    • In source of transformation , select object type( data source) and specify its name and source system Note: Source system will be a temporary folder or package into which data is getting stored
    • Activate created transformation
    • Create Data transfer process (DTP) by right clicking the master data attributes
    • In extraction tab specify extraction mode ( full)
    • In update tab specify error handling ( request green)
    • Activate DTP and in execute tab click execute button to load data in data targets.
    4. Monitor
    Right Click data targets and select manage and in contents tab select contents to view the loaded data. There are two tables in ODS new table and active table to load data from new table to active table you have to activate after selecting the loaded data . Alternatively monitor icon can be used.
    Loading of master data in BI 7.0:
    For Uploading of master data in BI 7.0
    Log on to your SAP
    Transaction code RSA1—LEAD YOU TO MODELLING
    1. Creation of Info Objects
    • In left panel select info object
    • Create info area
    • Create info object catalog ( characteristics & Key figures ) by right clicking the created info area
    • Create new characteristics and key figures under respective catalogs according to the project requirement
    • Create required info objects and Activate.
    2. Creation of Data Source
    • In the left panel select data sources
    • Create application component(AC)
    • Right click AC and create datasource
    • Specify data source name, source system, and data type ( master data attributes, text, hierarchies)
    • In general tab give short, medium, and long description.
    • In extraction tab specify file path, header rows to be ignored, data format(csv) and data separator( , )
    • In proposal tab load example data and verify it.
    • In field tab you can you can give the technical name of info objects in the template and you not have to map during the transformation the server will automatically map accordingly. If you are not mapping in this field tab you have to manually map during the transformation in Info providers.
    • Activate data source and read preview data under preview tab.
    • Create info package by right clicking data source and in schedule tab click star to load data to PSA.( make sure to close the flat file during loading )
    3. Creation of data targets
    • In left panel select info provider
    • Select created info area and right click to select Insert Characteristics as info provider
    • Select required info object ( Ex : Employee ID)
    • Under that info object select attributes
    • Right click on attributes and select create transformation.
    • In source of transformation , select object type( data source) and specify its name and source system Note: Source system will be a temporary folder or package into which data is getting stored
    • Activate created transformation
    • Create Data transfer process (DTP) by right clicking the master data attributes
    • In extraction tab specify extraction mode ( full)
    • In update tab specify error handling ( request green)
    • Activate DTP and in execute tab click execute button to load data in data targets.

  • What are the settings for  rework order  quality inspection

    HI,
    Iam doing production order confirmation at the GR time some oprations are rejected.that operations i want too rework order CO07 process without GR ,i want to Quality inspection in REWork order.
    What are the settings for rework order Quality inspection?

    Refer beautiful document
    http://wiki.sdn.sap.com/wiki/display/HOME/ReworkInProduction

  • WHAT ARE THE  SETTINGS FOR AN ICLOUD EMAIL ACCOUNT

    I am trying to create an iCloud email account on my iPad with IOS 6.0.1
    what are the settings for Host name in incoming and outgoing mail servers?

    the information on that link doesnt work.  my icloud address is [email protected] not [email protected].. although i tried both on my galaxy note 2.  either way the server information is not verifying. 

  • What are the settings for automatic service PO?

    What are the settings for automatic service PO?

    Hello,
    I would like to know if it is possible to automatically create the PR for services. It would be similar to MD04 but instead of being for stockable materials, it would be done for non-stockable materials (services in this case).
    PR would be generated monthly, because this services have to be paid every month, for example electricity, water, rent, phone bills.
    I hope you can help me, thank you!

  • What are the settings for Transport?

    What are the settings for Transport?

    u will get three panel in transport connection in BW side
    here u need to collect object and drop them to 2nd panel
    then u need to select whether u want o select all objects or only necessary objects
    select as per ur requirement hten u need to write thse object in a NEw request
    now executte nad go to Se10 and relaease sub task and main task
    now ask basis team to impot it in QAS test it and again trnasport these to Production environemnt.
    assign points if helps

  • What are the settings for web?

    What are the settings for web?

    800mbps Quicktime for the web,< </div>
    The compression is reducing the number of pixels being shown in order to maintain the bitrate. So rapid motion, which requires nearly all of the pixels to be redrawn, causes things to stutter.
    Compression is really, really hard to do. Really.
    bogiesan

  • What are the settings for verizon email on ipad?

    what are the settings for verizon email on ipad? have tried everything must be missing something.

    Have you looked here?
    https://www22.verizon.com/foryourhome/vzrepair/vziha/requestrepair.aspx?CMP=DMC- CVZ_ZZ_ZZ_Z_ZZ_N_X221
    Check: What are my email settings

  • What are the settings for the outgoing mail server for icloud on Outlook for Mac, what are the settings for the outgoing mail server for icloud on Outlook for Mac

    what are the settings for the outgoing mail server for icloud on Outlook for Mac, what are the settings for the outgoing mail server for icloud on Outlook for Mac

    iCloud Mail Settings

  • What are the settings for the "Default Client Settings"?

    What are the settings for the "Default Client Settings"? I changed them instead of creating a new policy and would like to fix that.
    Thanks
    James A+, Network+, MCP

    Hi,
    The blogs below provides the default client settings.
    Default Client Settings in SCCM 2012 SP1
    http://prajwaldesai.com/default-client-settings-sccm-2012-sp1-sccm-2012-sp1/
    Note: Microsoft provides third-party contact information to help you find technical
    support. This contact information may change without notice. Microsoft does not guarantee the accuracy of this third-party contact information.
    Best Regards,
    Joyce

  • What are the settings for apn data and mms for iphone 4 on straight talk?

    what are the settings for cellular data network APN DATA and MMS for Straighttalk sims on IPhone 4?I cant send or recieve pictures.My service keeps losin signal constantly saying no service then 1 bar,2 bars,3 bars...then back down to no service.It drops calls.Iv been trying to find out the answer to this problem for 2 weeks!I have no Profile selection in my settings either to do wat its showing online on one website.and have entered numerous diffrent APNs and none have worked!!!!PLEASE HELP!!!

    They're asking a question about carrier settings for their iPhone. I think that has everything to do with Apple.
    Maybe they did already ask Straight Talk. I've called Straight Talk before... they're not too helpful.
    You know, this forum would be much friendlier if people in this forum would quit squabbling, & posting comedic replies, not too mention name calling (like I did), when people are just needing some help.
    It's also frustrating that people stick up for the guy who doesn't help, but rather takes the time to post some smart alec reply. Granted, I shouldn't have name-called... some people just frustrate me when they act like that.
    Admittedly, there ARE some grey areas when it comes to carrier questions... but let the moderators do their job when someone is asking innappropriate stuff. And if the mods aren't chiming in, then that's a good indication that what the thread is about IS in fact Apple related.

Maybe you are looking for

  • In Lion 10.7.4, where are the iPhone backups?

    Before Lion 10.7.4, iPhone backups were usefully to be located in User/Library/Application Support/MobileSync/Backup. This was handy because it meant that by copying the files you could use more than one computer to access the iPhone(s). In 10.7.4, t

  • HT4623 I use iPhone 4. I received a notification to upgrade my IOS 5.1.1 to IOS 6. Will all the features of IOS 6 work on iPhone 4?

    I have received a software update notification. Currently I am having an iPhone 4 with IOS 5.1.1 installed. It works fin but at some point after i attend some call it gets blank, then i need to lock the screen & unlock it to get the home page. In cas

  • Row and column headings

    How can I keep my row and column headings fixed on the screen while I scroll through the rest of a large spreadsheet?

  • Error 1311 when downloading new iTunes

    Everytime I tried to download a new song, or even transfer songs from one computer to another, the computer said I had to update my iTunes. So I tried to, and everytime I do, it gets pretty far then says :Error 1311 File not found ( see the picture b

  • Opening Date Picker in popup window

    Hi All, I'd like to be able to use a Date Picker in a custom popup window that I've developed. When I open the date picker however, because I'm already in a popup window the date picker fills the whole of the custom popup, rather than opening in its