Change condition price

When I create item in sales order, then it will determine the price using pricing procedure, I would like to know, can I write somethings in userexit, when the item create, the price will be hardcode somethings intead of use priceing procedure. For example , When I create a Item 10 with material A, Normal, becuase i've set the conditional record, the pr00 would be 2.00. Now, I want to the material A. I hardcode it as 1.00. Then when I create a item 10 with material A, the pr00 would be 1.00 instead of 2.00. Can I do that? Thanks!

Hi ,
one way of doing it is thru Requirements,check Tcode VOFM>FORMULAS>Condition Value.
plz ask ur functional ppls to get more info abt it.
regards
prabhu

Similar Messages

  • Change Condition price of Contract through IDOC

    Hi all,
                 I am changing  the condition type(PB00) price (KONP-KBETR) of Contract using Inbound Idocs using message type COND_A.The price is updated correctly.
                 But the change is not getting reflected in the net price (EKPO-NETPR).Is it some problem in the Idoc processing?
    Thanks in advance.

    Resolved

  • Value change condition Price

    Hi SAP
    in billing invoice Price condition type  can be changed and deleted ?
    Price  condition type is in 4 %  want to make it 0.
    1) can change price  condition  type value  ?
    Thanks

    Price condition type is in 4 % want to make it 0.
    If Accounting Document has not been generated for that billing document, then yes it is possible to change the value.  To achieve this, first check in billing document at item level, what date is flowing in the field Pricing Date.  Make a note of this.  Next go to VK12, key in the condition type and execute.  There maintain the validity date prior to the date what you have seen in billing document and save.
    Now again go to VF02, key in the billing document and execute.  Go to condition tab and double click on "Update" button so that you can see a box where you double click on "B".   Check the condition value.
    As I already said above, the above change is possible only if no accounting document is generated.  On the other hand, if accounting document is generated, then the condition tab will become uneditable.
    thanks
    G. Lakshmipathi

  • Changing Condition Price Value

    Hi All,
    I have a requirement where in i have to change the condition value. Currently if i select the item in the contract and go to Item Conditions, the condition value is calculated by the rate maintained in the condition type. But my requirement is i have  to overwrite the Rate maintained in the condition type with the rate entered by the user through module pool screens. At present the values of all the conditions will be coming from XKOMV structure through  FM RV_KONT_SELECT.. which is the standard requirement. Where exactly i have to overwrite the Rate which i am getting from the Condition type, so that item values (VBAP) and header value (VBAK) will also change accordingly. Pls let me know how to handle this.
    Thanks,
    Raju

    Hi,
    Basically you need some Functional Help (SD). If you are working with some SD Consultant, just discuss it with him.
    Otherwise, For Pricing Procedure use T.Code V/08 and check if any routine is assigned to that particular condition.
    If you want to write new routine, use T.Code VOFM.
    Use MENU Option --> Formulaes, --> Condition Values.Define some number as per the displayed number in the list.
    Generate it. and then open the same code routine in SE38.
    Now you can write the code there to change the values during execution.
    Regds,
    Anil

  • How to change a condition price in line service of Purchase Order

    People,
    we have to do the following development in Purchase Order (ME21N, ME22N, ME23N) :
    We have a developed screen in Purchase Order header, where the user provides some information. As a result, this information must be transfered to line service, under a certain condition price. Is it possible? I checked we can "put" the value using a field symbol to (SAPLMLSP)TKOMV[] internal table.
    But I believe this is not the best option. Do you have an idea?
    Thanks a lot!

    Hi,
    I can see you have couple of posts regarding Service Line Condition Price. Did you find a way to change them?
    I'm currently facing similar situation, and still debugging to find out possible solutions.
    Thanks,

  • 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

  • Goods Receipt Acccounting document considers  condition price from PO

    Hi,
    During Goods Receipt with reference to an old PO, the accounting document created considers old overheads condition price from PO and not the updated condition price from condition record (Transaction MEK1) which was subsequently changed after creation of the PO.
    Please advise how the accounting document should consider the updated price (MEK1) as on date of creating the GR.
    Thanks and Regards,
    Pratap Mukund Shetty

    Hi Pavan,
    You are right. But we are unable to save the PO with catg 5 as the gross price is pbxx (manual entry) .Our requirement is for the additive cost conditions we have for overheads mantained in MEK1 and in pricing schema show that they are picked up in the PO. At the time of GR if these condition prices were changed it should consider the updated price in GR accounting document but presently it picks the previous price from PO.
    If PB00 is mantained  and picked from info record   then the price date catg works.. But most of our PO's have PBXX (manual entry). How do we address this.
    Regards,
    Pratap

  • Is there any transaction that will change net price in a purchase order

    Hi All,
               Is there any program / transaction where i can change the net price for few materials in the purchase orders (say 100 purchase orders) which has been created few days back. Please let me know at the earliest.
    Regards,
    PSS

    Hi,
    By changing the price in the Info Record price condition it is possible to made to reflect the same in PO Net Price through Automatic document Adjustment.
    MEI1 & MEI2 are used for Invidual & Mass processing.
    Its applicable to Vendor / Material combination i.e. Info Record.
    Regards,
    Ramesh

  • Help to change the price in sales order create bapi

    hi,
       i am able to change the price but not what i am trying to do.
       can anybody please help . here i am submitting the code.
        i am trying to enter the 40 into price field but it is takeing 400
    <b>report  zmybapi1        .
    data : my_order_header_in like bapisdhd1 occurs 0 with header line,
           my_order_header_ix like bapisdhd1x occurs 0 with header line.
    data : my_orderitemsin like bapisditm  occurs 0 with header line,
           my_orderitemsix like bapisditmx occurs 0 with header line.
    data : my_order_partners like bapiparnr occurs 0 with header line.
    data : my_return like bapiret2 occurs 0 with header line.
    data : w_vbeln like bapivbeln-vbeln.
    data:
         my_orderschedulesin like bapischdl occurs 0 with header line,
         my_orderschedulesinx like bapischdlx occurs 0 with header line.
    data : my_orderconditionsin like bapicond occurs 0 with header line,
           my_orderconditionsinx like bapicondx occurs 0 with header line.
    start-of-selection.
    this is to assign values to internal table my_order_header_in
      my_order_header_in-doc_type   = 'TA'.
      my_order_header_in-sales_org  = 'JNJ1'.
      my_order_header_in-distr_chan = '02'.
      my_order_header_in-division   = 'J1'.
      my_order_header_in-sales_off  = 'JNJ1'.
      my_order_header_in-purch_no_c = 'testbapipo'.
      my_order_header_in-purch_date = sy-datum.
      my_order_header_in-req_date_h = sy-datum.
      append my_order_header_in.
    this is to assign values to internal table my_orderitemsin
      my_orderitemsin-material      = '000000000000000727'.
      my_orderitemsin-plant         = 'JNJ1'.
      my_orderitemsin-target_qu     = 'EA'.
      my_orderitemsin-target_qty    = '10'.
      append my_orderitemsin.
    this is to assign values to internal table my_order_partners
      my_order_partners-partn_role = 'AG'.
      my_order_partners-partn_numb = '0000000011'.
      append my_order_partners.
      my_order_partners-partn_role = 'WE'.
      my_order_partners-partn_numb = '0000000011'.
      append my_order_partners.
    This is to assign values to internal table my_orderschedulesin
    my_orderschedulesin-itm_number = '10'.
      my_orderschedulesin-itm_number = '000010'.
      my_orderschedulesin-req_qty   = '10'.
      my_orderschedulesin-SCHED_LINE = '0001'.
      append my_orderschedulesin.
    *This is to assign values to internal table my_orderconditionin
      my_orderconditionsin-itm_number = '000010'.
    my_orderconditionsin-cond_type = 'ZPR1'.
      my_orderconditionsin-cond_value = '40'.
      append my_orderconditionsin.
      my_order_header_ix-updateflag = 'I'.
      my_order_header_ix-doc_type   = 'X'.
      my_order_header_ix-sales_org  = 'X'.
      my_order_header_ix-distr_chan = 'X'.
      my_order_header_ix-division   = 'X'.
      my_order_header_ix-sales_off  = 'X'.
      my_order_header_ix-purch_no_c = 'X'.
      my_order_header_ix-purch_date = 'X'.
      my_order_header_ix-req_date_h = 'X'.
      append my_order_header_ix.
      my_orderitemsix-updateflag    = 'I'.
      my_orderitemsix-material      = 'X'.
      my_orderitemsix-target_qty    = 'X'.
      my_orderitemsix-plant         = 'X'.
      my_orderitemsix-target_qu     = 'X'.
      append my_orderitemsix.
      my_orderschedulesinx-updateflag = 'I'.
    my_orderschedulesinx-sched_line = '0001'.
      my_orderschedulesinx-req_qty    = 'x'.
      append my_orderschedulesinx.
      my_orderconditionsinx-itm_number = '000010'.
      my_orderconditionsinx-cond_type = 'ZPR1'.
      my_orderconditionsinx-updateflag = 'U'.
      my_orderconditionsinx-cond_value = 'X'.
      append my_orderconditionsinx.
      call function 'BAPI_SALESORDER_CREATEFROMDAT2'
        exporting
      SALESDOCUMENTIN               =
          order_header_in               = my_order_header_in
          order_header_inx              = my_order_header_ix
      SENDER                        =
      BINARY_RELATIONSHIPTYPE       =
      INT_NUMBER_ASSIGNMENT         =
      BEHAVE_WHEN_ERROR             =
      LOGIC_SWITCH                  =
      TESTRUN                       =
      CONVERT                       = ' '
        importing
          salesdocument                 = w_vbeln
        tables
          return                        = my_return
          order_items_in                = my_orderitemsin
          order_items_inx               = my_orderitemsix
          order_partners                = my_order_partners
        ORDER_SCHEDULES_IN            =  my_orderschedulesin
          order_schedules_inx           = my_orderschedulesinx
       ORDER_CONDITIONS_IN           =  my_orderconditionsin
       ORDER_CONDITIONS_INX          =  my_orderconditionsinx
      ORDER_CFGS_REF                =
    if sy-subrc ne 0.
        write: my_return-message, my_return-number, my_return-type.
      else.
         call function 'BAPI_TRANSACTION_COMMIT'
         EXPORTING
           WAIT          =
         IMPORTING
           RETURN        =
          write: my_return-message, my_return-number, my_return-type.
    endif.</b>
    Message was edited by: pavan kumar pisipati

    Is there any Multiplication happening in the condition type or any other conditions executes. Please check those..
    Another way is, if always  a multiplication of 10 is happening then pass the value by dividing it by 10. But this way is not a nice way or programming...
    Check out both and let me know if not working.
    Cheers,
    Thomas.

  • BAPI_SALESDATA_CREATEFROMDAT2 Changing Condition Value

    Hi,
      when I use  BAPI_SALESDATA_CREATEFROMDAT2  to changeing condition value
      wa_order_conditions_in-itm_number  = '000010'.
      wa_order_conditions_in-COND_ST_NO  = '010'.  
      wa_order_conditions_in-COND_COUNT  = '01'. 
      wa_order_conditions_in-cond_type   = 'PR01'.
      wa_order_conditions_in-applicatio  = 'V'. 
      wa_order_conditions_in-cond_value  = '1900'.
      wa_order_conditions_in-currency    = 'RMB'.
      wa_order_conditions_in-cond_p_unt  = '1'.
      wa_order_conditions_in-cond_unit   = 'PC'.
      wa_order_conditions_inx-itm_number = '000010'.
      wa_order_conditions_inx-COND_ST_NO = '010'.  
      wa_order_conditions_inx-COND_COUNT = '01'.    
      wa_order_conditions_inx-cond_type  = 'PR01'.
      wa_order_conditions_inx-updateflag = 'U'.
      wa_order_conditions_inx-cond_value = 'X'.
      wa_order_conditions_inx-currency   = 'X'.
      wa_order_conditions_inx-cond_p_unt = 'X'.
      wa_order_conditions_inx-cond_unit  = 'x'.
      APPEND wa_order_conditions_inx TO  
             i_order_conditions_inx.
      APPEND wa_order_conditions_in TO
             i_order_conditions_in.
      CALL FUNCTION 'BAPI_SALESORDER_CREATEFROMDAT2'
           EXPORTING
                order_header_in      = wa_order_header_in
                order_header_inx     = wa_order_header_inx
           IMPORTING
                salesdocument        = salesdocument
           TABLES
                order_conditions_in  = i_order_conditions_in
                order_conditions_inx = i_order_conditions_inx.
    run it i get a Sales order when i look the item conditions
    i found it add a new condition line like :
      PR01 1800.00  RMB ... (automatic price which can
                             be deleted and modifide manual  
                            in 'VA02')
      PR01 1900.00  RMB ... (I expected)
    but I only want to get one line
      PR01 1900.00  RMB ...
      now i don't know the reason,
      my version is R/3 3.6C
      wa_order_conditions_in-itm_number = '000010'.
      wa_order_conditions_in-COND_ST_NO = '010'.  
      wa_order_conditions_in-COND_COUNT = '01'. 
    '000010','010', '01'
      is found in BAPISDORDER_GETDETAILEDLIST by creat in va01 and look it in BAPISDORDER_GETDETAILEDLIST.

    Hi Pan!
    The handling of the conditions is quite tricky. Have a look at OSS 593246 for some hints.
    Have also a look in some other linked topics:
    BAPI_SALESORDER_CHANGE conditions
    BAPI_SALESORDER_CHANGE- No Pricing Condition Change
    Regards,
    Christian

  • How to change the price of a material in PO

    Hi,
      Please tell me how to change the price of a material while raising a  PO,for example  i am raising a PO and in conditions  the price is 100 and i wanna update it to 110.Please help me

    HI,
    If you are using condion record, you can change the value for the required condition type so that it will flow to PO. IF you are not using that, you can change the price at the line item level in PO itself.
    Regards
    Ram

  • Can change the price in the PO line item

    Hello experts,
    I have this Purchase order document where I can change the price in the PO line item(ME22N) where as in the other PO that I have created, changing the price in ME22N is not possible(shaded). They are all the same document type and plant combination. For the PB00 condition type configuration, It is set to D- not possible to process manually.
    Please help.

    Thanks for your answer. Yes i am aware of that, basically the settings is what the price indicated in the info record and as long it is included in the validty periiod then when you create the PO, that price will be detected by the system. i am clear for that, my issue is why there are some materials that i can change the price in the PO directly while the others are the pricing tab is disabled(cannot change the price)
    Settings in the SPRO-MM - PURHASING- CONDITIONS-DEFINE PRICE DETERMINATION PROCESS- DEFINE CONDITION TYPES PB00 is D(NOT POSSIBLE TO PROCESS MANUALLY) but stilll the system is showing some PO's that can be changed the price

  • PO - Change Condition pricing date

    Can we change Condition pricing date in PO.If Yes , then How??
    Thanx,
    Viru

    Dear Viru,
    You can change the price date at the condition control tab. However, you still need to press
    the update button from the condition tab to update the condition price follow the price date
    that you had changed.
    Best Regards,
    Ian Wong

  • Recreating duty calculations for PO for changed Net price of an item.

    Dear Friends,
    i am trying to simulate the duty values for a PO by calling the FM's in the below said order.
    it is working fine, when i am simply passing the actual value of the item via structure (gfl_komp) shown below.
    My requirement is like, i want to change the net price in the  item structure (gfl_komp) and recalculate based on the changed Net Price. But when i change the Net value, it is not getting reflected in the simulated value of FM 'Pricing_screen'.
    Is there anything i should pass to the  header structure (gfl_komk). Please help me out.
       CALL FUNCTION 'ME_FILL_KOMK_PO'
              EXPORTING
                i_ekko          = gfl_ekko
                i_ekpo          = gfl_ekpo_pass
               i_lfa1          = gfl_lfa1
                i_t001          = gfl_t001
               i_kalsm         = gfl_ekko-kalsm
               i_kappl         = 'M'
         I_EGIMP         = I_EGIMP
         I_LFM1          = I_LFM1
         I_T001W         = I_T001W
         I_TRTYP         = I_TRTYP
         I_WEDATEN       = I_WEDATEN
         I_KVORG         = I_KVORG
             IMPORTING
               e_komk          = gfl_komk
            CALL FUNCTION 'ME_FILL_KOMP_PO'
              EXPORTING
                i_ekpo                     = gfl_ekpo_pass
                i_t001w                    = gfl_t001w
                i_ekko                     = gfl_ekko
                i_komk                     = gfl_komk
           I_MT06E                    = I_MT06E
           I_EINE                     = I_EINE
           I_EINA                     = I_EINA
           I_PREISFINDUNGSMENGE       = I_PREISFINDUNGSMENGE
           I_UEBPO                    = I_UEBPO
             IMPORTING
               e_komp                     = gfl_komp
    Here i am trying to change the values of the actual PO values in gfl_komk and gfl_komp.
            CALL FUNCTION 'PRICING_SCREEN'
              EXPORTING
                comm_head_i            = gfl_komk
                comm_item_i            = gfl_komp
      COMM_TEXT              = ''
      DISPLAY_ONLY           = ''
      MATERIAL_TEXT          = ''
      TRTYP_I                = 'A'
      FPTYP_I                = ''
      CTRL_NO_DISPLAY        = CTRL_NO_DISPLAY
      REQUEST_POS1           = '-'
      REQUEST_POSM           = '-'
      REQUEST_POSP           = '-'
      REQUEST_POSL           = '-'
    IMPORTING
      COMM_HEAD_E            = COMM_HEAD_E
      COMM_ITEM_E            = COMM_ITEM_E
      CALCULATION_TYPE       = CALCULATION_TYPE
      FCODE_E                = FCODE_E
              TABLES
                tkomv                  = git_tkomv
      SVBAP                  = SVBAP
    CHANGING
      C_VFKOMV               = C_VFKOMV
        ENDCASE.
      ENDIF.
    Regards,
    Sandeep Sivan
    Edited by: sandeep sivan on Apr 13, 2010 11:32 AM
    Edited by: sandeep sivan on Apr 13, 2010 11:32 AM
    Edited by: sandeep sivan on Apr 13, 2010 11:37 AM
    Edited by: sandeep sivan on Apr 13, 2010 11:47 AM

    hi sirnivas..
    Thanq you for the points..these are the first i ever recieved..
    if you are working on peice of code which can get the price history do me a favour if you have finished the code just explain it to me who did u  do that...
    i have been working on an object from last two weeks to get the latest price...
    the thing is even though the price for condition items has been changed it wont get updated in the Sales orders unless new pricing fot the document is done...
    so i have to get all the sales orders who condition items price has been changed and display them in an ALV...so if you can get the exact old values...for the conditions i guess the opposite also can be done.....
    Here i have suggestion for you...in condition items there is a process called SCHEMA ( pricing Schema) which you can see using Condition Analysis button at the bottom of the condition item window...
    you can see all the price changes to the condition when you parse the tree structure of the procedure..EXAMPLE :- R0000 etc...
    so some Sales orders if the Schema has been changed all the existing condition are replaced by New ones from the changed Schema...so i guess that would play an important role in deciding the Price of Sales order...
    I know this is bit long but .....if you did finsish your program do let me know how you did it...
    Thankyou very much and good luck.

  • Not allow to change PO price if an open GR exit.

    Hi,
    In the standard system, the price can be changed after a GR is posted. 
    In our process, we want to make sure that the GR has to be reversed first before changing PO price.
    Is there a way to disallow changing PO price if the open GR is existing?
    Thanks

    Hi,
    If your requirement is not to allow the buyers to change the values in PO ( since the details will flow from Purchase Info Record ) , then use Functional authorizations for buyers. ( displaying / hideing fields for the doc types are at client level )
    IMG-mm-purchasing-authorization management- define function authorization for buyers.
    Here you can for the conditions whether the buyer can edit or not. also you said select "Field selection" ( ie the fiedls to be displaed or hidden )
    After this , EFB parameter above used to be added to the respective users.
    Regards
    Give points if useful

