User-exit or BADI required for changing Plant-sp.matl status in MM02

Hi Folks,
Our user requirement is when standard price is 0, we should assign value 'Z4' to Plant-sp.matl status(in MRP1 and Costing1 tabsin MM02) . Could any one suggest me a user-exit name or a BADI name to change Plant-sp.matl status in MM02. <REMOVED BY MODERATOR - REQUEST OR OFFER POINTS ARE FORBIDDEN>
Regards,
Ramineni.
Edited by: Alvaro Tejada Galindo on Aug 22, 2008 5:59 PM

hi,
u can use it.
u can use this exit also.
MGA00001
EXIT_SAPLMGMU_001
i hav done  this coding in this exit and it is working.
not same of ur requirement but try somthing like this.
tables : mara,makt.
data : it_mara type mara occurs 0 with header line,
       it_makt type makt occurs 0 with header line,
       it_marc type marc occurs 0 with header line,
       it_mbew type mbew occurs 0 with header line.
       select * from mara into table it_mara .
       if it_mara[] is not initial.
       select * from makt into table it_makt for all entries
       in it_mara where matnr = it_mara-matnr.
       endif.
      loop at it_makt.
      if stext-maktx = it_makt-maktx.
       if it_makt[] is not initial.
      select * from marc into table it_marc for all entries
      in it_makt where matnr = it_makt-matnr.
      select * from mbew into table it_mbew for all entries
      in it_makt where matnr = it_makt-matnr.
       endif.
    read table it_marc with key matnr = it_makt-matnr.
      if wmarc-werks = it_marc-werks.
   read table it_mbew with key matnr = it_makt-matnr.
   if wmbew-bwtar = it_mbew-bwtar.  " 'VAL_OPEX' or wmbew-bwtar = 'VAL_CAPEX'.
      message e001(zgm_msg).
        endif.
        endif.
        endif.
        clear it_makt.
        clear it_marc.
        clear it_mbew.
        endloop.

