03-14-2007 6:35 AM
Hi experts,
whats the use of the function module BDC_INSERT? How different is it from call transaction method?
Regards,
Abdullah
03-14-2007 6:40 AM
bdc_insert function module is used to send the internal table with data to populate the
screens of the transaction .
we also specify the transaction code which we want to record.
03-14-2007 6:38 AM
Hi,
It is one of the fun modules used inSessions method to pass the TCODE paramter to it.
Go through the following link:
For BDC:
http://myweb.dal.ca/hchinni/sap/bdc_home.htm
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/bdc&;
http://www.sap-img.com/abap/learning-bdc-programming.htm
http://www.sapdevelopment.co.uk/bdc/bdchome.htm
http://www.sap-img.com/abap/difference-between-batch-input-and-call-transaction-in-bdc.htm
http://help.sap.com/saphelp_47x200/helpdata/en/69/c250684ba111d189750000e8322d00/frameset.htm
http://www.sapbrain.com/TUTORIALS/TECHNICAL/BDC_tutorial.html
Check these link:
http://www.sap-img.com/abap/difference-between-batch-input-and-call-transaction-in-bdc.htm
http://www.sap-img.com/abap/question-about-bdc-program.htm
http://www.itcserver.com/blog/2006/06/30/batch-input-vs-call-transaction/
http://www.planetsap.com/bdc_main_page.htm
Reward if useful.
Regards,
Anji
03-14-2007 6:40 AM
Hi,
The FM BDC_INSERT is used for : You use this module to pass data as a transaction to batch input.
I think both BDC_INSERT and call transaction behave the same way!
Rgds,
Sandeep
03-14-2007 6:40 AM
bdc_insert function module is used to send the internal table with data to populate the
screens of the transaction .
we also specify the transaction code which we want to record.
03-14-2007 6:44 AM
in call transaction there is no need to use the function modules.
but in case of session method use the fallowing transations.
bdc_open_group.
bdc_insert
bdc_close_group.
the perpose of bdc_insert is to insert the given data into the tranaction.
the transaction what ever u want.
thanks,
venkat
03-14-2007 6:46 AM
Hi.....
<b>BDC_INSERT :</b>
Use the BDC_INSERT function module to add a transaction to a batch input session. You specify the transaction that is to be started in the call to BDC_INSERT. You must provide a BDCDATA structure that contains all of the data required to process the transaction completely.
This graphic is explained in the accompanying text
BDC_INSERT takes the following parameters:
TCODE
The code of the transaction that is to be run.
POST_LOCAL
Parameter to update data locally. If POST_LOCAL = X, data will be updated locally.
(refer to the keyword documentation of SET UPDATE TASK LOCAL for more information)
DYNPROTAB
The BDCDATA structure that contains the data that is to be processed by the transaction.
DYNPROTAB is a table parameter in the function module.
also see the following link:
http://help.sap.com/saphelp_erp2005vp/helpdata/en/fa/097133543b11d1898e0000e8322d00/frameset.htm
Reward points if useful.....
Suresh.....
03-14-2007 6:52 AM
Hi,
With all reply one more thing with BDC_INSERT is that we can process only one Transaction with CALL TRANSACTION but with BDC_INSERT we can process more then one Transaction one after another .
as for ex.
CALL FUNCTION 'BDC_INSERT'
EXPORTING
tcode = tcode1
TABLES
dynprotab = i_bdcdata1.
CALL FUNCTION 'BDC_INSERT'
EXPORTING
tcode = tcode2
TABLES
dynprotab = i_bdcdata2.
Regards
Gaurav