SAP Note 27 - Recommendations for the ABAP file interface

Composant : Syntax, Compiler, Runtime -

Solution : https://service.sap.com/sap/support/notes/27 (Connexion à SAP Service Marketplace requise)

Résumé :
Cette note SAP décrit les problèmes courants et les solutions associées à l'interface de fichier ABAP, en particulier les instructions OPEN/READ/TRANSFER/CLOSE DATASET, en abordant l'accès aux fichiers au niveau du système d'exploitation où les droits d'accès, les configurations réseau et le codage des caractères jouent des rôles significatifs. Les solutions clés incluent la vérification des autorisations au niveau du système d'exploitation, les ajustements de configuration pour NFS et les paramètres d'encodage appropriés pour les modes texte. Elle souligne l'importance des paramètres corrects pour gérer les systèmes de fichiers, le codage des caractères (notamment les limitations de gestion de UTF-16), et les conventions de fin de ligne, fournissant également des actions de remédiation via des notes SAP et des outils pour la conversion et le dépannage.

Mots Clés :
s_dataset 18273   delete dataset returns sy-subrc = 4 11999   open dataset / close dataset, runtime priority recommendations / additional info category consulting validity, 18273   delete dataset returns sy-subrc = 4 11999   open dataset / close dataset, line 514798   aix - memory leak - close dataset 433687   open dataset, filter addition 391434   open dataset generates rabax dataset_reopen 330992   support, slow 514798   aix - memory leak - close dataset 1031864   dataset, 64 bit aix 1038056   short dump dataset_pipe_cmd_too_long 820055   abap file interface, customer component bc-aba-la syntax, 867936   read dataset - reduced performance 820055   abap file interface, 0e 34730   runtime error dataset_write_error 34343   open dataset

Notes associées :

1038056Short Dump DATASET_PIPE_CMD_TOO_LONG
1031864DATASET is open after DELETE DATASET fails
971104DATASETS in batch not correctly closed
875632Errno in short dump DATASET_CANT_CLOSE
869373ABAP Datasets: Carriage Return on OS/400.
867936READ DATASET - reduced performance
820055ABAP File Interface: Corrections for READ and TRANSFER
790191OPEN DATASET .. FILTER and rollout
790017sy-subrc of CLOSE DATASET if FILTER addition used
788907Lines end with '#' in a file created in Windows
788449Byte-order Marks in UTF-8 Files
775375Reading of files in TEXT MODE is slow
752859sapiconv - a tool for converting the encoding of files
752835Usage of the file interfaces in Unicode systems
747615Tool for converting files from one code page to another
709832CX_SY_CONVERSION_CODEPAGE exception with READ DATASET
667909Incorrect OPEN DATASET for APPENDING on NT platform
647418Large File Support on 64 bit AIX
626010"TRANSFER f TO dataset" ignores LENGTH addition
624919Directory names instead of file names with OPEN DATASET
570051CX_SY_CONVERSION_CODEPAGE exception during TRANSFER
564796READ DATASET in TEXT MODE with incomplete last line
514798AIX - Memory leak - CLOSE DATASET
433687OPEN DATASET in BINARY MODE with FILTER addition
391434
330992Support of large files (> 2 GB)
177702
138711Read-write errors / errors with large files
107818DATASET_TELL_ERROR on Windows NT
102363Problems with remote files
69098Runtime error due to missing authorizations
68718Problems with file authorizations and umask
65050Data types and file formats in files (DATASET)
43180Missing authorizations from 3.0E
34730
34343OPEN DATASET ... IN TEXT MODE does not function.
18273DELETE DATASET returns SY-SUBRC = 4
11999OPEN DATASET / CLOSE DATASET with FILTER addition