Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Open Dataset Doubt

Hi Experts,

I have a small doubt . In a report , in te selection screen I have a checkbox(p_file) for down loading it to Unix .

Then I have parameter(p_unix) for mentioning the appln server path.

In the report i am writing

if p_unix is initial.

message e208 with

'Please enter the Unix File Path'.


<b>open dataset p_unix for output in text mode. </b>

if sy-subrc <> 0.

message e208 with

'Unix Path Incorrect'.


But even if I give incorrect Unix path (say for eg jahfhsas) the sy-subrc is always 0.

The error message 'Unix Path Incorrect' is not getting triggered.

Can anyone help me out with this .

Thanks and Regards


Former Member
Not what you were looking for? View more on this topic or Ask a question