Capture re pricing during order creation/change

Hi,
I have to differentiate between standard pricing and re-pricing ( when user has pressed update button on the conditions tab ) in a sales order.
How and where can i get this information during order creation / change.
Thanks for your replies.
Abhishek

hi,
KALSM is the pricing procedure and it will be same for the document during creation and re-pricing, how dose it help in determining if user pressed update button.
Thanks,
Abhishek

Similar Messages

  • Manual selection production version during order creation

    hello!
    i have setup production orders that during order creation the production version has to be selected manually. this works fine in CO01 and CO40. but in CO41 the production version is determined automatically - where would i change that setting?
    best regards,
    matthias

    Dear Matthias,
    In my understanding it is not possible in standard SAP.
    If you have manual selection of production version and if you have set the BOM selection method as 2 in
    MRP 4 view of the material master then,
    1.If you create a production order manually then the system displays the pop up to select a production
    version.
    2.If you are converting the planned order into a production order then it picks up the one which is
    present in the planned order.So obviously if 2 production versions are there with same lot size and
    validity dates,then the system picksup the first one only during MRP run.
    Even if it picks up the first prod.version in planned order,but while converting click on master data and
    change the production version if required.
    3.Otherwise what you can do is set the production version in MD61 itself ,so that its going to be
    considered during MRP run and same will be included in the planned order.
    Check and revert back.
    Regards
    Mangalraj.S

  • Validations during PO Creation/Change

    Hi I want to do three validations during PO Creation/Change
    1) After entering each item Quantity,a custom validation should be done
    2) When Save Button is pressed in PO, custom values should get updated in custom table.
    3) During save a validation is required.
    So can anyone let me know,how this can be dealt with like with which user-exits / badi.
    Kind Regards
    Sajid

    Hello Sajid,
    Your requirements can be achieved by the BADI ME_PURCHDOC_POSTED as this BADI is called after user presses the save button.
    Now if you want to check quantity after the quantity is entered and before the save button is pressed then you can use BADI ME_PO_PRICING use method PROCESS_KOMP and parameter IM_EKPO.
    Hope this is helpful to you.
    Regards
    Arindam

  • How to update condition value using e1edp05 segment during order creation

    Hi,
    I have a requirement where I need to update the item level condition value (komv-kbeter)  to the condition type (komv-kschl) from the incoming idocs (orders05).
    But  the same is configured  in such a way to populate automatically with the default condition value zero during the order creation level using VA01 at condition tab.
    I am able to populate condition values from incoming idoc using segment E1EDP05 which is good, but it was getting created as new entry with the same condition type  instead of updating the condition value to the existing condition type(which got populated from automatically from configuration) .
    So I want to restrict to one entry instead of two with same condition type. Is there any userexit/gap to restrict automatic population of condition type thru programming or to update with idoc (orders05) value rather than inserting as new row?
    My client doesn’t want to restrict the pricing automation from configuration. So I have to handle through programming level.
    Your  inputs are appreciated

    It doesn't really matter if it's a credit/debit memo, it's the same transaction anyway and pretty much the same functionality. What is your requirement exactly? Do you always have to override the price from Siebel or, let's say, some price is automatically proposed and you might or might not need to override it?
    We use a custom (Z..) condition for price override. When a material is entered in VA01, some price (condition PR00, for example) is assigned automatically. Then, let's say, a special price has been negotiated with this customer just for this purchase. So the user goes into Conditions, types in condition code Z... and types in the new price. This basically annuls the previous PR00 condition. I'm not a functional consultant and can't give you all the config details, but your SD person should be able to help.
    I'm still positive that conditions cannot be removed or changed by IDoc. One thing I would suggest for your situation: do not create ZCD2 condition initially and then just add ZCD2 condition when you receive the data from Siebel. Otherwise it seems that you would have to write a user exit or a requirement to deal with the duplicate conditions.

  • Sales order creation/change

    hi all,
    when a sales order is created(VA01) or changed(VA02), can i know the list of ALL tables which are updated?
    i want to know ALL tables which are updated.
    can i know a process through which i can get the list of ALL tables which are updated for the sales order creation or updation.
    thanx,
    shivaa

    hi Shiva,
    in ST05 turn on SQL trace. Than carry out the transaction, when finished, check the result of the trace, you should see ALL tables whch was either read or written during the transaction.
    hope this helps
    ec

  • Sales Order creation/ change date for the items

    I have a unique scenario and i need to get a Report for this
    A sales order is created for 4 line items.
    Out of these , for 2 line items a delivery is created. I need the sales order creation date and time  for these 2 items in a custom report
    Now the other 2 items go in to some kind of block- Now these are released by going in the sales order VA02 and after releasing the delivery is created. Again for these two items , i need the sales order change date as after a user goes and changes the sales order to remove the block only then delivery is created for these two items
    Also another scenario is the 2 line items go for back order and when we get stock  at tht time system confirms the stock and then the delivery is created for these. So also for this when this change occured i need to get the date for these 2 line items
    Can any one please suggest how to get this data  from the scenarios?
    I dont want to get the date when the delivery is created as i can get tht from the LIKP table. I need the sales order create and change dates for these.

    You may be aware, any changes to a document will be recorded in CDHDR (for header changes) and CDPOS (for item changes).  You can explore these two tables.
    thanks
    G. Lakshmipathi

  • Update flag in Purchase order creation/change

    Hello,
    Is there any way I can find out in ME21n if a PO is getting created or changed (something like UPDKZ in Sales order creation)? I basically want to execute some code only when PO creation.
    Thanks
    Ramesh

    Hi Ramesh,
    There are number of ways you can find if PO has been changed or not.
    <u><b>Method-1).</b></u> You can check in ME22n. Once you create a PO using ME21N, go to ME22N to see the PO again
    ( ME22n doesn't always means that you are changing PO ).
    In ME22n open PO
    <u>a.</u> select menu option: <b>Environment --> Header Changes</b> to find header level change.
    <u>b.</u> select menu option: <b>Environment --> Item Changes</b> to find iteam level change.
    You have to select corresponding line and then select the given menu option for changes on that line.
    <u><b>Method-2).</b></u> Check table entries CDHDR and CDPOS.
    <u>a.</u> Go to Se11 --> Table name CDHDR
    <b>OBJECTCLAS</b> = "EINKBELEG"
    <b>OBJECTID</b>   = "(PO Number)" and display records.
    Neglect all records where CHANGE_IND field is 'I'. This is the record of when the PO is created. If there is any other
    record when you neglect the one with 'I' indicator,then PO has been change.
    For example, you have found two records.
    <b>
    OBJECTCLAS   OBJECTID   CHANGENR USERNAME UDATE      UTIME    TCODE PLANCHNGNR ACT_CHNGNO WAS_PLANND CHANGE_IND                                                                                </b>
    "EINKBELEG    4500000752 2252739  XCLAREP  03/30/2006 14:25:11 ME21N                                  I"
    "EINKBELEG    4500000752 2252740  XMICHEAL 03/30/2006 14:25:17 ME22N                                  U"
    Here the first record is for PO creation (CHANGE_IND = 'I' ). if you neglect it, you still have one more record with
    CHANGE_IND = 'U', which indicates PO change.
    Take the change docuement number (CHANGENR) from second record. Go to table CDPOS and display
    record for the change document number you got from CDHDR and see what are the changes made to PO.
    <u><b>Method-3).</b></u> Use <b>FM CHANGEDOCUMENT_READ_HEADERS</b> and <b>CHANGEDOCUMENT_READ_POSITIONS</b>

  • Production Order Number and Batch Number same during order creation

    Hi All,
    I wanted to keep the Production Order number and Batch Number same during creation.
    How I can do that during creation of order only. So during creation same number to be get assigned automatically in the background.
    One thing I can maintain ; the same number range for both.
    But how to activate other functionality.
    Regards,
    Amit

    Hi SAP2511,
    For Production order-
    1.You can define a Order type  and  Mantain the number range same as batch number range (in  OPJH transction)
    For Batch
    1.Activate Automatic internal batch assignment - (OMCZ)
    2.Number range for batch - for object - BATCH_CLT - (OMAD)
    For batch creation at time of Order creation -
    You can create Automatic batch at the time of order creation or order release
    1 Create Production scheduler Profile(OPKP) and assign in Work scheduling view of material master for which you want to create batch at the time of order creation or release.(Select automatic batch creation at the time of release or creation in OPKP)
    Things to be taken care -
    1 . What if you set deleation flag for order?
    Regards
    Girish
    Edited by: girish khobare on Aug 20, 2010 9:31 AM

  • How to populate VENDOR in Delivery ADDRESS tab durinG PO creation/Change

    Hi Expert,
                     which structure is used to populate VENDOR in Delivery Address TAB in PO creation /Change  using BAPI (BAPI_PO_CREATE1/BAPI_PO_CHANGE).
      VENDOR SCREEN FIELD NAME IS CMMDA-EMLIF. Actually  this field is available in EKPO and I have been asked to modify this filed only corresponding to PO. But direct modification of EKPO is not good practice . what I'm trying is, using BAPI_PO_Change to make this change. can we do this at time of PO creation using BAPI_PO_Create1?
    Thanks in advance

    Hi,
    You can use the above BAPI's and fill the structure -POITEM  with the field : SUPP_VENDOR{Vendor to be supplied/who is to receive delivery}
    Simultaneously you need to update the field SUPP_VENDOR  to X of the BAPI structure POITEMX
    Hope this helps
    Regards
    Shiva

  • Tolling / Sub-Contracting Material Quantity Change During Order Creation

    I have created a requisition for 80,000 KG of a tolling material. When converting the requisition into a purchase order, one of the components of the material goes from 45,881.875 KG to 45,881.874 KG, resulting in an overall amount of 79,999.999 KG and a mismatch between my requisition and purchase order.
    I have checked the rounding profiles in the MRP 1 view for all the materials, and each is set to 1.000 KG. Why is this material component rounding down?
    Thanks.

    so the reduced order quantity is not caused by an component that goes down. it is actually the other way around.
    SAP converts the Kg from the requisition into LB in the PO.
    And rounds the decimals.
    Using this as basis then for the components.
    The leading unit is now the order unit, which is LB. whenever you look at a oder  quantity in KG, then SAP converts the LB quantity back into KG, which causes again a rounding issue.
    That is one of the problems when the base unit is not the smallest unit.

  • Factory calendor does not exist error during order creation

    Hi,
    I am getting the factory calendor does not exist error while creating the order. For this i will explain the details for this issue and guide me where is the problem.
    we are doing reconfiguration for the new plant in the client. In this client we are now creating new plant and doing the reconfiguration. While creating the order in new plant i am getting the below error message. i have assigned the existing factory calendor of the old plant to new plant in the existing client. i am thinking that factory calendor is not plant based. In work center i have assigned the factory calendor of old plant for the new plant work center. Please guide me.
    Regards,
    Mastan.

    Hi Dogboy,
    Thank You for immediate reply.
    Have you performed all PP configuration for 1007?
    It means i have created order type and order type parameters, availability check,scheduling, conformation steps for the ordre type.
    Master data,routing, bom creted in cewb with change number and assigned to routing in cewb.
    And factory calendor assigned in work center as old plant calendor only.
    Other tahn this nay steps need to consider for creation of order. anything i have missed. Please guide me.
    Have you assigned a factory calendar to plant 1007?
    Factory calendor is not plant specific. i think with in a client  i can assign same calendor to new plant also. anywhere i have not observed the calendor as plant wise. please guide me.
    Have you created a BOM for this material in 1007?
    Have you created a work center in 1007?   Does the work center have a factory calendar that actually exists?
    The above two steps i have done.
    Have you created a routing for this material in 1007, with operations in that only include work centers assigned to 1007, and assigned the routing to this material in 1007?
    Yes.
    Please guide me.
    Regards,
    Mastan.

  • System is not exploding right component during order creation.

    Dear Sir
    I have a material X.The BOM of this material was created with a component P on 02.11.10.Then i changed the BOM on 02.12.10 with a change number whose validity from date is 22.11.10.I change the component from P to Q.When i try to create production order for X the system explodes P instead of Q.What is the reason for that.I think system should explode Q.
    With Regards
    Debasish

    Debasish,
    Please check whether your change number is released? Also check whether the order start date falls before 22.11.2010, you can also verify the BOM explosion date in the order header "Master Data" tab.
    Regards,
    Prasobh.

  • Problem with User exit for Purchase Order creation/change

    Hi Everyone,
    I have a requirement where I have to implement an enhancement for the standard transaction(ME21N/ME22N). I need to modify a particular field of the item table (EKPO) based on a few comparisons from the header values (After save of PO). I am using the enhancement MM06E005 and its corresponding exit  EXIT_SAPMM06E_013. While debugging I notice that the value is getting changed; but as soon as the control comes out of the FM, the change is not being reflected. Hoping to find a solution for this.
    Thanks & Regards,
    Indudhar P.G

    Hi Guys,
    Now I am using the BADI "ME_PROCESS_PO_CUST". But the control is not stopping at the method even though I set a breakpoint. It just saves the PO after I click save. Is this because my document type of PO is Stock Transfer Order. Can I use this BADI for STO's? and moreover how do I process each item line in this method. Does "ls_mepoitem = im_item->get_data( ).
    "  fetch all the item lines?
    Thanks and Regards,
    Indudhar P.G

  • Update Material Availability dates during order creation

    Hi,
    We have a requirement to update the material availability in the schedule lines of the order when the order is being created.
    We want the update to happen after the sales order is in the Data base. We tried calling a Function module in Update task. The function module is written in the EXIT_SAVE_DOCUMENT form of sales order user exit.
    The FM is getting called on the commit work , but not updating the sales order. We are getting an error " Material availability date should be less than load date". On debugging we noted that the SD_SALES_SCHEDULE_MAINTAIN is called with a load date of 00/00/0000 since the sales order is not in DB.
    Is there a way to call the FM after the sales order is in the database.
    Regards,
    Prabaharan G

    Worked using the enhancement framework development

  • Add new authorization object for production order creation/change/display

    As mentioned. I definded new authorization object using "Production scheduler" (Field Name : FEVOR) by SU20. then use SU21/SU24 to add authorization object for some transaction code such as COOIS. use PFCG maintain new role and assign a  fixed production scheduler value and assgin transaction code COOIS to this role. create new user ID and assign to that role.
    logon system with new ID, run COOIS. but system don't check new authorization object(production scheduler). who can tell me why it is and how i can add new new authorization object for standard transaction code?
    Thanks.
    Kevin.WU

    Hi,
    there is an icon of generation.  just click there in PFCG and also in su21.
    then add this object in new role.
    Assign this role to user id
    while assigning the role also there is a generation.
    Please take a help of BASIS consultant also as this is entire a BASIS process.
    Regards
    Amit parkhi

Maybe you are looking for