Conversion problem in condition records upload program (BDC tcode: XK15)

Hello everyone,
    I have downloaded few records from table A017 using key KUMNH (cond no), by the std program RVBTCI01 , i used three structures BRG00, BKOND1, BKOND2 and BKOND3 to download the records.
into a file (.txt) on the server.
  now i uploaded the same file using the standard prg RV14BTCI (after recording the the transaction XK15 using BDC).
the amount field in bkond structure BKOND2-KEBTR is giving the conversion error while uploading ,
it is giving ERROR when the session is processed in sm35
it is not accepting the decimal places while uploading the amount field.
when amount field is made integer its working fine..
this is happening with fields MXWRT and GKWRT too .... (infact in all places where the decimals are used)
any pointers to solve this ???

hi avinash,
  the data elt used for KONP-KBETR in table is
               KBETR_KOND ( which is of type CURR , length 11 and 2 decimal)
  the data elt used for BKOND2-KBETR in structure is
               BKBETR ( which is of type CHAR , length 15 and 0 decimal)
so dat i can download len(11)point(1)decimal(2)  total 15 digits in the structure of 15 char
now the problem comes when i am uploading the same back into the table KONP-KEBTR
which is of type CURR as mentioned above
plz help to solve dis

Similar Messages

  • Bulk Pricing condition record upload

    can any body help out for , Is there any transaction code  for uploading the pricing condition record in BUlk.
    Ex: 1000 condition records upload for condition type PR00..
    Ragards

    Dear Ramesh,
                           This you can do by creating an LSMW,one of the mass upload tool.
    Regards,
    AKD
    Edited by: Ashish Dikshit on Sep 19, 2009 9:31 AM

  • Problem during Rate Routing Upload using BDC.

    Dear Sir/Madam,
    I am uploading Rate Routings using a BDC program which is working perfectly but having a single problem.
    In the initial screen of the transaction CA21(Create Rate Routing), I need to enter only the Material Number and its Plant and all the other fields should be left blank.
    But, here the group number field is automatically getting filled with the previous value and it is incrementing the group counter number. 
    I want the system to allocate different group number for  each Routing. I want the group number to be unique.
    Thanks,
    Ranjan.

    Dear Ranjan,
    While doing recording CA21. you would pass only the material number and plant (i mean you did recording of CA21 based on material number as well as plant not for routing number (group counter))
    Routing number (group counter) dynamic (In your case Internal number rage has assigned).
    So the Problem is:
    1st record of you internal table update smoothly because you program will pass only material and plant
    group counter (RC271-PLNNR) field is blank, after update 1st record system will regenerates the
    group counter number.
    ones the system updates the data it will generates Group counter number and assign to filed :(RC271-PLNNR).
    after saving the record system will go loop statement of you program. again program will call the call transaction statement with 2nd record of the internal table. call transaction statement pass the material number and plant field at ca21. but group counter number automatically poulated in the screen field because that time system can't be refresh the initial screen of CA21,
    so system will shows previous updated screen ( 1st routing record will show)
    Remove your bdc perform and add this code in your BDC perform.
    *        Start new screen                                              *
    FORM BDC_DYNPRO USING PROGRAM DYNPRO.
       CLEAR BDCDATA.
       BDCDATA-PROGRAM  = PROGRAM.
       BDCDATA-DYNPRO   = DYNPRO.
       BDCDATA-DYNBEGIN = 'X'.
       APPEND BDCDATA.
    ENDFORM.
    *        Insert field                                                  *
    FORM BDC_FIELD USING FNAM FVAL.
       IF FVAL <> SPACE.
         CLEAR BDCDATA.
         BDCDATA-FNAM = FNAM.
         BDCDATA-FVAL = FVAL.
         APPEND BDCDATA.
       ENDIF.
    *                Clearing the Group Counter                                *
       IF FVAL = SPACE.
         CLEAR BDCDATA.
         BDCDATA-FNAM = FNAM.
         BDCDATA-FVAL = FVAL.
         APPEND BDCDATA.
       ENDIF.
    above code: 1st time of call transaction FVAL = space means ( group counter field is blank)
    2nd and rest of the time FVAL <> space. means (previous record group number exists for new call transaction ) so system will be by pass with new record.
    Check with debugging mode. you will come to whats going in you code.
    Even i have go same problem while uploading routing data. i have find out solution after doing my RND.
    Regards,
    Akshath

  • Conversion factor on condition recorder

    Hi All,
    I have surcharge on billing document, this surcharge is fixed value by box, the UOM on billing is PC(Pieces).
    I configure a condition type for surcharge, and maintain the condition recorder by box, maintain the conversion factor, but the conversion factor does not work in billing, the surcharge is caculated by PC, not by Box.
    For example, I create the condition recorder
    Material        Amount      Unit   per    UOM
    M-001          1.00           USD    1       BOX
    Conversion factor:
    1 Box <=> 2 PC
    I have 3 pc in billing document.
    But the surcharge is 1.5 USD, not 2 USD.
    Why does the conversion factors not work?
    How can I get the surcharge by box?

    If the value is getting converted into 2 $ instead of 1.5$ then it may be due to rounding off rule. In billing or when the value is posted to GL account, according to New gl account rule it will automatically round off the value.
    and same way check you condition type for the condition rounding off is tick or blank.
    regards,
    Sudhir

  • Problem in Condition record Creation

    I am creating condition record in ML51
    My amount is 95.20 INR
    System is issues the error message Input must be in the format

    Hi,
    Please check the format assigned to the user ID.
    As different ID in same client can have different formats.
    You can either ask your Basis consultant to check the format assigned or do it your self throgu T code SU01.
    Hope it will help.
    Regards,

  • Condition record upload

    Hi SD gurus..
    I need guidance for LSMW.
    I am aware of the steps and the Recording method.
    My only concern is that I have 3 condition type records to be uploaded...PMIN, PR02 and PR00. All of them have a field name as KSCHL..How to differentiate them...all belong to T685A..how will the system populate the records properly? If not then do I have to upload them separately one after another?
    Which T code is better to use? VK11 or VK31?
    Please guide me.

    Hi..
    Since there are 3 condition types that is anyway diffrentiated has an access seuqnce that that the table 685 linked to it.
    I would suugest you to load the price one by one and best would be to load it thru BDC as this can accomodate huge volume of records and will not limint yourself compared to LSMW.
    May be load rummer would also be agood option.
    Thanks
    Saurabh

  • LSMW Conversion Problem

    Hi guys,
                I have a small problem while coverting the data for condition record upload.
    Here is the scenario -
    I'm using the Direct Input Method and Std program RV14BTCI for uploading the condition records. The Key combination is sales org / sales group / material.
    The sales group field is of 3 characters BUT in our system it is only 2 caharacters long. Now i'm concatenating VKORG, VKGRP and MATNR into the VARKEY of structure BKOND2.
    My Test file looks like -
    0010 87 900 1.79
    This is tabular file and the field sequence in the file is -
    sales org - 0010
    sales grp - 87
    material -900
    price - 1.79
    Now when i execute the session, system ALWAYS takes "879" as the sales group and not as "87". Please let me know how can i make this happen.

    Can someone please help me with this ?
    In the file the data is -
    sales org = 0010
    sales grp = 87
    material = 900
    price = 1.19
    But when the data is going in the SAP it is going as -
    sales org = 0010
    sales grp = 87<b>9</b>
    material = <b>00</b>
    price = 1.79
    All the data is going fine EXCEPT the sales org and material. Since the sales org is 3 characters in the system whereas it is only 2 characters in the file, hence it ALWAYS takes the fiest digit from the material no.
    Please suggest me a way out to this problem.

  • Upload program

    Hi,
    Iam getting one problem regarding debit note upload program  
    when i was done the entry profit center field was coming but when i was done it in SHDB recording the profit cneter was not coming then we double click the more dat then one pop up window is coming . i dont want that pop window i want fiel in that screen can u please tell me any body
    and when iam upload the file on that particlura g/l is came the meassage was come like this
    field COBL-KOSTL  Does not exist in the screen  SAPLKACB0002
    PLZ TELL ME THE  SOLUTION
    Thanks & regards
    Jyotsna

    Profit center is available in coding block only and you need to record this. You cannot skip this if you want the feild.

  • Field description in condition record

    Hi Experts,
    I have a problem in condition record maintainace, I have a field Personel number (PERNR) which is employee in my condition table ,If i am creating condition record with entering the personel number normally system automatically proposes the description of the field but i am not getting any description ,it is in display mode.I want to have the description like employee name(which is maintained in Employee maste PA30)
    Can anybody please suggest how to bring the description for this field.
    Please anybody know how to resolve the issue mentioned above.
    Thanks .
    rgds,
    Narasimha
    Edited by: nrpolisertty on Oct 12, 2010 8:45 PM
    Edited by: nrpolisertty on Oct 15, 2010 8:22 PM

    Hello Narasimha
    This could be becasue  HR is a different module and is not that integrated to the Logistic modules, but try this.
    While in  change mode  for the relevant condition table (v/05),  click on the 'Technical View' tab and select the radio button (Text Field- 4 th column) against the field "Personnel Number'. Also see if marking it just a key field and not  a footer field works.
    Let me know how it goes.

  • How to use upload condition record program RV14BTCI

    Hi
    how to use upload condition record program RV14BTCI.
    kathir.

    Hi,
    To run this program we have to maintain Upload file in Application Directory,
    We have to maintain 3 levels of records in that file.. my feel you upload through BDC or LSMW.
    For your information,
    The batch input program RV14BTCI reads the parameters is necessary
    Giving sequential file and creates (depending on the data
    In the file seq) one or more batch input sessions.
    The data are seq file in the following structure expected:
    - The session a session intent (Table KOBTCI, Record 0)
    All other records until the next session, the intent
    Last session assigned to read
    - The head condition Sentence (Table KOBTCI, record 1)
    All other records until the next condition,
    Last read head appropriate rate
    This includes the corresponding condition
    Condition table
    - The key sentence of a Main (Table KOBTCI, record 2)
    It must be directly on the head set to follow
    It contains the key condition of the table
    + Detail fields
    - The season record has a subordinate clause (Table KOBTCI, record 3)
    The teams relate to the key sentence in the main
    Best Regards,
    KSK

  • How to create the condition record by ABAP program

    Hi Friends,
    I want to create/change the condition record of PR00 by ABAP program. It seems that there have no such BAPI/standard function can help on this. Can any one of you point out a way to me?? Thanks in addvance.
    Joe GR.

    Joe,
      Check with below FM..
    BAPI_PRICES_CONDITIONS.
    Check this link:
    Re: Sample code for  BAPI_PRICES_CONDITIONS
    examples....
    http://www.4ap.de/abap/bapi_prices_conditions.php
    Two useful threads on Same topic
    Re: Sample code for  BAPI_PRICES_CONDITIONS
    Re: Problem with BAPI_PRICES_CONDITIONS
    BAPI_PRICES_CONDITIONS
    Please check this sample code from other thread.
    wtable1-table_no = '306'.
    wtable1-applicatio = 'V'.
    wtable1-cond_type = 'ZPR0'.
    wtable1-operation = '009'.
    wtable1-varkey = '13001001USD 000000000050068946'.
    wtable1-valid_to = '99991231'.
    wtable1-valid_from = '20051101'.
    wtable1-cond_no = '$000000001'.
    APPEND wtable1 TO table1.
    wtable2-operation = '009'.
    wtable2-cond_no = '$000000001'.
    wtable2-created_by = sy-uname.
    wtable2-creat_date = '20051022'.
    wtable2-cond_usage = 'A'.
    wtable2-table_no = '110'.
    wtable2-applicatio = 'V'.
    wtable2-cond_type = 'ZPR0'.
    wtable2-varkey = '13001001USD 000000000050068946'.
    wtable2-valid_from = '20051101'.
    wtable2-valid_to = '99991231'.
    APPEND wtable2 TO table2.
    wtable3-operation = '009'.
    wtable3-cond_no = '$000000001'.
    wtable3-cond_count = '01'.
    wtable3-applicatio = 'V'.
    wtable3-cond_type = 'ZPR0'.
    wtable3-scaletype = 'A'.
    wtable3-scalebasin = 'C'.
    wtable3-scale_qty = '1'.
    wtable3-cond_p_unt = '1'.
    wtable3-cond_unit = 'EA'.
    wtable3-calctypcon = 'C'.
    wtable3-cond_value = '454'.
    wtable3-condcurr = 'USD'.
    APPEND wtable3 TO table3.
    CALL FUNCTION 'BAPI_PRICES_CONDITIONS'
    EXPORTING
    PI_initialmode = 'X'
    PI_BLOCKNUMBER =
    TABLES
    ti_bapicondct = table1
    ti_bapicondhd = table2
    ti_bapicondit = table3
    ti_bapicondqs = table4
    ti_bapicondvs = table5
    to_bapiret2 = table6
    to_bapiknumhs = table7
    to_mem_initial = table8
    EXCEPTIONS
    update_error = 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.
    READ TABLE table6 WITH KEY type = 'E' TRANSPORTING NO FIELDS.
    IF sy-subrc = 0.
    loop at table6 into ret.
    write: / ret-type, ret-message, ret-id, RET-LOG_NO, RET-LOG_MSG_NO,
    RET-MESSAGE_V1, RET-MESSAGE_V2, RET-MESSAGE_V3, RET-MESSAGE_V4,
    RET-PARAMETER,RET-ROW,RET-FIELD.
    endloop.
    ELSE.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
    *EXPORTING
    WAIT =
    IMPORTING
    return = ret
    ENDIF.
    Don't forget to reward if useful....

  • Mass Upload of condition records in APO system.

    Hi All,
    I wanted to mass upload condition records in to the APO system for the transaction /N/SAPCND/AO11 from an external file.
    Is there any FM available?
    If FM is not available...which one is the best way to do this?
    LSMW?? or BDC???
    Please guide me..
    Thanks,
    Babu Kilari

    At least the key fields of the conditiontable
    (here 800) must be filled in structure ls_komg.
    ls_komg-vbeln = '1234567890'.  " document number
    ls_komg-posnr = '000010'.      " item number
    clear wt_komv.
    ls_komv-kappl = 'V '.        " Application V = Sales
    ls_komv-kschl = lc_kschl.    " Condition type
    ls_komv-waers = 'EUR'.       " Currency
    ls_komv-kmein = 'ST'.        " Unit of measurement
    ls_komv-kpein = '1'. 
    ls_komv-krech = 'M'.         " calculation type;
                                  "M = Quantity - monthy price
    ls_komv-kbetr = '1234.56'.   " new condition value
    append ls_komv to lt_komv.
    call function 'RV_CONDITION_COPY'
      exporting
        application              = 'V'
        condition_table          = '800'      " cond. table
        condition_type           = lc_kschl   " cond. type
        date_from                = '20061101' " valid on
        date_to                  = '20061130' " valid to
        enqueue                  = 'X'        " lock entry
        i_komk                   = ls_komk
        i_komp                   = ls_komp
        key_fields               = ls_komg    " key fields
        maintain_mode            = 'A'        " A= create
                                              " B= change,
                                              " C= display
                                              " D= create
      with reference
        no_authority_check       = 'X'
        keep_old_records         = 'X'
        overlap_confirmed        = 'X'
        no_db_update             = space
      importing
        e_komk                   = ls_komk
        e_komp                   = ls_komp
        new_record               = lv_new_record
      tables
        copy_records             = lt_komv
      exceptions

  • Upload condition records in SD

    Hi,
    How to upload more condition records in SD
    kathir.

    Hi,
    U can do it using VK11 itself. If u hv only 100 materials then it is beeter to do it manually. One condition record page itself will take around 10 materials. So just create excel sheet same as vk11 condition record format, copy & paste it.
    otherwise u need to go with BDC or LSMW.
    Regards,

  • FM to upload condition records into inforecord (ME12).

    Hai experts,
    Can any one let me know if there is a FM or BAPI which can be used to update/upload condition records into inforecord (Transaction ME12). I need to know it to write a program for mass change/adding of conditions for huge number of inforecords.
    A sample program would be more helpful for me.
    Thanks in advance.
    Matt.

    Hi,
    Please try given below code.
        CALL FUNCTION 'ME_INITIALIZE_INFORECORD'.
        CALL FUNCTION 'ME_DIRECT_INPUT_INFORECORD'
          EXPORTING
            activity         = 'V'
            i_eina           = ls_eina
            i_eine           = ls_eine
            i_no_suppose     = ' '
            i_vorga          = 'A'
          IMPORTING
            e_eina           = ls_eina_new
            e_eine           = ls_eine_new
          TABLES
            t_head           = lt_head
            t_line           = lt_line
          EXCEPTIONS
            textname_invalid = 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.
        ELSE.
          CALL FUNCTION 'ME_POST_INFORECORD'
            EXPORTING
              i_matnr  = ls_eina-matnr
              o_matnr  = ls_eina-matnr
            TABLES
              t_eina_i = lt_eina.
          IF sy-subrc IS INITIAL.
            CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
              EXPORTING
                wait = 'X'.
    Regards,
    Narendra

  • HCP tcode PA40 Upload program failing to move to next record.

    Dear All
    I have written and upload program for HCM tcode PA40 and the program is fine but only inserting one record and is failing to pick the next records in a loop. I dont know whats the problem i know the process have many screens, please help me, i have tried to research not yet found the answer yet.
    Thank you for your assistance
    Here is my Upload program
    *& Report  ZUPLOADEMPHIRING
    REPORT  ZUPLOADEMPHIRING.
    include bdcrecx1.
    PARAMETERS: p_file TYPE  rlgrap-filename.
               x_endrow TYPE i .
    DATA:  xdate(10).
    DATA: Fullname type string.
    DATA:        x_begrow  TYPE i  VALUE 2,
                x_begcol  TYPE i VALUE 1,
                x_endcol  TYPE i VALUE 17,
                 x_endrow TYPE i VALUE 3.
    TYPES: BEGIN OF t_datatab  ,
            FromDate(10),
            Reasonforaction(2),
            Position(8),
            PersonalArea(4),
            EmployeeGroup(1),
            EmployeeSubGroup(2),
            SubArea(4),
            PayrolArea(2),
            Title(5),
            Lastname(40),
            Firstname(40),
            BirtDate(10),
            Nationality(3),
            Group(1),
            Level(1),
            BankKey(15),
            BankAccount(18),
           END OF t_datatab.
    DATA: BEGIN OF t_datatabfinal OCCURS 0,
            FromDate(10),
            Reasonforaction(2),
            Position(8),
            PersonalArea(4),
            EmployeeGroup(1),
            EmployeeSubGroup(2),
            SubArea(4),
            PayrolArea(2),
            Title(5),
            Lastname(40),
            Firstname(40),
            BirtDate(10),
            Nationality(3),
            Group(1),
            Level(1),
            BankKey(15),
            BankAccount(18),
          END OF t_datatabfinal.
    DATA: BEGIN OF it_record OCCURS 0,
            FromDate(10),
            Reasonforaction(2),
            Position(8),
            PersonalArea(4),
            EmployeeGroup(1),
            EmployeeSubGroup(2),
            SubArea(4),
            PayrolArea(2),
            Title(5),
            Lastname(40),
            Firstname(40),
            BirtDate(10),
            Nationality(3),
            Group(1),
            Level(1),
            BankKey(15),
            BankAccount(18),
            END OF it_record.
    DATA: itab LIKE alsmex_tabline OCCURS 0 WITH HEADER LINE,
    gd_currentrow TYPE i,
    it_datatab TYPE STANDARD TABLE OF t_datatab,
    wa_datatab TYPE t_datatab.
    AT SELECTION-SCREEN on VALUE-REQUEST FOR p_file.
      CALL FUNCTION 'F4_FILENAME'  "
       EXPORTING
         FIELD_NAME          = 'P_FILE '
       IMPORTING
         FILE_NAME           = p_file.
    CALL FUNCTION 'KD_GET_FILENAME_ON_F4'
      EXPORTING
        PROGRAM_NAME        = SYST-REPID
        DYNPRO_NUMBER       = SYST-DYNNR
        FIELD_NAME          = ' '
        STATIC              = ' '
        MASK                = ' '
       CHANGING
         FILE_NAME           =
      EXCEPTIONS
        MASK_TOO_LONG       = 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.
    START-OF-SELECTION.
      CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
        EXPORTING
          filename    = p_file
          i_begin_col = x_begcol
          i_begin_row = x_begrow   "Column header not required
          i_end_col   = x_endcol
          i_end_row   = x_endrow
        TABLES
          intern      = itab.
    Sort table by rows and colums
      SORT itab BY row col.
    Get first row retrieved
      READ TABLE itab INDEX 1.
    Set first row retrieved to current row
      gd_currentrow = itab-row.
      clear: t_datatabfinal.
      refresh t_datatabfinal.
      LOOP AT itab.
      Reset values for next row
        IF itab-row NE gd_currentrow.
          APPEND wa_datatab TO t_datatabfinal.
          CLEAR wa_datatab.
          gd_currentrow = itab-row.
        ENDIF.
        concatenate sy-datum6(2)'.' sy-datum4(2)'.' sy-datum+2(4) into xdate .
        CASE itab-col.
          WHEN '0001'.
            wa_datatab-FromDate  = itab-value.
           concatenate wa_datatab-DocumentDate6(2)'.' wa_datatab-DocumentDate4(2)'.' wa_datatab-DocumentDate+2(4) into wa_datatab-DocumentDate.
          WHEN '0002'.
            wa_datatab-Reasonforaction     = itab-value.
          WHEN '0003'.
            wa_datatab-Position = itab-value.
          WHEN '0004'.
            wa_datatab-PersonalArea    = itab-value.
          WHEN '0005'.
            wa_datatab-EmployeeGroup    = itab-value.
          WHEN '0006'.
            wa_datatab-EmployeeSubGroup   = itab-value.
          WHEN '0007'.
            wa_datatab-SubArea         = itab-value.
          WHEN '0008'.
            wa_datatab-PayrolArea         = itab-value.
          WHEN '0009'.
            wa_datatab-Title         = itab-value.
          WHEN '0010'.
            wa_datatab-Lastname         = itab-value.
          WHEN '0011'.
            wa_datatab-Firstname         = itab-value.
          WHEN '0012'.
            wa_datatab-BirtDate         = itab-value.
          WHEN '0013'.
            wa_datatab-Nationality         = itab-value.
          WHEN '0014'.
            wa_datatab-Group         = itab-value.
          WHEN '0015'.
            wa_datatab-Level         = itab-value.
          WHEN '0016'.
            wa_datatab-BankKey         = itab-value.
          WHEN '0017'.
            wa_datatab-BankAccount         = itab-value.
          WHEN OTHERS.
        ENDCASE.
       APPEND    wa_datatab to t_datatabfinal.
      ENDLOOP.
      clear: it_record.
      refresh it_record.
      loop at t_datatabfinal into it_record.
        append it_record.
      endloop.
      perform open_group.
      loop at it_record.
        concatenate it_record-Firstname it_record-Lastname into Fullname separated by space.
        perform bdc_dynpro      using 'SAPMP50A' '2000'.
        perform bdc_field       using 'BDC_CURSOR'
                                      'T529T-MNTXT(02)'.
        perform bdc_field       using 'BDC_OKCODE'
                                      '=PICK'.
        perform bdc_field       using 'RP50G-EINDA'
                                      it_record-FromDate. "" '01012012'.
        perform bdc_field       using 'RP50G-SELEC(02)'
                                      'X'.
        perform bdc_dynpro      using 'MP000000' '2000'.
        perform bdc_field       using 'BDC_CURSOR'
                                      'PSPAR-PERSG'.
        perform bdc_field       using 'BDC_OKCODE'
                                      '=UPD'.
        perform bdc_field       using 'P0000-BEGDA'
                                      it_record-FromDate. "" '01.01.2012'.
        perform bdc_field       using 'P0000-ENDDA'
                                      '31.12.9999'.
        perform bdc_field       using 'P0000-MASSN'
                                      'ZB'.
        perform bdc_field       using 'P0000-MASSG'
                                      it_record-Reasonforaction. "" '01'.
        perform bdc_field       using 'PSPAR-PLANS'
                                      it_record-Position. "" '99999999'.
        perform bdc_field       using 'PSPAR-WERKS'
                                      it_record-PersonalArea.   " 'm003'.
        perform bdc_field       using 'PSPAR-PERSG'
                                      it_record-EmployeeGroup. "" 'a'.
        perform bdc_field       using 'PSPAR-PERSK'
                                      it_record-EmployeeSubGroup. "" '02'.
        perform bdc_dynpro      using 'MP000100' '2000'.
        perform bdc_field       using 'BDC_CURSOR'
                                      'P0001-BTRTL'.
        perform bdc_field       using 'BDC_OKCODE'
                                      '=UPD'.
        perform bdc_field       using 'P0001-BEGDA'
                                      it_record-FromDate. ""'01.01.2012'.
        perform bdc_field       using 'P0001-ENDDA'
                                      '31.12.9999'.
        perform bdc_field       using 'P0001-BTRTL'
                                      it_record-SubArea.        "" 'mm01'.
        perform bdc_field       using 'P0001-ABKRS'
                                       it_record-PayrolArea.    "" 'Z2'.
        perform bdc_field       using 'P0001-PLANS'
                                      it_record-Position. ""'99999999'.
        perform bdc_dynpro      using 'MP000200' '2000'.
        perform bdc_field       using 'BDC_CURSOR'
                                      'P0002-NATIO'.
        perform bdc_field       using 'BDC_OKCODE'
                                      '=UPD'.
        perform bdc_field       using 'P0002-BEGDA'
                                      it_record-FromDate. ""'01.01.2012'.
        perform bdc_field       using 'P0002-ENDDA'
                                      '31.12.9999'.
        perform bdc_field       using 'Q0002-ANREX'
                                      it_record-Title. "" 'Mr'.
        perform bdc_field       using 'P0002-NACHN'
                                      it_record-Lastname. " 'maxwel'.
        perform bdc_field       using 'P0002-VORNA'
                                      it_record-Firstname. "" 'razaro'.
        perform bdc_field       using 'P0002-GBDAT'
                                      it_record-BirtDate. "" '01011970'.
        perform bdc_field       using 'P0002-SPRSL'
                                      'EN'.
        perform bdc_field       using 'P0002-NATIO'
                                       it_record-Nationality. "" 'ZW'.
        perform bdc_dynpro      using 'MP000700' '2000'.
        perform bdc_field       using 'BDC_CURSOR'
                                      'P0007-BEGDA'.
        perform bdc_field       using 'BDC_OKCODE'
                                      '/00'.
        perform bdc_field       using 'P0007-BEGDA'
                                      it_record-FromDate."" '01.01.2012'.
        perform bdc_field       using 'P0007-ENDDA'
                                      '31.12.9999'.
        perform bdc_field       using 'P0007-SCHKZ'
                                      'MANORM'.
        perform bdc_field       using 'P0007-ZTERF'
                                      '9'.
        perform bdc_field       using 'P0007-EMPCT'
                                      '  100,00'.
        perform bdc_dynpro      using 'MP000700' '2000'.
        perform bdc_field       using 'BDC_CURSOR'
                                      'P0007-BEGDA'.
        perform bdc_field       using 'BDC_OKCODE'
                                      '=UPD'.
        perform bdc_field       using 'P0007-BEGDA'
                                      it_record-FromDate.""'01.01.2012'.
        perform bdc_field       using 'P0007-ENDDA'
                                      '31.12.9999'.
        perform bdc_field       using 'P0007-SCHKZ'
                                      'MANORM'.
        perform bdc_field       using 'P0007-ZTERF'
                                      '9'.
        perform bdc_field       using 'P0007-EMPCT'
                                      '  100,00'.
        perform bdc_field       using 'P0007-ARBST'
                                      '    8,00'.
        perform bdc_field       using 'P0007-WKWDY'
                                      '    5,00'.
        perform bdc_dynpro      using 'MP000800' '2000'.
        perform bdc_field       using 'BDC_CURSOR'
                                      'P0008-TRFST'.
        perform bdc_field       using 'BDC_OKCODE'
                                      '=UPD'.
        perform bdc_field       using 'P0008-BEGDA'
                                      it_record-FromDate. "" '01.01.2012'.
        perform bdc_field       using 'P0008-ENDDA'
                                      '31.12.9999'.
        perform bdc_field       using 'P0008-TRFAR'
                                      '01'.
        perform bdc_field       using 'P0008-BSGRD'
                                      '100,00'.
        perform bdc_field       using 'P0008-TRFGB'
                                      '01'.
        perform bdc_field       using 'P0008-TRFGR'
                                       it_record-Group. ""'a'.
        perform bdc_field       using 'P0008-TRFST'
                                       it_record-Level.         "" '1'.
       perform bdc_field       using 'P0008-DIVGV'
                                     '173,00'.
        perform bdc_field       using 'P0008-ANCUR'
                                      'USD'.
        perform bdc_field       using 'Q0008-IBBEG'
                                      xdate.""'12.01.2012'.
        perform bdc_field       using 'P0008-WAERS'
                                      'USD'.
        perform bdc_dynpro      using 'MP000900' '2000'.
        perform bdc_field       using 'BDC_CURSOR'
                                      'P0009-ZLSCH'.
        perform bdc_field       using 'BDC_OKCODE'
                                      '=UPD'.
        perform bdc_field       using 'P0009-BEGDA'
                                      it_record-FromDate. ""'01.01.2012'.
        perform bdc_field       using 'P0009-ENDDA'
                                      '31.12.9999'.
        perform bdc_field       using 'P0009-BNKSA'
                                      '0'.
        perform bdc_field       using 'Q0009-EMFTX'
                                      Fullname. "" 'maxwel razaro'.
        perform bdc_field       using 'P0009-BANKS'
                                      'ZW'.
        perform bdc_field       using 'P0009-BANKL'
                                       it_record-BankKey.       ""'10351'.
        perform bdc_field       using 'P0009-BANKN'
                                       it_record-BankAccount. "" '543234667778'.
        perform bdc_field       using 'P0009-ZLSCH'
                                      'b'.
        perform bdc_field       using 'P0009-WAERS'
                                      'USD'.
        perform bdc_dynpro      using 'SAPMP50A' '2000'.
        perform bdc_field       using 'BDC_OKCODE'
                                      '/EBCK'.
        perform bdc_field       using 'BDC_CURSOR'
                                      'RP50G-PERNR'.
        perform bdc_transaction using 'PA40'.
      endloop.
      perform close_group.
    Regards
    William

    Hi,
    It seems like you are uploading data to a screen that contains table control.just check the link below for your reference
    [http://wiki.sdn.sap.com/wiki/display/ABAP/bdcontable+control]
    Regards,
    Vamshi
    Edited by: vamshi reddy . ch on Jan 13, 2012 7:38 AM
    Edited by: vamshi reddy . ch on Jan 13, 2012 7:39 AM

Maybe you are looking for

  • List of AU Plugins with Download Demo Links?

    Similar to this DigiDesign Plugin List : http://www.digidesign.com/index.cfm?navid=121&langid=100&mkt=all But for Logic Pro (on Intel Macs) I have tried to find OSX UB Demos of Altiverb, TL Space. No Luck I have tried Installing DUY Everpack (includi

  • Characteristics missing in EasyDMS?

    Hi all, First time poster. I have a troubleshooting question regarding EasyDMS. I'm currently setting up some test document types for training purposes and I'm having trouble understanding why EasyDMS isn't showing the characteristics that I have set

  • Displaying image on applet

    i have a server and a client program... i need to send an image from the server program and display it on the applet.... i think it can be done by ImageIcon(byte[] ImageData) in the applet.... i hope someone writes a code for me to make stream of byt

  • Unsupported formula

    Hi all. I'm currently working on a Xcelsius project where I have included a fomula to extend  the VLOOKUP functionality. The formula makes VLOOKUP return all instances of the criteria given, from the range table. It looks like this: =IF(ISERROR(INDEX

  • Serial number after repair?

    My 20"G5 iMac iSight was repaired this week under warranty. The failure came without warning but everthing is working now as before. However, now the System Profiler does not show a serial number. I have also run the hardware tests on Disk 1 for the