I am able to open a directory and write data to it.
However when I go to AL11 and find for it am unable to see the file.
In debug mode I see the SY-subrc = 0.
OPEN DATASET p_apmap1 FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.
Where Else should I see the file.
Is the directory(or even the parent of the directory) that you are writing defined/listed in AL11?
Or do you create the directory with your program?
You may need to configure AL11 to read the directory that you are writing to.( or have Basis configure it for you ).