Pricing condition on batch

Dear all,
I want to manage a pricing with conditions based on material master data and batch.
Do I have the opportunity to do that in SAP?
If yes, can you explain to me the customizing for that,
regards,
Julien

Hi Julien,
Yes thats feasible to do.
The basi cthought is that you will have to create condition tables which have material master parameters in  this table. Now the issue is that only those parameters could be used which get copied into sales order tables VBAK, VBAP and others.  The same goes for the batch.
Else there are two ways to follow incase where the parameters are not copied into sales orde:
1) in first case you can add z-fields to your sales order which carry these values and they can then be used in sales order
2) In second case you can use user exits to ensure that pricing tables get the required parameters.
I will suggest the first approach, because this way all the parameters used would be avavilable and during analysis of pricing you will be abale to identfiy which parameter brought which price. This process is simple, in the way that SAP provides BADI to add additional fileds and then  Standard SAP pricing takesover. Hence both setting  up of this functionality and later in maintenance also very little effort is required.
Second approach is not recommended because its not best pracitice to manipulate pricing parameters in the user exits, it leads to more complexities than the original problem it resolves. Also it takes more effort to identfiy which user exit to use so that parameter values is available. And then in maintenance also everytime you will have to into code level to analyse what value is coming.
Hope this helps.
Abhishek

