Skip to Content
author's profile photo Former Member
Former Member

new to BDC so required some good documents plz

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

8 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Sep 22, 2006 at 11:22 AM

    Hello,

    Check your mail.

    Regs,

    Venkat

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      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

  • author's profile photo Former Member
    Former Member
    Posted on Sep 22, 2006 at 11:18 AM
  • author's profile photo Former Member
    Former Member
    Posted on Sep 22, 2006 at 11:24 AM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 22, 2006 at 11:33 AM

    hi,

    Check your mail. I sent ppts and docs.

    Regards,

    Sailaja.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 22, 2006 at 11:34 AM
    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 22, 2006 at 11:49 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 22, 2006 at 11:54 AM

    Hello,

    Did u check the above code.

    Regs,

    Venkat

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 22, 2006 at 11:55 AM

    sent one ppt to ur mail

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.