Skip to Content

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

Sales order Output Options: Save a file

I would like to save a data file on the SAP server when a sales order is saved. I have set up a message category in the output options of the PO (T-CODE NACE). My set up looks like:

Output Type: ZTEST

Medium: Special Function

Program name: ZZTEST

Form: ENTRY

The program form looks like:

open DATASET '/tmp/ZTEST' for INPUT IN TEXT MODE ENCODING DEFAULT.

CHECK sy-subrc = 0.

transfer 'test OK' to '/tmp/ZTEST'.

CLOSE DATASET '/tmp/ZTEST'.

But this is not working.

Any suggestion please?

Former Member

Helpful Answer

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