2008 Oct 19 2:20 PM
Hi all,
As you know,when generating BDC program using t-code SHDB,we got two ways to re-execute the certain transaction,which are 'CALL TRANSACTION ... USING bdcdata' and 'CALL FUNCTION 'BDC_INSERT'' .
I just know how to use the previous one, so could you tell me the meaning of the latter one,how to use it?
Tks
Hi all,
As you know,when generating BDC program using t-code SHDB,we got two ways to re-execute the certain transaction,which are 'CALL TRANSACTION ... USING bdcdata' and 'CALL FUNCTION 'BDC_INSERT'' .
I just know how to use the previous one, so could you tell me the meaning of the latter one,how to use it?
Tks
2008 Oct 19 3:28 PM
2008 Oct 19 5:11 PM
Hi
Using Session Method is a two step process in general. When u execute your BDC program using session method,that is calling FM BDC_INSERT... The system would create a session which needs to up processed to update the database. When you create a session,database does not gets updated, Only when you process the session,database is updated.
Call Transaction updates the database immediately....
Regards,
Vishwa.
2008 Oct 19 6:42 PM
Hi Alex,
There are lots of threads for your same query please do spend some time to search yourself you will get lots of post for your paot.
Anyways BDC_INSERT is one of the function module which will create a session while we upload data using BDC technique this is the sample example ..
Load BDC as a transaction in BDC session
call function 'BDC_INSERT'
exporting
tcode = v_tcode
tables
dynprotab = itab_bdc_tab
exceptions
internal_error = 01
not_open = 02
queue_error = 03
tcode_invalid = 04.
endform.
Go through this link will get complete information.
http://help.sap.com/saphelp_nw04/helpdata/en/fa/097133543b11d1898e0000e8322d00/content.htm
Cheers!!
Balu