GithubHelp home page GithubHelp logo

abap-lcl-ftp's Introduction

abap-lcl-ftp

ABAP Local Class for Handling FTP

SAPFTPA Config

You need to create RFC destinations for FTP communications. There is a standard report for that purpose called: 'RSFTP005'(SAPFTP check) instead of configuring it manually via the transaction 'SM59'(Configurations of RFC connections),it automatically creates the following two RFC destinations: 1.SAPFTP(For invoking the RFC library on the SAP GUI frontend) 2.SAPFTPA(For invoking the RFC library on the SAP Netweaver AS ABAP host)

Installation

  1. Create table ZTA_FTPCONFIG
Field Data Type Length
MANDT CLNT 3
CNAME CHAR 30
CSYSTEM CHAR 20
CUSER CHAR 30
CPASSWORD CHAR 30
CHOST CHAR 30
IPORT CHAR 10
RFC_DESTINATION CHAR 32
CFOLDER CHAR 100
  1. Create Include Program from SE38 and paste the code
  2. Activate

How to Use?

  1. Create local object with reference lcl_ftp
  2. Create object of lcl_ftp
  3. And method on class ready

Example

DATA: lo_export_ftp TYPE REF TO lcl_ftp.

CREATE OBJECT lo_export_ftp.
lo_export_ftp->handle_connect(
        EXPORTING imw_ftp_config = lw_ftpconfig
        IMPORTING ex_hdl = lv_hdl ).

License

TODO: ???

abap-lcl-ftp's People

Contributors

rijdz avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.