Change Pricing for purchase order

Hello All,
FOR STO deliveries, we want to aportionate freight charges in case of multiple POs. Our inbound idoc sends only one order and calls BAPI_PO_CHANGE.
we are trying to update Pricing condition of other related purchase orders belonging to same delivery in a user exit. User exit is SAPL2012. Is there any function module to update Pricing conditions for purchase orders?
BAPI_PO_CHANGE would not work here as this userexit is called in this BAPI.
Any suggestion?

Any suggestiions?

Similar Messages

  • How to implement Change pointers for Purchase order - ME22N - Custom Fields

    Hi Experts,
    Can you please tell me how to implement - Change Pointer for Custom fields in IDOC.
    I am working on IDOC - For purchase order - acknowledgements - in custom screen/tab in ME22N.
    Everything is working fine according to my requirement.
    All i need to know is the process of - Creating/Change - Change pointers for Custom fields.
    1.How to implement change pointers for custom fields.
    2.Can we maintain - Change Document - for custom fields at data element level?
    P.S. - I have browsed many previous - forums before posting a new discussion.
    please share your inputs...
    explaining how to create/implement - change pointers for custom fields will help me .
    Regards,
    Karthik Rali.

    Hi,
    To maintain Change Document for custom field:
    1. Check if "Change document" checkbox is set in data element.
    2. Find Change Document Object for transaction.
       You can use SQL trace - ST05.
       Look there for line with table CDHDR and statement insert values
       (for example for transaction KA02 Change Document Object is KSTAR)
    3. Regenerate update program for this Change Document Object in transaction SCDO
    Change documents for z-fields schould be generated.
    I am not sure about change pointers but they are configured somehow in BD61 and BD50.

  • Activate Change Pointers for Purchase Orders

    I thought that change pointers would be active by default for purchase orders, but when I change a purchase order field that should be change pointer enabled, nothing is written in table BDCP.
    Here's what I have done:
    1) Used transaction SCDO to look at the change Documents.
    2) Identified object EINKBELEG (Purchasing Document) as the likely object.
    3) Verified that table EKKO is one of the tables in the object.
    4) Verified that the data element of the field that I am changing in the PO - ZBD2T - is change pointer enabled (it is).
    I cannot get any entry created in BDCP with these settings; change pointers are working for other documents.
    I also put a breakpoint on the sebugger for the function module EINKBELEG_WRITE_DOCUMENT in the update task, and I cannot see it being triggered, so I am wondering if I am doing the correct thing here.
    Can somebody please tell me what I am doing wrong?
    BR,
    Tony.

    Hi Guys,
    This issue was solved by implementing the BTE 4005 (OPEN_FI_PERFORM_00004005_E). This particular event is triggered in the update task for saving changes to business object. So In my function module (corresponding to BTE), I have explicitly called the method to write an entry in COM_SE_CPOINTER, because we just need the reference of business object for which classification data is changed.
    Please refer the below code for more clarity.
    BTE position: -
    method called in FM to write change pointer.
    Thanks anyways, for all the responses.
    Cheers,
    Shreya

  • Change Document - for purchase order

    Hi all,
    when i make some changes in the purchase order(ME22N) it is stored in the table CDPOS but when i change the delivery address field this alone is not stored. what may be the reason? and how to do it?
    can anyone help me in this?
    helpfull answers will be rewarded with points..
    Thanks,
    Murali.

    Saquib,
    No, this is not directly linked to the customer or vendor master. What happens is, during PO creation the delivery address is picked up from the address of the plant, but that can be updated via both BAPI and transaction.Each time this address gets changed, SAP generates a new ADRNR and store that address in ADRC.
    This might help you in future in case you face such situation. I faced this only a few months and that's why I remeber this so clearly.
    Murali,
    Please award points and close the thread if it helped you.

  • Pricing for Purchase Order

    In test system, for a given material & plant combination, does not  have a price in the info record.
    When we create a Purchase Requisition(PR) then the price from the material master gets populated into the PR
    .When converting that into a Purchase Order(PO) the price remains empty and I have
    to update the PBXX gross price manually. Should the price for the PO not be copied over from the PR??

    Hi I am not sure  it will helpful to you or not
    Its From Sap note
    SAP Note 393367 - Price is not transferred from Preq to Po
    A purchase Order is created on basis of a Purchase Requisition.
    Either via ME57 or via ME21 or ME21N, but the price is not
    transferred to the Purchase Order. You might get error 06 218 'Net
    price must be greater than 0' in ME21 or ME21N in case no info
    record for the Vendor / Material is present.
    o In ME51N in the item detail screen in Tab "Valuation" the field "PO
    price" is not visible.
    Other terms
    06218 EBAN-PREIS Valuation price ME52N ME53N
    Reason and Prerequisites
    Customizing was not set to be able to adopt the price.
    Field EBAN-BPUEB is therefore equal value ' ' at the time the purchase
    requisition is used to generate a Purchase Order.
    Solution
    Change customizing accordingly:
    Function Authorizations are set up up in the IMG:
    Material Management -> Purchasing -> Authorization management ->
    Define Function Authorization for Buyers.
    In here choose: "Function Authorizations: Purchase order"
    In here you may specify a number of Function Authorization keys.
    For each key, you may set rights for the key.
    The field in question is "Order price adoption" (T160D-EBPUEB) which
    must be ticked.
    Then back out and now choose "Maintain Users".
    In here choose tab "Parameters" and enter parameter ID "EFB" along
    with the value equal to the key you just maintained.
    (Remember to use Capitals when entering the key value)
    In ME51N in the item detail screen, tab "Valuation", the field
    "PO price" will now be visible and can be maintained via a dropdown.
    The field will have following possible values:
    - "Do not adopt"
    - "As gross price" and
    - "As net price"
    equivalent to the values ' ', '1' and '2' in field EBAN-BPUEB.
    When '1' or '2' a price will be transferred to the Purchase Order when

  • Change Log for Purchase Order

    Dear all,
    Just today, we've found out that one of our buyers always change the PO quantity when the supplier deliver more than they should.
    Before we do something like lock her access or even remove her from current position, we'd like to know how often and how much is the impact of her actions.
    We know that we can see the changes from the change log for every single PO; but if we want to know the changes from several hundreds PO ... looking at the log one by one may not a good idea .. LOL ..
    Do you have any experience with this or any idea on where (the tables) I can take a look ?
    Thanks,
    Markus

    Hi Markus,
    The details of  the 'Show History' function, for the  Purcahse Order, is contained in the ADOC (header information) and the AD01 (Row information). These two tables contain the exact same information as the OPOR and POR1 (Purchase Order header and row tables).  However, the history of all marketing documents in the database is saved in this table so there is a need to filter this table based on the Purchase Order documents only.
    What I would suggest is to create a query based on the ADOC and ADO1 and filter it based on the field 'ObjType' (Field Name is 'Object type'). The object type for the Purchase Order is '22'. As each update to a document is saved in the table there is a need to distinguish each version of the document. This is done with the 'Loginstanc' field in the both the ADOC and the ADO1, so this may help you with the query. After that the query can be filtered for any field that is visible in the Purchase Orders.
    There are other childeren tables of the ADOC which you may need. To find these, when in the Query Generator, open the 'Choose from List' to obtain the list of tables. Then in the 'Find' field type the letters 'ADO' this will bring all the tables starting with 'ADO' to the top of the list.
    One final thing, each update to a document is recorded to a usersign. Obtain the user sign of the user in question by running a query on the OUSR table and look at the figure in the field 'Internal_K' for that user. This is the number that will then be visible in the field 'UserSign' in the ADOC table.
    I hope this helps
    Noreen

  • Change docs for purchase order

    Hi,
    By which t.code we can see the chnage document for the purchase order. and which changes have been done?
    Regards
    Deepak Sharma

    Hi,
    You can check it in me22n or me23n itself.
    Goto Environment -> Header Changes or Item Changes.
    Rgds,

  • How to see the changed output for purchase order

    Hi..
    I have zmedruck. i need to increse item text lengh. i done this in editor. how to see the changed output now...I increased the length of text to be displayed. I checked the print preview in me23n. i cant see the increased length. Guide me where i am wrong.
    Edited by: Meena 303 on May 1, 2008 6:24 PM

    Hi
      In ME22N go to message -
    > select old message -
    >click change OutPut button -
    > Save
    then see print priview  through ME9F or ME22N it sself.
    regards
    Sachin

  • Pricing Routine for Purchase Order (VOFM)

    Hi,
    I just create a price routine (VOFM->Pricing) for purchase order in order to clear some condition types (for example ZR97) in item conditions. In the routine, I just check the xkomv-kschl, if it's ZR97, clear xkomv, it works in routine itself, but after back the main program(ME21N), it's been reset as before, so there is still condition type 'ZR97' in the current purchase item.
    Any idea?!
    Thanks in advance

    Hi,
    Keep a debug point check if the routine is getting called or not and also check whether the values is actually clearing the value xkomv.
    Sometimes xkomv may get cleared but actually the value may be getting reset at the PO level. Check which variable is the one that is actually getting filled in the PO
    Regards,
    Narayani

  • Pricing Procedure for Purchase Order

    I have to pick item level conditions for value : bed , hr edu cess, edu cess, cst,lst.
    I am trying to the pick up fields kbetr and kwert for following conditions from konv table but there are only header level conditons.
    so How can i Proceed for this?
    For Purchase order script i have used standard Program SAPFM06P.But this a subroutine Pool Program.

    hi
    Write a Sub-routine in the form, where u can call all the pricing procedures.
    write this in the form
    /:           PERFORM TAX_AMT IN PROGRAM ZMM_REP_POTAX
    /:           USING &EKPO-NETWR& .
    /:           CHANGING *xxx-xxx&
    write a sub-routine  in abap editor , calling the program name and calculating pricing procedures
    regards
    sailendra kolakaluri

  • BAdI or USEREXIT for changing data of purchase order header - ME21N

    hello all,
    I would like to ask you any way to change the field "reason for change" of the Purchase Order  header.
    I tried implementing the method PROCESS_HEADER of IF_EX_ME_PROCESS_PO_CUST
    or changing reason_code of structure ekko in user exits EXIT_SAPMM06E_006 and EXIT_SAPMM06E_006
    but it seems not to work.
    How can i do?..
    sap. v. ecc 6.0

    >
    Shiva Kumar wrote:
    > Use the user exit : EXIT_SAPMM06E_012: This is triggered on saving of a PO...and user can add validations etc in the exit...
    > Cheers
    It doesn't work...
    >
    Martin Voros wrote:
    > you get reference to object IM_HEADER in method PROCESS_HEADER of BADI ME_PROCESS_PO_CUST. On this object you can call two methods - GET_DATA and SET_DATA. GET_DATA returns structure with type MEPOHEADER. You can change your field here and then call method SET_DATA with your modified structure. This should work.
    > Cheers
    ..same thing for this solution...
    the field that i want to change is RSCOD inside structure EREVGRID...it seems to have also get_data and set_data methods ( IF_REVISION_ITEM_DCM ),
    but I don't know which BAdI to implement that has a object type ref to EREVGRID...
    Edited by: E_M on May 13, 2008 11:08 AM

  • Reset Release Strategy for any change in the Purchase Order

    Hi,
    Is it possible in SAP standards to reset release strategy for even minor changes in the Purchase Order irrespective of whether it is value change or any change in the text or Purchasing group change or whatever it is?
    If so, where do we need to make the configurations.
    I have seen in some thread about resetting the release strategy for decrease in Purchase Order value.Even that was possible through some BAPI.
    Thanks in Advance.
    S.Raghavan

    hi sandesh,
    sorry, i know it's too late.
    i tried your suggestion, it works blocking the purchase order after release strategies are setted.
    sandesh, raghavan:
    i need to reset the strategies after to make any change in the po. i'll appreciate your help if you can give it.
    regards
    f

  • Searching for Workflow for Purchase Order Change

    Hi experts!
    We are using SRM5.0 / extended classic scenario and backend R/3 4.7 Enterprise.
    We should implement an approver process for the purchase order changes. Does any one of you know whether there exists a standard SAP workflow?
    Many thanks for your help.
    Regards,
    Corinne

    Hi
    <i>Please refer to the following links for detailed step-by-step details.</i>
    <u>Workflows for Purchase Orders - n-step approval workflow ( WS14000145 )... Start WS14000075, WS14000089 or WS14000145...-step approval workflow ( WS14000145 )</u>
    http://help.sap.com/saphelp_srm50/helpdata/en/5a/c5173f5ff48443e10000000a114084/frameset.htm
    <u>Authorization - Purchase orders ( WS14000145 )</u>  
    http://help.sap.com/saphelp_srm50/helpdata/en/f7/a6a3415e34b05fe10000000a1550b0/frameset.htm
    <u>Setting Up SAP Business Workflow - WS14000145 ( n-step approval )... WS14000145... WS14000145 – N-step approval PO WS14000145 – N-step approval of contract</u>  
    http://help.sap.com/saphelp_srm50/helpdata/en/2c/e68d406b305537e10000000a1550b0/frameset.htm
    <u>Dynamic Modification - Purchase orders ( WS14000145 )</u>  
    http://help.sap.com/saphelp_srm50/helpdata/en/84/dda441e79ead5fe10000000a1550b0/frameset.htm
    <u>Back & Forth Processing and the Retain Function - Purchase orders ( WS14000145 ) </u> 
    http://help.sap.com/saphelp_srm50/helpdata/en/6b/eca441eea7ef0be10000000a1550b0/frameset.htm
    <u>Approval Workflows for Purchase Orders and Change Versions</u>
    http://help.sap.com/saphelp_srm50/helpdata/en/ec/fe163ff8519a06e10000000a114084/frameset.htm
    <u>Workflow for Contracts - Workflow for Purchase Orders ( WS14000145 )</u>
    http://help.sap.com/saphelp_srm50/helpdata/en/26/0f8b41ed891609e10000000a155106/frameset.htm
    <u>SRM Business Workflow - One-step Approval</u>
    http://help.sap.com/saphelp_srm50/helpdata/en/8b/4fa9585db211d2b404006094b92d37/frameset.htm
    <u>WS14000089</u>
    http://help.sap.com/saphelp_srm50/helpdata/en/5a/c5173f5ff48443e10000000a114084/frameset.htm
    <u>WS14000075</u>
    http://help.sap.com/saphelp_srm50/helpdata/en/2c/e68d406b305537e10000000a1550b0/frameset.htm
    http://help.sap.com/saphelp_srm50/helpdata/en/5a/af5efc85d011d2b42d006094b92d37/frameset.htm
    Regards
    - Atul

  • Where pricing condition P101 is maintained for purchase order

    where pricing condition P101 is maintained for purchase order
    by which t code

    Are you looking for the transaction where you maintain condition records or contition types???
    Transaction: MEK1 for Condition record Creation - Purchasing...
    and Navigation Path for maintain Purchasing conditions types is:
    IMG->Materials Management->Purchasing->Condition->Define Price Determination Process->Define Condition Types...
    Hope this helps.
    Kind Regards
    Eswar

  • Tcode for Purchase order Changes

    Hello Expert
    I Know there is one Tcode from which we could find changes happen in Purchase order at item level . Can any one let me know on the same which Tcode.
    I know the regular option by selecting the line item Environment->Item changes
    thanks
    Abhi

    Hi,
    You have to develope an own ABAP report for this, based on the change tables CDHDR and CDPOS
    CDHDR - Header Change
    CDPOS - Item Change
    EREV - Version Change
    Go to SE11 / SE16 / SE16N, here enter Object value as "PO No" in Table CDHDR and get the Document No and then input this in CDPOS and get the changes details. You can also enter EKKO and EKPO tables and see the whole list.
    Check the link
    Purchase order change log
    SAM
    Edited by: Saminathan Gopalan on Jun 3, 2010 12:35 PM
    Edited by: Saminathan Gopalan on Jun 3, 2010 12:37 PM