Similar Messages

  • User-Exit or BADI required for F-28

    Hi All,
    Can anyone give me any user-exit or BADI to update BSAD-VBELN when posting open items using txn F-28.
    regards
    Ajay

    Hi,
    Use BTE 1120 for this. But when you clear open items and you clear more than one invoice line items in one go.. then it will create issue.
    We had used this once but we had restriced by way of code that not more than one RV document can be selected and this worked..
    Regards,
    SAPFICO.

  • User exit or BADI available for the CAPP in CA03.

    Hi,
                I have a requirement to populate the standard CAPP values to the work center activities of the routing only when all the activities are having a blank value.Please see the below paragraph for better understanding.         
    Currently in SAP when executing CAPP for a work center of the routing it over writes the existing values populated on the routing for the setup,labor,standard labor,man occupation,machine occupation…etc whether the values are blank or not. An enhancement needs to be made to only populate operations standards when all the values are blank.
    If routing is not populated with setup, machine, labor standards, man occupation, machine occupation and work center is setup for default standards in CAPP, then run the CAPP process to apply standards from work center zcappstds table. The program that is run to apply these standards currently is SAPLCETO. Potentially ca96 and the batch process that updates the material master RCPMAU01 will have to be adjusted as well.
    Please help me if anybody knows the user exit/Badi for this requirement.Please reply me soon this is an urgent requirement
    thanks in advance,
    Samyuktha.

    I dont have details abt exact user Exit or badi which will suit ur requirement. But below info will give you the way to find out the same.
    Have a look at below link,
    http://www.erpgenie.com/sap/abap/code/abap26.htm
    which gives the list of exits for a tcode
    There are multiple ways of searching for BADI.
    • Finding BADI Using CL_EXITHANDLER=>GET_INSTANCE
    • Finding BADI Using SQL Trace (TCODE-ST05).
    • Finding BADI Using Repository Information System (TCODE- SE84).
    1. Go to the Transaction, for which we want to find the BADI, take the example of Transaction VD02. Click on System->Status. Double click on the program name. Once inside the program search for ‘CL_EXITHANDLER=>GET_INSTANCE’.
    Make sure the radio button “In main program” is checked. A list of all the programs with call to the BADI’s will be listed.
    The export parameter ‘EXIT_NAME’ for the method GET_INSTANCE of class CL_EXITHANDLER will have the user exit assigned to it. The changing parameter ‘INSTANCE’ will have the interface assigned to it. Double click on the method to enter the source code.Definition of Instance would give you the Interface name.
    2. Start transaction ST05 (Performance Analysis).
    Set flag field "Buffer trace"
    Remark: We need to trace also the buffer calls, because BADI database tables are buffered. (Especially view V_EXT_IMP and V_EXT_ACT)
    Push the button "Activate Trace". Start transaction VA02 in a new GUI session. Go back to the Performance trace session.
    Push the button "Deactivate Trace".
    Push the button "Display Trace".
    The popup screen "Set Restrictions for Displaying Trace" appears.
    Now, filter the trace on Objects:
    • V_EXT_IMP
    • V_EXT_ACT
    Push button "Multiple selections" button behind field Objects
    Fill: V_EXT_IMP and V_EXT_ACT
    All the interface class names of view V_EXT_IMP start with IF_EX_. This is the standard SAP prefix for BADI class interfaces. The BADI name is after the IF_EX_.
    So the BADI name of IF_EX_CUSTOMER_ADD_DATA is CUSTOMER_ADD_DATA
    3. Go to “Maintain Transaction” (TCODE- SE93).
    Enter the Transaction VD02 for which you want to find BADI.
    Click on the Display push buttons.
    Get the Package Name. (Package VS in this case)
    Go to TCode: SE84->Enhancements->Business Add-inns->Definition
    Enter the Package Name and Execute.
    Here you get a list of all the Enhancement BADI’s for the given package MB.
    Best Regards,
    Vibha
    *Please mark all the helpful answers

  • User exit or badi neede for the vl02

    Hi All,
    My user will do the GOODS ISSUE Through the VL02 ,So the shelflife expiry date will perform at this time,it will give the error message if the Batch shelf life expiredate is not matching with material master shelflife expriry date,but my user wants to skip this check for a particular movement type , So to solve this issue can any one tell which enhancement technique is suitable to solve this issue,if that is user-exit or BADI Please could you give that user-exit/BADI Name .
    Thanks in advance..
    SRIHASA

    you can use these many badi for user exist in vl02:
    Enhancement/ Business Add-in            Description
    Enhancement
    VMDE0004                                Shipping Interface: Message SDPACK (Packing, Inbound)
    VMDE0003                                Shipping Interface: Message SDPICK (Picking, Inbound)
    VMDE0002                                Shipping Interface: Message PICKSD (Picking, Outbound)
    VMDE0001                                Shipping Interface: Error Handling - Inbound IDoc
    V53W0001                                User exits for creating picking waves
    V53C0002                                W&S: RWE enhancement - shipping material type/time slot
    V53C0001                                Rough workload calculation in time per item
    V50S0001                                User Exits for Delivery Processing
    V50R0004                                Calculation of Stock for POs for Shipping Due Date List
    V50R0002                                Collective processing for delivery creation
    V50R0001                                Collective processing for delivery creation
    V50Q0001                                Delivery Monitor: User Exits for Filling Display Fields
    V50PSTAT                                Delivery: Item Status Calculation
    V02V0004                                User Exit for Staging Area Determination (Item)
    V02V0003                                User exit for gate + matl staging area determination (headr
    V02V0002                                User exit for storage location determination
    V02V0001                                Sales area determination for stock transport order
    Business Add-in
    DELIVERY_ADDR_SAP                       Address Change in Delivery Processing
    DELIVERY_PUBLISH                        Announcement of delivery data during database update

  • How to find User Exits/ Enhancments/ BADI's for T-code CJ20N

    Hi All,
        In T-code CJ20N, assume there are two fields A & B. User will input value in A, based on A value I need to fill B field. So I need to find first suitable User Exit/ Enhancment/ BADI.
    Kindly help me in this regard. Pls tell me how to find User Exit/ Enhancment/ BADI for a given t-code.
    Regards
    Jaker.

    Hi,
    Check the following , this might help,
    1. CNEX0037
    2.CNEX0038
    3.CNEX0039
    Regards
    Kiran Sure

  • User Exit or Badi's for ME22N

    Hi,
    I need to bring Pop-up screen or dialog-box whenever user tend to save in ME22N transaction.
    suppose if he saves the PO , then a Pop-up should araise Stating that  " Do you want to print this (or )some message should come ?"
    is there any User exit or Badi's  used to acheive this????  also is there any option to restrict this Pop-up box @ plant level????
    suppose user's of some other plant using this transaction , this pop-up should'nt come.
    Regards,
    Dinesh R

    Hi,
    You can also use the BADI "ME_PROCESS_PO_CUST", method "CHECK".
    Regards
    Vinod

  • EXIT_SAPLV50E_001 User Exit is not working for multiple plants case

    Hi,
    I have to update foreign trade data in Invoice during invoice creation using VF11. For that, I have written code in EXIT_SAPLV50E_001 and updated segal value. This functionality is working fine, if I have a single plant in an invoice. But customer has scenario where they can have multipl plants in an invoice.
    For multiple plants in an invoice, this EXIT_SAPLV50E_001 is not called.
    I am unable to find another better place where in I could place my code. Please help. Remember, case in multiple plants.
    Will be rewarded.
    Regards
    Arpit

    Hi Arpit,
                   Please use below mentioned user exit in T-code VF11
    he following user exits are available for tcode VF11
    Exit Name           Description
    SDVFX001            User exit header line in delivery to accounting
    SDVFX002            User exit for A/R line in transfer to accounting
    SDVFX003            User exit cash clearing in transfer to accounting
    SDVFX004            User exit G/L line in transfer to accounting
    SDVFX005            User exit reserves in transfer to accounting
    SDVFX006            User exit tax line in transfer to accounting
    SDVFX007            User exit: Billing plan during transfer to Accounting
    SDVFX008            User exit: Processing of transfer structures SD-FI
    SDVFX009            Billing doc. processing KIDONO (payment reference number)
    SDVFX010            User exit item table for the customer lines
    SDVFX011            Userexit for the komkcv- and kompcv-structures
    V05I0001            User exits for billing index
    V05N0001            User Exits for Printing Billing Docs. using POR Procedure
    V60A0001            Customer functions in the billing document
    V60P0001            Data provision for additional fields for display in lists
    V61A0001            Customer enhancement: Pricing
    J_3RSINV            Customer enhancement: Pricing
    or You can use BADI
    BADI_SD_SALES_BASIC
    BADI_SD_TO_FM
    BADI_SD_BILLING
    Regards,
        Thangam.P

  • User Exit or BAdI available for transaction MFBF

    Hi all,
         Is there any BAdI or User Exit available for Trasaction MFBF to change the workcentre type? if possible could anyone help me out in figuring out the the Exit.
    Answers will be rewarded
    Cheers,
    Prashanth

    check...
                                                                                    Enhancement/ Business Add-in            Description                                                                               
    Enhancement                                                                               
    PTRM0001                                User Exit for Lead Column in REM Planning Table                
    SAPLRMPU                                Customer Exits for Material Staging                            
    XMRM0001                                User exits: Backflushing in Repetitive Manufacturing                                                                               
    Business Add-in                                                                               
    CIF_RM_PPR_DISTRIB                      Distribution of Postprocessing Records in APO                  
    FCO_CO_FUNCTIONS                        CO Functions for Failure Costs                                 
    FCO_CUSTOMER_SPECIF                     Failure Costs: Customer-Specific Enhancements                  
    FCO_RM_FUNCTIONS                        Failure Costs: Enhancements in Repetitive Manufacturing Area   
    RM_HR_INTEGRATION                       HR Integration of REM Backflush                                
    RM_LIST_PRODUCTION                      BAdI for Printing Production Settings                          
    RM_MF50_ROWS                            BAdI for Hiding Lines in the Planning Table                    
    RM_PERFORMANCE_DREQ                     Performance Improvement in New Distrib. of Dependent Reqmts

  • User exit to open field for change / ready for input in delivery

    Hi !
    We need to open a field for change / ready for input in the header level of a delivery after it has been goods issued. Is there a BADi / User exit that can open a field for change / ready for input in the delivery after the delivery has been goods issued ?
    Regards,
    Ashok.

    Hi,
    As per the SAP Process it is not recommendable to edit the closed delivery. In order edit the devlivery you have to cancel the post goods issue and then update the same.
    So there is a option like in PBO user-exits, we can force the status fields values and open up the delivery fields. But this would lead to inconsitency.
    If you are updating just any information, you can always use the Text fields in header or items to update at any time of delivery processing.
    Regards,
    Sivparatap

  • User exit or BAdI name for Netprice field in PO

    Hi All,
    Can you please give me the name of the BADI or user exit to update the net price field in automatic creation of PO ME59N.
    In this case I am creating the PO based on a PR the net price field has to pick the price from the Sales Order.
    Please help me out in this.
    Thanks,
    Praveen

    <b>User-Exits</b>
    MM06E010
    MM06E009
    MM06E008
    MM06E007
    MM06E005
    MM06E004
    MM06E003
    MM06E001
    MEVME001
    MM06E011
    MEQUERY1
    MRFLB001
    MMFAB001
    MMDA0001
    MMAL0004
    MMAL0003
    MMAL0002
    MMAL0001
    M06B0002
    M06B0001
    LWSUS001
    LMEXF001
    LMEQR001
    LMELA010
    LMELA002
    LMEDR001
    AMPL0001
    MELAB001
    LMELA002
    LMEDR001
    AMPL0001
    MELAB001
    MEFLD004
    MEETA001
    ME590001
    M06E0005
    M06B0003
    M06B0004
    M06B0005
    M06E0004
    <b>BADIs</b>
    ME_HOLD_PO    
    ME_CIN_MM06EFKO
    ME_CIN_LEINRF2V
    ME_CIN_LEINRF2R
    Greetings,
    Blag.

  • User Exit or BADI to control GUI/Toolbar of TP04

    Hi All,
    I need to know any user exit or BADI enhancement for changing the toolbar of TP04. As of now, if we open TP04, we get two pushbuttons (Overview and Approve). We have a requirement like, only Overview should be displayed. Users should not Approve it and hence we need to take that pushbutton off. Kindly suggest me if anybody is aware of any exit or BADI enhancement to control GUI or Toolbar of TP04.
    Thanks a lot!!

    Thanks for the reply. However, we have a scenario because of which we are going for this disabling of the button. We have workflow for the travel management . The t-code TP04 will be given to SAP portal directly. And in workflow we have made Approval available for Save button, because of the event being triggered. So we do not again want this Approve button explicitly. And hence are thinking of disabling it. Is there any way to get this?
    Thanks a lot!!

  • User Exit or BADI for VA02-Text editor Functionality

    Hi experts,
    Can anyone of you please provide me the User exit or BADI name for the tcode VA02 to call the Function Modules related to TEXT Editor?
    **********Issues********
    I have an Order eg.110022345...Under that Order,there are many line items...Say if i select one line item and change its Schedule line date,then that line item will get cancel and in turn an corresponding New line item will get ceated.
    However,the Content of the TEXT fields is not copied to the line item from the parent line item.
    I guess the STD SAP code functions in that way.So i thought of writting an Zcode to apply this functionality by using the Function modules "SAVE_TEXT" and "READ_TEXT_INLINE".
    In order to do this i need to know the User exit or BADI which is suitable for my requirment.
    Requesting you to help me in this case..
    Thanks in advans:)

    Hi
    Try USEREXIT_MOVE_FIELD_TO_VBAP in userexit MV45AFZZ.
    I'm not sure but may be you need to use FM 'CREATE_TEXT' instead of 'SAVE_TEXT'.
    First try with "SAVE_TEXT" if it won't work then use 'CREATE_TEXT'.
    Best Regards,
    Nikhil Patil

  • User Exit or BADI to change the product cost

    Hi All,
    My requirement is to change the product cost when the costing engine is running via ck11n or ck40n. Iam looking for user exits and BADI's for this requirement.
    I did look into the BADI DATA_EXTENSION_CK but this particular BADI does not have export or changing parameters. Can anyone suggest any user exit or BADI's for this requirement. I also looked into other BADI's like
    CK_KALAMATCON2_CI
    COSTINGRUN_CK
    COST_APPORTION_CK
    CO_PROD_COSTING_CK
    DYNPRO_EXTENSION_CK
    ORDER_COSTING_CK
    QUANTITY_STRUCT_CK
    SUR_STOCK_TRANSF_CK
    VALUATION_CK
    But none of them served the purpose. Plz help...Thanks in advance...
    Regards,
    Nirmal.

    Hi,
    Check followinf enhancement spots:
    CO_PROD_COSTING_CK              Cost Management for Joint Products (Costing, Target Costs)
    COSTINGRUN_CK                         Edit Costing Run
    ES_CAL2TYPE                             ES_CAL2TYPE
    ES_LCK40VWS
    ES_SAPLCK00                            es_SAPLCK00
    ES_SAPLCK01                            es_SAPLCK01
    ES_SAPLCK04                            SAPLCK04
    ES_SAPLCK2U                            es_saplck2u
    ES_SAPLCK36                            es_saplck36
    ES_SAPLCKCC02                        ES_SAPLCKCC02
    ES_SAPLCKDI                             ES_SAPLCKDI
    ES_SAPLCKKK
    ES_SAPRCKCU
    ESC_CL_COSTING_PERSISTENCE
    LCKDIO2M_01                             ES_SAPLCKDI
    LCKDIO2T_01                              ES_SAPLCKDI
    ORDER_COSTING_CK                 Enables Header Data Changes in Preliminary Order Costing
    QUANTITY_STRUCT_CK               Enables Quantity/Structure Changes in Costing
    VALUATION_CK                           BAdI for Valuation in Product Costing
    Hope this may be useful..
    Regards,
    Prashant

  • Suitable User-Exit or BAdi for transaction VF01

    Hi
    Is there any User-Exit or BAdi available for Transaction VF01, in which following fields are available.
    Invoice Number -> BELNR
    FI Doc. Type -> BLART
    Inv Date -> BLDAT
    Year -> GJAHR
    Thanks

    the following program are the user exit for billing.
    we often use RV60AFZC and RV60AFZZ.
    RV60AFZA
    RV60AFZB
    RV60AFZC
    RV60AFZD
    RV60AFZZ
    RV60BFZA
    For Sales order
    Pricing, item addtion deletion
    MV45AFZZ
    First, I did not find documentation for the BADI either. But at the first glance the process of implementing it looks quite straightforward. I assume you run R/3 Enterprise (4.7). So, you should implement BADI 'BADI_SD_SALES' - this must be done in transaction SE19. In particular for the purpose of adding some additional items into sales document I would implement method SAVE_DOCUMENT_PREPARE. This method has changing table parameter FXVBAP of type VA_VBAPVB_T - it holds all the sales document items. Just add items of yours to it. Certainly, you have to fill all the appropriate fields carefully.
    Hope this helps somehow.
    In that case you should use USEREXIT_DOCUMENT_SAVE_PREPARE subroutine (form). As far as I remember it has no parameters. To add items to the sales document you should modify internal table XVBAP.
    regards
    vinod

  • User-Exit or BADI for Infotype 0025

    Hi All,
    Is there any User-Exit or BADI exist for Infotype 0025.
    I need to calculate Begin date Infotype 0025 in PBO on the basis of actions in Infotype -0000. Or at the time of saving infotype.
    I tried to search but did not get any user exist for 0025.
    Regards

    Hi Rohan,
    Both PBAS0001 and HRPAD00INFTY should work with infotype 0025.and it also possible to change the values of infotype.(1) If we consider the user-exit it has two include ZXPADU01 for PBO  and ZXPADU02 PAI of 2000 screen of infotype (any infotype in PA30).if you want to change the data you have to write the logic in one in these includes.(also study the import/export parameters).
    Hope if will helps you.Please write if still not clear.
    regards,
    Abhijit Zope

