Recording for a LSMW: item pricing conditions

Hi Experts,
I need your help! I am trying to do a recording for modifying sales orders conditions (for items): VA02, item 10, GO TO PRICING CONDITION ZXXX, change value to Z, go to item 20, GO TO PRICING CONDITION ZXXX, change value to Z,....
My question is: how do I indicate the recording itself that a certain pricing condition has to be modified. Do not forget we are talking about items and the cursor will be in a different place in every item.
Good ideas will be rewarded, that´s obvious.
Regards,
F

Thanks Chandra. The FM you suggested worked fine for my problem / Regards Thomas

Similar Messages

  • Mass update of Third Party Vendor at PO Line item pricing condition

    Hi All,
    We have requirement from business as follows:
    We are using item level condition for Lumper Charge in PO and it is for Third Party Vendor. We maintain vendor in pricing condition record so it will be automatically populated while PO is created. Recently vendor is changed so we have also updated new vendor in pricing condition record so it will be taken care when new POs will be created. But there are thousand open POs in which new vendor needs to be updated.
    Is there any way to mass update third party vendor at PO line item level?
    Relevant pointers will be rewarded.
    Regards,
    Tt

    Hi,
       You may check the following options:
    1. If the freight vendor was pulled through condition record, then change the vendor in the condition record and update the pricing in MEI1. Refer the KBA: 1819416 - Condition records not getting updated automatically when using MEI1/MEI4
    2. If the condition is manual condition, there is no option to mass change the vendor in standard, as of my knowledge. You may create a custom program to change the vendor in the PO. Refer the similar thread: Mass update of freight vendor in PO condition
    Regards,
    AKPT

  • Import multiple info records for 1 material item in repository

    Hi Guys,
    I have got sort of a puzzle I can not solve at the moment, maybe some one can help me to solve it. The situation in our system landscape is as follows:
    Systems:
    SRM 5.0 (Classic implementation scenario)
    ECC 6.0
    SRM-MDM 2.0
    PI 2005
    Material master is maintained in R/3 and the materials are replicated to SRM. From SRM we replicate all materials to the catalog repository in SRM-MDM.
    As the material master in R/3 is vendor independent, the materials replicated to SRM also have no vendor attached. For the first initial material replication from SRM to the catalog SRM-MDM this also means that the products in the main table of the repository, u2018catalog positionsu2019, will not have a vendor or vendor number attached (i.e. no reference to a source of supply).
    To assign a source of supply in the repository to a product (record) we will use info records which are replicated from R/3 to SRM-MDM. The mapping for this in the Import Manager can only be based on the product number. As this is the only unique value available which can map a info record to a already existing (but vendor less) ptoduct item in the catalog.
    As long as every item in the repository has only one unique info record, meaning one source of supply with a specific price, there is no issue in the above scenario. Based on the product-id, the info record data will be matched with the material item in the catalog.
    The issue for me arises when multiple info records exists for the same material. The info records can heave different vendors and different prices. All possible vendors should be available in the catalog for the same material (at least this is the requirement ).
    At this point the product-id will no longer be an unique value. Importing the info records will cause problems, as only one material record is available in the repository for the specific product-id (remember that when doing a initial replication of the material master to the catalog, no vendor data is replicated).
    Does anyone had this issue before, and knows a solution? Is it for example possible during the import of the info records in the Import manager, to duplicate material records in the destination data, based on the number of info records available in the source data for the same product-id. Or is there an other solution that I am missing?
    Your help would be appreciated!
    Regards,
    Skander

    Hi Shai & Ravi,
    Thanks for your answers. The MDM version which we are using is 5.5 - currently on SP6
    @ Shai: you are right; the standard SRM-MDM 2.0 catalog repository has a qualified lookup table u2018priceu2019, in which itu2019s possible to store the info record data. The standard fields in this sub-table are: Purchase Org, Amount, Currency Lower B, PIR-ID, price based quantity and Price based quantity UoM.
    I added some extra fields (non qualified), to accompany the remaining info record data (product no. u2013 vendor id  u2013 product category)  which is exported/imported, via the standard extraction program in R/3: Tcode MECCM
    I tried the solution Ravi proposed. This scenario works fine when, for example you want to maintain multiple info records for one specific material record in the main table (all info records related to the same source of supply, i.e. vendor). But as I described, the info records we import for one product can have different vendors. 
    The source of supply (vendor) in the shopping cart of SRM is determined via the u2018supplieru2019 field in the main repository table (which is in itself a flat lookup table ). What happens now is that all related info records are added to the u2018price informationu2019 field of the specific product record in the main table. Thus info records which have different suppliers are attached to a record in the main table which will have one specific supplier in the u2018supplieru2019 field. So from my point of view this will not work.
    I am still stuck with the situation that the material master import will only import one record for every distinct product, which can have multiple info records. The info records can/will have different vendors. As the supplier field in the main table determines the source of supply in the shopping cartu2026. Iu2019am seeking for a solution which will duplicate the material records in the main table, based on the amount of imported info records for that specific material record, that have distinct vendors.
    Shai, if you have some useful info on how you accomplished this requirement on a previous version of SRM-MDM, it would be greatly appreciated if you can share it..
    Thx.
    Skander

  • LSMW Recording for multiple line items

    Hello Gurus,
    I just wanted to know if task list has more than one operation can be loaded thru LSMW recording ? If yes,
    COuld anyone tell me the process of recording step by step as I am new to recording and not sure what is the flow.
    I have created spreadsheet with some data to test and went into LSMW and assign the mode as recording and also had given the values in the respective tcode and save it..after that do I need to perform all the 14 steps ?
    Pls advice
    Mahee

    Hi
    Please go through the below document. It is difficult to explain you completely.
    LSMW while creating first 6 steps need to be once. Later on same LSMW can be used directly from step 7.
    The below explain is for some other tcode. but steps will remain same in LSMW for your tcode.
    http://www.scmexpertonline.com/downloads/SCM_LSMW_StepsOnWeb.doc

  • How to count number  of records for a field based on condition?

    Hi guys,
    I want to know how to find count of records coming from the database for a particular field based on some condition.
    I need to use this count to suppress some headers. Because of this i am not able to use running totals. Is there any other way?
    Ex scenario:
    I have account number and currency fields, those are coming from database. And i need to count the number of accounts whose currency is not Euro.
    Thanks in advance,
    Vijay.

    A simple formula can do that:
    //Formula begin
    if {your account field}<>"Euro" then 1
    //Formula end
    This formula can be summarized. (by group or report)
    Bryan Tsou@Taiwan

  • Price and Pricing conditions are not copied to PO for a line item !!

    Hi
    I have created a PO w.r.t a PR which has only one line item.
    Now, I add another line item to this existing PO, i get an error message that the Price and Pricing conditions are not copied.
    How do i rectify this error !!
    Where might be the link for this Price and Pricing conditions to get copied in to this PO ??
    MaruthiRam

    What kind of PR and in the PO same material you enter for new line or new material and do you have any funcitonal authorization assigned o your user id
    please reply

  • Sales order: How to add pricing conditions at item level in BDC of VA01

    Hello Experts,
    Am writing BDC for sales order, in this process I need to add ITEM PRICING CONDITIONS, so, am selecting item and pressing the DOLLAR symbol button and am adding the conditions by pressing PLUS button in loop!! but am getting this erorr- Field KOMV-KMEIN (2) is not an input field!! when I execute it in we19-BACK GROUND only!! if I execute the same CODE IN we19-Fore ground, I dont have any issue!!  I checked this SDN (field status in config), Google, but did not helped me!
    Pls. let  me know is there any other way to add conditions at item level in VA01 in BDC code?
    THank you

    Hi,
    It is happening because the second row of the item level data screen is becoming display only. Please check whether In foreground mode you are pressing an extra enter to give data in the second row of the item level data after giving data in the first row and in BDC recording you have not recorded that 'Enter'.
    Regards,
    Gargi

  • Merging item and condition records

    Hi All,
    I have a requirement to merge item and conditon data . I am using 2LIS_11_VAITM & 2LIS_11_VAKON .
    The key for booking DSO are document number, item number AND calendar day.  I am concerned that we cannot easily link up the records from one DSO to the other, since they are date and even activity dependent.  For example, if more than one change is made to the value of the item in one day, then the condition values will also be different for each change.
    Please suggest on how to go ahead .
    Thanks

    The best thing is to load these datasources to 2 DSOs and then to a Cube.
    One option could be having a consolidation DSO on top of these two, having multiple rule groups to convert the data model from Account based to Key figure based for Conditions data.  You will have multiple condition records for a Sales order item. Order, item & condition type should ideally be the key for the DSO). When loading Conditions to the Consolidation DSO (this would have Order, item as key) you would have multiple transformation rule groups so that key figure from each condition record is updated to one key figure in the DSO. There could be may condition records and there could be new additions in ECC, then you would have to change the objects again. This, I guess is not a good model.
    Enhancing VAITM is not a good option as there would be many condition records for an order item.
    Edited by: Murali Krishna K on Jul 28, 2011 12:01 PM

  • Authorisation for pricing conditions in sales order

    Hi,
    This could be a tipical requirement. he requirement is a sfollows:
    Some users should not be allowed to enter / change some of the pricing conditions (manual) in the create / change mode of sales order (VA01/VA02). But they should be allowed to enter/change couple of other condtion types (manually).
    The other requirement is to disable the functionality of adding new condtions type through dropdown in the item pricing condition screen in VA01/VA02. The pricing update button also should be in a disabled mode for some users.
    Please advice me whether this can be achieved through some user exits or Basis authorisation?
    Regards,
    Sam

    Hi,
    Yes this can be done. If you are on EP4 you cna use the Badi PRICING_AUTHORITY_CHECK_UI to disallow users to use certain conditions.
    If you are not on EP4 you can still use the exit userexit_field_modification in program LV69AFZZ to check against authorisation.
    Choose the one that best suits your needs.
    Regards,
    Naveen

  • How to update pricing condition in sales in batch in the evening

    Gurus,
    I have a situation where I am supposed to update the freight charge condition type ("ZFR9" in my organization) on a scaled basis, depending on how much the customer (ship-to) has ordered on the same date. Since this changes from time to time, I need to write a program that does the following in the background in the evenings.
    1) Accumulate the wt of the material ordered by the same ship-to customer on the same delivery date.
    2) Find the scaled freight rate from a central universal freight charge table.
    3) Update the ZFR9 by this new frieght rate in all such sales order/line items that have the delivery date in question.
    The problem with using BDC is that the condition type ZFR9 appears on different lines depending on presence or absence of other condition types.
    Also I could not find any BAPI that does the update on a line item pricing condition.
    I am on 4.6C.
    Thanks for any help you can offer me.
    Regards
    Raju

    Guys,
    I am trying to make this work. I am able to add extra pricing conditions to sales order but I can not understand
    - how to change the value of an existing condition type OR
    - how to delete the condition type from the sales order line item
    Here is the sample code that I am using to test this out (most of the information is hard coded so that I can focus on a particular record)
    REFRESH RETURN.
        CLEAR   RETURN.
        REFRESH ORDER_ITEM_IN.
        CLEAR   ORDER_ITEM_IN.
        REFRESH ORDER_ITEM_INX.
        CLEAR   ORDER_ITEM_INX.
        REFRESH PARTNERCHANGES.
        CLEAR   PARTNERCHANGES.
        REFRESH CONDITIONS_IN.
        CLEAR   CONDITIONS_IN.
        REFRESH CONDITIONS_INX.
        CLEAR   CONDITIONS_INX.
        CLEAR SALESDOCUMENT.
        CLEAR ORDER_HEADER_INX.
    Move screen accepted docnumber TO SALESDOCUMENT.
        MOVE P_VBELN       TO SALESDOCUMENT.
        ORDER_HEADER_INX-UPDATEFLAG = 'U'.
        APPEND ORDER_HEADER_INX.
    Move screen accepted line item
        ORDER_ITEM_IN-ITM_NUMBER = P_POSNR.
        APPEND ORDER_ITEM_IN.
    Move screen accepted line item
        ORDER_ITEM_INX-ITM_NUMBER = P_POSNR.
        ORDER_ITEM_INX-UPDATEFLAG = 'U'.
        APPEND ORDER_ITEM_INX.
    Set the condition value
        CONDITIONS_IN-ITM_NUMBER      = P_POSNR.
        CONDITIONS_IN-COND_ST_NO      = '230'.
        CONDITIONS_IN-COND_COUNT      = '01'.
        CONDITIONS_IN-COND_TYPE       = 'ZSR3'.
        CONDITIONS_IN-COND_VALUE      = '333.00'.
        CONDITIONS_IN-CURRENCY        = 'USD'.
        CONDITIONS_IN-COND_UNIT       = 'LB'.
        CONDITIONS_IN-COND_P_UNT      = '100'.
        APPEND CONDITIONS_IN.
        CONDITIONS_INX-ITM_NUMBER     = P_POSNR.
        CONDITIONS_INX-COND_ST_NO     = '230'.
        CONDITIONS_INX-COND_COUNT     = '01'.
        CONDITIONS_INX-COND_TYPE      = 'ZSR3'.
        CONDITIONS_INX-UPDATEFLAG     = 'X'.  " update
        CONDITIONS_INX-COND_VALUE     = 'X'.  " update
        CONDITIONS_INX-CURRENCY       = ''.   " no update
        CONDITIONS_INX-COND_UNIT      = ''.   " no update
        CONDITIONS_INX-COND_P_UNT     = ''.   " no update
        APPEND CONDITIONS_INX.
        WRITE: / 'BAPI Called for', P_VBELN, P_POSNR .     
        CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
          EXPORTING
            SALESDOCUMENT               = SALESDOCUMENT
      ORDER_HEADER_IN             =
            ORDER_HEADER_INX            = ORDER_HEADER_INX
      SIMULATION                  =
      BEHAVE_WHEN_ERROR           = ' '
      INT_NUMBER_ASSIGNMENT       = ' '
      LOGIC_SWITCH                =
          TABLES
        RETURN                      = RETURN
       ORDER_ITEM_IN               = ORDER_ITEM_IN
       ORDER_ITEM_INX              = ORDER_ITEM_INX
      PARTNERS                    =
      PARTNERCHANGES              = PARTNERCHANGES
      PARTNERADDRESSES            =
      ORDER_CFGS_REF              =
      ORDER_CFGS_INST             =
      ORDER_CFGS_PART_OF          =
      ORDER_CFGS_VALUE            =
      ORDER_CFGS_BLOB             =
      ORDER_CFGS_VK               =
      ORDER_CFGS_REFINST          =
      SCHEDULE_LINES              =
      SCHEDULE_LINESX             =
      ORDER_TEXT                  =
      ORDER_KEYS                  =
         CONDITIONS_IN               = CONDITIONS_IN
         CONDITIONS_INX              = CONDITIONS_INX
      EXTENSIONIN                 =    .
        IF sy-subrc = 0.
          CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
               EXPORTING
                    WAIT = 'X'.
    IMPORTING
      RETURN        =
        ELSE.                                           
         WRITE: ' BAPI RETURN CODE = ', SY-SUBRC.              
        ENDIF.

  • Discount for Second line item

    Hi All
    While creating a sales order, the pricing should be determined based on Product line item.
    For Example:
    If Line item 10 has Product X and if the same Product X is taken again for line item 20 then the system should give discount based on preceeding product.i.e. If I select the same product twice i should get less price than while taking a single product.
    Can Anyone help me to what condition type should be considered and how to solve this ?
    Thanks
    Ramya
    Edited by: Ramya Nagurtha on Dec 30, 2009 5:59 PM
    Edited by: Ramya Nagurtha on Dec 30, 2009 6:12 PM

    Hi Shantoo
    Thanks for your response. Let me clarify my question.
    We are not giving a free good. The price should be reduced only when when we go for a second item.The condition type we used is 0K04.
    The point is where we are refering the first line item.Can we do it through actions or is there any condition type referring preceeding item discount?
    Can anyone please help me in this?
    Thanks
    Ramya

  • Modification of Pricing Condition in CRM

    Hi,
    I am tring to change the value of the Pricing condition based on the condition type. I have tried with CRM_ORDER_MAINTAIN and PRC_PD* FM. But i could not.
    Kindly update me if you know any FM can help me.
    Thanks in advance.
    Regards,
    Bala.c

    Hi,
    I am explaining my problem little more.
    I have to change the Pricing condition amount in the contract. I have called the FM CRM_ORDER_READ for getting the current pricing conditions record and using FM PRC_PD_ITEM_INPUT change the amount of pricing condition for ex: PR00.
    I have checked the pricing condition amount using CRM_PRIDOC_READ_OW FM and I got the same value which i have changed. So It got changed the IPC as well as buffer also.
    But After calling the FM CRM_ORDER_SAVE the condition record amount is not saved/replicated in the contract.
    Kindly suggest me. If i missed anything.
    Regards,
    Bala.c

  • Sales Order Header Pricing Conditions

    Hi All,
    I am using BAPISDORDER_GETDETAILEDLIST function module to get the pricing conditions. I am able to see Item Pricing Conditions in the ORDER_CONDITIONS_OUT  table but not able to find the Header Pricing Conditions.
    Please let me know how to fetch header pricing conditions. Is there any other FM which can do it?
    Thanks
    Jit

    Hello,
    Try these FM's.
    SD_SALES_HEADER_READ
    SD_SALES_ITEM_TABLES_READ
    SD_SALES_PRICING_INFORMATION
    MRM_DBTAB_KONV_READ
    RV_KONV_SELECT
    Please check out the Function module RV_INVOICE_DOCUMENT_READ.
    Here you need to pass on the invoice no. In the output it shall give you details in invoice header and item levels, price, document status. You will get the net amount as well as the tax. Then you need to add the net amount and the tax to get the total amount
    Regards,
    Vasanth

  • Wrong pricing condition values when using GN_INVOICE_CREATE

    Hi all,
    I am currently handling a program where I have to display all the materials in a given sales area and some corresponding values that depend on pricing conditions. I am using FM GN_INVOICE_CREATE to extract table komv. However, I am experiencing a problem because the values I am getting are different from those in table konv. I am getting the price conditions without the value of field KNUMV.
    I would like to ask if anybody has any idea on how to go about this or maybe another function module that I can use to get the data I need.
    Thanks a lot..
    Regards,
    jac

    Hi,
    Thanks for your reply. I only have the field AUART for checking on the pricing conditions.
    Here is a the part of my code
      CALL FUNCTION 'GN_INVOICE_CREATE'
           EXPORTING
                vbsk_i           = i_vbsk
                id_kvorg        = ''
                id_no_dialog  = c_exis
                invoice_date  = p_datum
                pricing_date  = p_datum
           IMPORTING
                vbsk_e          = i_vbsk
           TABLES
                xkomfk         = i_komfk
                xkomfkgn      = i_komfkgn
                xkomfkko      = i_komfkko
                xkomv          = i_komv
                xthead         = i_thead
                xvbfs           = i_vbfs
                xvbpa          = i_vbpa
                xvbrk           = i_vbrk
                xvbrp           = i_vbrp
                xvbss          = i_vbss
           EXCEPTIONS
                OTHERS       = 1.
    The only parameters in those that have values are c_exis = X, p_datum = given date, and xkomfkgn. The other parameters are all initial when passed to the function module. I get a resulting komv table however, values are incorrect.
    Thanks again for the help..
    Regards,
    jac

  • BAPI pricing conditions

    Hi,
    Is there any BAPI available for load contracts and pricing conditions?
    Please its very urgent for me
    Regards,
    Naveen

    I'm not sure about contracts but for pricing conditions there is BAPI_PRICES_CONDITIONS. It have not been, however, released to customers, so you will need to be extremely careful with it. We ran into some issues with this BAPI because it does not perform any input data validations, it seems.

