09-22-2006 12:16 PM
hello friends
i am new to bdc .
so i want to know that when to go for call transaction
and when to session method?
if anyone of u have some document with examples then plz send me.
do send me about sap-img, sapgenie,sappoints, etc .
plz send me some good docu
which will be helpful for a new guy like me to enter
in BDC.
give some examples.
can i expect this from anyone of you.
if anyone can send some good documents to me
then my id is- sanjeevsingh_sap@yahoo.com
thanks & regards
09-22-2006 12:22 PM
09-22-2006 12:18 PM
http://www.sapbrain.com/TUTORIALS/TECHNICAL/BDC_tutorial.html
BDC
http://www.sap-img.com/bdc.htm
Table control in BDC
http://www.sap-img.com/abap/bdc-example-using-table-control-in-bdc.htm
http://www.sapbrain.com/TUTORIALS/TECHNICAL/BDC_tutorial.html
http://www.sappoint.com/abap/bdcrec.pdf
http://www.sappoint.com/abap/bdcconcept.pdf
http://www.sap-img.com/bdc.htm
BDC
http://www.sap-img.com/bdc.htm
http://www.guidancetech.com/people/holland/sap/abap/zzsni001.htm
http://www.sappoint.com/abap/bdcconcept.pdf
http://www.sapdevelopment.co.uk/bdc/bdchome.htm
http://www.sap-img.com/abap/bdc-example-using-table-control-in-bdc.htm
http://www.planetsap.com/bdc_main_page.htm
http://www.sappoint.com/abap/bdcconcept.pdf
http://www.guidancetech.com/people/holland/sap/abap/zzsni001.htm
http://www.sappoint.com/abap/bdcrec.pdf
http://www.sappoint.com/abap/bdcconcept.pdf
http://www.sapbrain.com/TUTORIALS/TECHNICAL/BDC_tutorial.html
09-22-2006 12:22 PM
09-22-2006 12:35 PM
hi venkat
thanks for sending this valuable documents.
can u send me real time code using call transaction where u have done the erroe handling bcoz in this we have to handle the error on our own.
examples- Material master upload
vendormaster ,or customer master or any other whatever u have.
u can also send some code where u have used session method.
if u can send i will be grateful to u for ur effort.
bye
09-22-2006 12:24 PM
hi Sanjeev,
BDC is Batch Data Communication where data is transferred from legacy system(that can be non-SAP system) to SAP system. In this case, you pass the data from legacy system and in SAP system the get can be filled into the screen and updated in the database using the transactions. In BDC, you automatise this process and thus update the tables in SAP system.
Regards,
Richa.
09-22-2006 12:49 PM
thanks richa
but can i expectsome real time code examples from u
which i can refer.
especially for call transaction where u have put code
for error handling also
09-22-2006 12:33 PM
09-22-2006 12:47 PM
sorry sailaja
i didn't yet recieve any ppt and doc send by u.
so plz send it once again.
my id is- sanjeevsingh_sap@yahoo.com
09-22-2006 12:34 PM
HI,
sap.ittoolbox.com/documents/popular-q-and-a/abap-sample-interview-questions
www.erpgenie.com/sap/abap/tips_and_tricks.htm
www.net-temps.com/job/ttys/JP0003/sap_abap_r_3.html
searchsap.techtarget.com/topicETA/0,295498,sid21_tax299327_idx0_off100,00.html
Regards,
Laxmi.
09-22-2006 12:49 PM
Hello,
BDC CODE WITH HANDLING ERRORS:
=============================
DATA: BEGIN OF BDCDATA OCCURS 5.
INCLUDE STRUCTURE BDCDATA.
DATA: END OF BDCDATA.
DATA: C_TCODE LIKE BKPF-TCODE VALUE 'FB01'.
DATA BEGIN OF MESSTAB OCCURS 10.
INCLUDE STRUCTURE BDCMSGCOLL.
DATA END OF MESSTAB.
FORM Main_Program
REFRESH BDCDATA.
PERFORM APPEND_BDC USING 'SAPMF05A' '0100' ' ' ' '.
PERFORM APPEND_BDC USING ' ' ' ' 'BKPF-BLDAT' '09031998'.
PERFORM APPEND_BDC USING ' ' ' ' 'BDC_OKCODE' '/00'.
PERFORM APPEND_BDC USING 'SAPMF05A' '0300' ' ' ' '.
PERFORM APPEND_BDC USING ' ' ' ' 'BSEG-WRBTR' '*'.
PERFORM APPEND_BDC USING ' ' ' ' 'BDC_OKCODE' 'BU'.
CALL TRANSACTION 'FB01' USING BDCDATA MODE 'N' UPDATE 'S'.
PERFORM UPDATE_IDOC_STATUS.
ENDFORM.
REFRESH MESSTAB.
CALL TRANSACTION C_TCODE USING BDCDATA MODE 'N' UPDATE 'S'
MESSAGES INTO MESSTAB.
RETURN_CODE = SY-SUBRC.
IF RETURN_CODE = 0.
LOOP AT MESSTAB.
IF MESSTAB-MSGTYP = 'E'.
RETURN_CODE = MESSTAB-MSGNR.
SY-MSGID = 'B1'.
SY-MSGNO = 999.
SY-MSGV1 = 'Error: Check BDC'.
ENDIF.
ENDLOOP.
ENDIF.
*--- Here we check the return code, if there was an error, we put the
* transaction in a BDC session for the user to review and correct.
IF RETURN_CODE NE 0.
CALL FUNCTION 'BDC_OPEN_GROUP'
EXPORTING
CLIENT = SY-MANDT
GROUP = 'ZKJW'
USER = SY-UNAME
KEEP = 'X'.
CALL FUNCTION 'BDC_INSERT'
EXPORTING
TCODE = C_TCODE
TABLES
DYNPROTAB = BDCDATA.
CALL FUNCTION 'BDC_CLOSE_GROUP'
EXCEPTIONS
NOT_OPEN = 1
QUEUE_ERROR = 2
OTHERS = 3.
ENDIF.
*--- Append BDCDATA internal table ------------------------------------
FORM APPEND_BDC USING VALUE(P_PROG)
VALUE(P_SCREEN)
VALUE(P_NAM)
VALUE(P_VAL).
CLEAR BDCDATA.
IF P_PROG NE SPACE.
BDCDATA-PROGRAM = P_PROG.
BDCDATA-DYNPRO = P_SCREEN.
BDCDATA-DYNBEGIN = 'X'.
BDCDATA-FNAM = P_NAM.
BDCDATA-FVAL = P_VAL.
ELSE.
BDCDATA-FNAM = P_NAM.
BDCDATA-FVAL = P_VAL.
ENDIF.
APPEND BDCDATA.
ENDFORM.
Regs,
Venkat
09-22-2006 12:54 PM
09-22-2006 12:55 PM