on 07-29-2008 10:14 AM
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?
Hi,
You have to open the dataset in OUTPUT MODE instead of INPUT MODE (Here u opend in INPUT MODE) because you are writing the contents into application server.
I think it solves your problem. IF not please let me know.
Thanks,
Phani Diwakar.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.