Maybe you are looking for

  • Tried to restore my 20 GB iPod. Now it doesn't work, and won't charge!

    I could find no reference to my specific iPod issue in the forums search, so posted a New Topic. Here's the situation. I was given an older 20GB iPod "Click Wheel" model. I was told it worked, and it would show the Apple logo when you tried to turn i

  • Open Item Mgt

    Hi friends, I got the ticket from client that 10 GL acs not defined open item mgt and made no of postings. Now client needs to define the Open item Mgt to that acs. I have listened  that there is a program to correct the open item mgt. can any body g

  • Changing Report 6.05 Layout Width

    I need a wider report layout ( say 126 Characters in width) not to be resized after Report Wizard execution. I changed the layout manually, though, it doesn't feel good. If I run Report Wizard to modify the report , it restores the default page layou

  • Samsung 205bw SyncMaster

    So we purchased this 20" Samsung 205bw SyncMaster LCD monitor. It's got DVI and VGA inputs, supports a native resolution of 1680x1050 and has some pretty nice specs other than that (for a consumer grade monitor that is.) Now the only problem we're fa

  • Squashed Video

    I'm brand new to iMovie. The reason being is that, believe it or not, i've only just got my first Video Camera!! Never really had a need for one until now. Anyway, the problem i'm having is regarding the video format. My Camera is recording in 16:9,