Maybe you are looking for

  • Assignment of BEx 7 connection parameters in unicode system

    Hi, experts! We faced the following problem: There is a BEx 7 workbook on BI-server. We use this WB to save data in DSO with remote function module. To call the this FM, in VBA-function we create an object  r3 like u201CSAP.Functionsu201D.This object

  • How do I configure PERL in Netscape Enterprise Server 6.0?

    I have set up a shellcgi directory for my perl programs and a mime type called shellcgi. I also set up a file association in Windows 2000. When I try and run a test perl script I get the following message...GET /sh-bin/test.pl, shellcgi-send reports:

  • How many USB-powered 1TB can you plug into an HP G71 Notebook

    I'm using Windows 7 (service pack 1).  I have 3 USB ports, one of which I've extended with a 4-slot extension.  I bought a Western Digital Elements and an I Omega 1 TB USB portable hard drive (each nominally clocks in at 930 gigabytes).  I plugged on

  • Problem Installing Photoshop CS3

    Just loaded down Photoshop Adobe CS3 once I tried to run the setup I got the message that the installlation had failed and to contact support, no further comments given Can anybody help please

  • FLASH PLAYER X MSI REQUIRED for latest version

    I have trawled the depths of the Adobe site ans CANNOT FIND a link to the MSI i want for Flash PLayer X. The FTP site does not carry the MSI. I am using Altiris to deploy the MSI and so i DO NOT WANT the DLM. Can anyone assist - and my apologies if i