Thread overview
New release v0.5 of the D bindings for SAP NetWeaver RFC SDK
Oct 08
Kai Nacke
Oct 17
Kai Nacke
October 08
Hi!

I made a new release of sapnwrfc-d, the D bindings for the SAP NetWeaver RFC SDK.

Included are the following changes:

  - New bindings for basic decimal arithmetic (sapdecf.h)
  - A lot of fixes to the bindings and new, automatically generated bindings
  - New example applications
    computeday: This is an example of a simple RFC call
    repotool: This utility displays the metadata for a RFC

The included set of example applications show how easy it is to call an RFC. To use the library just add a dependency to your dub.json/dub.sdl file or clone the source at https://github.com/redstar/sapnwrfc-d.

Regards,
Kai
October 10
On 10/08/2017 12:59 PM, Kai Nacke wrote:
> The included set of example applications show how easy it is to call an RFC. To use the library just add a dependency to your dub.json/dub.sdl file or clone the source at https://github.com/redstar/sapnwrfc-d.

Thanks, examples are nice for packages.

Wondering a little about the std. usage, as it seems very unlikely to
ever become standardized.
Why not just use sap. or netweaver. as top level package?

Also I can recommend at least some basic ddoc comments, it's really trivial to use ddox to get some nice documentation, e.g. see https://github.com/MartinNowak/bloom.

If you use x:ddoxFilterArgs without "--only-documented", it should even work for undocumented functions.

-Martin
October 17
Hi Martin!

On Tuesday, 10 October 2017 at 13:25:43 UTC, Martin Nowak wrote:
> Thanks, examples are nice for packages.

Examples are a good way to check that the definitions are really working. My first version was really buggy.

> Wondering a little about the std. usage, as it seems very unlikely to
> ever become standardized.
> Why not just use sap. or netweaver. as top level package?

It was just of a lack of a better name. Thinking about it I like the "netweaver." package name.

> Also I can recommend at least some basic ddoc comments, it's really trivial to use ddox to get some nice documentation, e.g. see https://github.com/MartinNowak/bloom.
>
> If you use x:ddoxFilterArgs without "--only-documented", it should even work for undocumented functions.

Yeah, documentation is a bit weak. Currently, there is not much more than the official C API (for which you can download the documentation) with some D tuning. But I now start adding more functions and I will consider your hint.

Thanks for your feedback!

Regards,
Kai