ME51N CHANGE MEREQ3320-PREIS DURING PR CREATION

Dear All,
I want to change the Valuation Price in transaction ME51N.
The SAP´s standard gives me the price available in material master record but I need in MEREQ3320-PREIS last buying price of the material.
We have implemented MEREQ001 Customers' Own Data in Purchase Requisition enhancement  . and  implemented  user exit 
EXIT_SAPLMEREQ_010 but in that  we cannot modify PREIS field  which is present in IM_T_EBAN STRUCTURE  (import parameter )
Is there any other way to modify MEREQ3320-PREIS (price Valuation)  field  during  SAVE IN    ME51N .
Your help is highly appreciated.
regards
Deepak.
Edited by: Deepak Dhamat on Sep 15, 2011 6:25 AM

Hi  ,
Thank you all for your support   .
@Klaus  :  it was helpfull answer  but  i  changed my mind to use  BADI   .
@vinod  : Finaly i implemented  badi   as  you said  .
we are using this  for  only Display purpose     .
method .
if  sy-tcode  ='ME53N' .
DATA:
      ld_attr         TYPE string,
      ld_method       TYPE string,
      lo_obj          TYPE REF TO object,  " root object
      lo_obj_2        TYPE REF TO object.
  DATA : w_ebeln TYPE ekpo-ebeln ,
        w_netpr TYPE ekpo-netpr   .
  FIELD-SYMBOLS:
    <lo_lcl>        TYPE ANY,
    <ls_item>       TYPE mereq_item.
  CHECK ( im_count = 1 ).  " avoid endless iteration -> see NOTE below
  lo_obj     ?= im_item.  " casting to root object !!!!!
  ld_attr = 'MY_STATE'.
  ASSIGN lo_obj->(ld_attr) TO <lo_lcl>.
  ld_attr = 'MY_STATE->ITEM'.
  ASSIGN lo_obj->(ld_attr) TO <ls_item>.
  IF <ls_item>-knttp = 'K' .
    SELECT MAX( ebeln ) INTO w_ebeln FROM ekpo
       WHERE matnr = <ls_item>-matnr
        AND  werks = <ls_item>-werks  .
    IF W_EBELN IS NOT INITIAL .
      SELECT  MAX( netpr ) INTO w_netpr FROM ekpo
           WHERE ebeln = w_ebeln .
      IF W_NETPR  IS NOT INITIAL  .
        <ls_item>-preis = w_netpr  .
      ENDIF.
    ENDIF .
  ENDIF.
ENDIF.
regards
Deepak.

