ME31k/ME32K  User Exit

Hi ,
In ME31k/ME32k  Program : SAPMM06E and screen 220
based on the material ,the storage location is automatically populated .
I want to make storage location as blank for new(ME31K) and existing contract (ME32k).
Please let me regarding the same.
Thanks
A Raj

Hi,
Try this.
goto se24, enter class cl_exithandler, goto method get_instance. Set breakpoint on the first if sy-subrc statement after the "get exit name". Run transaction when it is in debug window, check field exit_name for BADI.
Check BADI to see if it allows you to change field storage location.
Cheers.
...Reward if useful.

Similar Messages

  • User-exit (me31k - me32k)

    hi,
    boys it would serve me but user-exit that goes off to the save and the change of the contract (me31k, me32k).
    thk.
    Edited by: francesco aiello on Oct 28, 2009 6:55 PM

    Hi,
    to find the user exits & Badi's for the T-code..
    go to table TSTC>enter T-code and execute> get the Program for the t-code..
    and go to-se38-->get the package attached to the t-code..
    next go to t-code Se15>expand the enhacement tab>enter package under userexit and
                                                         execute you will get the list of exits
                                                         available...
                                                      -->enter package under Badi's tab and
                                                         execute you will get the list of Badi's
                                                         available... 
    All the User exits are stored in Table MODSAP..
    Prabhudas

  • ME31L/ME32L, ME31K/ME32K badi/user exits at item level

    hi all,
    i need to check tax jurisdiction code per item of scheduling agreement and contract.
    coz i need to prompt an error message "tax jurisidation code at line XX is blank" if no tax jurisdiction code is specified.
    can you help me what badi or userexit to use?
    tnx!

    Hi. I'm not aware of any specific user exits or BADI's for contracts, there are lots for purchase orders, and 1 for creating release POs from a contract, but I can't see any spefically for checking contract items.
    However, you could try the custom field exit MM06E005. This would be a bit of a cheat, but it does get called by all purchasing documents including contracts, and all fields are available to check against so you could try and use it just to check the standard fields.
    You can definitly issue errors into the contact from this exit.
    Regards,
    Dave.

  • User exit or BADI for ME31K for create Contract

    Hi,
    I want that in Tcode ME31K when i create a contract, for a particular vendor and particular material only one contract should be allowed to create.
    If i try to create a second contract with the same vendor and material it should not allow me to do that.
    please let me know is any user exit or BADI is there to solve my problem.
    and what should be my code for this?

    hi,
    try this BADI...
    SMOD_MRFLB001        Control Items for Contract Release Order
    Prabhudas

  • Urgent: User exit for ME22N and ME32K transactions

    I need to know a user exit(s) for changing Purchase Order and Contract line item fields from EKPO table. Please let me know if you know any. BADIs are also fine if the user exit does not exits. Thanks

    Dear AP,
       I'm enlisting all the exits :-
    Transaction Code - ME22N             Change Purchase Order
    Exit Name
    Description
    AMPL0001
    User subscreen for additional data on AMPL
    LMEDR001
    Enhancements to print program
    LMELA002
    Adopt batch no. from shipping notification when posting a GR
    LMELA010
    Inbound shipping notification: Transfer item data from IDOC
    LMEQR001
    User exit for source determination
    LMEXF001
    Conditions in Purchasing Documents Without Invoice Receipt
    LWSUS001
    Customer-Specific Source Determination in Retail
    M06B0001
    Role determination for purchase requisition release
    M06B0002
    Changes to comm. structure for purchase requisition release
    M06B0003
    Number range and document number
    M06B0004
    Number range and document number
    M06B0005
    Changes to comm. structure for overall release of requisn.
    M06E0004
    Changes to communication structure for release purch. doc.
    M06E0005
    Role determination for release of purchasing documents
    ME590001
    Grouping of requsitions for PO split in ME59
    MEETA001
    Define schedule line type (backlog, immed. req., preview)
    MEFLD004
    Determine earliest delivery date f. check w. GR (only PO)
    MELAB001
    Gen. forecast delivery schedules: Transfer schedule implem.
    MEQUERY1
    Enhancement to Document Overview ME21N/ME51N
    MEVME001
    WE default quantity calc. and over/ underdelivery tolerance
    MM06E001
    User exits for EDI inbound and outbound purchasing documents
    MM06E003
    Number range and document number
    MM06E004
    Control import data screens in purchase order
    MM06E005
    Customer fields in purchasing document
    MM06E007
    Change document for requisitions upon conversion into PO
    MM06E008
    Monitoring of contr. target value in case of release orders
    MM06E009
    Relevant texts for "Texts exist" indicator
    MM06E010
    Field selection for vendor address
    MMAL0001
    ALE source list distribution: Outbound processing
    MMAL0002
    ALE source list distribution: Inbound processing
    MMAL0003
    ALE purcasing info record distribution: Outbound processing
    MMAL0004
    ALE purchasing info record distribution: Inbound processing
    MMDA0001
    Default delivery addresses
    MMFAB001
    User exit for generation of release order
    MRFLB001
    Control Items for Contract Release Order
    No of Exits:         35
    Transaction Code - ME32K                   Change Contract
    |Exit Name|Description                                   |
    AMPL0001
    User subscreen for additional data on AMPL
    LMEDR001
    Enhancements to print program
    LMELA002
    Adopt batch no. from shipping notification when posting a GR
    LMELA010
    Inbound shipping notification: Transfer item data from IDOC
    LMEQR001
    User exit for source determination
    LMEXF001
    Conditions in Purchasing Documents Without Invoice Receipt
    LWSUS001
    Customer-Specific Source Determination in Retail
    M06B0001
    Role determination for purchase requisition release
    M06B0002
    Changes to comm. structure for purchase requisition release
    M06B0003
    Number range and document number
    M06B0004
    Number range and document number
    M06B0005
    Changes to comm. structure for overall release of requisn.
    M06E0004
    Changes to communication structure for release purch. doc.
    M06E0005
    Role determination for release of purchasing documents
    ME590001
    Grouping of requsitions for PO split in ME59
    MEETA001
    Define schedule line type (backlog, immed. req., preview)
    MEFLD004
    Determine earliest delivery date f. check w. GR (only PO)
    MELAB001
    Gen. forecast delivery schedules: Transfer schedule implem.
    MEQUERY1
    Enhancement to Document Overview ME21N/ME51N
    MEVME001
    WE default quantity calc. and over/ underdelivery tolerance
    MM06E001
    User exits for EDI inbound and outbound purchasing documents
    MM06E003
    Number range and document number
    MM06E004
    Control import data screens in purchase order
    MM06E005
    Customer fields in purchasing document
    MM06E007
    Change document for requisitions upon conversion into PO
    MM06E008
    Monitoring of contr. target value in case of release orders
    MM06E009
    Relevant texts for "Texts exist" indicator
    MM06E010
    Field selection for vendor address
    MMAL0001
    ALE source list distribution: Outbound processing
    MMAL0002
    ALE source list distribution: Inbound processing
    MMAL0003
    ALE purcasing info record distribution: Outbound processing
    MMAL0004
    ALE purchasing info record distribution: Inbound processing
    MMDA0001
    Default delivery addresses
    MMFAB001
    User exit for generation of release order
    MRFLB001
    Control Items for Contract Release Order
    No of Exits:         35
    Regards,
    Deva.

  • Need User Exit/Badi in ME31K to override value of EKPO-XERSY

    Could someone please tell me if a user exit or badi is available to override the value of EKPO-XERSY on the conditions tab in transaction ME31K?
    We have created a customer field in SRM and wish to override the backend value of the ERS indicator in the ECC system.
    Thanks in advance for any help you can give me.
    Edited by: Mary Culpepper on Feb 12, 2008 11:15 PM

    Hi Mary,
    Write the code in the below exit:
    EXIT_SAPMM06E_013 :Update Customer-Specific Data in Purchasing Document
    Here get the value of XERSY from YEKPO structure.
    Thanks.
    Note:Reward Points if you find useful.

  • User exit to overwrite the exchange field value in me31k

    Hi All,
    I am trying to find a user exit to overwrite the field EKKO-WKURS on me31k screen. I have tried a couple of exits in enhancement MM06E005 but non are getting called.Only exit  'EXIT_SAPMM06E_006' is called but it is not changing the value of wkurs.
    I had added the following code in exit 'EXIT_SAPMM06E_006'
    I_EKKO-WKURS = '0.8888'.
    but the screen value is not changed.Please let me know if any other enhancement exists to do this ? or whether my code itself is wrong.
    I have a 'ME_PROCESS_PO_CUST' which is activated for overwriting PO header exchange rate for me21n transaction only.Is that causing a problem ?
    Please help.
    Kind Regards,
    Shital

    Hi Shital!
    Have you been trying ME_PROCESS_OUT_CUST badi? It is for contract processing.
    I can't advice you a method, because i don't know at what moment u need to change currency value.
    May be INITIALIZE or OPEN methods will help you.

  • Me31k user exit

    Hi ABAP Gurus,
    I have a requirement for progarm sapmm06E, screen number 220 (Me31k transaction) where the "net price" field automatically populates from the Inforecord price. The requirement is to make the "net price" field blank.
    Is there a user exit that can be used for this? The system is R/3 release 4.6C.
    Thanks!
    Paddy

    Hi,
    Go to Tcode : VFBS give the program name and find the function code and Tab control using the screen
    no and application you will deactivate certain pop screens too.
    Do rewards points.
    Regards,
    Manish

  • USER EXIT - ME31K

    hI
    i want to add some data to the header fields of transaction ME31k
    please give me the appropriate user-exit for adding the data in header level of ME31k
    points will be rewarded...

    hi Naresh,
    try enhacement: MM06E005 for adding customer fields.
    hope this helps
    ec

  • How to read header text in MM contract (ME31K/ME32K) before saving record?

    Hi All,
    In ME31K / ME32K (Contracts), before saving the contract I would like to check if the user has entered header text in the contract or not.
    I am using customer exit MM06E005.
    Can anybody help me with this?
    Thanks in advance.

    Try creating dummy text id which will be part of text determination procedure @ Customers sales text & document header text.
    else, maintain the SO10-text against this text ID. whenver user createds quotation this text will be defaulted irrespective of the cusotmer.
          then based on if user want to modify the text they have to enter manually in this text id. print this text in header.
    Regards,
    Reazuddin MD

  • User exit for condition records in purchasing contracts

    I am looking for a user exit to track changes to condition records made in ME31K and ME32K (purchasing contracts) transaction. Any useful tips are welcome.
    Thanks,
    Shareen

    Hello ,
    Please check the below BADI defintion
    ME_DEFINE_CALCTYPE
    Method : DEFINE_CALCTYPE   :Determine pricing type after changes to EKKO or EKPO
    Hope it is helpfull .
    Regards,

  • To check Condition Supplements entries in tcode ME31K/ME32K

    Dear Friends,
    My requirement is to put a check on condition type selection and entries of condition supplements for transaction code ME31K/ME32K.
    First Requirement:
    For a Contract PO, we have 2 condition types 'P000' and 'ZP00'. Currently it is allowing me to select both the condition types. Whereas my requirement is that it should provide me selection for either of 2.
    Second Requirement:
    Once I select any one condition type from above, it will allow me to add condition supplements to it. Here also, it should not allow me to enter one condition more than once.
    For eg. It allows me to enter condition type FRB1 twice, which sholudn't be the case.
    Do we have any USER EXIT or BADI or IMPLICIT ENHANCEMENT for doing the same.

    Hi Ashish Kansara,
    You can use customer exit "MM06E005". In that use the Function exit "EXIT_SAPMM06E_012", there is an internal table as "TKOMV" which will contain the condition tab. Keep your conditions as required.
    Note : This exit will get triggered in ME21N/ME22N etc. So keep proper conditions.
    Thanks & Regards,
    Rock.

  • User exit for contracts

    Hi All,
    our requirement is as follows:
    Whenever the price conditions in a contract is created or changed(me31k or me32k),the info record,schedule agreements and PO's should be updated with these conditions.
    I would like to know which user exit or BADI can be used for this requirement.
    Thanks for your time in advance.
    ASA.

    Hi ASA
    check this LMEXF001            Conditions in Purchasing Documents Without Invoice Receipt

  • User exit for Contracts in MM

    Hi,
        what is the user exit or BAdi for contracts in MM.I need to add a screen in the header for ME31k,32k and 33k.
    Thanks n Regards,
    Avinash.

    Here is a utility that will help you find user exits by transaction code.  implement this program, execute it, enter your tcode, hit execute.
    report z_find_user_exit no standard page heading.
    tables: tstc, tadir, modsapt, modact,
            trdir, tfdir, enlfdir, tstct.
    data : jtab like tadir occurs 0 with header line.
    data : hotspot(30).
    parameters : p_tcode like tstc-tcode obligatory.
    at line-selection.
      get cursor field hotspot.
      check hotspot(4) eq 'JTAB'.
      set parameter id 'MON' field sy-lisel+1(10).
      call transaction 'SMOD' and skip first screen.
    start-of-selection.
      perform get_data.
      perform write_list.
    *       FORM get_data                                                 *
    form get_data.
      select single * from tstc
                  where tcode eq p_tcode.
      check sy-subrc eq 0.
      select single * from tadir
                where pgmid = 'R3TR'
                  and object = 'PROG'
                  and obj_name = tstc-pgmna.
      if sy-subrc ne 0.
        select single * from trdir
                 where name = tstc-pgmna.
        if trdir-subc eq 'F'.
          select single * from tfdir
                         where pname = tstc-pgmna.
          select single * from enlfdir
                         where funcname = tfdir-funcname.
          select single * from tadir
                         where pgmid = 'R3TR'
                           and object = 'FUGR'
                           and obj_name eq enlfdir-area.
        endif.
      endif.
      select * from tadir into table jtab
                 where pgmid = 'R3TR'
                   and object = 'SMOD'
                   and devclass = tadir-devclass.
      select single * from tstct
              where sprsl eq sy-langu
                and tcode eq p_tcode.
    endform.
    *       FORM write_list                                               *
    form write_list.
      format color col_positive intensified off.
      write:/(19) 'Transaction Code - ',
      20(20) p_tcode,
      45(50) tstct-ttext.
      skip.
      if not jtab[] is initial.
        write:/(95) sy-uline.
        format color col_heading intensified on.
        write:/1 sy-vline,
        2 'Exit Name',
        21 sy-vline ,
        22 'Description',
        95 sy-vline.
        write:/(95) sy-uline.
        loop at jtab.
          select single * from modsapt
          where sprsl = sy-langu and
          name = jtab-obj_name.
          format color col_normal intensified off.
          write:/1 sy-vline,
          2 jtab-obj_name hotspot on,
          21 sy-vline ,
          22 modsapt-modtext,
          95 sy-vline.
        endloop.
        write:/(95) sy-uline.
        describe table jtab.
        skip.
        format color col_total intensified on.
        write:/ 'No of Exits:' , sy-tfill.
      else.
        format color col_negative intensified on.
        write:/(95) 'No User Exit exists'.
      endif.
    endform.
    Regards,
    Rich Heilman

  • User-exit/BADI to change Purchase Contract item field ??

    Hello,
    I need to update the Order acknowledgement field(EKPO-KZABS) for the Purchase contract via transaction ME32K.
    I need to know if there is any user exit or BADI for the Purchase contracts (Outline agreement), so that this field KZABS can be updated while saving. I did not find any user exit so far in which line item is a export parameter. There is one BADI definition ME_PROCESS_PO_CUST but it is called only in case of Purchase Orders and not in the contracts. Please let me know if you have some idea how to do this.

    check these exits....                  
    EXIT_SAPMM06E_012 
    <b>EXIT_SAPMM06E_013</b>
    EXIT_SAPMM06E_014 
    EXIT_SAPMM06E_006 
    EXIT_SAPMM06E_007 
    EXIT_SAPMM06E_018 
    EXIT_SAPMM06E_016 
    EXIT_SAPMM06E_017 
    vijay

Maybe you are looking for

  • Error message in Premiere Pro CS3

    When I try to export my project whith Media Encoder in MPEG2-DVD format, after more than 70%, I received "Application failed to return a video frame. Action has been canceled" error. I use Windows XP Pro SP2, Athlon 64 3000+ Proccesor, 1GB DDR memory

  • Where to Place java library(.jar) in your application

    Hi, I am using ColdFusion - 9 in my application. Also, I am using some third party java library. I put my library in  "\ColdFusion9\lib\" but now my library version is changed. So I need to update those files by replacing the old files. My Question I

  • Can I use Apple TV to show iPhoto?

    Can I use Apple TV to show my iPhoto albums?

  • Streamlining the Browser?

    I think I know the answer to this question but would like to ask it anyway. I'm working with a lot of clips and sequences. I've made lots of bins etc. but still I end up scrolling up and down the screen I'm using for my Browser. I've often thought: w

  • Why does Skype keep crashing on my MacBook Pro mid 2010's with Mavericks?

    I have been unable to open my Skype application for a few days now. I have recently updated my MacBook Pro 15" Mid 2010's to Mavericks and I have noticed some significant reduction of performance. However, I had been able to use Skype. Now everytime