Price conditions changes - IDOC

Dear all!
We have price condition with key combination: Material group - Sales unit.
When smb changes this condition, an IDOC WP_PLU should be generated for all materials for the changed group.
As far as I know standard functionality can generate such IDOC only for price conditions  on material level. Am I right?
How can we implement this task? Could you,pls, recommend  suitable exits/badi/extensions if it is the only way.

Hi,
     Please refer below steps
Please create partner profiles through WE20 for customer type KU for message type WP_PLU(under Outbound messages)
Then activate change pointer for message type WP_PLU through tcode BD50
Maintain condition type group by navigating Sales and Distribution -->POS Interface -> Outbound-->Maintain POS Condition Type Group
Maintain profile for POS by navigating Sales and Distribution -->POS Interface -> Outbound--> Maintain Profiles for POS Outbound
Maintain POS pricing procedure and assign using OVKK(for customer in this case site)
You can schedule a daily job using Report RWDPOSAN(WPMA) or RWDPOSUP(WPMU)
For more details please refer 733: Store Connectivity: Configuration Guide  ...
http://help.sap.com/bp_retail603/BBLibrary/Documentation/733_BB_ConfigGuide_EN_US.doc
Hope you will find it useful...
BR
Ajaya Kr Mishra

Similar Messages

  • How to send price condition changes to external system

    Hi all,
    By using trans: VK11/VK12 we may add and change pricing conditions for a particular condition type.
    We want to send to PI changes beeing made (for amount, date interval, e.t.c...). Our condition type is ZPRB, involving the following table to be changed: A090, A662, A677, A663 (in addition to KONH/KONP).
    We thought we could program changes/insertions in the process to a new table refering the changes, and use a proxy call to be triggered upon this table, but unfortunately these transactions (VK11/VK12) does not contain any User Exit. So we have to make changes to the standard SAP if we go for that solution.
    My question is therefor: Is there a better way of transferring the price changes made by these transactions (ALE/Changepointer, BAPI, IDOC, e.t.c...).
    Please advice and describe what is the best solution?
    Best regards
    Leif Lohne.

    Good idea. Doing this exposed 2 problems:
    1 - First problem: The program changes in the midi file work from logic, but not when the midi file is played from a Mainstage external instrument channel strip. So it seems that Mainstage is stripping out the program changes. (Any note play information in the midifile is played from Mainstage, but not the program changes.)
    2 - Second Problem: The sys ex event instruction (I typed in manually in the event editor in logic) to change performance modes on the external keyboard is not working from logic either... So I must be doing something wrong?  I have to create the sys ex event manually, since the external keyboards I'm using don't transmit mode changes for me to record into a midifile. In this case, I'm using a Yamaha S90ES, and manually created the sys ex event in logic for mode change to Voice:
    Yamaha S909ES Voice mode:  $F0 $43 $11 $7F $01 $0A $00 $01 $00 -$F7+
    However, the mode does not change when the file is play back from logic...
    Sure appreciate your help...

  • Changing Price Conditions in Sales Order with SD_SALESDOCUMENT_CHANGE

    Hello there!
    I need to change the value of a price condition in a sale order ;I'm using the f.m.  SD_SALESDOCUMENT_CHANGE.
    It doesnt' work as I want, 'cause it creates an other price conditions instead of just changing the price value of the actual one.
    Waiting for your tips,
    thanks.
    This is how my code looks like:
    PARAMETER: p_vbeln LIKE vbak-vbeln.
    data: st_order_header_inx   TYPE  bapisdhd1x,
            st_conditions LIKE bapicond,
            st_conditionsx LIKE bapicondx,
            tb_conditions TYPE TABLE OF bapicond,
            tb_conditionsx TYPE TABLE OF bapicondx,
            tb_return TYPE TABLE  OF  bapiret2.
    st_order_header_inx-updateflag = 'U'.
      st_conditions-itm_number = '0010'.
      st_conditions-cond_type = 'PR00'.
      st_conditions-cond_updat = 'X'.
      st_conditions-cond_value = '100'. "Value I want to enter
      APPEND st_conditions TO tb_conditions.
    st_conditionsx-itm_number = '0010'.
      st_conditionsx-cond_type = 'PR00'.
      st_conditionsx-updateflag = 'U'.
      st_conditionsx-cond_value = 'X'.
      APPEND ls_conditionsx TO tb_conditionsx.
    CALL FUNCTION 'SD_SALESDOCUMENT_CHANGE'
        EXPORTING
        salesdocument                = p_vbeln
          order_header_inx          = st_order_header_inx
        TABLES
          return                           = tb_return
          conditions_in               = tb_conditions
          conditions_inx              = tb_conditionsx  .

    Get the conditions records first from the Sales Order with BAPI BAPISDORDER_GETDETAILEDLIST
    CALL FUNCTION 'BAPISDORDER_GETDETAILEDLIST'
      EXPORTING
        i_bapi_view          = lw_bapi_view
      TABLES
        sales_documents      = lt_order
        order_conditions_out = lt_conditions_out.
    Then populate the conditions internal table with the data that you get from the previous code
    move-corresponding lw_conditions_out to lw_order_conditions_in.
    lw_order_conditions_in-cond_value = '100'   " the value that you want to modify
    APPEND lw_order_conditions_in TO lt_order_conditions_in.
    CLEAR lw_order_conditions_inx.
    lw_order_conditions_inx-itm_number = lv_kposn.
    lw_order_conditions_inx-cond_st_no = lw_conditions_out-cond_st_no.
    lw_order_conditions_inx-cond_count = lw_conditions_out-cond_count.
    lw_order_conditions_inx-cond_type  = lw_conditions_out-cond_type.
    lw_order_conditions_inx-updateflag = 'U'.
    lw_order_conditions_inx-cond_value = lc_x.
    APPEND lw_order_conditions_inx TO lt_order_conditions_inx.
    You didn't populate the fields cond_st_no and -cond_count. Then just call BAPI SD_SALESDOCUMENT_CHANGE to change the Sales order.
    Hope that helps.
    Erwin

  • ME22N change Exchange rate type at price condition level

    Hello,
    In ME22N exchange rate type is 'M' by default. When a price condition has currency different than purchase order this 'M' rate is used.
    Now I need to change this 'M' rate but for particular price conditions (and exchange rate type can be different for each price condition). Don't ask me why:-) This requirement comes from business consultant and he knows that there is no user exit for this. I need to modify standard. The problem concerns items price conditions.
    I'm not asking you for a complete solution, but maybe you can give me a hint where to start? What is the function module which perform price calculation (where exchange rate is used) in ME22N.
    I tried to change KOMK-KURST in price condition rule (the procedure which is called to check if price condition has to be calculated or not). It is called for each price condition and I know a name of price condition. But I think the exchange rate type is read at the beginning and stays unchanged even I changed KURST.
    I also found function module READ_EXCHANGE_RATE, which has rate type 'M' by default. I could put my modification in place where it is called. But it is not called when I press button Update price. It is only called when I change the currency of condition and press enter. This FM is called in few places in ME22N but not when I'm refreshing prices. Maybe during a refresh it has already an exchange rate? If so, READ_EXCHANGE_RATE could be a solution, but... It is not called when price conditions are created for the very first time (when I create PO item). Maybe system calls different FM?
    I also tried to use trace (ST05) to see where systems reads from TCURR, but I think some buffers are used and TCURR is not in trace.
    So now I'm stuck hoping for your help.
    Best regards
    Rafal

    Prabhu Peram wrote:
    Hello Rafal ,
    >
    > still im trying to understand your requirements , anyhow if you change/propose new exchange rate at header level , then system wont put type as 'M'.
    >
    The problem is that if I set a new exchange rate type, it will be the same for all price conditions. My requirement is to have different exchange rate type for each price condition. The pricing procedure will loop at each price condition, and depending on condition name I need to have different exchange rate type.
    Example:
    condition XMER is in EUR and must be converted to USD (factor should be 1,234)
    condition XMET is in EUR and must be converted to USD (factor should be 1,567)
    Now the factor is the same for all price conditions.
    I have found interesting table XKOMV. It contains price conditions and there is a field with factor value. Now I will look for the place where this table is filled with data or for the place where I can modify factor values before XKOMV is used in pricing procedure.
    Best regards
    Rafal

  • Purchase order condition type price is changed

    Hi Experts,
    After the GR has completed.. through work flow batch job ,the main condition type ZRUP( Roll up price) is changed ....Now for invoice verfication system using the new price not the price in which GR has been done.
    Basically a subcontract PO ( SO - PR- PO - GR(Mb01)- Now trying to do MIRO)
    through ME22 T.ocde the work flow eent is triggered. in item changes i am able to check..
    But i am unable to under stand why ME22 has been trigerred..
    Any bosy if you have come acros such sittuation.. Please let me know
    Points are fully assured.....
    Regards
    Prabhat

    Hi,
    Thanks for the answer.
    My requirement is i am able to check that price is changed.. Now why the work flow event is triggered..
    Is there any standard task list is SAP which triggers ME22 through work flow.
    Regards
    Prabhat

  • I dropped my iphone vertically on the ground. The screen is normal when it is locked. but when unlocked, it is broken down from the clock. Can it be fixed and is it under the warranty conditions? If not how much is the price to change the screen?Thanks

    I dropped my iphone vertically on the ground.The screen works when it is locked.When unlocked, it's broken down from the clock.Can it be fixed and is it under warranty conditions?If not how much is the price to change the screen?Thanks

    User damage is not covered by warranty unless you have Applecare +
    assuming you do not,  the out of warranty exchange price for an iPhone 4 is $149,exchange at an Apple Store genius bar
    iPhone 4 are not repaired they are exchanged

  • Change orders item price conditions

    Hi all !!
    I have to change/update orders item price condition in a report.
    I think is possible calling the function CRM_ORDER_MAINTAIN but I do not manage to do that.
    The CT_INPUT_FIELDS have these values:
    REF_GUID = item guid
    REF_KIND = 'B'
    OBJECTNAME = 'PRIDOC'
    Is it correct ?
    Which others parameters have to be passed to the function?
    Thanks in advance for your help!!
    Elena

    example:-
    *& Report  ZSALESORDER_CHANGE
    REPORT  ZSALESORDER_CHANGE MESSAGE-ID 38.
    Selection Screen Definitions *
    PARAMETERS: p_vbeln TYPE vbap-vbeln OBLIGATORY, "Order Number
    p_posnr TYPE vbap-posnr OBLIGATORY, "Order Item
    p_etenr TYPE vbep-etenr OBLIGATORY, "Schedule Line
    p_reqqty TYPE bapischdl-req_qty OBLIGATORY. " Order Qty
    Internal Tables/Structures/Variables for calling BAPI. *
    DATA: i_hdr TYPE bapisdh1,
    i_hdrx TYPE bapisdh1x,
    i_ret TYPE bapiret2 OCCURS 0 WITH HEADER LINE,
    wa_ret TYPE bapiret2.
    DATA: BEGIN OF i_sched OCCURS 10.
    INCLUDE STRUCTURE bapischdl.
    DATA: END OF i_sched.
    DATA: BEGIN OF i_schedx OCCURS 10.
    INCLUDE STRUCTURE bapischdlx.
    DATA: END OF i_schedx.
    START-OF-SELECTION Event *
    START-OF-SELECTION.
    *" Initialize internal tables.
    REFRESH: i_sched, i_schedx, i_ret.
    CLEAR: i_sched, i_schedx, i_ret.
    *" Fill required ORDER_HEADER_IN data.
    i_hdrx-updateflag = 'U'.
    *" Fill required SCHEDULE_LINES data.
    i_sched-itm_number = p_posnr.
    i_sched-sched_line = p_etenr.
    i_sched-req_qty = p_reqqty.
    i_schedx-updateflag = 'U'.
    i_schedx-itm_number = p_posnr.
    i_schedx-sched_line = p_etenr.
    i_schedx-req_qty = 'X'.
    APPEND i_sched.
    APPEND i_schedx.
    CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
    EXPORTING
    salesdocument = p_vbeln
    order_header_in = i_hdr
    order_header_inx = i_hdrx
    TABLES
    return = i_ret
    schedule_lines = i_sched
    schedule_linesx = i_schedx.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
    LOOP AT i_ret.
    WRITE / i_ret-message.
    ENDLOOP.

  • I do not obtain to change value in price conditions bapi CHANGE_SALES_ORDER

    Hi all,  
    We are developing a new solution using this RFC to maintain Sales Orders from the Legacy System.
    In some situations, it will be necessary to change values of the Item Price Conditions in Sales Orders already created, in order to attend a Legacy Systems requests.
    We tried to use the follow keys, but without a good result:
    IX_KONVKOMX-UPDKZ = D (Delete) - Doesn't works
    IX_KONVKOMX-UPDKZ = U (Update) - Insert a new line in Pricing
    IX_KONVKOMX-UPDKZ = I (Insert) - Works as U (Update)
    Could you please clarify why the key "U" doesn't works as Update and
    if there is any way to make this kind of modification?
    I verified you vary answers in this forum, but none was useful.
    Thanks a lot

    example:-
    *& Report  ZSALESORDER_CHANGE
    REPORT  ZSALESORDER_CHANGE MESSAGE-ID 38.
    Selection Screen Definitions *
    PARAMETERS: p_vbeln TYPE vbap-vbeln OBLIGATORY, "Order Number
    p_posnr TYPE vbap-posnr OBLIGATORY, "Order Item
    p_etenr TYPE vbep-etenr OBLIGATORY, "Schedule Line
    p_reqqty TYPE bapischdl-req_qty OBLIGATORY. " Order Qty
    Internal Tables/Structures/Variables for calling BAPI. *
    DATA: i_hdr TYPE bapisdh1,
    i_hdrx TYPE bapisdh1x,
    i_ret TYPE bapiret2 OCCURS 0 WITH HEADER LINE,
    wa_ret TYPE bapiret2.
    DATA: BEGIN OF i_sched OCCURS 10.
    INCLUDE STRUCTURE bapischdl.
    DATA: END OF i_sched.
    DATA: BEGIN OF i_schedx OCCURS 10.
    INCLUDE STRUCTURE bapischdlx.
    DATA: END OF i_schedx.
    START-OF-SELECTION Event *
    START-OF-SELECTION.
    *" Initialize internal tables.
    REFRESH: i_sched, i_schedx, i_ret.
    CLEAR: i_sched, i_schedx, i_ret.
    *" Fill required ORDER_HEADER_IN data.
    i_hdrx-updateflag = 'U'.
    *" Fill required SCHEDULE_LINES data.
    i_sched-itm_number = p_posnr.
    i_sched-sched_line = p_etenr.
    i_sched-req_qty = p_reqqty.
    i_schedx-updateflag = 'U'.
    i_schedx-itm_number = p_posnr.
    i_schedx-sched_line = p_etenr.
    i_schedx-req_qty = 'X'.
    APPEND i_sched.
    APPEND i_schedx.
    CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
    EXPORTING
    salesdocument = p_vbeln
    order_header_in = i_hdr
    order_header_inx = i_hdrx
    TABLES
    return = i_ret
    schedule_lines = i_sched
    schedule_linesx = i_schedx.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
    LOOP AT i_ret.
    WRITE / i_ret-message.
    ENDLOOP.

  • Idoc LSMW to sales price conditions

    Hi gurus,
    I'm trying to do a sales price condition mass creation with LSMW. Does any one can help me with that?
    Thank you very much.
    Best regards

    Hey Ines,
    LSMW is probably your best bet. The only tricky part is ensuring your key combination string e.g. Sales Area, Customer, Article is included for SAP to figure out which pricing table to update. If you create an LSMW object using a recording, it calls tcode VK15 (for what its worth...).
    The other option you could try is CATT (Computer Aided Test Tool). You can access that via transaction SCAT. That will do the trick for as well.
    Good luck!
    Cheers,
    Paul...

  • Send price conditions to external system

    Hello,
    I would like to send the price conditions to a non SAP system. The IDOC COND_A02 seems to be the solution for sending the price conditions modifications to this system but is there a programm to send an initial set of idocs with all conditions (like RBDSEMAT for materials)? I cannot find any.
    Thanks in advance for any help provided.
    Julien

    Julien,
    You can send prices to external system from pricing reports, transaction V/LD.  For example, I used this to send sales prices to an external system using pricing report 15.  Here you can enter your material selection criteria including, condition type.  This will generate a report which you can then send to external systems.  I apologize, but I do not remember the menu path from the report result off hand.
    Ram,
    Make sure you have activated change pointers for message type COND_A, create or change a price and excute RBDMIDOC for COND_A.

  • AFS-Retail interface about price condition

    Hi gurus,
    I am configuring the AFS-Retail interface. Everything is fine except the price on Retail side is not updated. The scenario is: when value of sales price condition say PR00 on AFS side is changed from 120 to 130, the value of the purchase condition say PB00 on retail side should be updated by ALE and IDocs. There is a customizing table about PR00->PB00 MAPPING in AFS side. The problem is I can tigger the IDoc sending by change PR00 via VK12, but the outbound IDoc is still about PR00 not the PB00 I expected. I search all the notes and related SAP help docs, there are only general info about this price distribution scenario but not the step by step configuration. Also we successed in other ALE/IDoc scenario, so there is no problem about the configuration on them. We are on AFS 5.0. Anyone familar with AFS-Retail please give me some clues.
    Thanks,
    Tony

    Hi, Dennis:
    I am working on a similar situaltion and I came across this post.
    If I need to use SAP table A004 and KONP on R3 to get list price to BW.
    Do you think there is any standard SAP extractors offered?
    I am not sure if all "Axxx" related tables does not contain any SAP related built in extractors.
    thank you!!
    Sylvia

  • Download new and delta sales price creation/change

    I need to output both new and delta change to sales price conditions.
    where can I get the change pointer inormation so as to get the latest sales price out into another system?
    Thanks

    I found out why IDoc not getting created for change to billing block on sales order.
    SAP program ODTF_COBJ_SALES_ORDER_ITEM needs a fix.
    Sales Order replication program ODTF_REPL_CO_SALESORDER_ITM has this piece of code:
        LOOP AT cp_so_it.
          ls_vbpos = cp_so_it-low.
          IF ls_vbpos-posnr IS INITIAL.
            APPEND ls_vbpos TO lt_vbeln.
          ELSE.
            APPEND ls_vbpos TO lt_vbpos.
          ENDIF.
        ENDLOOP.
    For changes to table vbpa, for example, since vbpa key has posnr, ls_vbpos-posnr will have a value, and this code works.
    But for changes to vbak, which doesn't have posnr in table key, ls_vbpos-posnr here is blank, not initial, and this code doesn't work.
    eg. CDPOS-TABKEY/BDCP2-TABKEY for vbpa change might be something like "1300040000560000000RM", but for vbak something like "1300040000560".
    This data feeds this IF statement above, which fails for changes to vbak data in triggering IDoc replication correctly.
    ODTF_REPL_CO_SALESORDER_ITM should be modified to handle vbak change pointer data without the posnr field.

  • Price condition equal to VPRS cost of goods

    I have a senario ,which we will create sales orders for customers with sales price equals to the MAP(moving average price) at the  time when the SO being input .And the sales price in sales orders should be copy to the billing whether  the MAP has changed or not .
    Now I have set up an pricing procedure ,which  use  VPRS  as the sales price condition type ,but here comes another question when I create billing according to the delivery . When I create the billing document ,the net value is defferent with the net value of the sales order ,because the MAP has changed during the goods issue.
    Is there any idea that can make sure the sale price equals to the MAP , and the billing net value is same as sales order net value?
    can you give me some advice ? thanks for you help!

    Hi,
    The pricing type (Copy control)  is an extremely important field. It is worthwhile keeping this entry
    in mind when creating your pricing condition types. As a rule of thumb, you should
    have all item categories for a particular sales document with the same settings.
    Generally, you may use pricing type B (carry out new pricing), G (copy pricing
    elements unchanged and redetermine taxes), or C (copy manual pricing elements
    and redetermine the others).
    When using condition B all manual pricing condition types are lost.
    If you want to copy the sales order to the invoice without changing the sales order
    conditions, use pricing rule G. This will copy the pricing conditions from the order into the
    invoice without changing them, but will redetermine the taxes.
    Regards...
    SBC

  • Price conditions on Sales Orders via EDI

    Hi,
    I need to know if there is a way to bring prices over on the IDOC while posting a sales order via EDI. I have a situation where the price does not have to be determined based on condition records setup within SAP but rather update the price sent on the IDOC itself.
    Thanks
    MR

    Hi,
    Let the inbound Idoc have the price field and the price of the material. And keep the price condition type open/manual entry allowed. Once this is done the system will not do it from the condition record and will populate the data that is there in the Idoc.
    Hope this helps.
    Kind Regards
    Chakradhar

  • How to avoid user from entering new price condition in return order

    Dear Expert
    We are facing a scenario where we make return order; the Price is copied from the invoice. And it is working perfectly. The system does not allow us to change the price.
    The issue we are facing here is that user can input new condition like discount /premium and change the net value for the return order pricing, and this will reflect in the credit note for returns.
    Is there a way to restrict the user from entering any pricing condition in the header or item conditions tab.
    although we cannot change the original price coming from invoice referenced for return order, but the user can input new price conditions as below. This must not be allowed.
    The price must come according to the Qty being referenced.
    While making the credit for returns, the user has a chance of further making changes to the net value by adding new conditions. Hence this must also be restricted for any changes.
    Thanks
    Edited by: Lakshmipathi on Jan 31, 2012 6:55 PM
    Thread Locked - Reason Cross Post

    okie .... i will tell briefly what is the problem ....
    Take a scenario wherein a user has logged into my application and he is performing a task which will put his user id and his employee id into the session. Then he opens another window by using either ctrl+n or through files->new window.
    So now a new browser will open but the session will be same ..... in this newly opened browser, user performs some operation which will remove the user id and employee id from the session .... Now if he again comes back to the first window and tries to do some operation, then a null pointer exception will be thrown saying that the employee id is null .... because he has deleted that in the newly created browser ..... to avoid this situation what can we do ???? can you please help me in this regard ??? you got my problem right !!!

Maybe you are looking for

  • Error while applying a patch "Unable to get the database connection"

    Dear Experts, A patch which got successfully applied is failing Production and the error is kind of surprising to me. Apps version is 11.5.10.2 db version is 10.2.0.4 The worker log file shows Time when worker restarted job: Thu Nov 24 2011 22:14:52

  • Getting error while refreshing a Webi reports for a specific universe

    Hi Experts I am trying to refresh a WEBI Report but getting this error: A database error occured. The database error text is (cs)"Specified network layer is invalid" Previously this was working fine... from today itself I am getting this error My DB

  • Can I plug my I pad directly into the Time Capsule to back it up?

    I Need to back up my I pad which is now full.  It has over 2500 photos that I need to store else where and have a new time capsule. I am not very tech savvy!!!!! 

  • Bug in paged results

    I think there is a bug in paged search results. After choosing a forum the forum Id is discarded when selecting other pages, either by "next page" link or by the page number link.

  • Touch Pad, mouse not working on lower 25% of screen

    Have not seen this question, yet.   When on a web page, my double tap/left click does not work on about the lower 25% of the page.  The scroll arows work, but cannot click or type on the page if in the lower portion of the page.  After scrolling up t