Upload Pricing Conditions in VK11

Hi,
I have list of new materials for which i want to Price conditions using VK11 Transaction.
What is the best method to upload Pricing conditions and also provide me some sample code to achieve this.
Thanks
Bhuvana

Hi,
You can use BAPI_PRICES_CONDITIONS to create the condition records. Please note that this is not released by SAP.
I have used this above BAPI and it will update or create condition records.
RV_CONDITION_COPY
RV_CONDITION_SAVE
RV_CONDITION_RESET,
Please note the above FM's are also not released by used in few standard programs.
Regards
Shiva
Edited by: Shiva Kumar Tirumalasetty on Nov 25, 2010 3:26 PM

Similar Messages

  • Uploading pricing conditions

    hi i got requirement that i need to upload pricing conditions for transaction VK15 and the BAPI to be used is BAPI_PRICES_CONDITIONS  can any one suggest what are the inputs for this BAPI  for creating pricing conditions and which tables it will  updated...

    Check This thread
    Sample code for  BAPI_PRICES_CONDITIONS
    Hope this helps..

  • Issue with BAPI CONTRACT CREATE while uploading pricing conditions

    Hi Experts
                        I am using BAPI CONTRACT CREATE to create Purchase Contract ME31K
    I am facing the issue while passing pricing conditions  Could you please help me regarding this
    Could you please help me along with this what are the values has to pass
    Thanks
    Vijay Kumar Reddy

    Hi Experts
                        I am using BAPI CONTRACT CREATE to create Purchase Contract ME31K
    I am facing the issue while passing pricing conditions  Could you please help me regarding this
          gs_oucondition-item_no = w_data-evrtp.  
          gs_oucondition-serial_id = '1'.     
          gs_oucondition-cond_count = '01'.     
          gs_oucondition-cond_type = w_data-cond1.     
          MOVE w_data-amnt1 TO gs_oucondition-cond_value.     
          gs_oucondition-currency  = w_data-curr1.     
          gs_oucondition-numerator   = '1'.     
          gs_oucondition-denominator = '1'.     
          gs_oucondition-change_id   = 'I'.     
          APPEND gs_oucondition TO gt_oucondition.     
          CLEAR gs_oucondition.
          gs_ouconditionx-item_no = w_data-evrtp.     
          gs_ouconditionx-serial_id = '1'.
          gs_ouconditionx-cond_count = '01'.     
          gs_ouconditionx-item_nox = c_x.     
          gs_ouconditionx-serial_idx = c_x.     
          gs_ouconditionx-cond_countx = c_x.     
          gs_ouconditionx-cond_type = c_x.     
          gs_ouconditionx-cond_value = c_x.     
          gs_ouconditionx-currency  = c_x.     
          gs_ouconditionx-numerator   = c_x.     
          gs_ouconditionx-denominator = c_x.     
          APPEND gs_ouconditionx TO gt_ouconditionx.     
          CLEAR gs_ouconditionx.
    Could you please help me along with this what are the values has to pass.
    these are the parameters passing to the condition structure while executing bapi i am getting error like enter quantity conversion.
    but with the same data i am able to create contract using SE37 by directly executing the Function module.
    and if i have net price in my excel sheet also i am able to create contract using my program.
    the only problem with pricing conditions alternatively there will be no net price..
    Please really it will be a challenging question....
    Thanks
    Vijay Kumar Reddy

  • Bapi to upload condition in vk11

    which bapi can i use to upload conditions in vk11

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

  • VK11 - Pricing Condition Workflow

    Dear friends ,
                   I looking for sap workflow for VK11 - Pricing Condition . I have checked in sap for business objects & user exits and i could not able to find any thing.
    Can some one suggest me the way out to develop workflow for VK11 ( create / change conditions)
    Thanks and Regards,
    Vijay

    Hi Vijay,
    Please check following thread:
    Re: Re : Workflow for Pricing Condition Creation ( VK11)
    Hope it helps.
    Regards,
    Akshay
    Note: Pls mark helpful answers.

  • Reg: LSMW Multiple line items of scale pricing in transaction VK11

    Hi,
    Iam using LSMW to upload price condition records(VK11)
    Totally Iam having two records which i have split as 2 flat files.
    one flat file with header details and another flat file with line items for scale quantity and scale pricing, something like below.
    Header flat file
    __ZPR3__
    __cust1__
    __Mat1__
    __AUD__
    __EA__
    __100__
    __10__
    __ZPR3__
    __cust2__
    __Mat2__
    __AUD__
    __EA__
    __300__
    __10__
    Line Item Flat file
    __cust1__
    __mat1__
    __95__
    __20__
    __cust1__
    __mat1__
    __90__
    __30__
    __cust1__
    __mat1__
    __85__
    __40__
    __cust1__
    __mat1__
    __80__
    __50__
    __cust1__
    __mat1__
    __75__
    __60__
    __cust2__
    __mat2__
    __70__
    __20__
    __cust2__
    __mat2__
    __65__
    __30__
    __cust2__
    __mat2__
    __60__
    __40__
    When i do the step of Read Data in LSMW iam getting the data correctly.
    in Display read data step i got the header data in yellow and its line item in blue.
    In Convert data step iam gettin as
    Transaction read = 2.
    Records read = 11.
    Transaction written = 2.
    Record written = 9.
    In Display Converted data step Iam getting every record as a higher level item (displayed in green)
    In Create Batch Input Session step Iam getting the message as 1 batch Input folder with 9 transactions
    Which is actually wrong because only two transaction only must be written.
    I think i migh have problem in Convert data step but iam not sure, can anyone help me what should be done.
    My requirement is to upload the two datas with multiple scale prices for transaction vk11.
    Kindly Help.
    Regards
    Naveen

    hi,
    For u r reqrmnt u can make use of direct input method.
    1)
    Object               0070   Condition record
    Method               0000
    Program name         RV14BTCI
    Program type         B   Batch input
    it make use of transaction VK15( alternate for vk11where instead of selecting combination u can directly input table name)
    2) create u r internal table structure with the following fields
         KSCHL               cond type
         KOTABNR          cond table
         VKORG             sales org
         VTWEG              distr chnnl
         KUNNR              customer
         MATNR              material num
         WERKS             plant
         WAERK             currency
         DATAB               from date
         DATBI                to date
         KSTBM              cond scale qty
         KBETR              rate
         LOEVM_KO       del ind
         KPEIN               cond pricing unit
    in the above if u dont require any fields u can omit but make sure u r using all key fields.
    i thnk in u r reqrmnt its customer specific pricing so customer, cond scale qty,rate r needed.
    deltion indicator is used to delete existing records.
    3)  maintain structure relations till BKOND3
    4)  for field mapping do Auto field mapping
         give Tcode VK15
         give value for VAKEY ( concate salesorg, plant,materialno,customer) 
    assign dates in standard format (YYYYMMDD)
    5) Run remaining steps like assigning files, read convert and all
    u r flat file structure shud be da same like u r internal table.
    if u r not givin values provide empty space.
    flat file
    zpr3   cust1   mat1   aud ea 100 10   95 20
    zpr3   cust1  mat1    aud ea 100 10   90 30
    zpr3   cust2  mat2    aud ea 300 10   70 20
    i hope it gives u some idea .
    if its useful rewrd me.

  • 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

  • T code/ report to list all material sales pricing condition with deletion i

    I create sales org/ material level pricing conditions in VK11. Some unwanted material pricing conditions are with Deletion indicator active. Iu2019m looking for a report to list all material sales pricing condition with deletion indicator active.
    Please advice me on this.

    Hi Goto v/ld and select 16 which stands for individual prices, and then populate sales organization, distribution channel, customer ,material numbers,etc...and tick "Cond.marked for deletion" check box in "list screen" tab which is the most important, execute you will be able to see all material pricing condition even though it had been deleted.

  • Create pricing condition with default value in processing process field

    hi all,
    when i maintain the pricing conditions with vk11 or vk31, i want the price maintained is set default as blocked (the processing status field-KBSTAT). can it be done? i am using 4.6c.

    You should try to use transaction variant
    <i>Transaction variants simplify transaction flow by:
    Inserting default values in fields
    Changing the ready for input status of fields
    Hiding various screen elements and menu functions, or even entire screens
    Adjusting table control settings
    When you create a transaction variant, you run through the transaction in a special mode. In this mode, you decide which elements you no longer need in your transaction and which values should be inserted where. If you choose to hide an entire screen, the system will no longer display that screen in the transaction and will proceed on to the next screen in the series. You can also adjust table control settings and determine the width of columns and the order in which you want them displayed. In tab strips, you can suppress tabs that you no longer need by setting them to invisible.
    You may also create as many variants for a transaction as you desire. One of these variants can be defined as a standard variant. This variant is then valid across all clients. You may also assign different variants to specific users.
    This is done using Variant Transactions. Variant transactions are then places in those users’ user menus instead of the standard transaction. </i>
    To use this : Tools -> Accelerated SAP -> Personalization (transaction SHD0)
    Regards

  • Change Pricing Condition access

    Hi Pricing Gurus,
    I have a novel situation here. I need to determine two customer discounts in a sales document for two separate partners- Sold to Party (SP) and a Reseller Partner (ZV). I have two condition types  K007 to determine Sold to customer discount and ZVCR to determine Reseller Partner Discount.
    As there are so many condition records for customer discounts we do not want to maintain the condition records for K007 and ZVCR separetly. We want to maintain condition records for K007 and use the reference condition in ZVCR (pointing to K007) to access the K007 condition records.
    The issue we have here is that the Partners to access the conditon records for K007 & ZVCR need to be different. If we have set in ZVCR reference condition as K007, it will pull the Sold to discount for ZVCR instead of for Reseller Partner (ZV).
    I am exploring the possibility of changing the condition access during runtime for condition ZVCR such that it changes the Partner from Sold to Party (SP) to ZV while making an access to K007 condition records. Which user exit should I use to accomplish this?
    It is a novel issue and I am sure there are pricing experts out there who have encoutered this before. Waiting for your suggestions......
    Regards,
    Dev

    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

  • Pricing condition upload in Inforecords

    Hi All,
    I need your help for the following issue.
    Business requirement  is they need a new program which will upload condition in the info record and also they want to change the pricing  change values for existing pricing condition .
    I am giving Plant , vendor , condition type and validity date from selection .From the input file I am giving material and price , currency .
    I am facing problem while changing exist condition type values in Info record in BDC session.While going before BDC session we are checking A017 or A018 table .
    From this we are taking condition record no (latest validity condition ).We are using this condition record in  KONP table  from this we are finding sequence number for the condition type
    Now the problem is this sequence not matching with the sequence of PIR conditions screen sequence .In PIR these conditions shuffled on the basis pricing procedure .
    Sequence in Condition table
    SequNo of cond. Application Condition type
    01              M           PB00
    02              M           FRA2
    03              M           RA00
    04              M           FRB1
    05              M           ZA00
    06              M           ZCOP
    07              M           ZC00
    But in the front end screen of PIR sequence is
    PB00     Gross Price     1,175.00
    RA00     Discount % on Net     4.000-
    ZA00     Surcharge % on Net     2.000
    ZCOP     Scrapping % on Gross
    ZC00     Surcharge/Quantity
    FRA2     Freight % provision     1.000
    FRB1    Freight (Value)         0.02
    These condtion shuffled occured based on pricing procedure .
    Could you please help me to get the current sequence while going to  BDC session.
    Please share you thoughts on this.
    Let me know if you required  any information to understand the scenario.
    Awaiting for your reply.
    Thanks & Regards,
    Srikanth P.

    Hi. I know this is late but I'm having issues with the same type of upload and I came accross your post.
    I use function module 'PRICING_SCHEME' to get the correct order:
    * populate KOMK.
        ls_komk-kappl = 'M'.
        ls_komk-kalsm = 'RM0002'.
    * populate KOMP
        ls_komp-kposn = '000001'.
        loop at it_input ASSIGNING <ls_input>.
    * populate internal table TKOMV.
          CLEAR ls_komv.
          ls_komv-kappl = 'M'.
          ls_komv-kposn = '000001'.
          ls_komv-kschl = <ls_input>-kschl.
          APPEND ls_komv to rt_komv.
        endloop.
        CALL FUNCTION 'PRICING_SCHEME'
            EXPORTING
              calculation_type = 'A'
              comm_head_i      = ls_komk
              comm_item_i      = ls_komp
            TABLES
              tkomv            = rt_komv.
      endmethod.

  • Pricing condition,automatic display without doing VK11 firstly, how ?

    Hi all, another question.
    I have a pricing condition in my sale order. and its value is determined by Pricing Conditions Routines with Conditions Value.
    How can it automatic display in the condition of my sale order, without doing VK11 firstly.
    My english is poor, so I hope u can understand these.

    Hi
    As I said in my previous thread , go to VOFM->Pricing, and check in the requirements if any standard requirements are meeting your requirement or not .If it is not meeting then create a new requirement with the help of  technical consultant.  and assign the requirement  in the Pricing  procedure requirement feild for the condition type and then check wheather it is capturing the price or not in the sales order and billing documents.
    Regards
    Srinath

  • 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

  • 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

Maybe you are looking for

  • Looking for a Great Flex/Flash Engineer

    Hi All, Apologies if this isn't an appropriate place for posting such a request, but I'm a long-time user of Adobe Flash and Flex. Despite the uncertainty surrounding the future of Flash and Flex we feel it's still the best platform for delivering ri

  • WRT 110 Communication issue

    I've had my WRT110 for about 3 years or so, and it has worked fine for a long time.  Today my computers were connecting to the router, but weren't getting internet access so I did the following: checked lights on router and modem, they all indicated

  • Moving Solution Manager content across platforms

    I have a pretty good understanding of Solution Manager's capabilities but need to make a decision about the platform to install it on for our project. We want to get something up and running quickly so we can learn from it, but this probably wont be

  • High dpi support

    I'm wondering if and when FormsCentral will support high dpi devices. I have a 3200x1800 resolution on a 15" screen so everything on FormsCentral is really small and with it being flash based I cannot zoom in.

  • Help! I can't find the number/mod​el number/ser​ial number for my printer!!!

    To help with a printer problem it is often very important to know exactly what printer you are using and usually just "Photosmart", "Envy", or "Laserjet" is not quite enough to narrow the possible troubleshooting down. Even different generations of t