A question in BDC

Hi all,
Lets say i am uploading data using BDC.
i am having 10 fields and the the last field should contain 5 pages of text.
How do i do that.? what kind of data type will support this.?
Thanking u all in advance,
Hari Kiran

fellas  check this out , written by
Sakthi C----
Hi,
*Just declare it in string data type with large value in bracket like this,
data : loc_var(250) type string,
*Make sure that you last value should be saved in this local variable(loc_var) and append this variable in to a internal table and use that internal table for uploading data in the transaction.
Thanks,
Sakthi C
That answers my question.
Thank u all once again for replying,
regards,
Hari kiran

Similar Messages

  • Multiple questions on BDC

    Hi everyone
    I have multiple questions on BDC.Would u please answer them with explanations ASAP...
    1. How do you create a batch input session for a transaction?
    a) We create a bdc and use ‘call transaction’ in background mode.
    b) We create a bdc and use ‘call transaction’ in error mode.
    c) We create a bdc and use ‘bdc_insert’ for the transaction.
    d) None of the above.
    2. What is the alternative to batch input session?
    a) Load module
    b) Call transaction
    c) BAPI
    d) Idoc segment
    3. Which SAP table stores the BDC session queue information?
    a) APQD
    b) APQL
    c) APQQ
    d) APQI
    4. Which program can be used to release BDC sessions within a job?
    a) RSBDCSUB
    b) RSBDCJOB
    c) RSSUBBDC
    d) BDCRECXX
    5. Which one of the following is output to the job log when included in an ABAP program running in the background?
    a) Write statements
    b) message statements
    c) report parameters
    d) Submit statements
    6. Your program specs call for you to read the first 10 records from a text file (fname1), and write them out to another text file (fname2).
    Which block of code will accomplish the result desired in the above scenario?
    a) Open dataset fname2 for input in text mode.
    Do 10 times.
    Read dataset fname1 into hold_var.
    Transfer hold_var to fname2.
    Enddo.
    b) open file fname1 for output.
    Open file fname2 for input.
    Read dataset fname1 into hold_var 10 times.
    Transfer hold_var to fname2.
    c) open file fname1 for input.
    Open file fname2 for output.
    Do 10 times.
    Read file fname1 into hold_var.
    Transfer hold_var into fname2.
    Enddo.
    d) open dataset fname1 for input in text mode.
    Open dataset fname2 for output in text mode.
    Do 10 times.
    Read fname1 into hold_var.
    Write hold_var to fname2.
    Enddo.
    7. sy-dynpro is
    a) screen no
    b) program
    c) table
    d) field name
    8. Which of the following are NOT correct usage of BDC_cursor?
    a) To position the cursor on a particular field.
    <bdc_tab>-FNAM = 'BDC_CURSOR'.
    <bdc_tab>-FVAL = &#8216;fieldx&#8217; .
    b) To position the cursor on a particular field.
    <bdc_tab>-FNAM = &#8216;fieldx&#8217;
    <bdc_tab>-FVAL = 'BDC_CURSOR'. .
    c) For fifth row of Table control
    <bdc_tab>-FVAL = 'fieldx(5)'.
    d) For fifth row of Table control
    <bdc_tab>-FNAM = 'BDC_CURSOR(5) '.
    9. In case of background processing of a BI session, which authorization is checked?
    a) Developer of the program that schedules BI Session
    b) User who executes the BI session
    c) User who executes the program that schedules BI Session
    d) User ID that is passed to the BDC_OPN_GROUP function module inside the calling program
    10. Which of the following are TRUE about Transaction Recorder?
    a) Transaction Code is SHDB
    b) Transaction Code is SM35
    c) It can generate ABAP code for the BDC program automatically
    d) It can generate ABAP code for the Call Transaction program automatically
    Regards,
    Pratibha

    Hi,
    1) C We create a bdc and use ‘bdc_insert’ for the transaction
    2) b) Call transaction
    3. d) APQI
    4. a) RSBDCSUB
    5. b) message statements
    6. d) open dataset fname1 for input in text mode.
    Open dataset fname2 for output in text mode.
    Do 10 times.
    Read fname1 into hold_var.
    Write hold_var to fname2.
    Enddo.
    7. a) screen no
    8.  b) To position the cursor on a particular field.
    <bdc_tab>-FNAM = ‘fieldx’
    <bdc_tab>-FVAL = 'BDC_CURSOR'. .
    9.b) User who executes the BI session (or)
    c) User who executes the program that schedules BI Session
    10.  a) Transaction Code is SHDB
    c) It can generate ABAP code for the BDC program automatically
    Regards

  • Question in BDC session method.

    Hi guys,
    I am trying to upload BOM using BDC session method.
    While doing this, i have learnt the steps by heart. But i do not understrand the logic behind the steps. For example, why do we include this statement
    Data: IT-BDC like BDCDATA occurs 0 with headerline.
    What if we don't include this statement?
    Moderator message: sorry, these forums are not targeted to provide step by step guides to beginners, please search for available information, take courses, etc.
    locked by: Thomas Zloch on Sep 10, 2010 1:06 PM

    Hello Dhirendra,
    Thanks for immediate reply. I want to understand BDC method conceptually. What exactly happens by performing each step.
    I am putting up the BDC i made. I copied some of the code from here and there. It works fine but i don't understand the purpose of BDCDATA,
    call transaction 'cs01'
    and form bdc_dynpro and form bdc_field.
    I am quite new to ABAP. Please don't mind if i ask dumb questions.
    I am unable to understand how control flows through the code logic.
    report ZBDCFORCS01
           no standard page heading line-size 255.
    *include bdcrecx1.
    DATA: IT_BDC LIKE BDCDATA OCCURS 0 WITH HEADER LINE,
          IT_MSGCOLL LIKE BDCMSGCOLL OCCURS 0.
    TYPES TRUXS_T_TEXT_DATA(4096) TYPE C OCCURS 0.
    DATA: I_TAB_RAW_DATA TYPE TRUXS_T_TEXT_DATA.
    DATA: BEGIN OF ITAB OCCURS 0,
          MATNR(18),
          WERKS(4),
          STLAN(1),
          IDNRK(18),
          MENGE(20),
          END OF ITAB.
    SELECTION-SCREEN: BEGIN OF BLOCK b1.
      PARAMETERS: CS01FILE TYPE RLGRAP-FILENAME.
    SELECTION-SCREEN: END OF BLOCK b1.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR CS01FILE.
      CALL FUNCTION 'F4_FILENAME'
       EXPORTING
         PROGRAM_NAME        = SYST-CPROG
         DYNPRO_NUMBER       = SYST-DYNNR
         FIELD_NAME          = ' '
       IMPORTING
         FILE_NAME           = CS01FILE
    start-of-selection.
    CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'
      EXPORTING
      I_FIELD_SEPERATOR          =
      I_LINE_HEADER              =
        I_TAB_RAW_DATA             = I_TAB_RAW_DATA
        I_FILENAME                 = CS01FILE
      TABLES
        I_TAB_CONVERTED_DATA       = ITAB[]
    EXCEPTIONS
       CONVERSION_FAILED          = 1
       OTHERS                     = 2
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    *perform open_group.
    LOOP AT ITAB.
    perform bdc_dynpro      using 'SAPLCSDI' '0100'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'RC29N-STLAN'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    perform bdc_field       using 'RC29N-MATNR'
                                 '1400-500'.
    itab-matnr.
    perform bdc_field       using 'RC29N-WERKS'
                                 '1000'.
    itab-werks.
    perform bdc_field       using 'RC29N-STLAN'
                                 '1'.
    itab-stlan.
    perform bdc_field       using 'RC29N-DATUV'
                                  '10.09.2010'.
    perform bdc_dynpro      using 'SAPLCSDI' '0110'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    perform bdc_field       using 'RC29K-BMENG'
                                  '1'.
    perform bdc_field       using 'RC29K-STLST'
                                  '1'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'RC29K-EXSTL'.
    perform bdc_dynpro      using 'SAPLCSDI' '0111'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'RC29K-LABOR'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    perform bdc_dynpro      using 'SAPLCSDI' '0140'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'RC29P-MENGE(02)'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    perform bdc_field       using 'RC29P-IDNRK(01)'
                                 '1300-320'.
    ITAB-IDNRK.
    perform bdc_field       using 'RC29P-IDNRK(02)'
                                 '1300-312'.
    ITAB-IDNRK.
    perform bdc_field       using 'RC29P-MENGE(01)'
                                 '2'.
    ITAB-MENGE.
    perform bdc_field       using 'RC29P-MENGE(02)'
                                 '2'.
    ITAB-MENGE.
    perform bdc_dynpro      using 'SAPLCSDI' '0130'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'RC29P-POSNR'.
    perform bdc_field       using 'RC29P-POSNR'
                                  '0010'.
    perform bdc_field       using 'RC29P-IDNRK'
                                  '1300-320'.
    perform bdc_field       using 'RC29P-MENGE'
                                  '2'.
    perform bdc_field       using 'RC29P-MEINS'
                                  'PC'.
    perform bdc_dynpro      using 'SAPLCSDI' '0131'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'RC29P-POTX1'.
    perform bdc_field       using 'RC29P-SANKA'
                                  'X'.
    perform bdc_dynpro      using 'SAPLCSDI' '0130'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'RC29P-POSNR'.
    perform bdc_field       using 'RC29P-POSNR'
                                  '0020'.
    perform bdc_field       using 'RC29P-IDNRK'
                                  '1300-312'.
    perform bdc_field       using 'RC29P-MENGE'
                                  '2'.
    perform bdc_field       using 'RC29P-MEINS'
                                  'PC'.
    perform bdc_dynpro      using 'SAPLCSDI' '0131'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'RC29P-POTX1'.
    perform bdc_field       using 'RC29P-SANKA'
                                  'X'.
    perform bdc_dynpro      using 'SAPLCSDI' '0140'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'RC29P-POSNR(01)'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    perform bdc_dynpro      using 'SAPLCSDI' '0140'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'RC29P-POSNR(01)'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=FCBU'.
    perform bdc_transaction using 'CS01'.
    *perform close_group.
    CALL TRANSACTION 'CS01' USING IT_BDC
                MODE 'A'
                UPDATE 'S'
                MESSAGES INTO IT_MSGCOLL.
    REFRESH IT_BDC.           
    ENDLOOP.
    FORM BDC_DYNPRO USING PROGRAM_DYNPRO.
      CLEAR IT_BDC.
      BDCDATA-PROGRAM = PROGRAM.
      BDCDATA-DYNPRO = DYNPRO.
      BDCDATA-DYNBEGIN = 'X'.
      APPEND IT_BDC.
    ENDFORM.
    FORM BDC_FIELD USING FNAM FVAL.
      CLEAR BDCDATA.
      BDCDATA-FNAM = FNAM.
      BDCDATA-FVAL = FVAL.
      APPEND BDCDATA.
    ENDFORM.
    Edited by: Yayati6260 on Sep 10, 2010 12:29 PM

  • Questions on BDC program statements.....

    Hi,
    Currently i am checking below BDC program for packing material use.
    But there is a statement that i am not very clear what it is for...
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'V51VE-EXIDV(01)'.
    For the  'V51VE-EXIDV(01)', here why need to add an (01) at the end.  What does the (01) means??
    Thanks!!!!
      LOOP AT i_lips.
        CLEAR: i_bdc_tab,i_msg_tab.
        REFRESH: i_bdc_tab,i_msg_tab.
        PERFORM bdc_dynpro      USING 'SAPMV50A' '4004'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'LIKP-VBELN'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '/00'.
        PERFORM bdc_field       USING 'LIKP-VBELN'
                                      i_lips-vbeln.
        PERFORM bdc_dynpro      USING 'SAPMV50A' '1000'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '=VERP_T'.
    *perform bdc_field       using 'LIKP-BLDAT'
    *                              record-BLDAT_002.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'LIPS-POSNR(01)'.
    *perform bdc_field       using 'LIKP-WADAT'
    *                              record-WADAT_003.
    *perform bdc_field       using 'LIKP-WAUHR'
    *                              record-WAUHR_004.
    *perform bdc_field       using 'LIKP-BTGEW'
    *                              record-BTGEW_005.
    *perform bdc_field       using 'LIKP-GEWEI'
    *                              record-GEWEI_006.
        PERFORM bdc_dynpro      USING 'SAPLV51G' '6000'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '=ENTR'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'V51VE-VHILM(01)'.
        PERFORM bdc_field       USING 'V51VE-VHILM(01)'
                                      'BOX'.
    *Select all materails
        PERFORM bdc_dynpro      USING 'SAPLV51G' '6000'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '=HU_MARKA'.
    *Select all Boxes
        PERFORM bdc_dynpro      USING 'SAPLV51G' '6000'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '=HUMARKHU'.
    *perform bdc_field       using 'V51VE-SELKZ(01)'
    *                              record-SELKZ_01_008.
        PERFORM bdc_dynpro      USING 'SAPLV51G' '6000'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '=HU_VERP'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'V51VE-EXIDV(01)'.
        PERFORM bdc_dynpro      USING 'SAPLV51G' '6000'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '=SICH'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'V51VE-EXIDV(01)'.
        CALL TRANSACTION 'VL02N' USING i_bdc_tab
                          MODE p_mode
                          MESSAGES INTO i_msg_tab.
    Message was edited by:
            Hoo Laa

    And if this is a BDC running in background, or a call transaction, then placing the cursor on a given field has no effect unless it is needed for navigation to the next screen. 
    When you record a BDC using SHDB there are a lot of statements like this that are added in but are not needed for the BDC to work. 
    Another example is the "BDC_SUBSCR" field name - this does not in most cases appear to have any effect on how the BDC is processed.
    Also, the recording will include fields which have default values on the screen that you do not need to overwrite with the same value from the BDC.
    I often delete these statements from the recording, taking care that I understand what the impact is.  You can try commenting out the line and see what difference it makes to processing. 
    When using a BDC for updating a lot of records, having less of these types of lines in the BDCDATA table will speed performance a bit.
    Andrew

  • Question for BDC about tcode VK12

    Hi, everyone, i encounter a problem when i use BDC to transfer data about vk12.
    when i usd BDC to transfer value to the field F001,F002, F003 and F004-LOW then click run, the detail record are be chosed and displayed, then i must chose them and click delete. if there is only one record accord to the condition, it is easy to deal with it, but, if there are more than one record, what should i do the deal with the detail records, especially how to deal with it dynamicly acoording to the condition.
    for example:
    when i enter first condition through BDC .(see the first record)
    ZPR0|X||RENT-L1-M03||100001||1000|00|01.01.2008|
    the condition value are: zpro, x , rent-l1-m03, 100001,1000, 00 ,01.01.2008 and then i will find only detail record according to this condition, it like this:
    RENT-L1-M03
    2,000.12
    sgd
    1
    ea
    01.01.2008
    31.12.9999
    then flag this detail record and click delete.it is successful
    when i enter second condition through BDC .(see the second record)
    ZPR0
    X
    RENT-L1-M00
    100021
    1000
    00
    01.01.2008
    the condition value are: zpro, x , rent-l1-m00, 100021,1000, 00 ,01.01.2008 and then i will find three detail records according to this condition,  like this:
    |RENT-L1-M00|2,000.12|sgd|1|ea|01.01.2008|31.12.9999
    |RENT-L1-M00|2,000|sgd|1|ea|01.01.2008|31.12.9999
    |RENT-L1-M00|1,000|sgd|1|ea|01.01.2008|31.12.9999
    then if i use the same BDC  record program to deal with this detail record, it is deal with only one detail record, so what should i do to deal with the others.(because all of them should be flaged and deleted)

    Just check if you have a Select All button when you select the record you want to delete.

  • Interview Question in BDC

    hi all,
    i need to know the control commands available in BDC.
    for ex: in scripts we have commands like protect.......endprotect, if......endif, address .... endaddress.........
    thanks & regards,
    suresh babu aluri.

    Hi Suresh
    <b>BDCDATA structure might be asked very frequently.
    BDC modes like A,E,N etc asked very frequently.
    BDC_OPEN_GROUP,CLOSE_GROUP,BDC_INSERT.</b>
    These are imporant Fms.
    Regards,
    Sree

  • Urgent question about BDC

    hi ,
    actualy in bdc recording , double click is not recorded through shdb,  and no other option we have , what should i do to record the double clik.........
    plz help its urgent
    pankaj gupta

    Hi,
    I donno y the double click is not captured for u in SHDB. I have done a recording where i am double clicking a record and it is captured in shdb.
    However i am giving u the ok-code for double clicking. u can use it in the bdc and check.
    ok-code  '=PICK'.
    perform bdc_field       using 'BDC_OKCODE' '=PICK'.
    Regards,
    Asif Ali Khan

  • One interview question in BDC

    there r 10,000 records in a flatfile and first record contains error, if i upload to the bdc pgm,and run in session method what will happen.

    Hello Selva,
    In case of session method, you create a session that is available in SM35. You can process the session thru SM35. In session log, all the records that have errors shows up as in error state and others are as processed/success status.
    The session can be re-processed to clear the records in error state. On re-processing of the session system will only pick the records in error state and successful records are not touched.
    Thatz the beauty of session method, tell me if you have more doubts
    Regards,
    Vishal
    Reward if helpful

  • Question in bdc

    how to find out the record which is diff from other records in bdc,
    suppose i ve 20 records i want to know the 15th record which is diff from other records...
    thanks & regards
    sareen

    make use of AT NEW <FIELD> statement to find the same.
    Refer
    http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/at_extra.htm
    REgards,
    Santosh

  • Question about BDC program

    I wanna to write a program for creating profit center (KE51). Here are part of the codes:
    form create_profit_center.
      refresh bdctab.
      perform fill_screen using:
        'SAPLRKPM' '0200' 'X' space space,
        space space space 'PRCT_V-PRCTR' 'TEST1',
        space space space 'BDC_OKCODE' '/0',
        'SAPLRKPM' '0298' 'X' space space,
        space space space 'PRCT_V-DATAB' '01.01.2005',
        space space space 'PRCT_V-DATBI' '31.12.9999',
        space space space 'PRCT_V-KTEXT' 'Test Profit Center 3',
        space space space 'PRCT_V-LTEXT' 'Test Profit Center 3',
        space space space 'PRCT_V-VERAK' 'ABC',
        space space space 'PRCT_V-KHINR' '1001',
        space space space 'BDC_OKCODE' 'PRCT_SCREEN_CC'.
        call transaction 'KE51' using bdctab mode 'A' update 'S'.
        if sy-subrc <> 0.
          write :/ 'Error when creating profit center.'.
        endif.
    endform.
    form fill_screen using program
                           dynpro
                           dynbegin
                           fnam
                           fval.
      clear bdctab.
      bdctab-program = program.
      bdctab-dynpro = dynpro.
      bdctab-dynbegin = dynbegin.
      bdctab-fnam = fnam.
      bdctab-fval = fval.
      append bdctab.
    endform.
    When I execute the program in mode 'A' (view all the input screen), the program got stuck to the first screen. I can't see any fields (at least I expected the field 'PRCT_V-PRCTR is filled with the value 'Test1')being filled but only an error 'Make an entry in all required fields'.
    Can anyone please help? Thanks!

    Thanks for your reply.
    I have tried to add
    Data: V_kokrs like csks-kokrs value 'CA01'.
    SET PARAMETER ID 'CIC' FIELD V_KOKRS.
    OR
    perform fill_screen using:
    'SAPLSPO4' '0300' 'X' space space,
    space space space 'SVALD-VALUE'<Controlling Area>,
    space space space 'BDC_OKCODE' 'FURT'.
    but it does not work. The error still exists.
    I know that it is required to enter the controlling area before creating profit center. But when you have once saved the controlling area, it will no longer automatically prompt out when using t-code ke51 again. You need to go to the menu 'Extras -> set controlling area' if you wanna to set the controlling area again. So during recording, the starting screen is 'SAPLRKPM' '0200' instead of 'SAPLSPO4' '0300'. I just wonder in normal case you got stuck in a screen, your input value will be colored in red. But in my case, even I have set the value of profit center, the field is still blank.
    I will now try to do it via BAPI. But I am still have interest in what's wrong with the BDC. Thanks!

  • QUESTION ON BDC

    whats disadvantage of batch input session OVER call tranction method?
    Note:Answer shuold be with respect to calltransaction method.

    hi
    good
    Session method.
    1) synchronous processing.
    2) can tranfer large amount of data.
    3) processing is slower.
    4) error log is created
    5) data is not updated until session is processed.
    Call transaction.
    1) asynchronous processing
    2) can transfer small amount of data
    3) processing is faster.
    4) errors need to be handled explicitly
    5) data is updated automatically
    Batch Input (BI) programs still use the classical BDC approach but doesn’t require an ABAP program to be written to format the BDCDATA. The user has to format the data using predefined structures and store it in a flat file. The BI program then reads this and invokes the transaction mentioned in the header record of the file. 
    thanks
    mrutyun^

  • Hi friends Question on BDC

    Hi friends
    In BDC, if out of 10 records, 7 are successful and there are 3 records with some missing fields, how will you modify those fields? 
    Thanks in advance,
    Sharada

    Hi Sharada,
    Hearty welcome to SCN.
    Collect your Messages using FORMAT_MESSAGE function.
    DATA: G_MESSAGE(70) TYPE C,
              BDCDATA TYPE BDCDATA,
              W_BDCMSG TYPE BDCMSGCOLL.
    READ TABLE IT_BDCMSGCOLL INTO W_BDCMSG INDEX 1.
    CALL FUNCTION 'FORMAT_MESSAGE'
    EXPORTING
       ID              = SY-MSGID
       LANG            = '-D'(001)
       NO              = SY-MSGNO
       V1              = SY-MSGV1
       V2              = SY-MSGV2
       V3              = SY-MSGV3
       V4              = SY-MSGV4
    IMPORTING
       MSG             = G_MESSAGE
    EXCEPTIONS
       NOT_FOUND       = 1
       OTHERS          = 2
    IF SY-SUBRC = 0.
    ENDIF.
    ENDLOOP.
    ENDFORM.
    This is how you have to collect your messages.
    Cheers!!

  • BDC Questions

    Hi
    Can you give answers for these questions?
    1)What are the transactions we should use in BDC? How do we use it?
    2)How would you use BDC program to transfer material master record using MM01 transaction? Give me steps.
    3)Could we use ME21N transaction, and XK01 transaction, either which one of the transaction, or could we use both the transactions for creating purchase information.
    4)How can we use XD02 transaction to change the customer data for updating KNA1 table? Give the steps.
    5)How the transaction ME21N is used for to upload the purchase order in BDC?
    6)How many transaction we can used in BDC at a time?
    7)How the data get updated in BDC using transaction.
    8)Why BAPI need then BDC?
    Thanks
    Answers will be rewarded

    Hi,
    BDC:
    Batch Data Communication (BDC) is the process of transferring data from one SAP System to another SAP system or from a non-SAP system to SAP System.
    Features :
    BDC is an automatic procedure.
    This method is used to transfer large amount of data that is available in electronic medium.
    BDC can be used primarily when installing the SAP system and when transferring data from a legacy system (external system).
    BDC uses normal transaction codes to transfer data.
    Types of BDC :
    CLASSICAL BATCH INPUT (Session Method)
    CALL TRANSACTION
    BATCH INPUT METHOD:
    This method is also called as ‘CLASSICAL METHOD’.
    Features:
    Asynchronous processing.
    Synchronous Processing in database update.
    Transfer data for more than one transaction.
    Batch input processing log will be generated.
    During processing, no transaction is started until the previous transaction has been written to the database.
    CALL TRANSACTION METHOD :
    This is another method to transfer data from the legacy system.
    Features:
    Synchronous processing. The system performs a database commit immediately before and after the CALL TRANSACTION USING statement.
    Updating the database can be either synchronous or asynchronous. The program specifies the update type.
    Transfer data for a single transaction.
    Transfers data for a sequence of dialog screens.
    No batch input processing log is generated.
    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
    call Transaction or session method ?
    reward if useful
    regards
    Anji

  • BDC  Intervew Question.

    Hai Gurs.
    One intervew Question
    In BDC requriment which one  you going to choose to do
    1) session method     or
    2) Call Tranaction method.
    if you choose perticually -
      that one mean why ?

    Hi,
    Depending on the requiremnet u need to go for the type of the method  read below given breif discription about different methods:
    To perform data migration from legacy database to new SAP database, BDCs are used. There are three methods in BDC as follows:
    1. DIRECT INPUT METHOD
    2. CALL TRANSACTION METHOD
    3. SESSION METHOD
    There are predefined tools used to perform data migration in SAP. They are:
    1. RECORDING METHOD (SHDB)
    2. LEGACY SYSTEM MIGRATION WORKBENCH (LSMW)
    FUNCTION MODULES USED IN BDC:
    1. UPLOAD
    2. BDC_OPEN_GROUP
    3. BDC_INSERT
    4. BDC_CLOSE_GROUP
    DIRECT INPUT METHOD:
    This method is used to perform bulk data transfer from the flat file into the database table.
    During data transfer, no manual intervention is required.
    ERROR RECORDS:
    Records already existing in the database table are called as Error Records. Such Error Records can be handled efficiently using CALL TRANSACTION statement.
    ADVANTAGES OF DIRECT INPUT METHOD:
    1. We can perform data migration for large number of records.
    2. No manual intervention is required during data transfer.
    3. Data migration is very fast using this method.
    DISADVANTAGES:
    1. Error Records cannot be modified during runtime.
    CALL TRANSACTION METHOD:
    The error records from the flat file can be handled using this method. Whenever SAP comes across error records, these are displayed in a user-defined screen.
    CALL TRANSACTION <tcode> statement is used to call the user-defined screen to populate the error records.
    3. BDC SESSION METHOD:
    Function modules used in SESSION METHOD are:
    1. BDC_OPEN_GROUP - This FM is used to create a session with flat file records in the Application Server. While creating session using this FM, we have to specify the CLIENT NUMBER, USERNAME and SESSION NAME.
    2. BDC_INSERT - This FM is used to insert the internal table records into the session created in AS.
    3. BDC_CLOSE_GROUP - This FM is used to save and activate the session to be processed later.
    Regards,
    kavitha.

  • HR ABAP How to Write BDC For Infotype 0586

    Hi Experts
    Can Any One tell me how to write BDC for Infotype 0586  and also 585.
    If we enter into the maintaining Screen, the lines in the Screen will dynamically changing depending on the values.
    When I am doing recording , If I press page down after entering values in top lines, the lines are changing and the records are not updating Correctly.
    I need to write BDC to Create Change.
    Can any one please help me in this regard?
    Thanks in Advance.
    Regards
    Avinash.

    http://www.sap-img.com/abap/bdc-example-using-table-control-in-bdc.htm
    http://www.sap-img.com/abap/bdc-example-using-table-control-in-bdc.htm
    http://www.google.co.in/search?hl=en&q=SAPBDCtable+control&meta=
    http://www.sap-basis-abap.com/abap/handling-table-control-in-bdc.htm
    http://www.sap-img.com/abap/bdc-example-using-table-control-in-bdc.htm
    http://www.sap-img.com/abap/question-about-bdc-program.htm

