BDC Releated Doubts

Dear All ,
I have few doubts regarding BDC
1) What are the parameters to be considered while selection the method of BDC ie session method or Call Transaction .
2) suppose I running BDC  in background And i have 100 records.Assume my 41 , 47 record contains some junk data . what will happenn to other data after 47th record.

Hi Raghu,
You can decide based on the data volume that your BDC is processing. If data volume is high go for session else call transaction will do.The call transaction updates will be instantaneous where as session needs to be processed explictly after creation.
http://www.sappoint.com/abap/bdcconcept.pdf
you can do it both manually and by using program RSBDCSUB.
With Regards,
Manikandan Rajendran

Similar Messages

  • BDC/LSMW Doubt!

    Hi Friends!
    1)    Could u pls tell me when to use BDC & When to use LSMW I am a technical Person i want to load data using LSMW Then when to do that? apart from doent need programming effort.
    2) My Second Doubt is From LSMW, Suppose i am doing lsmw in development system can i transport the lSMW to Production & upload data to prod server just like BDC
    or
    I ve to do lSMW in production System to upload data in prod server
    Since I am saving i am nor getting development class & transport req, that why.
    Could u pls help me to solve my issue.
    Thanks
    Rahul.

    <b>BDC</b> is for loading <b>master data</b> and <b>LSMW</b> for <b>transaction data</b>
    BDC
    BDC is basically for customized applications.
    In bdc we have to give mapping concept explicitly.
    It basically uses recording.
    BDC is used by technical consultants , who do coding.
    Coding can be done flexibly to customize applications.
    LSMW
    In lsmw mapping is take care by sap.
    lsmw is basically for standard sap application.
    LSMW offers different techniques for migrating data say : Direct input , Batch input recording , BAPI , IDOC
    LSMW is basically designed for Functional consultants who do no coding .
    Coding cannot be done flexibily as BDC.
    <b>Yes</b> you can <b>transport</b> in <b>LSMW</b>! There is an <b>import export option</b> in <b>extras</b> of <b>LSMW initial screen</b>.
    refer
    for LSMW:
    www.sap-img.com/sap-data-migration.htm
    www.scmexpertonline.com/downloads/SCM_LSMW_StepsOnWeb.doc
    www.erpgenie.com/sap/saptech/lsmw.htm
    help.sap.com/bp_blv1500/BL_US/html/dataconv_lsmw.htm
    help.sap.com/saphelp_nw04s/helpdata/en/87/f3ae74e68111d1b3ff006094b944c8/content.htm
    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
    regards,
    srinivas
    <b>*reward for useful answers*</b>

  • BDC file doubt

    hi friends,
    plz tell me wat is the functionality of this code and wat should be the input
    1)SELECTION-SCREEN BEGIN OF BLOCK blk2 WITH FRAME TITLE  text-002.
    PARAMETERS: p_ifile LIKE dynpread-fieldname OBLIGATORY,   " Input file
                p_efile LIKE dynpread-fieldname OBLIGATORY.   " Error file
    SELECTION-SCREEN END OF BLOCK blk2.
    2)DATA : fm_file LIKE ibipparms-path .
    3)DATA :  v_file LIKE rlgrap-filename.
    4)DATA :  v_efile LIKE rlgrap-filename.
    5)i have a doubt
    is code SAVE_DOCUMENT is must while uploading from dat file to sap table
    thank's*regards
    soorya

    HI SOORYA,
    1)SELECTION-SCREEN BEGIN OF BLOCK blk2 WITH FRAME TITLE text-002.
    PARAMETERS: p_ifile LIKE dynpread-fieldname OBLIGATORY, " Input file
    p_efile LIKE dynpread-fieldname OBLIGATORY. " Error file
    SELECTION-SCREEN END OF BLOCK blk2.
    It is a selection screen where u give filepath for the input file and also for the error file.
    2)DATA : fm_file LIKE ibipparms-path .
    its data transfer parameter for a local file to be uploaded or downloaded
    3)DATA : v_file LIKE rlgrap-filename.
    & 4)DATA : v_efile LIKE rlgrap-filename.
    --Local filename for uploading or downloading
    hope this helps,
    priya.

  • Doubt in BDC

    I have a doubt in BDC,
    They used a standard SAP program (RSBDCBTC_SUB and RFBIBL00) for upload the data for the transaction FBB1. they don’t want the particular record .
    They used a session method for upload the data.
    I know only the session name. how I can delete the particular record.
    Once processed the session.
    Is it possible to delete the delete the record.
    Help me regard this.

    Priya,
    here i can suggest u one thing
    if u want to know the program r report related to that session
    just go to sm35
    select the session then go with analysis
    then in the screen u will get the screens used in that particular program
    when u double click on those screens control leads to that respected screen
    in that if u go with system - > status u will get all the details of the program
    when u double click on the program control leads into that program
    then there u can find all the details related to tables and everything
    i think it helps for u
    Regards,
    naveen

  • Doubt in BDC (Creation of Production order)

    Hi experts,
         I have a doubt in my bdc, in my bdc i am going to create production order in CO01. its working properly but after entered the date i want to click operation overview and change one particular routing workcenter. But all the workcenter have the same field name of ARBPL, if anyone have a idea plz help its urgent. Point will be sure.
    gowri

    Dear Mr.Gowri Sankar,
    As you have created a BDC for creating production order,
    once after the order creation is over u can goto CO02 and change the work centre,routing details before release.
    Please tell us when do u want to change the work centre & routing details?
    If I'm wrong,please correct me.Also please share the concept of your BDC.
    Regards
    Mangal

  • Simple Doubt in BDC

    Hi friends,
       I am new to BDC .I am just trying a simple code which is written already.
       This is the simple code to fill the transaction VK13 first screen.
      PERFORM bdc_dynpro      USING 'SAPMV13A' '0100'.
      PERFORM bdc_field       USING 'BDC_CURSOR'
                                          'RV13A-KSCHL'.
      PERFORM bdc_field       USING 'BDC_OKCODE'
                                            '/00'.
      PERFORM bdc_field       USING 'RV13A-KSCHL'
                                           wa_report-kschl.
      PERFORM bdc_dynpro      USING 'SAPLV14A' '0100'.
      PERFORM bdc_field       USING 'BDC_CURSOR'
                                          'RV130-SELKZ(01)'.
      PERFORM bdc_field       USING 'BDC_OKCODE'
                                           '=WEIT'.
      PERFORM bdc_field       USING 'RV130-SELKZ(01)'
                                            'X'.
      CALL TRANSACTION 'VK13' USING i_bdc_tbl
                              MODE  'A'.
    FORM bdc_dynpro USING program dynpro.
      CLEAR i_bdc_tbl.
      wa_bdc_tbl-program  = program.
      wa_bdc_tbl-dynpro   = dynpro.
      wa_bdc_tbl-dynbegin = 'X'.
      APPEND wa_bdc_tbl TO i_bdc_tbl.
    ENDFORM.                    "BDC_DYNPRO
    FORM bdc_field USING fnam fval.
      CLEAR i_bdc_tbl.
      MOVE fnam TO wa_bdc_tbl-fnam.
      MOVE fval TO wa_bdc_tbl-fval.
      APPEND wa_bdc_tbl TO i_bdc_tbl.
    ENDFORM.                    "BDC_FIELD
    When execute this code it is just showing the empty screen of transaction vk13. It is not filling the condition type field with whatever value i am passing. When go in debugg mode i am not getting the logic again and again it is going to the first screen of vk13 and asking to enter the value whwn the statement CALL TRANSACTION is getting executed. It is clear to me.
    My main doubt is we are clearing the internal table i_bdc_tbl before calling the transaction once we move the value to the specific field.I am not getting what they tried to do there.Simply moving one record to internal table and again clearing it then moving a next record and clearing it again before calling the transaction.
    What we are trying to do by this?Can any one explain me.
    Please help me out in understanding this.
    Thanks in Advance.

    Hi Shri,
    You can go thru these links for more info on BDC:
    http://help.sap.com/saphelp_erp2005/helpdata/en/fa/097119543b11d1898e0000e8322d00/frameset.htm
    http://www.sapbrain.com/TUTORIALS/TECHNICAL/BDC_tutorial.html
    http://www.sap-img.com/abap/learning-bdc-programming.htm
    http://www.sap-img.com/bdc.htm
    www.sappoint.com/abap/bdcconcept.pdf
    http://www.sap-img.com/abap/learning-bdc-programming.htm
    http://www.sapdevelopment.co.uk/bdc/bdchome.htm
    http://www.planetsap.com/bdc_main_page.htm
    Reward points if this helps.
    Manish

  • Beginner ABAPer asking Doubts in BDC

    Hi Guyz,
    I am a beginner in ABAP. Here i am sending some doubts on BDC . Any Kind of help will be highly Appreciated.
    Thanks,
    SAM
    1>How do we handle all the scrolling funcions(page ups, page downs atc), and values entered into table controls in BDC ?
    2> How do you take care of screen resolution in BDC?

    1) page up and page down ... i donno the actual procedure but this is one of the method...
    i hope this answers both of ur questions...
    After encountering the screen, say u need to select a field in a table. One of the methods is to press <b>Control F</b> on that screen then enter the field name which u want.. and press enter.. then that field will be the <b>first field in the screen resolution</b> ....
    just try this for a normal table like spfli... after going to the table display in <b>SE11 press control F or the Binoculars icon.</b>. then u will get a small window u just type in the name of the field u want.. and press enter .. see what happens,
    suppose ..
    have opened this spfli in se11 transaction and in display mode..
    Now <b>'PERIOD'</b> is the field which is not there in the resolution..
    so i have opened the find option ,provided the field name <b>PERIOD </b>in the field of search window.
    then pressed enter. Now i will get the same screen( spfli display screen ) with <b>period as the first field in that resolution</b> .. Now i can do whatever is i want with this field.. here i have double clicked on the domain of the field PERIOD.
    so u analyse this code....
    *spfli display screen..
    perform bdc_dynpro using 'SAPLSD41' '2200'. ( * spfli display screen , u can use ur screen number here )
    perform bdc_field using 'BDC_OKCODE'
    '=FIND'. (* To open the find window )
    perform bdc_dynpro using 'SAPLSD41' '0114'. ( * This is the find window )
    perform bdc_field using 'BDC_CURSOR'
    'RSDXX-FINDSTR'.
    perform bdc_field using 'BDC_OKCODE'
    '=CANC'. (* OK_CODE for enter )
    perform bdc_field using 'RSDXX-FINDSTR'
    'PERIOD'. ( * Here i am giving the field name which i want to search or which is not there in the resolution or u can give a vaiable name which contains the value <FIELD NAME> ).
    ( Now i got the spfli display screen with period as the first field in the screen resolution )
    perform bdc_dynpro using 'SAPLSD41' '2200'. (*The previous spfli display screen )
    perform bdc_field using 'BDC_OKCODE'
    '=WB_SELECT_OBJECT'. (* OK_CODE to double click on the domain of the field PERIOD )
    perform bdc_field using 'BDC_CURSOR'
    'DD03D-ROLLNAME(01)'.
    reward helpful answers...
    sai ramesh

  • Doubt in uploading purchase order data using BDC

    Hi friends,
    how to upload purchase order data.
    1) In both BDC and BAPI which one is preferable?
    2) for suppose if it is through BDC,  how to use? what are the transactions that we can use(SHDB, ME21N,ME21)?
    3) To execute the job in background, is it possible for both call transaction and session method.
    Thanks in advance
    Sreenivas k

    It really depends on the number of records you have. Still for a set of 5,000 records my answer to your questions will be:
    1) In both BDC and BAPI which one is preferable?  - <b>Go with BDC</b>
    2) for suppose if it is through BDC, how to use? what are the transactions that we can use(SHDB, ME21N,ME21)? - <b>Yes, its SHDB for recording, SE38 for abap program and ME21 for PO. Avoid SAP Enjoy transactions for recording as you may end up having problems wiht it.</b>
    3) To execute the job in background, is it possible for both call transaction and session method. - <b>If you use call transaction method then you have to schedule the job to run in background or simply run it through F9 instead of F8. In case of session method you can chose to process the session in background. However  I would suggest you go with BDC Session method for this.</b>
    - Guru
    Reward points for helpful answers

  • Urgent doubt in BDC

    Hi,
        I clling BDC MB11 from Delivery.so,with ref to delivery document the delivery items will placed in MB11.but in case of an error i.e insufficient stock of the components,no special error handliong has to be in place.the error message of the MB11 transaction should be passedback to the screen.how can i achieve it.
    thanks in advance.

    Hi,
    Use FORMAT_MESSAGE Fm to capthuresthe system generated messages.
    Kishore.

  • Doubt in bdc and ale reg

    using we can transfer the data from one system and another system. in ale also we can do same thing. what is the need of using ale

    BDC is used in scenarios where a company decides to do away with an existing ERP system and choses to use a SAP R/3 system in its place(Like from Oracle to SAP, or from any legacy system to SAP).
    In the process, the company wil store all the legacy data in flat files before discarding the original system.
    The flat file data, will have to be uploaded into the R/3 System again. It such cases BDCs/ Batch Iput programs are used.
    ALEs are used in a totally different scenario.
    If the company is using two loosely coupled sap systems, and the same data is to be maintained in both the systems, then you will use ALE concept.
    It is like latching them together and changes made to one system are automatically refelected in the other system as well.
    Regards,
    Ravi

  • Doubt in BDC ( Material master)

    Hi frnds,
      I am creating BDC for material master.In that BDC if i load the data in 'A' mode its work properly. In 'E' Mode in the last page its asking every time for Save, In 'N' Mode its not upload how to do this.
    This is my code :
    perform bdc_dynpro      using 'SAPLSPO1' '0300'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=YES'.
    ***********CALL TRANSACTION************************
    CALL TRANSACTION 'MM01' USING bdcdata MODE 'E'
             UPDATE 'A'
            MESSAGES INTO it_bdcmsg.
    Thanks,
    Gowri.

    Hi
    May be in 'A' mode you are manually hitting the SAVE and saving
    The function code/OK code for SAVE is 'BU' like
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '=BU'.
    so you have to write this in the last, then it won't ask in E and N modes
    may be this is missing in the program see and correct.
    Reward points for useful Answers
    Regards
    Anji

  • Doubt in BDC direct input method

    Hi experts
    I dont know how to upload data in SAP data base by using BDC direct input coding method. Can u people explain this with coding?
    Thanks in advance.
    Regards
    Antony

    Hi,
    DI is used when u r going upload large amount of data for single application.
    Better example where direct input method will be used is... uploading the data for material master.....it includes lot of views so its very much difficult to capture all the views and record the tcode and map the data in such conditions its better to go with DI methods
    advantages:
    in session method or CT method while uploading the data u do the validation by fallowing the screen sequence and field sequence where as in DI validations can be done set of code so this make the process very fast so its advantageous to upload large amout of data.
    you always use the standard sap provided program for this.
    Here in DI method very important thing is structure of flat file... so to know the structure first of all you have to download the data for one record into the internal table with the use of the same program then with the use of that structure u have to desing the flat file and upload the data.
    Re: re: direct input method
    Award points if useful.
    Thanks,
    Ravee...

  • Simple doubt in BDC  Call Transaction Method

    Hi Friends,
      When i try to call vk13 transaction and pass the screen field values for the second screen and execute it it is displaying properly.But when i try to pass the different value in the bcddata internal table it is changing properly but in the screen it not updating that value.Alawly the screen fields are taking the values passed the first time.But in the internal table which we are oassing to the calltransaction it is changing correctly but not in the corresponding screen fields. Why it is happening so. Can any one help me out of this problem.
    Thanks in Advance.

    I am not passing through the selection screen . It is like iteractive report. when i select the particular line in the list output then the screen fields should take the values from that selected line. First time when i select the line it is taking properly.
    But next time when i select the line the content of the i_bdc_tbl is changing correctly but when it enter in to the transaction it is not taking the values from the i_bdc_tbl. Simply it is displaying the screen fields with the old values. It is not updating the screen fields with the values from the i_bdc_tbl. Why the screen fields are not replaced with the value of i_bdc_tbl? Why it is not getting refreshed with the new values?
    Just i am posting the bdc portion of my code here. So you can help me out on this.
    AT LINE-SELECTION.
      SELECT SINGLE kozgf FROM t685 INTO v_kozgf
                          WHERE kschl = wa_report-kschl.
      SELECT kolnr kotabnr FROM t682i INTO TABLE i_t682i
                     WHERE kozgf = v_kozgf.
      SORT i_t682i BY kolnr.
      READ TABLE i_t682i WITH KEY kotabnr = wa_report-tabna+1(3)
           TRANSPORTING NO FIELDS.
      CHECK sy-subrc = 0.
      v_index = sy-tabix.
      REFRESH i_bdc_tbl.
      l_tabix = '01'.
      PERFORM f_vk13.
      CONCATENATE 'RV13' wa_report-tabna  INTO v_bdc_val_field.
      PERFORM bdc_dynpro      USING v_bdc_val_field '1000'.
      PERFORM bdc_field       USING 'BDC_CURSOR'
                                    'F004-LOW'.
      PERFORM bdc_field       USING 'BDC_OKCODE'
                                    '=ONLI'.
      CREATE DATA v_rec  TYPE (wa_report-tabna).
      ASSIGN v_rec->* TO <wa_table>.
      SELECT SINGLE *  FROM (wa_report-tabna) INTO <wa_table>
      WHERE kschl = wa_report-kschl AND matnr = wa_report-matnr AND knumh = wa_report-objectid.
      CALL FUNCTION 'DDIF_FIELDINFO_GET'
        EXPORTING
          tabname        = wa_report-tabna
        TABLES
          dfies_tab      = lwa_tabna
        EXCEPTIONS
          not_found      = 1
          internal_error = 2
          OTHERS         = 3.
      READ TABLE lwa_tabna WITH KEY fieldname = 'KSCHL'.
      p1 = sy-tabix + 1.
      READ TABLE lwa_tabna WITH KEY fieldname = 'MATNR'.
      p2 = sy-tabix.
      LOOP AT lwa_tabna.
        v_field = lwa_tabna-fieldname.
        IF lwa_tabna-position BETWEEN p1 AND p2.
          ASSIGN COMPONENT lwa_tabna-position OF STRUCTURE <wa_table> TO <fld>.
          PERFORM f_vk13_s2 USING lwa_tabna-fieldname <fld>.
        ENDIF.
      ENDLOOP.
      PERFORM bdc_field       USING 'RV130-DATAM'
                                       wa_report-fdate_value_new.
      PERFORM bdc_field       USING 'BDC_OKCODE'
                                    'ONLI'.
      PERFORM bdc_field       USING 'BDC_CURSOR'
                                    'F001'.
      CALL TRANSACTION 'VK13' USING i_bdc_tbl
                              MODE  'A'.
    FORM f_vk13.
      DATA: l_tabix(2) TYPE c.
    *Condition type
      PERFORM bdc_dynpro      USING 'SAPMV13A' '0100'.
      PERFORM bdc_field       USING 'BDC_CURSOR'
                                    'RV13A-KSCHL'.
      PERFORM bdc_field       USING 'BDC_OKCODE'
                                    '/00'.
      PERFORM bdc_field       USING 'RV13A-KSCHL'
                                     wa_report-kschl.
    *Key combination
      PERFORM bdc_dynpro      USING 'SAPLV14A' '0100'.
      PERFORM bdc_field       USING 'BDC_CURSOR'
                                    'RV130-SELKZ(01)'.
      PERFORM bdc_field       USING 'BDC_OKCODE'
                                    '=WEIT'.
      PERFORM bdc_field       USING 'RV130-SELKZ(01)'
      l_tabix = v_index.
      SHIFT l_tabix RIGHT.
      OVERLAY l_tabix WITH '00'.
      CONCATENATE 'RV130-SELKZ(' l_tabix ')' INTO v_bdc_field.
      PERFORM bdc_field       USING v_bdc_field
                                    'X'.
    ENDFORM.                                                    "f_vk13
          FORM BDC_DYNPRO
          This form accepts the program name and screen number
          and places the values into the I_BDC_TBL internal table.
    FORM bdc_dynpro USING program dynpro.
      CLEAR wa_bdc_tbl.
      wa_bdc_tbl-program  = program.
      wa_bdc_tbl-dynpro   = dynpro.
      wa_bdc_tbl-dynbegin = 'X'.
      APPEND wa_bdc_tbl TO i_bdc_tbl.
    ENDFORM.                    "BDC_DYNPRO
          FORM F_BDC_FIELD
        This form accepts the field name and the corresponding value
        for that field and places them into the I_BDC_TBL internal table.
    FORM bdc_field USING fnam fval.
      CLEAR wa_bdc_tbl.
      MOVE fnam TO wa_bdc_tbl-fnam.
      MOVE fval TO wa_bdc_tbl-fval.
      APPEND wa_bdc_tbl TO i_bdc_tbl.
    ENDFORM.                    "BDC_FIELD
    *&      Form  f_vk13_s2
          text
    -->  p1        text
    <--  p2        text
    FORM f_vk13_s2 USING p_fieldname p_fld.
      CONCATENATE wa_report-tabna '-' p_fieldname INTO v_bdc_val_field.
      CHECK NOT p_fld IS INITIAL.
      PERFORM bdc_field USING v_bdc_val_field p_fld.
    ENDFORM.                                                    " f_vk13_s2
    Thanks.

  • Doubt in HR-ABAP BDC Program

    hi all,
        My BDC program is going to dump while execution. Below I'm pasting the report.
        TYPES : BEGIN OF IT_INPUT,
            PERNR TYPE PERNR_D,
            CHOIC TYPE CHOIC,
            BEGDA TYPE CHAR10,
            ENDDA TYPE CHAR10,
            ANREX TYPE ANREX,
            NACHN TYPE NACHN,
            VORNA TYPE VORNA,
            GBPAS TYPE GBPAS,
            SPRSL TYPE SPRSL,
            END OF IT_INPUT.
    TYPES : BEGIN OF IT_RAW,
            LINE TYPE CHAR120,
            END OF IT_RAW.
    INTERNAL TABLES
    DATA : IT_FINAL TYPE STANDARD TABLE OF IT_INPUT.
    DATA : IT_RAW TYPE STANDARD TABLE OF IT_RAW.
    DATA : IT_ERROR TYPE STANDARD TABLE OF BDCMSGCOLL.
    WORK AREA
    DATA : WA_FINAL TYPE IT_INPUT.
    DATA : WA_RAW TYPE IT_RAW.
    DATA : WA_ERROR TYPE BDCMSGCOLL.
    CONSTANTS : C_TAB TYPE C value '/'.
    INCLUDE : BDCRECXY.
    START-OF-SELECTION.
    SUBROUTINE TO READ DATA FROM FLAT FILE
    PERFORM READ_DATA_FROM_FF.
    SUBROUTINE TO MAP DATA TO SCREEN FIELDS
    PERFORM DATA_MAPPING.
    *&      Form  READ_DATA_FROM_FF
          text
    -->  p1        text
    <--  p2        text
    FORM READ_DATA_FROM_FF .
    CALL FUNCTION 'GUI_UPLOAD'
      EXPORTING
        FILENAME                      = 'E:\RAG\BDC1.txt'
      TABLES
        DATA_TAB                      = IT_RAW
    IF sy-subrc eq 0.
    LOOP AT IT_RAW INTO WA_RAW.
    SPLIT WA_RAW
    AT C_TAB
    INTO WA_FINAL-PERNR
         WA_FINAL-CHOIC
         WA_FINAL-BEGDA
         WA_FINAL-ENDDA
         WA_FINAL-ANREX
         WA_FINAL-NACHN
         WA_FINAL-VORNA
         WA_FINAL-GBPAS
         WA_FINAL-SPRSL.
    APPEND WA_FINAL TO IT_FINAL.
    WRITE : WA_FINAL.
    CLEAR WA_FINAL.
    ENDLOOP.
    ENDIF.
    ENDFORM.                    " READ_DATA_FROM_FF
    *&      Form  DATA_MAPPING
          text
    -->  p1        text
    <--  p2        text
    FORM DATA_MAPPING .
    LOOP AT IT_FINAL INTO WA_FINAL.
    FIRST SCREEN INFORMATION FOR PA30
    perform bdc_dynpro      using 'SAPMP50A' '1000'.
    perform bdc_field       using 'RP50G-PERNR'
                                  WA_FINAL-PERNR.
    *perform bdc_field       using 'BDC_CURSOR'
                                 'T582S-ITEXT(03)'.
    perform bdc_field       using 'RP50G-SELEC(03)'
                                   'X'.
    perform bdc_field       using 'RP50G-TIMR6'
                                   'X'.
    perform bdc_field       using 'RP50G-CHOIC'
                                   '0002'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=INS'.
    SECOND SCREEN INFORMATION 0002
    perform bdc_dynpro      using 'MP000200' '2001'.
    *perform bdc_field       using 'BDC_CURSOR'
                                 'Q0002-GBPAS'.
    perform bdc_field       using 'BDC_OKCODE'
                                  'UPD'.
    perform bdc_field       using 'P0002-BEGDA'
                                   WA_FINAL-BEGDA.
    perform bdc_field       using 'P0002-ENDDA'
                                  WA_FINAL-ENDDA.
    perform bdc_field       using 'Q0002-ANREX'
                                  WA_FINAL-ANREX.
    perform bdc_field       using 'P0002-NACHN'
                                  WA_FINAL-NACHN.
    perform bdc_field       using 'P0002-VORNA'
                                  WA_FINAL-VORNA.
    perform bdc_field       using 'Q0002-GBPAS'
                                  WA_FINAL-GBPAS.
    perform bdc_field       using 'P0002-SPRSL'
                                  WA_FINAL-SPRSL.
    perform bdc_transaction tables it_error using 'PA30' 'x' 'a' 'a'.
             IF it_ERROR[] IS NOT INITIAL.
                LOOP AT it_ERROR INTO wa_ERROR.
                WRITE : wa_ERROR.
               ENDLOOP.
              REFRESH it_ERROR.
             ENDIF.
    ENDLOOP.
    Error which I was getting is 'UNABLE TO INTERPRET '/ ' AS  A NUMBER'.

    Hi
    Look out for the error in the flat file which you are uploading. I have seen this error and I found it in Flat file. its a conversion error.
    Just copy few lines from the original file, make a new file and upload it. In this way, you will be able to say whether there is an error in file or in code.
    Regards
    Waz

  • Doubts in BDC

    hi friends ,
    i have some questions regarding BDC`s
    1)What is the difference between asynchronous <b>processing & updating</b>???
    2)how can we use programe defined function module in bdc?
    3)purpose of leave-to-transaction ? where it is used ?
    4)when & how is direct input used?
    regards
    Rishi

    Hi Rushikesh,
    Here it is answers for oyu....
    1)What is the difference between asynchronous processing & updating???
    sol: Asynchronous process means first when ever data ispopulsting from the file it is processing the data means dealing out with the data nothing but check the all the data at a time. Asynchronous updating means update all the data at a time means controller doesn't wait for confirmation from the DB.
    2)how can we use programe defined function module in bdc?
    Sol: i think your asking about BDC-OPEN_GROUP, BDC_INSERT,BDC_Close.
    If it is then first upload the data from file to internatl table and then data populated to DB through t-code by using bdcdata strucutre.
    3)purpose of leave-to-transaction ? where it is used ?
    Sol: Suppose your doing the at selection screen validation then we have ti use ths statement like
    IF P_BUKRS IS INITIAL.
    MESSAGE E(001) WITH 'XXXXXXXXXXXXXXXXXX'
    LEAVE TO TRANSACTION ZVAL.
    ENDIF.
    4)when & how is direct input used?
    Sol: Suppose we need ti uplaod the huge (nearly 1 or 2lakksh) records at a time then we can go for direct input method. This means directly hit to DB. First data can be populated to itab then by submitting two standard programs we can uplaod the data to DB.But problem is direct input have restart mechanism means suppose if you will ge error at 99999 record then we have to start agign the process.
    Hope this helps you, reply for queries, Shall post you the updates.
    Regards. 
    Kumar. .

Maybe you are looking for

  • Opening & Closing ALL Windows in Final Cut Express 4???

    I am new to Mac & FCE 4. When I either open up FCE or close it - only certain windows are opened or closed (i.e. just Viewer & Browser may appear, for example). How do I open & close projects so that ALL the windows open & close? Thanks for helping a

  • How to import Hierarchy Data in MDM 7.1

    Hi All,     I am trying to import the hierarchy data to SAP MDM 7.1 I have the data in the Excel sheet in the following structure Parent Code   Parent Name   Child Code   Child Name A1                  Printer              P1               Inkjet A1 

  • Regarding Transfer speed in Cisco Any Connect

    Hi, I was trying to check transfer speed from Cisco Any Connect, with only ports opened in firewall 443 & 80 with 1 destination , but to complete data transfer of 50MB file it takes around 40mins, but if all ports are unblocked in Firewall with 1 des

  • AE CC: Material options showing only curvature and segments.

    Hi, I'm having some trouble with AE CC's ray traced comp options. I've selected "ray traced', crreated a new 3D solid. However when I view "Geometry Options" I am presented with only "Curvature" and "Segments" - there's no option to extrude etc. Is i

  • RSS feeds not updated

    The rss feeds on: http://www.oracle.com/technology/syndication/rss_otn_dev.xml are not updated.