Similar Messages

  • User Exit/ Badi for Changing Quant parameters during TO Creation

    Hi Gurus,
    Could you please guide me to advice the User Exit/Badi which can be used for changing Quant Data during TO Creation.
    User Requirement: Using "Recepient Field" in MIGO as a Key Value for FIFO in WM during goods issue. Receipient is copied into TR and TO (Standard SAP Functionality). For the purpose of Stock Removal based on Receipient Value, we need to copy this value into Quant Data field named Certificate Number ("LQUA-ZEUGN").
    I will highly appreciate reply from Gurus.
    Regards,
    Gupta M

    Hi manish,
    Use the Exit MWMTO001 for this purpose and modify the table accordingly. This will solve your problem.
    Thanks,
    Shibashis

  • Changing of MVT during inbound delivery

    Hi Guys,
    I am creating Inbound delivery against purchase order in VL31N to complete goods receipt.
    I wanted to change MVT to my customized MVT instead 101. please let me know how to change the mvt during I/B delivery
    Thanks

    Hi Juran,
    in OVLP transaction shows only delivery item category picking. can you please explain in brief how to change the MVT during IBDN creation?
    SK

  • New planned goods issue date during delivery creation due to changed route

    Hello All,
    I have defined 2 routes with different values for transit time and transporation lead times. I have configured routes such that in order creation - route A is determined and while delivery creation due to weight group - delivery B is determined.
    Now for Route A i have maintained transit time of 3 days and Transportation lead time of 4 days and for Route B it is 1 day each.
    Delivery scheduling is active for the order type.
    Now when i create the order with a delivery date of say 05/24/2010 then (route A with transit time of 3 days) is determined and the planned goods issue date of 05/21/2010 is in the order.
    Now while creating delivery (Route B which has transit time 1 day) is determined due to the weight group. But the planned goods issue date is still the same 05/21/2010 as in order.
    I am assuming that since the route B has a route of 1 day so the planned goods issue date should be re-determined to 05/23/2010? IS there no scheduling done during delivery creation even though route and subsequently transit time has changed?
    Please let me know the answer to this...
    Thanks
    Shobhit

    Hi ,
    You can use TA - MASS . Enter object type - BUS2032(for sales orders) on initial screen and select sales item data.
    Next screen enter selection fields like sales order no and items. After giving order no and item range , execute and enter all new values for any item data fields. After pressing button "carry out mass change", don't forget to press save button.

  • 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

  • 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

  • Storage bin Type Change during TO creation

    Hi friends
    Is it possible to change Storage Bin type (Not Storage bin no)during Transfer Order (TO) creation in LT06 / LT04 ? If so please let em know the procedure to bring storage bin type during TO creation.
    Please confirm
    Rgds
    Madhavan

    Hi,
    Please check and try to define Storage Bin Type (SPRO->LE->master data->storage bins), then activate  Storage Bin type search strategy in OMM1.as appropriate. (in my past experience system given priority to Storage type search and then to Storage BIn type search during picking- I am not sure whether this is the SAP logic or priority).
    Once you define and assing the Storage bin type to Bins this will be available during creation of TO.
    Hope this helps.
    Thx
    MJ

  • Re: Default value in field Plant during PR creation (tcode: ME51N)

    Hi,
    It seems parameter id is not available for defaulting a value in field PLANT during PR creation?
    Is there any option i can use on this instead? thanks in advance.
    Rgds,
    She

    Hi She,
    Go to ME51N Trxn code and Click on Personal Setting Tab and Here You can set you Palnt as Default in Default Values Tab.
    If It is not there in Default Values then Click on More Fields tab and Select Plant then copy and save.
    Reg,
    Ashok

  • Checks on vendors during the creation of PO with ME21N

    Hi all,
    i have this problem:
    during the creation of a Purchase Order, for some types of them i have to bypass some checks that are made by standard on the Vendor.
    Is it possibile to do? if it is, how can i do it?
    Thanks
    Lello

    Hi
    If they are standard controls, probably it'll mean to change the standard program: if your SAP release is ECC 6.00 u can try to use the Implicit Enhancement in order to change the standard else u need to register the standard to OSS in order to get the access key for modification.
    Max

  • Automating Goods issue during Delivery creation

    Hi all,
    We have a requirement to automate the Goods issue creation for certain type of orders when the Delivery is getting created. The orders that need to be automatically Goods issued during delivery creation are identified based on certain plants. These plants are linked to certain output type and in the output type routine is the standard program RVADEK01 with one additonal code for automating the Goods Issue creation.
    We have a custom table that holds the status of orders and there is a code in user exit userexit_save_document_prepare which changes the status of the order as closed when the goods issue is done.
    But when the delivery is saved, in this case when an automatic goods issue needs to happen, when the flow reaches this user exit, the output type code dosenot get executed and the Goods issue is not done and so the custom table will not be updated with the closed status. So we are in need to findout a place where we can update the status of the order in that table.
    The output type code is not executed even before the other user exit userexit_save_document. The output type code gets executed and goods issue is done after the this userexit_save_document when the COMMIT statement is executed in the subroutine BELEG_SICHEN_POST in the include FV50XF0B_BELEG_SICHERN.
    I need help in finding out if any user exit or badi is called after this commit statement, so that I can add my code to close the status of the order in my custom table. Just after this commit the Goods issue happens and the VBFA table gets updated with the 'R' records for goods issue.
    Please let me know if anyone has any idea on this. The ultimate goal is to find some place after the goods issue is done to update the status of the order as closed in the custom table we have.
    Thanks,
    Packia

    Dear Siva,
    As informed yesterday I changed the language from DE to EN, to match the other shipping points settings in table V_TVST, this did not bring the solution.
    Please let me summarize, I am really desparate here:
    This is only IM related, Not WM.
    Picking lists are not printed for any Shipping Point from this warehouse, this is just a small subsidiary of my customer in Finland.
    Issue is not Aut. PGI.
    VP01SHP has not been configured for any shipping points, still there we do get the PR except for the new shipping point.
    In the deliveries of correct processed shipping points  I do not find any picking output type.
    Item category in new shipping is equal to Item category in already existing shipping points, so no need to config here.
    There is no picking block active.
    PR creation happens once I enter the pick qty in the delivery in VL02N. This is the part that we need to have automated.
    Can you please try to help me out?
    Tnx & regards,
    Chris

  • Analysis Services failing to Start . File system error: Error occurred during the creation of directory

    Hello All,
    Posting this problem here and hoping for a solution from the experts in this forum.
    When i have restarted the Analysis Services , i see that it has been stopped but never started back. It fails with an error
    "The SQL Server Analysis Services (MSSQLSERVER) service on Local Computer started and then stopped. Some services stop automatically if they are not in use by other services or programs."
    When Checked the Event Viewer i see the following error -
    The service cannot be started: The following system error occurred:  The filename, directory name, or volume label syntax is incorrect.  File system error: Error occurred during the creation of directory: '\\?\E:\OLAP\MSSOLAPFactory\OlapData;M:\Test
    Backup'.
    I remember changing the BackupDir value of Analysis Services few days back, and i think it could have impacted. Can you please help me how can i change back the BackupDir value and have the server back?
    Let me know if you need any more details
    SG

    Is this still an issue? If so, I would find msmdsrv.ini and make sure you don't have two folders listed in the BackupDir (or DataDir or TempDir). You'll have to runas Administrator to edit the msmdsrv.ini file and save changes. Once you fix that, it should
    succeed.
    http://artisconsulting.com/Blogs/GregGalloway

  • During automatic creation of the purchase requisition to operation 0010

    Hi,
    Problem occurs in automatic cration of PR.
    Error : During automatic creation of the purchase requisition to operation 0010, an error (06 532) occurred:message c2325
    Regards,
    Vivek

    Hi ,
    I am getting error in CO01 Transaction.
    Message no. C2325
    For further proceedings, read the long text of error message (06 532) in transaction SE91. Check the operation affected and change or complete any missing data that led to the error message.
    Regards,
    Vivek Nehete

  • BBP_PO_SEND_XML - Not triggered during the creation of PO

    Hi All,
    We are using SRM 7.0, configuration for sending PO in the form of XML is done as suggested with the method BBP_PO_SEND_XML. The problem is, this BADI is not triggered when we save (even after order) the PO with XML option and the status is displayed as Incorrectly processed. But, when I select the Incorrectly processed output type and click on Repeat Output, the BADI is called and is processed succesfully.
    Any reasons, why the BADI is not triggered during the creation or change of PO and is getting triggered only when we select the option Repeat Output? Please help me in correcting this issue.
    Thanks,
    Phani.

    Logic inside META_PO_SEND was written in user name check. Whereas the method BBP_PO_SEND_XML is triggered with batch user. Due to this reason, custom logic is not triggered.

  • Error: "Transaction type could not be determined" during PO Creation fromSC

    Hi all,
    I'm working on SRM 5.5 with ECS.
    During the creation of  a PO  I want to add a SC as an item of PO.
    But when I chose the SC and click on the button Add to PO I recive the error:
    Transaction type could not be determined
    In the organizational unit I set the attribute BSA and DP_PROCT_TY.
    there are other steps I have to do to join the transaction type of SC and PO?
    rgs
    enzo

    Hi Enzo,
    First check if the attribute BSA and DP_PROC_TY have the same value.
    Then in the attribute value for BSA, change the source system for the document type to your SRM system.
    Create a new PO and a shopping cart.
    Try changing the PO by adding the shopping cart
    Hopefully your problem may get resolved.
    Thanks
    Sanjeev

  • How to set a vendor as fixed vendor during PR creation

    Dear experts,
    There is a field in PR for fixed vendor. How this fiexed vendor determined by SAP during PR creation. How can i ensure that certain vendor will be selected automatically as fixed vendor for some material and service so that during PO creation for the PR , used donot need to put vendor.
    Kindly help
    Thank you.
    Best

    Hi,
    Create  source list(ME01) for material and you can fix the vendor by entering vendor number ( also you can have period duration From & To of fixing)& selecting check box Fixed Source of Supply & save.
    Now during creation of PR (ME51N), select the check box of source determination, then enter other  details and save.
    OR
    You can go for Quota arrangement process & the details are in the link:
    Re: quota arrangement?
    Regards,
    Biju K