Maybe you are looking for

  • How do I install x11 w/o install disk?

    How do I install x11 on tiger without the install disk? I just spent the past hour tearing my house apart trying to find the install disk, but no luck. I have no idea where it is.

  • NCO 2.0 issue with Visual Studio 2003

    Hi,     I was attempting to use the SAP Connector for .Net version 2.0 on a machine that has both Visual Studio 2003 and 2005 installed. However, I cannot seem to get the wizard to work correctly in either one. On VS2005, the SaP Connector doesn't ev

  • Flash builder 4.5 code completion doesn't show public function

    Hi, I am migrating from flex3 to flash builder 4.5 and it shows a question mark at one of my lines. No errors, and the code works fine when i run it.. only there is no code completion in flash builder. My code: //i use a custom component like this: <

  • Regarding radio button and selection screen

    hi i have a requirement to grey out one particular select option , if any one of 4 radio button is selected. (total 5 radio buttons ) .  how do i proceed . SELECTION-SCREEN BEGIN OF BLOCK blk WITH FRAME. SELECTION-SCREEN BEGIN OF BLOCK blk1 WITH FRAM

  • Preview error: SWF compilation failed

    I am getting an error when I try to preview the project. But the project doesn't have any user variables. Where should I start troubleshooting? This is not a project I built. It was built by another developer. I am also having trouble accessing the q