Giter VIP home page Giter VIP logo

batch-input-helper's Introduction

batch-input-helper

ABAP API to build batch input table easily and more

Example (ZBTCI_DEMO_FI02)

This code is to change a few fields of an existing bank, using FI02 transaction code.

zcl_btci=>create( )->get_transaction( 'FI02'
)->add_dynpro( NEW zcl_btci_dynpro( iv_program = 'SAPMF02B' iv_dynpro = '0100'
                  )->set_field( CONV bnka-banks( 'FR' ) " country
                  )->set_field( CONV bnka-bankl( '1234567890' ) " bank ID
                  )->set_okcode( zcl_btci=>c_fkey-enter )
)->add_dynpro( NEW zcl_btci_dynpro( iv_program = 'SAPMF02B' iv_dynpro = '0110'
                  )->set_field( CONV bnka-banka( 'dummy French bank' ) " bank name
                  )->set_okcode( '=ADDR' )
)->add_dynpro( NEW zcl_btci_dynpro( iv_program = 'SAPLSZA1' iv_dynpro = '0201'
                  )->set_field( CONV addr1_data-country( 'FR' )
                  )->set_field( CONV addr1_data-langu( 'EN' )
                  )->set_okcode( '=CONT' )
 )->add_dynpro( NEW zcl_btci_dynpro( iv_program = 'SAPMF02B' iv_dynpro = '0110'
                  )->set_okcode( '=UPDA' )
 )->call_transaction(
                  EXPORTING
                    iv_display = zcl_btci_transaction=>c_display-all_screens
                  RECEIVING
                    eo_result  = DATA(lo_result) ).

batch-input-helper's People

Contributors

sandraros avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

batch-input-helper's Issues

Missing interfaces and Unit Tests

Hello Sandraros,

I was considering using your library to replace an old class of mine I've used a few times (which currently seems to work fine but was at times a little buggy). I really like your use of the builder pattern.

But I'd like to know if your project is still active? There doesn't seem to have been much activity in a while.
Are you open to adding interfaces (to the external consumable classes ZCL_BTCI, zcl_btci_dynpro and zcl_btci_transaction) via a Pull Request from me? Perhaps some unit testing too?

Some of the variables naming (returning variables with eo_ ) don't seem consistent as well. How would you feel about some refactoring which might make it incompatible to previous installations you've done?

Thanks

Martin

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.