Maybe you are looking for

  • Visual Studio Online / Release Management Email Notifications

    We use Visual Studio Online and not a local TFS instance. Additionally we want to / ARE using the Release Management service.  But, we are having difficulties configuring the Email notifications within Release Management.    We have steps configured

  • How to build query which list only active PC's

    Hi guys, I have to install SCCM client on many devices in my enviroment. Unfortunately, SCCM has found amny devices which still have accounts in AD but are not used for looong time. I would like to list only devices, which hasen't installed SCCM clie

  • How to adjust Printing margins

    How do I reduce the white borders around my pictures when I print.  They used to be 1/8 of an inch, but are now larger.   I have not made any changes to print set-up.  Message title was edited by: Brett N

  • Strange glitch with keynote and iPad

    I have been using Keynote files created on my Mac and transferred to my iPad3 to go over problem sets in my physics classes. I tecently ran into an odd glitch. Sometimes, an arrow pointing upward on the original slide, shows reversed on the iPad, and

  • Oracle E-Business Suite -- Unable to connect to opmn. Opmn may not be up.

    Hi, I have installed Oracle E-Business Suite Version 12.1.1.9 with Oracle Database 1.1.0.7.0 on OEL 5 Update 5. Everything works perfectly after the installation, I am able to log in to the database and log in to the website at http://<hostname>.<dom