PackagePackagetypeA library you install and call yourself.See every one →What this type is →independently maintainedindependently maintainedoriginPublished by one person or a small company outside SAP. Says nothing about quality; the readings say that.See every one →

ZwdCSV

A CSV parser and generator for ABAP that follows RFC 4180, including line breaks embedded inside quoted fields, for strings and for files on the application server and the frontend.

A CSV reader that just splits on line breaks fails once a field itself contains one; ZwdCSV should respect RFC 4180, and because of that 'the entire CSV string is needed for correct parsing' rather than being read line by line. ZCL_WD_CSV parses and generates CSV strings directly with PARSE_STRING and GENERATE_STRING, while ZCL_WD_CSV_FILE reads and writes CSV files on the application server and the frontend, assuming UTF-8 encoding. A separate parser and generator, ZwdCSV-Cloud, covers ABAP Cloud, where this version does not run.

Facts

Last pushLicenceMIT

Where it sits

Lives in
Provides
SerialisationABAPSerialisationcapabilityTurning typed in-memory data into a text or binary format such as JSON, CSV or protobuf and reading it back, including the mapping of names and types the language does not do for you. The protocol that carries the payload is a separate concern: an HTTP or OData client moves the bytes, and serialisation decides what they say.

Who is behind it

Daniel WegnerDaniel WegnerPersonMaintains this
In the atlas: maintains 3, contributes to 10
@WegnerDan
maintainer

What it declares

Every artifact

Type
Package
Origin
Independently maintained

As a package

Where it runs
does not say
Distributed through
does not say

Connections1

README

quoted from WegnerDan/ZwdCSV under MIT, read
WegnerDan/ZwdCSV/README.mdOn GitHub

ZwdCSV

CSV Parser and Generator for ABAP

The Parser should respect RFC 4180, especially end-of-line characters inside of cells. Because of this, the entire CSV string is needed for correct parsing.

Class ZCL_WD_CSV contains Methods PARSE_STRING and GENERATE_STRING for directly handling csv strings.
Class ZCL_WD_CSV_FILE contains Methods for dealing with CSV files (reading and writing files from/to application server and frontend).

UTF-8 Encoding for methods of class ZCL_WD_CSV_FILE is assumed.

ABAP Cloud

A version of this parser/generator for ABAP Cloud can be found here: ZwdCSV-Cloud

MIT, read

History

Latest

v2.0.1

Notes

added some unit tests and bug fixes for bugs discovered by those unit tests :)

  1. v2.0.0

    Notes

    This version has improved variable names, might cause syntax errors if an older version of the repo is already in the system.

Serialisation
  1. ABAP JSON APIJSON renderer and parser for ABAP with camelCase conversionfrom ABAP
  2. zcl_mdp_jsonABAP library generating and parsing JSON stringsfrom ABAP
  3. JSON2ABAPTypeGenerator of ABAP type definitions from JSON structuresfrom ABAP
  4. abap-protobufProtocol Buffers (proto2) implementation in ABAPfrom ABAP
  5. ZASISRegex RuleSets that read barcode strings into named fieldsfrom ABAP
  6. ABAP ArchitectEclipse plug-in turning JSON or XML into ABAP types and DDIC objectsfrom ABAP
  7. ABAP to JSON serializer and deserializerOpen-source Z* version of /UI2/CL_JSON for ABAP to JSONfrom ABAP
  8. ajsonJSON parser and serialiser for ABAP with a node treefrom ABAP
  9. sbcgua/text2tabParser of TAB-delimited text into ABAP internal tables and backfrom ABAP
  10. ABAP JSON Encoder/DecoderJSON encoder and decoder for ABAP, modelled on Go's encoding/jsonfrom ABAP
  11. ABAP CSV ManagerConfigurable CSV reader and writer for ABAPfrom ABAP

Details

Sources3
Added by handdiscovered herechecked
github.com/WegnerDan/ZwdCSVtree, pushes, contributors, CIchecked
README.mdquoted, and what the entry declareschecked

Sources are graph entities: the same page may back several entries, and an unreachable source flags every row that rests on it.

Compatibility and provenance
discovered viaAdded by hand
first seen in the atlas
ecosystem and domainabap, protocols-and-apis
abaplint
issues under its own abaplint configuration867
lines3,334
statements2,037
objects17
files31
analysed, master
abaplint version2.120.84
History in the atlas1
  1. First seen.
For your agent
Ref
artifact:wegnerdan-zwdcsv
JSON
/artifacts/wegnerdan-zwdcsv.json
MCP
Connecting an agent