‎2008 Jun 02 2:13 PM
Hi experts
I dont know how to upload data in SAP data base by using BDC direct input coding method. Can u people explain this with coding?
Thanks in advance.
Regards
Antony
‎2008 Jun 02 3:34 PM
‎2008 Jun 02 5:10 PM
Hi,
DI is used when u r going upload large amount of data for single application.
Better example where direct input method will be used is... uploading the data for material master.....it includes lot of views so its very much difficult to capture all the views and record the tcode and map the data in such conditions its better to go with DI methods
advantages:
in session method or CT method while uploading the data u do the validation by fallowing the screen sequence and field sequence where as in DI validations can be done set of code so this make the process very fast so its advantageous to upload large amout of data.
you always use the standard sap provided program for this.
Here in DI method very important thing is structure of flat file... so to know the structure first of all you have to download the data for one record into the internal table with the use of the same program then with the use of that structure u have to desing the flat file and upload the data.
Award points if useful.
Thanks,
Ravee...
‎2008 Jun 03 5:43 AM
Hi,
Direct input
Apart from the CALL transaction and Batch input methods, there is one more method for data transfer which is called the Direct input technique especially for transferring large amounts of data.
In contrast to batch input, this technique does not create sessions, but stores the data directly into the corresponding database tables.
With direct input, the system calls a number of function modules that execute the consistency checks. It does not process screens. However with batch input, these consistency checks are executed with the help of the screens. This means that direct input has considerable performance advantages
In case of errors, the direct input technique provides a restart mechanism. However to be able to activate the restart mechanism, direct input programs must be executed in the background only.
Regards,
Syed
‎2008 Jun 03 5:49 AM
Hi,
Please check this link this will be very helpful to u..............
http://sap-abapinfo.blogspot.com/2008/05/abap-bdc-session-method-sample-code.html