Similar Messages

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

  • How to copy the Pricing conditions from one Distribution Channel to another

    Generally we use VK11 transaction to create conditional records .
    but I Need to Know whether is it Possible to copy the Pricing conditions from one Distribution Channel to another with same name and same internal Characteristics .
    Since we have around 70+ of Condition type with different parameter Sequence.So Instead of Going for BDC whether is there any standard Funct Modules/programs/BAPIs to do this?
    How to make a copy Condition types from One Distribution Channel to another.
    since SAP has already provided to copy conditions from Customer to customer.
    Likewise i need to know whether SAP is facilitating for these feature also.
    Iam Dubious in this issue.
    Hope Fully looking for the answers.
    Harish.N

    - IDOC_INPUT_COND_A (you can create IDOC, but also call directly)
    - call transaction / batch input (use transaction XK15, as used by LSMW)
    - use group of function modules RV_CONDITION_COPY, RV_CONDITION_SAVE, RV_CONDITION_RESET + commit.
    if you search SDN on 'RV_CONDITION_COPY' you'll find more info I believe.
    Someone mentioned BAPI_PRICE_CONDITIONS as well.

  • LSMW Pricing Condition changes

    Hi,
    I need to create a LSMW to change pricing condiitons in condition type PR00 for access sequence table 006 (Price List Type/Currency/Material). I did the following:
    1. Defined Object attributes Standard/Batch Direct Input 0070 (Condition record) Program Name RV14BTCI and Program type B (Batch). Method is 000.
    2. Where do I define that the new records have to go into this table 006? Will it be in the source structures? Source fields? Can anyone explain me step by step how this will work? And what will be the subsequent steps? The documentation I have on LSMW isn't much help unfortunately and is very generic. I need specific solution/steps to this pricing condition table. Any guidance on it?
    Thanks a lot.

    Hi Kevin
    Pl. check this link on LSMW pricing :
    <a href="http://sap-img.com/sap-data-migration.htm">LSMW</a>
    <a href="http://sap-img.com/sd001.htm">to upload pricing conditions</a>
    Pl reward if it helps.
    Thanks & Regards
    Sadhu Kishore

  • Uploading of vk11 (pricing condition) transaction

    Hi friends,
    I have to upload data from legacy system to SAP using VK11 tcode , can use  LSMW for VK11 transaction ? . I have to use batch input standard program....
    when we open VK11 tranaction first its  asking for condition type ( KSCHL ) for each condition type the next screen is varying .
    is it  possible to do using recording.?
    otherwise
    is there any stanadard LSMW program for this ,in the batch input.
    what is that program how to use that  program.
    can any body help me in this regard.
    Regards,
    Jayan

    Hi,
    For pricing conditions you will be having the condition type and table name in the
    first screen of the VK11 transaction.
    In the second screen of VK11 you can see the fields will be varing based up on the
    table name you are specifying the first screen.
    You can use field VAKEY in the batch input program to pass all the values.
    For example:
    Your table name A601 contians three fields mentioned below.Leave the fields such as
    KAPPL,KSCHL,DATBI,DATAB,KBSTAT,KNUMH since these will be avialble for all the tables.
    the rest varing fields are
    VKORG     VKORG     CHAR     4
    VTWEG     VTWEG     CHAR     2
    SPART     SPART     CHAR     2
    KUNNR     KUNNR_V     CHAR     10
    KONDA     KONDA_V     CHAR     2
    MATNR     MATNR     CHAR     18
    KFRST     KFRST     CHAR     1
    You need to pass the value of all the fields to the VAKEY in the batch input program.
    using offset option mentioned below.
    VAKEY+0(4) = source-vkorg.
    VAKEY+4(2) = source-vkorg.
    VAKEY+6(2) = source-vkorg.
    VAKEY+8(10) = source-vkorg.
    VAKEY+18(18) = source-vkorg.
    VAKEY+ 36(1) = source-vkorg.
    Hope this will help you

  • Deletion of bulk pricing condition records

    Hello thr,
    I have thousands of pricing condition records to be deleted. I use condition type ZP01 in VK12 and select the key combination customer/material and then enter the details and then mark the condition record for deletion. To delete the next condition record, I need to go back and do the entire process again. Could someone please let me know if there is a txn that can help me do this in one step.
    Thanks very much for your help.

    Hi Swetha,
    If you want to delete all conditions for ZP01 condition type, you need to create a LSMW batch input from LSMW t-code. you can check and try followings:
    [https://wiki.sdn.sap.com/wiki/display/ABAP/LSMW%20steps%20-Batch%20Input%20Recording]
    [http://www.scmexpertonline.com/downloads/SCM_LSMW_StepsOnWeb.doc]
    You should go to in LSMW t-code, a recording should be created for one record from VK12 t-code and it can be run for all records like same from SM35 t-code.
    Please follow the links above for VK12 condition deletion.
    I hope these will meet your requirement fully.
    Regards,

  • Pricing conditions for the articles are getting triggered one day before the actual activation date to 3rd party systems through job WPMU.

    Hi SAP Guru´s,
    Currently we are sending the pricing, promotions & article master data delta load to 3rd party system from SAP ECC via SAP XI through IDOCS using daily scheduled batch jobs WPMU. IDOC segment - WP_PLU.
    Here the issue is the promotion & pricing data are sent to 3rd party system one day before the actual start date.
    Eg: Promotion 123456 which has start date as 15/05/2014 & ending on 30/05/2014 & was created & activated on 13/05/2014.
    This promotion 123456 is getting triggered from SAP ECC through batch job on 14/05/2014 morning & 3rd party system receives the data on 14/05/2014 & the promotion are getting activated at 3rd party system end on 14/05/2014 itself which actually gets active from 15/05/2014.
    Same in the case for Standard Pricing data which needs to be active from 31/05/2014 once the promotion 123456 ends on 30/05/2014.
    The standard pricing data gets triggered from SAP ECC on 30/05/2014 through batch job & reaching 3rd party system on 30/05/2014 & getting activate on 30/05/2014 itself.
    This creates more issues at the store end as well as affecting business.
    We checked at 3rd party system end & they replied that their system considers the updated time stamp & date to activate the prices & it does not considers the actual active from & active to date. They need the data to be sent from SAP ECC on the effective date of the pricing & promotions.
    Can any one help me how to change the pricing conditions beign triggered through batch job in SAP ECC based on the actual promotion & pricing conditons start date or is there any other process to trigger the data through the batch job on the actual promotion & pricing data activation date.
    Thanks in Advance.
    Thanks & Regards,
    P.P.Shankar

    Hello Shankar,
    Change the lead time in the POS Outbound Profile. You can't put less than 2 days there so data for today and tomorrow will be transferred which also means you need to adjust your batch timing accordingly.
    Sales and Distribution -> POS Interface -> Outbound -> Maintain Profile for POS Outbound.
    See if it helps. The best option would still be that the 3rd part system considers the activtion date.
    Kind Regards
    Kaizad

  • Changing Pricing Conditions in CRM

    Hi,
    We'd like to change an already existing price condition on contracts in CRM using a batch program.
    The prices doesn't exist in R/3 but only in CRM.
    We have run some tests using Function Module
    'CRM_ORDER_MAINTAIN' but the pricing conditions where not saved(the price sheet is updated and also the total net price of the contract).
    Does anyone know of a functon module to use for changing a pricing condition for a contract in CRM ??
    Thanks,
    Björn

    Hi,
    did you find a solution to your question ? I am trying to find an answer to the same subject.
    thanks,
    Isaac

  • How to link exact pricing condition type to sales data?

    Hi all!  I have googled many times and read through many sites to understand how I can obtain the pricing condition data that's specific to a specific sales line.  However, the answer I got usually are as follow:
    Tables to be used:
    KONV
    KONH
    KONP
    VBRK
    VBRP
    And the thing is to obtain KNUMH data from VBRP and link it to KONP which will get the exact pricing condition data that's relating to the specific transaction.
    However, my challenge is that the field KNUMH in either VBRP or VBAP, it is empty.  Therefore, how can I have a report with my sales data as the primary file, and appending the pricing condition data so that I can analyze the different kinds of pricing condition types that the company is using.  The only field that I can use is KNUMV which does not give me the pricing condition that was used in this particular invoice line.
    I also know that there is the A*** tables, which contains the KNUMH file.  However, this file is split into many different tables.  Thus, is there a more efficient method to download all the data?  In any case, I still do not know how to link to my sales data.
    FYI, I only have SE16N and VK13's access.
    I hope that someone can help me, please!
    Thank you!

    As I know, field KNUMH in VBAP/VBRP is for batch.
    To obtain the pricing condition data that's specific to a specific sales line, then you have to us VBAK/VBRK with KONV.
    Get field KNUMV from VBRK/VBAK.
    Pass VBAK-KNUMV = KONV- KNUMV
    to get in KONV
    Item - KPOSN
    Step number - STUNR
    Condition type - KSCHL
    CondPricingDate - KDATU
    Cond.base value - KAWRT
    Amount - KBETR
    Currency - WAERS
    Where Application - KAPPL
    Pass TX for Taxes Condition Type & V for SD Condition Type
    Thanks, JP

  • Problem in data upload using pricing conditions with sales deal

    hi...
    i have to upload following fields -
    Condition Type
    Condition Table
    Valid from
    Valid to
    Sales deal
    Amount/Rate
    Currency / %
    Pricing Unit
    Pricing UoM
    Sales organization
    Distribution channel
    Sold to Party
    Material Number
    Material Pricing Grp
    Batch number
    Buying Group of Sold-to
    Customer
    Customer Group
    CustomerHierarchy 01
    CustomerHierarchy 02
    CustomerHierarchy 03
    CustomerHierarchy 04
    CustomerHierarchy 05
    Division
    Sales Order Type
    Sales Document Type
    End user
    Material Group
    Tax Classification Material
    Payer
    Plant
    Price Group
    Price list type
    Pricing reference material
    Prod. Hier -1
    Prod. Hier -2
    Prod. Hier -3
    Prod. Hier -4
    Prod. Hier -5
    Product hierarchy
    Region of Dly Plant
    Sales district
    Sales group
    Sales office
    Sales unit
    Ship-To
    Shipping point
    Buying Group of end user
    Tax classification for customer
    Type of Transaction
    Scale Basis1
    Scale Rate1
    Scale Basis2
    Scale Rate2
    Scale Basis3
    Scale Rate3
    Scale Basis4
    Scale Rate4
    using  XK15  t-code and SALES DEAL is the major concern.
    1)  First i used   RV14 BTCI , that is a standard report for uploading the pricing conditions. But by using this all fields are updating except SALES DEAL becoz this is not present in the structures (like- BKOND-1, BKOND-2, BKOND-3 etc) that is used in RV14BTCI program. I searched other structures also but SALES DEAL is not present there.
    2) Second i tried to find out some Function module that is containg SALES DEAL and i found two FMs - IDOC_INPUT_COND_A and BAPI_PRICES_CONDITIONS.....but
    a) the FM - IDOC_INPUT_COND_A is used with ALE and where third party is involved, so we require control data and status data for  this I dont have this. so we cant use it.
    b) and the FM BAPI_PRICES_CONDITIONS is also not working for SALES DEAL....by using this it is also not uploaded becoz some mandatory information related to sales deal like- sales organisation, distribution channel are not present in this FM.
    3) to upload this we can use the BDC recording method.....but the problem is - there are almost 15 condition types and based on these conditions almost 20 - 25 condition tables are there for every condition and based on the every table different screen sequence are there.....so if we go for BDC recording...than we have to make 325 recordings.....also not feasible solution.
    so plz give the suggestions for this problem and check my efforts also may be i missed something that can be a solution.
    Thanx in advance for all.......plz help.....

    Hi Jitendra,
    Goto RSA3 trans in the source system. Check if are able to extract the data.
    If so then replicate the DS once in BW system. Activate all the DS, transfer rules etc & try to load it again.
    Hope this will solve your problem!
    Regards,
    Pavan

  • Header Pricing Condition (SD)

    Hello,
    We have a header pricing condition type both applicable to header and line items. When manually putting an amount on the header, it automatically distributes the amount on the line items proportionally.
    When running in batch or IDoc via requirement routines (or any VOFM routines), how can I populate the header amount so that it will distribute the amount automatically also on the line items?
    I normally do this on the line item level by modifying XKWERT on a requirement routine but I cannot get it to to work when the target is a header pricing condition.
    Please help me if you have any ideas.
    Thanks in advance,
    John

    which include? i think you forgot to include the name of the include

  • Free Goods with pricing condition (Urgent)

    Hi MM Expert,
    we have a probleme with free goods. because in PO item of free goods, there is no condition management (no Invoice entry) but we should manage some pricing condition for the item (spécifique condition relative to transport, ...).
    so are the any way of managing the expenses annex condition(transport charge, customs clearance charges,…) for the free goods in an item of Purchase Order ??
    thank's in advance.
    Said

    Hi,
    This is not possible to maintain the condition s for free goods because while creating the PO for free goods by selecting the free goods tad at item level, There is no Condition tab at Item detail .means you are not able to mainatin conditions.
    If you want to maintain the conditions ,you have to treat as a Normal scenarios .
    Regards
    Sanjay L

  • How to change pricing Conditions in Sales order in change sales order bapi

    Hi Experts,
    How to change pricing Conditions in Sales order in change sales order bapi.
    I have used the 2 function modules bapi-changesalesorder and sd salesdocument change, But it is creating the new record , instead of changing the existing one, Could please assist regarding the same
    Thanks in Advance .
    NLN

    HI NLN
      I have just tried on my system and managed to overwrite the existing price by passing the following parameters.
      <b>Import Paramters:</b>
         SALESDOCUMENT - Sales Document Number
         ORDER_HEADER_INX - UPDATEFLAG as <b>'U'</b>.
         LOGIC_SWITCH - Import Structure - Pass 'X' to LOGIC_SWITCH-COND_HANDL.
      <b>Tables:</b>
         CONDITIONS_IN - ITM_NUMBER,
                         COND_COUNT, -> Condition counter same as KONV-ZAEHK generally it is <b>'01'</b>
                         COND_TYPE,
                         COND_VALUE,
                         CURRENCY.
         CONDITIONS_INX - ITM_NUMBER,
                          COND_COUNT,
                          COND_TYPE,
                          UPDATEFLAG as <b>'U'</b>,
                          CURRENCY.
       Hope i have clarified your query.
    Kind Regards
    Eswar

  • How to hide the pricing conditions specified in pricing procedure of sd.

    dear friends,
    my situation is to hide the conditions specified in the pricing procedure. so that it is not viewed by the some users.can you please tell me how to hide the conditions. so some of the persons, who are having authorization to see the conditions , will be able to see the pricing conditions.
    can you please suggest me how to do this.
    regards,
    g.v.shivakkumar

    Authorisation  issues viz. Role Impementations
    Hide Condition Records Line Item & Header Wise from all the transactions QK / So /  P.I. / Enquiry / Invoice etc. for specific user grps. - in CRETATE / AMEND / DISPLAY / REPORTS all
    Only Display the fields
    regards,
    g.v.shivakkumar

  • Unable to display the pricing conditions for a product.

    Hi All,
        I have created a product with help of function modules.The problem is that i am able to populate the pricing conditions data into internal table,but the pricing conditions  is not being displayed in the Masterdata->Products-> Maintain Products screen. Can anyone suggest me in this regards.Is there any function module to be used? or any other procedure to be followed for the pricing conditions to be dispalyed? If any sample code also please provide me.Please respond soon it is an Urgent Requirement. Points will be awarded for useful answers.
    Thanks in Advance,
    Shwetha.

    Hi,
    The pricing in SD and MM is a separate module like thing and is maintained for different products based on the Condition records.
    The basic Pricing Procedure consists of Condition  Types, Condition Records, Accesss Sequences and condition tables.
    Generally with respect to all sales and purchase documents the pricing is maintained in KONV  and KONP tables based on the different condition types.
    reward points if useful
    regards,
    ANJI

Maybe you are looking for

  • HELP: "Goods receipt purch. order" is not allowed (ORD #######)

    hello sap mm gurus/friends, i would like to ask how do i go about resolving the error message: "Goods receipt purch. order" is not allowed (ORD #######) upon receiving the items in sap. The PO has an account assignment "F" (Order) against an internal

  • To connect MS Access database in back ground

    Hello Gurus, I have a requirement in which I need to connect to MS Access database in back ground as a daily job. I tried using OLE2, Its working fine in front end but failed in back ground. Please help me in this regard. Thanks, Naresh.

  • Need help using Feedburner and Buzzboost in iWeb site

    Hello. I have embedded a blog feed into my iWeb site using Feedburner's Buzzboost. The feed appears correctly, but I cannot for the life of me figure out how to get the customizing CSS codes to work. I've found countless tips on using CSS codes to cu

  • Smart Playlists:  One instance of artist per list?

    Hi there, When I have a smart playlist create a list by my ratings (eg 3+) is there any way I can limit the amount of times an artist is added? I want to try and avoid a playlist dominated by one artist! Thank you in advance for your help!

  • Can I connect the iphone 3gs with ipad 2?

    Hallo can I connect the iphone 3gs with ipad 2?