How to implement a program (batch input) which reads a
external text file with inventory data, and write these data
in sap?

Answer Posted / anuraj singh rana

First you have to write codes to upload the file from
application server to presentation server.

Design the internal table according to the flat file.
Declare another internal table type BDCDATA which contains
the fields:
1.Program name.
2.Dynpro(Screen no.)
3.Dynbegin(Marks the begining of screen)
4.Fnam(Field name)
5.Fval(Field Value)

Then call either Transaction or session method to pass the
data into the SAP Database table.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How will u handle the situation – In a report using function module to generate a IDOC, How will u handle the error IDOC in the same report ?

1676


When a program is created and need to be transported to prodn does selection texts always go with it? If not how do you make sure? Can you change the cts entries? How do you do it?

572


What is the t-code to display batch input sessions? : abap bdc

627


What function does data dictionary perform?

568


What is a size category? : abap data dictionary

659






What are conversion routines? : abap data dictionary

589


Why do we use abstract class

1027


What are the Synchronous and asynchronous methods in bdc ?

613


What are the user groups?

568


Explain about drill down report?

8781


wat is the default file name of BAPI trace?

1816


Describe the difference between macro and subroutine?

632


what is call back in alv?

1977


What is technically difference between in Table creation in table creation maintenance not allowed ,maintenance allowed with restriction, maintenance allowed ?

1167


What are the functional modules used in sequence in bdc? : abap bdc

579