Maybe you are looking for

  • MWST not getting determined in CRM Sales Order

    Hi All, I am working on a scenario where we are using MWST for tax calculations. I am able to get the tax calculations correctly in ECC but when I create a Sales Order in CRM, MWST is not getting determined. I have maintained the following 1) Downloa

  • Find My iPhone not working - MobileMe message: No Location Available

    Hi Guys, I'm upgraded to iOS 4.3.1 and the Find My iPhone feature is not working. My MobileMe account picks up the iPhone but says: No Location Available. Even though I can pick up my location on Google Maps/Facebook/Camera/Google without any problem

  • When replicating customer from ERP, the address is not replicated to CRM.

    Hello. I'm facing the problem which the address data of customers is not replicated to CRM. I've checked the business object BUPA_MAIN on t-cd SMW01, so I found that the task of addresses is "S" and it doesn't get GUID. I'm not sure, but I doubt the

  • Distribution cost center details

    Hi In payroll while posting to FI the wagetypes will post to FI costcenter wise, if there is any distribution cost centers it will post through distribution % to FI Is there any table where we can get those details % distribution amount Please help T

  • Select object member function problem

    I use RDBMS 10.2.0.1.0 SQL> CREATE OR REPLACE TYPE foo AS OBJECT 2 ( 3 dummy NUMBER, 4 MEMBER FUNCTION to_str RETURN VARCHAR2, 5 PRAGMA RESTRICT_REFERENCES(to_str, WNDS) 6 ); 7 / Type created SQL> SQL> CREATE OR REPLACE TYPE BODY foo 2 IS 3 MEMBER FU