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...

Similar Messages

  • How to update all the record for a particular column in a table based on search criteria.

    Hi All,
    I am new to ADF. I have a requirement, where i have to perform mass update on a table.
    Scenario:
    Ex: I have a dept manual search region. where i search with deptId: 20. I get 20 records in my table. now i have  another region where i have a inputchoice list which contains all the columns names that exists in dept table. Beside that i have a input text box and an update button
    Now user, first searches with dept id:20 and clicks on search button, where it shows 20 record in the table. He then select a column from input choicelist(ex: ManagerId), then enters new value in the input box(ex: abc) then clicks on update button.
    Now i want, all the records in the ManagerId column with dept id:20 to be updated with the new value "abc"
    Can anyone help me with the code.
    Thanks in advance..

    Hi,
    If you go to your VO and generate the ViewObjectImpl, in there you can create a method which will contain two parameters, 1 the attribute name and 2 the value.
    Then you can follow something like explained in this post:
    ADF Tutorial: How to apply bulk actions to a view object rows
    The only difference is that you will need to create a method like this:
    public void updateAttribute(String attribute, Integer value){
            RowSetIterator iter = createRowSetIterator(null);
            while (iter.hasNext()){
                Row row = iter.next();
                row.setAttribute(attribute, value);
    Then you expose that as a client interface and then after you filter your table by your criteria you just need to execute this method passing the right parameters.
    Regards

  • How to find all condition records

    HI,
      How can I find all the condition records for a combination of sales organization, distribution channel and matnr.
      In a condition table we can find only current valid condition record. I want to display all the valid condition records for this combination. I find one field in KONH table with VAKEY where we can give these values. Is it correct process?
       What is difference between condition header and item levels? ie. whether one condition number can have different materials prices as items? if so the above logic wont work. So can you please clarify.
    Thanks in advance.
    with many regards,
    Vamsi

    Ya now I have understood what you are talking about.
    The fields in the header level and first field in the item level usually is formed based on the access sequence you select. Eg) If you choose PR00 with access sequence Sales Org / Dist Chnl / Material you would find the Sales Org and Dist Chnl as part of the header level and the material at the item level.
    The significance of the item level is that you can maintain different records for the header level data entered, however the item level field has to change. In our example if you need to maintain the price of 10 products for the same Sales Org and Dist Chnl you can do so by entering one after the other.So your header level would contain the Sales Orgn say 0001, Dist Chnl 01 while you can maintain the value for M1, M2....M10 in the same screen.
    If you enter a record where the combination of the header field and first field in the item level already exist in the same screen the system would then give you an error message "The condition is being processed in the current session" and would remove the second record. You can try this out my entering the material M1 twice in the same screen of VK11.
    Hope it helped you. Do let me know if you have any doubt.
    Regards
    NP

  • How to split a condition value across line items with varying percentages?

    Hello, can anyone suggest how this can be resolved.  This is the scenario. 
    My client wants to be able to determine pricing for a sales document with a wide range of conditions.  One particular condition contributes to the total price of each sales item by determining a percentage of the total amount.  The percentage used isn't a fixed percentage but it is determined as follows:  Lets say I have 3 sales items in the document  with prices 200, 300 and 500 respectively.  The total amount for the condition (which is known) then has to be shared amongst these 3 items according to the price of each item.  How can this be achieved?  Any ideas?

    You will have to define a Header Condition which will apply to all the Items.
    Then, You will have to develop a Z- Requirement in T-Code - VOFM with help your ABAPer.
    Then assign this Routine in Alternative formula for condition base value column in your Pricing Procedure.
    The ABAP code in the Requirement will read the Basic Price of all the Items & then proportionately divide the value of said Condition line-item wise.
    Hope this clarifies.
    Thanks,
    Jignesh Mehta

  • How to update the condition price in the sales order for all the items

    Hi,
    How to update the condition price for all the itmes in the sales order to carry out the new price automatically through a stand alone program, for all the orders in the billing due list table?
    Thanks,
    Balaram

    Hi,
    There is a change in the requirement.
    Scenario:
    I have created a sales order with some 4 condition types, in that 2 condition types are of class A & B and the other two is of class C. Here I need to update the condition price of class A & B only and the remaining condition types should not get update even though there is an updated price is available.
    For the above scenario, I need to write a standalone program. Do we have any function modules to update the price of the single condition in the sales order? Please tell me how we can update the sales order at item condition level.
    Thanks.
    Balaram

  • How to update or delete records in a Complex View in Forms?

    Hi,
    I have a requirement to create a Form by using Complex View. Insertion is possible but updation and deletion is not working properly . I got FRM-40501 Error. I need How to update or delete records in a Complex View in Forms?
    Thanks & Regards,
    Hari Babu

    Depending on how complex your view is, forms is not able to determine how to appropiately lock a record, when you try to update or delete a record.
    One approach to using complex views in forms:
    1. Set the Key-mode of the block to "Non-Updateable"
    2. Mark the column which can be used to build the WHERE-condition to uniquely identify a record with "Primary Key" = "Yes"
    3. For doing INSERT, UPDATE and DELETE, create an INSTEAD-OF-trigger on the view.
    4. Create your own ON-LOCK-trigger in forms which does the locking of the records to update.

  • How to update cost condition VPRS and Updation from VPRS to new cond ZVPR

    Hi All,
    How to do and is there any way to update the VPRS cost condition whenever vendor sends confirmation of material and cost after purchase order.
    After receiving the confirmation form the vendor,the VPRS cost condition should get updated in the system automatically.
    We have one cost condition type ZVPR which is same and consists of same properties of VPRS. How to update this ZVPR condition from VPRS Condition.
    Thanks in advance....
    Regards....Venkat
    Edited by: venkat t on Feb 16, 2009 11:57 AM

    Hi venkat
    Check the link
    [How to update cost condition VPRS and Updating from VPRS to new cond ZVPR;
    NOTE : Dont post in many forums
    Regards
    Srinath

  • Mass updation of Condition Records.

    Hi All,
    I need to update Condition Exclusion Indicator in Condition Record for 3 Z Conditions. I have checked it is not possible using Mass Maintenance. Could you suggest either I should use LSMW or Scat to update all the records.
    Thanks & Regards,
    Sam Rock.

    Hi Sam,
    I suggest LSMW.
    Regards,
    MT

  • 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 maintain a condition record for a output type ?

    Hi All
    How to maintain a condition record for a output type ?

    Hi,
    Goto NACE and there is a button for maintiaining the Condition Reocrds.

  • How to Delete the condition record in CRM

    HI,
    Can you please help me how to delete the condition record from condition table in CRM.
    Please explain the usage of FM CRMXIF_CONDITION_SEL_DELETE with examples.
    I have also read the documention of the function module. How to use this FM for custom defined condition table.
    (this is the code given in Documentation)
    DATA-OBJECT_REPRESENTATION         = 'E'
    DATA-SEL_OPT-CT_APPLICATION              = 'CRM'
    DATA-SEL_OPT-OBJECT_TASK                    = 'D'
    DATA-SEL_OPT-RANGE-FIELDNAME        = 'PRODUCT_ID'
    DATA-SEL_OPT-RANGE-R_SIGN                  = 'I'    (Including)
    DATA-SEL_OPT-RANGE-R_OPTION           = 'EQ'
    DATA-SEL_OPT-RANGE-R_VALUE_LOW  = 'PROD_1'
    Thanks
    Shankar

    Hi Shankar,
    I am using the same CRMXIF_CONDITION_SEL_DELETE function module to delete condition record present in CRM.
    But it is giving me below error in the return table of the FM after i run the program. Can you please correct me if I am doing any thing wrong?
    Error in  lt_return: SMW3     CND_MAST_SEL_DEL_EXT_VALIDATE     CND_M_SD
    code:
    ls_range-fieldname = 'PRODUCT_ID''.
    ls_range-R_SIGN = 'I'.
    ls_range-R_OPTION = 'EQ'.
    ls_range-R_VALUE_LOW = '123456'.
    APPEND ls_range TO lt_range.
    MOVE lt_range TO ls_entry-SEL_OPT-range.
    ls_data-SEL_OPT-object_task = 'D'.
    ls_data-SEL_OPT-ct_application = 'CRM'.
    ls_data-object_representation = 'E'.
    CALL FUNCTION 'CRMXIF_CONDITION_SEL_DELETE'
      EXPORTING
        DATA          = ls_date
    IMPORTING
       RETURN        = lt_return
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
      IMPORTING
        return = lt_ret.
    Edited by: Saravanaprasad Nadar on Jul 7, 2010 1:27 AM

  • How to update the condition price in sales order while creating the invoice

    Hi,
    How to update the condition price in the sales order to carry out the new price while creating the invoice?
    While creating the invoice it should update the condition price in sales order.
    Thanks,
    Balaram

    No, pricing is not there in delivery.
    I found an exit for VF01transaction where we can update the price in order.
    Can you please tell me how to update the price if I have the order, material numbers and conditions number?
    Thanks,
    Balaram

  • FM'S or BAPI to update the condition records in VB22 transaction

    Hi,
    I need your help in getting the FM'S or BAPI to update the condition records in sales deal.
    The transaction is VB22.
    If you can send me a smaple code it will be really helpful.
    Regards,
    Sasi

    Check this:
    http://www.sapnet.ru/viewtopic.php?p=1644
    Bapi for VK11 & VK12
    Reddy

  • How to UPDATE MASTER DATA RECORD PA0377 using FM HR_INFOTYPE_OPERATION

    How to UPDATE MASTER DATA RECORD IN INFOTYPE 0377 DIRECTLY using function module HR_INFOTYPE_OPERATION ? When i use operation = 'MOD'  im getting an ERROR as NO DATA STORED FOR 0377 IN SELECTION PERIOD.
           Can anyone please help me how to use HR_INFOTYPE_OPERATION to UPDATE MASTER DATA RECORD.
    Thanks,
    Karthi.

    Hi,
    please check this code
    it is very useful
    infotypes: 0105.
    parameters: p_pernr type p0105-pernr,
                p_subty type p0105-subty,
                p_begda type p0105-begda,
                p_endda type p0105-endda,
                p_opera type pspar-actio,
                p_usrid type p0105-usrid,
                p_commt as checkbox.    "Useful only when NO_COMMIT is 'X'
    data: w_return type bapireturn1,    "Error handling data
          w_key type bapipakey,         "If record has been created or changed the created/ changed
                                        "record's key (PSKEY) will be populated
          v_message type string.        "For printing returned messages
    call function 'BAPI_EMPLOYEE_ENQUEUE'
      exporting
        number = p_pernr
      importing
        return = w_return.
    if w_return is initial. "Employee is not locked
      p0105-pernr = p_pernr.
      p0105-subty =
      p0105-usrty = p_subty.
      p0105-begda = p_begda.
      p0105-endda = p_endda.
      p0105-usrid = p_usrid.
    *Calls Internally HR_MAINTAIN_MASTERDATA
      call function 'HR_INFOTYPE_OPERATION'
        exporting
          infty         = '0105'
          number        = p_pernr
          subtype       = p_subty
          validityend   = p_endda
          validitybegin = p_begda
          record        = p0105
          operation     = p_opera
          dialog_mode   = '0'
          nocommit      = 'X'
        importing
          return        = w_return
          key           = w_key.
    endif.
    if w_return is not initial.
      message id w_return-id type w_return-type number w_return-number
              with w_return-message_v1 w_return-message_v2 w_return-message_v3
              w_return-message_v4 into v_message.
      case w_return-type.
        when 'A' or 'E'.
          format color col_negative. write:/ v_message.
        when others.
          format color col_heading. write:/ v_message.
      endcase.
      call function 'BAPI_EMPLOYEE_DEQUEUE'
        exporting
          number = p_pernr.
    else.
      format color col_positive. write:/ 'Record Updated Successfully.'.
      if w_key is not initial.
        write:/ 'Key contains',
              / 'Personnel Number:', w_key-employeeno,
              / 'Subtype (absence type):', w_key-subtype,
              / 'Start date of Absence:', w_key-validbegin,
              / 'End date of Absence:', w_key-validend.
      endif.
      commit work.
    endif.
    Thanks and regards
    durga.K

  • Hierarchical query - How to get all parent records - Duplicate post

    Hi,
    In Oracle, START WITH, CONNECT BY commands will give all the direct and indirect child records. Other way round, is they are command which gives all the parent records till the root? Please let me know. I am working on Oracle 9i Release 2.
    Thanks a lot for your help.
    Edited by: skv on Nov 21, 2008 11:05 AM

    Duplicate post.
    Hierarchical query - How to get all parent records
    Please edit this post heading to duplicate post.
    Regards.
    Satyaki De.

Maybe you are looking for

  • IPhoto won't work on my OLD imac after using migration assistant to my new imac.

    So I recently used migration assistant to transfer all of my documents, music, photos, etc. to my new imac which was purchased a month ago.  I used an 800 firewire and the migration was successful and there seems to be not problems on the new compute

  • Customization in Production

    Hi. We know there is a way to do it because we did it long time ago, but we don't remeber how to do it again. What we are looking for is a way to change Master-data in the Production system. Instead of changing the Master-data through SPRO in the Dev

  • Ad Hoc Connection with Windows Vista

    Ok I know that this question has been asked many times over, however I am having trouble finding anything that is similar to my setup. So here we go. I have a laptop that is connected directly to the internet. I am trying to get my iTouch connected t

  • Mac mini mid 2011 (base model) what can i upgrade?

    Hello i got a mac mini not so long ago and now i have some extra money and would like to upgrade it: Ram: from 2gb to 8gb. Done Hdd: slow as ****.. what to do here not to expensive? ( its a 5400rpm sata1) Video card? I dont want to cange computer jus

  • Problem with nokia 6151:help me!!!

    hello, i have a nokia 6151 and i have any problem.... -when the mobilephone is starting is very slow and the screen si light on only for five seconds and after is light off. this phone haven't OS and i don't know because it have need more time for to