Maybe you are looking for

  • Why did my data usage skyrocket with Ellipsis Jetpack?

    My old wifi went down and the Verizon office sold me an Ellipsis Jetpack. My data usage immediately started going up although my Internet habits remained the same. I turn the Jetpack off when I'm not logged in and I changed the setting to only allow

  • I can't install ANY AIR-based App in Windows XP Pro SP3

    Here is the problem: I have AIR 1.5.1.8210, but any AIR apps can't be installed and when I try it the OS crashes and I have my computer restarted. It's very weird 'cause it's heppen only with AIR apps. Yes, this is my last resource to find an answer

  • Xorg.conf warnings and errors (hotplugging)

    Does my xorg.conf look ok? Just wondering how to fix the warnings and errors in it. http://pastebin.com/d7be45a5 Heres my xorg.conf too. http://pastebin.com/de9d8cf7 Last edited by Breakage (2009-01-16 21:22:28)

  • G3 OS9.2 External monitor

    Hi Can anyone tell me if i can set up an additional/external monitor with my old imac. If so have you any idea how i can do it. thanks jfr

  • Explain on Casting

    2 derived class: Class Animal is the base class. Class Dog is the derived class of Animal. Class Spaniel is the derived class of Class Dog. Spaniel aPet = new Spaniel("Fang"); //statement 1 Animal theAnimal = (Animal)aPet; //statement 2 Animal theAni