I have to write a program that finds files matching some pattern, for example I have files test1,test2,test3 in a directory then if I pass test* as parameter it should find all the files i.e, test1,2,3. I have to then store the files in internal table, loop through it and have to call some other program zzz that has a selection screen with default parameters.
1) Is there any function that I can call that gives all the files by passing wild card (ex:test*) and store the files in internal table?
2) How do I call some other program ZZZ from my program?
3) How do I pass values from my program to other program's selection screen?
Your help would be greatly appreciated.