Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

batch input with objects

Former Member
0 Kudos

Hi,

Exists a standard class to develop a batch input????

Any ideas???

Is it possible to create a batch input with objects??

1 REPLY 1

Former Member
0 Kudos

Hi there

Why not

just define your class in the normal way

decide what variables you need to pass

in the methods of your class call the fm modules bdc open, bdc dynpro etc etc.

Incidently the following include will have a decent amount of code for the BDC bits.

include bdcrecx1.

A good way is to start sm35 to record what you are doing on the screen. When you've finished go to your recording in SM35 and click on CREATE PROGRAM - it will create most of the code for you including the screen fields -- you'll need to edit a bit of course as you don't need everything that will be shown.

Debugging in the CREATE PROGRAM might show you a decent generic way of generating BDC's which you could easily do via a class.

Note however using BDC's is the LEAST PREFRERRED WAY of performing work and should only be used as a LAST RESORT if there really is no other way. A lot of new BAPI's and Classes are now available which can do away with the need for BDC's in most cases.

job done.

cheers

jimbo