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,

Similar Messages

  • 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

  • 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

  • Error while uploading conditions records in MEK1

    Hi All,
    I have a code that updates condition records in MEK1 from an excel sheet. The no of records in an excel sheet can go up to 60 k records. If i try to upload 5000 records, the coditions records are saved successfully. But then, if I try to upload 10000 records i get a error saying " Condition blocked by user " . On debugging I found out that the user id is mine. That is, same id as the person who is trying to upload records. The transaction is not open in any window as well.
    My question is, why do we encounter this error and is there any limit to number of records that can be uploaded at a time in MEK1?
    Thanks in advance,
    Sapna

    Hi Rao,
        For blocking you can commit in intevals or you can use wait command but it will take extra time but your records will update in one go,when a condition record is created,then after you try to update for same material or plant thats the reason its blocking,you can either use wait or adjust your excel files and avoid duplication of materials or whatever you are using in sequential manner.

  • Upload Condition Records?

    Hi MM Gurus,
    I would like to upload the condition records. (not info records).
    Are there any standard functionality available for this purpose? I had seen a Standard Direct Input Data Transfer Object in LSMW. But, I don't know how to use this, like for various Access sequences  for a single condition type, even though I know LSMW upload method for Material, POs etc..
    Please can anyone suggest me which will be the better  way to upload the condition records?
    Thanks & Regards,
    Ramkumar

    Hi,
    We use a BDC to load condition records (pricing) for both material and services.
    Cheers !

  • 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

  • BAPI for creation of condition records  MEK1 tcode

    Hi,
        Any one used to upload condition records data for MEK1 transaction code. Please give me reply any once knows.
    Thanks in advance
    Shaik Basha

    Hi Vijay,
        Thanks for giving reply. I checked BAPI_PO_Change and
    BAPI_PO_CREATE1. But in these two PO number is the mandatory field. In mek1 tcode, for particular condtion type key combination i dont have any PO field that time i will use this FMs. Please give me advice regarding this.
    I am also facing some other problem i.e to change the routing master data. I alreay downloded data from routing master in excel and i did changes in excel. Now i';ll upload the excel to sap that will update the routing master. If u have any idea for updating the routing master data.please send me the fm.
    Regards
    Shaik Basha.

  • Shipment Cost - Condition Records

    Hi gurus!
    I need to create 2 programs:
    1-download condition records from TK13
    2-upload condition records and update them like TK11-TK13.
    I found a SAP note (751826) that suggest to use Idoc.
    I give a look at them, but seems a bit too complicated to use (i need to give to user some file they can easy manage and upload the changes).
    There are any BAPI (i didn't find anything under BAPI transaction) or FM to do so?

    I'm looking at IDOC_INPUT_COND_A FM, but i don't know where to put TPLST information that I have in tables A520...A523.
    I'm missing something?

  • Error in BDOC while uploading the pricing condition record to ECC from CRM

    Hi all,
    I have created a condition record for ECC pricing condition type (I have maintained all settings required for maintaining ECC condition type in CRM 7.0) in CRM 7.0. But theis condition record is not uploaded to ECC. I have checked BDOC, it is showing with error status for BDOC type "CND_M_SUP". The errors are as below.
    1. sBDoc CNBCCPSAP005 does not contain structure CDBD_CONDREF
    Message no. CND_MAST064
    2. sBDoc CNBCCPSAP005 does not contain structure CDBD_CONDREF
    Message no. CND_MAST064
    3. Service that caused the error: CND_MAST_INT_DEEP_MB_TO_SBDOC
    Message no. SMO8047Diagnosis
    A service caused/ reported an error.
    Can some one help me in fixing this issue  please.
    Thanks in advance,
    JM
    Edited by: JM on Sep 7, 2010 4:46 PM

    Hi,
    sBDOCs are not used in ECC to CRM or CRM to ECC data replication scenario. You can either ignore the error or disable mobile bridge.
    Regards
    Prasenjit

  • 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

  • Pricing Condition Records initial upload - COND_A

    Hi,
    I have configured outbound COND_A pricing condition Idocs for Change documents. Whenever the pricing condition is changed IDoc will be generated.
    Now my requirement is how can I do the initial upload of existing Pricing Condition records to legacy system? I mean how can I generate Outbound IDocs for existing pricing condition records to do initial upload.
    Thanks in advance for your help.
    Rgds,
    AK

    HI,
    way1:
    if you are using Sretail (ARTMAS) then you can use BD10 tcode with the flag "send all data".
    In that case the COND_A for every ARTMAS is send.
    way2:
    1. if you want to send a all condition, then go to MEK3 choose your conditiont ype and push "condition Info".
    2. Make your selection and go ahead with F8
    3. Push "Send condition"

  • How to mass upload shipment condition records

    Hi buddy,
    TK11 - shipment condition records
    how can you mass upload  shipment condition records, anyother bapi available for the mass upload for TK11.
    thanks
    pauldharma

    Hi ,
    To creae the Target Group for that BPs . You need to make a selection with their common Attribute value .
    For Example :
    You have a requirement to Target the Indian Customers then you create a Target Group like this .
    Attribute values :
    BP Role : Customer
    Country : India
    Select Attribute List : GL-ORG Master and Relationship Data
    Attributes : BP Role : Filter value 'Customer '
                      Country : Filter value 'India '.
    Select : AND Across All Attribute as logical selection .
    Press Cntrl Key and select both the Attribute Values and drag to the staging area then you get the Customers in India .
    This way you find out the Common Attribute values to the BPs you need to Target and create a Target Group and Use the TG for the report .
    Hope this helps .
    Regards ,
    Nagaraju D.

  • Bapi or FM for uploading the condition records

    HI,
    i wanted know that is there any way to uplaod the condition records to sap by using any BAPI or FM or any standard program.
    this is urgent.
    thankx in advance
    regards,
    hpp

    Hi,
    Use the BAPI BAPI_PRICES_CONDITIONS to load the pricing conditions..
    Check this link for a sample code..
    Re: Sample code for  BAPI_PRICES_CONDITIONS
    Thanks,
    Naren

  • Creating condition record by uploading

    Hello all,
    I am using FM BAPI_PRICES_CONDITIONS to create condition record.
    But its creating the record even if i gave the invalid details ( like invalid material number,...).
    Can you please tell me how can i handle the errors using this FM.
    Thanks in advance.
    regards,
    Lokesh

    hi..
    This code snippet inserts a condition record for Pricing condition type Z123 with key sales order
    and line number.
    CONSTANTS: lc_kschl_z123 TYPE kscha VALUE 'Z123'.
    DATA: lv_datum TYPE sydatum,
    lv_count TYPE kopos,
    lv_unit TYPE kpein,
    is_bapicondct TYPE bapicondct,
    is_bapicondhd TYPE bapicondhd,
    is_bapicondit TYPE bapicondit,
    it_bapicondct TYPE STANDARD TABLE OF bapicondct,
    it_bapicondhd TYPE STANDARD TABLE OF bapicondhd,
    it_bapicondit TYPE STANDARD TABLE OF bapicondit,
    it_bapicondqs TYPE STANDARD TABLE OF bapicondqs,
    it_bapicondvs TYPE STANDARD TABLE OF bapicondvs,
    it_bapiret2 TYPE STANDARD TABLE OF bapiret2,
    is_bapiret2 TYPE bapiret2,
    it_bapiknumhs TYPE STANDARD TABLE OF bapiknumhs,
    it_mem_initial TYPE STANDARD TABLE OF cnd_mem_initial.
    lv_datum = sy-datum.
    lv_count = 1.
    LOOP AT gt_vbap INTO wa_vbap.
    * BAPI Structure for Condition Tables
    is_bapicondct-operation = '009'.
    is_bapicondct-table_no = '700'.
    is_bapicondct-applicatio = 'V'.
    is_bapicondct-cond_usage = 'A'.
    is_bapicondct-cond_type = lc_kschl_z123.
    "Set the varkey from A700 table key fields
    CONCATENATE wa_vbap-vbeln wa_vbap-posnr
    INTO is_bapicondct-varkey.
    is_bapicondct-valid_to = '12/31/2009'.
    is_bapicondct-valid_from = lv_datum.
    is_bapicondct-cond_no = '$000000001'.
    **** BAPI Structure of KONH with English Field Names
    is_bapicondhd-operation = '009'.
    is_bapicondhd-cond_no = '$000000001'.
    is_bapicondhd-created_by = sy-uname.
    is_bapicondhd-creat_date = sy-datum.
    is_bapicondhd-cond_usage = 'A'.
    is_bapicondhd-table_no = '700'.
    is_bapicondhd-applicatio = 'V'.
    is_bapicondhd-cond_type = lc_kschl_z123.
    is_bapicondhd-varkey = is_bapicondct-varkey.
    is_bapicondhd-valid_to = '12/31/2009'.
    is_bapicondhd-valid_from = lv_datum.
    *** BAPI Structure of KONP with English Field Names
    CLEAR is_bapicondit.
    is_bapicondit-operation = '009'.
    is_bapicondit-cond_no = '$000000001'.
    is_bapicondit-cond_count = lv_count.
    is_bapicondit-applicatio = 'V'.
    is_bapicondit-cond_type = lc_kschl_z123.
    is_bapicondit-scaletype = 'A'.
    is_bapicondit-scalebasin = 'B'.
    ADD 1 TO is_bapicondit-scale_qty.
    is_bapicondit-calctypcon = 'B'.
    lv_unit = wa_vbap-kwmeng.
    is_bapicondit-cond_p_unt = lv_unit.
    is_bapicondit-cond_value = wa_vbap-value.
    is_bapicondit-condcurr = wa_vbap-waerk.
    APPEND: is_bapicondct TO it_bapicondct,
    is_bapicondhd TO it_bapicondhd,
    is_bapicondit TO it_bapicondit.
    ENDLOOP.
    *** BAPI for pricing Condition Records
    CALL FUNCTION 'BAPI_PRICES_CONDITIONS'
    TABLES
    ti_bapicondct = it_bapicondct
    ti_bapicondhd = it_bapicondhd
    ti_bapicondit = it_bapicondit
    ti_bapicondqs = it_bapicondqs
    ti_bapicondvs = it_bapicondvs
    to_bapiret2 = it_bapiret2
    to_bapiknumhs = it_bapiknumhs
    to_mem_initial = it_mem_initial
    EXCEPTIONS
    update_error = 1
    OTHERS = 2.
    IF sy-subrc EQ 0.
    WRITE: /1 'Return Messages for Condition create'(t03).
    LOOP AT it_bapiret2 INTO is_bapiret2.
    WRITE: /1 is_bapiret2-message.
    ENDLOOP.
    ULINE.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
    EXPORTING
    wait = 'X'
    IMPORTING
    return = is_bapiret2.
    ENDIF.

  • How to update all condition records at a time with some percentage or some

    Dear Sir,
    In PRD system we have more than 600 condtion records.
    Noe desiel hikes happend, due to that client want to update all condition records(600) at a time with required percentage or required value.
    How to update all records at a time
    With regards
    Lakshmikanth

    Hi,
    Through BDC or LSMW first you have to do the recording for particular transaction code and then base on that u have to prepare the flat file to upload the file for the same.
    For BDC programing you have to take the help of ABAP progmer but LSMW you can also do.
    For more information about LSMW plz go to following link :
    [LSMW |http://www.slideshare.net/arun_bala1/sap-sd-lsmw-legacy-system-migration-workbench/]
    [Step-by-Step Guide for using LSMW|www.scmexpertonline.com/downloads/SCM_LSMW_StepsOnWeb.doc ]
    BDC
    [BDC Call Transaction|http://www.sapdevelopment.co.uk/bdc/bdc_ctcode.htm]
    [BDC Recording|http://www.sapdevelopment.co.uk/bdc/bdc_recording.htm]
    But it would be better for you to please contact to your ABAPer for BDC programming.
    Cheers...

Maybe you are looking for

  • Barcode pritner issue in smartform printing

    Dear Experts, I have problem with barcode printing. I have only one page in my smartform and there is table in that. I need to print delivery number as barcode. I have writtern logic for that and its working fine. But when I print my output in BARCOD

  • JTable (single) graphic row background?

    I'd like each row in a JTable to display a single graphic image behind the whole row - not on a cell by cell basis, one long image behind all the cells in the row - and be able to dynamically choose the image for a given row based on data in one or m

  • Exchange 2013 Update from SP1 to CU5 failed

    Hello, guys! I need your help. I've just tried to make an update my Exchange Server with CU5 and get an error: "$error.Clear();            Uninstall-CrimsonManifest -DefinitionXml "bin\ActiveMonitoringEvents.man";           Install-CrimsonManifest `

  • Preferences error Could not load iCloud preference pane.

    Hello I have 3 problem. Could not load Internet Accounts preference pane. Could not load iCloud preference pane. I also can't open the Mail application. I already tried to log in as guest user, I can open everything in guest user. So guest user have

  • Elimination of glare in a photo.

    I would like to know the process for eliminating the glare from a mirror, in a photo, as a result of the flash from the camera. I am using Adobe Photoshop CS3 Version 10.0.1 and Windows XP. Len