User exits for mm01 to assign default value

experts,
    when i have used exit  MGA00002 and the corresponding function module EXIT_SAPLMG02_001 to assign the default values   of  mbrsh and mtart to the material number created during the course of the transaction mm01 i have written the following code in the INCLUDE ZXMG0U03
    matnr+3 = matnr.
   matnr+0(1) = mbrsh.
  matnr+1(2) = mtart.
concatenate matnr0(1)  matnr1(2)  matnr+3 into matnr.
but default value is not getting assigned.
with regards.

you just want to concatenate the mat type and indus sect to ur material num.
if it is then do this
go for MGA00001
in that  u use
data: field1(18) type c,
concatenate the three  fields using wmara like
wmara-matnr wmara-mbrsh wmara-mtart
into ur field field1
now write
cmara-matnr = field1.
if useful rewars
regards
Prakash Varun

Similar Messages

  • BAdI/User Exit for MM01

    Hi All,
    I am looking for a User Exit for MM01
    I need to catpure the Document data in MM01>Additional data>Document data tab
    I checked with the following enchancements but no use
    MGA00001
    MGA00002
    MGA00003
    BADI_Material_Check.
    Can any one help me in finding the suitable enhancemet?
    Thanks
    Bhasker

    Hi Bhasker
    Go to Se18 Tcode
    and give the definition name is "DOCUMENT_MAIN01"
    check the definition in display mode because it is Sap Standard Definition.
    there you will find a "TYPE" Tab
    under this you have two check boxes 
    <b>1) Multiple Use</b>
    2) Filter-Depend
    if you want multiple implementations  check this Check box
    after this you need to create a request and the system asks  Access Key for Changes
    for that you will catch that Key from your Basis Team.
    Regards
    Sreeni

  • User-exit for delivery while assigning serial numbers(urgent)

    hi all,
    can u plz tell me the specific user exit for delivery (VL01n) while assigning serial numbers?
      i am getting the serial numbers for material in database table OBJK .i am also getting these serial no.s in IQ01.
       while doing delivery,i am going for extra-->serial number.at this time one screen for serial number is comming.those serial numbers which are stored in objk will transfer to this screen of delivery automatically.
      for this , i want a specific user-exit for delivery so that i can transfer the serial nos from objk to that screen of delivery.plz suggest .(urgent )
    any idea is highly appreaciated
    Regards
    pabitra

    You can find from below list of user exists
    V02V0001            Sales area determination for stock transport order          
    V02V0002            User exit for storage location determination                
    V02V0003            User exit for gate + matl staging area determination (headr)
    V02V0004            User Exit for Staging Area Determination (Item)             
    V50PSTAT            Delivery: Item Status Calculation                           
    V50Q0001            Delivery Monitor: User Exits for Filling Display Fields     
    V50R0001            Collective processing for delivery creation                 
    V50R0002            Collective processing for delivery creation                 
    V50R0004            Calculation of Stock for POs for Shipping Due Date List     
    V50S0001            User Exits for Delivery Processing                          
    V53C0001            Rough workload calculation in time per item                 
    V53C0002            W&S: RWE enhancement - shipping material type/time slot     
    V53W0001            User exits for creating picking waves                       
    VMDE0001            Shipping Interface: Error Handling - Inbound IDoc           
    VMDE0002            Shipping Interface: Message PICKSD (Picking, Outbound)      
    VMDE0003            Shipping Interface: Message SDPICK (Picking, Inbound)       
    VMDE0004            Shipping Interface: Message SDPACK (Packing, Inbound)

  • User exit for va01 to validate the value for schedule line category

    Hi All,
    Pls tell me which user exit i used for to validate schedule line category for tcode VA01 .suppose i have two value in scedule line category CP and CN. but when user enter CP it will show warning message that CN is default or pls enter valied value.How to do in user exit.
    Nitin K

    Hi Nitin
         Try userexit_move_field_to_vbep in MV45AFZZ
             or userexit_check_vbep in MV45ZAFZB.
           check vbep-ettyp for the schedule line category and write the logic.
    Kuntal

  • User Exits for MM01 & MM02 transaction

    Hi SDN,
    Is there any user exit available for Change, create Material so that i can update some materail related data.
    Regards,
    Rahul

    Hi
    MGA00001- Material Master (Industry): Checks and Enhancements
                                                                                    Func.   EXIT_SAPLMGMU_001                                                                               
    MGA00002- Material Master (Industry): Number Assignment
                                                                                    Func.   EXIT_SAPLMG02_001
                                                                                    Func.   EXIT_SAPLMG02_002
    MGA00003- Material Master (Industry and Retail): Number Display
                                                                                    Func.   EXIT_SAPLOMCV_001
                                                                                    Func.   EXIT_SAPLOMCV_002
                                                                                    Func.   EXIT_SAPLOMCV_901
                                                                                    Func.   EXIT_SAPLOMCV_902
    Regds
    Seema

  • BADI or User Exit for role/profile assignment SU01/PFCG

    Hi ABAP gurus,
    I need a way, BADI, UserExit to do some verifications over a role or a profile before is assigned in the Tcode: SU01 and PFCG.
    These verifications prevent the assigment of critical roles, transacction or access to tables.
    Any information about this topic it would be very helpful...
    thanks...

    Hi RAFAEL ,
    Only one exit is available for this  Tcode SU01.No Exits available for PFCG
    Enhancement     SUSR0001     User exit after logon to SAP System                    
    For SU01 we can check the profile assignment  in program MS01CU10 and some AUTHORITY-CHECK:
    AuthCheck     MS01CC10     S_DEVELOP     AUTHORITY-CHECK     ABAP Workbench                    
    AuthCheck     MS01CU10     S_TCODE     AUTHORITY-CHECK     Transaction Code Check at Transaction Start                    
    AuthCheck     MS01CC10     S_USER_AUT     AUTHORITY-CHECK     User Master Maintenance: Authorizations                    
    AuthCheck     MS01CC10     S_USER_GRP     AUTHORITY-CHECK     User Master Maintenance: User Groups                    
    AuthCheck     MS01CC10     S_USER_PRO     AUTHORITY-CHECK     User Master Maintenance: Authorization Profile                    
    AuthCheck     MS01CC10     S_USER_SYS     AUTHORITY-CHECK     User Master Maintenance: System for Central User Maintenance                    
    In the same way PFCG contains some AUTHORITY-CHECK:
    AuthCheck     LSUPRNU18     S_USER_TCD     AUTHORITY-CHECK     Authorizations: Transactions in Roles                    
    AuthCheck     LSUPRNU27     S_USER_PRO     AUTHORITY-CHECK     User Master Maintenance: Authorization Profile                    
    AuthCheck     LSUPRNU23     S_TCODE     AUTHORITY-CHECK     Transaction Code Check at Transaction Start                    
    AuthCheck     LPRGN_TREEI0O     S_USER_AGR     AUTHORITY-CHECK     Authorizations: Role Check                    
    I hope this may helpfull.
    Thank you,
    Thanks,
    AMS

  • User exit for MM01

    Hi, all
    how to input default value  e.g.. 01 in field division in tr. MM01
    that is MARA-SPART field.
    this is  EXIT_SAPLMGMU_001, and how to do this please guide me!

    Look at [BADI BADI_MATERIAL_REF|https://www.sdn.sap.com/irj/sdn/advancedsearch?query=badi_material_ref&cat=sdn_all], method CREATE_MATERIAL.
    Look the online documentation.
    Regards

  • Re:User exit  for number range assignment assignment to purchase order type

    Hi All,
    Is there any user exit which assign the purchase order type to number range.
    Please help.
    Regards,
    vivek

    Hi
    Implementing the User exit
    MM06E003
    Number range and document number
    Goto Transaction CMOD ,  Create a Z - Project proceed as follows:
    Choose Create.
    Describe the nature of the project by providing a short descriptive text.
    Choose Save.
    The system then prompts you to assign a change request. This assignment allows you to transport the project and its components into a productive system once you have completed it.
    Specify which SAP enhancement packages you want to include in your project by choosing SAP enhancements.
    Enter the Enhancement MM06E003.
    Click on Components
    Docuble Click on the Exit & it will Take you to the Function module . Write your ABAP code in the Include ZXM06U17
    Activate the Z - Project
    Thanks & Regards
    Kishore

  • Exit for MM01...Before Views Selection.

    Hi Gurus,
    My requirement is i need to find an Exit for MM01. Here when i try to create a new material by copying one existing material i get the views. Now if i dont select basic data view and directly go to any other view then the exit trigger it specifying that basic data needs to be filled.
    Thanks in advance.

    Hi Abhishek,
    Just check the following user exits for MM01:
    Exit Name           Description                                                                               
    MGA00001            Material Master (Industry): Checks and Enhancements          
    MGA00002            Material Master (Industry): Number Assignment                
    MGA00003            Material Master (Industry and Retail): Number Display
    Hope this will help you...

  • User Exit for EA05 Transaction

    HI,
    I want a  user exit for Releasing the Outsorted Invoice Document  in EA05.
    I need to put a Validation for the Posting Date and the Document Date which are showed as a Pop-up after Release Document is Clicked.
    How do I find out a user exit for this requirement?

    This is a list of user exit for EA05. Check if u can find somethig useful.
    EBIA0001     IS-U: User-Defined Fields in Billing Document
    EBIA0002     IS-U: proration according to customer-specific dates
    EBIA0003     IS-U: customer-defined checks in billing and overall check
    EBIA0004     IS-U: Customer Exit for Ext. Calculation of Compressibility
    EBIA0005     IS-U: Termination control of mass runs
    EBIA0006     IS-U: period control - determin. of time portions in billing
    EBIA0007     IS-U: customer-defined activities in billing reversal
    EBIA0008     IS-U: customer-defined activities in billing reversal update
    EBIA0009     IS-U: adjustment for move-in/out: to the day/month-based
    EBIA0011     IS-U: Billing update
    EBIA0012     IS-U: Fill Customer Data in OBJ billing object
    EBIA0013     IS-U: Customer Checks in Billing Selection
    EBIA0014     IS-U: Filling Customer-Specific Fields in Manual Billing
    EBIA0016     IS-U: Determination of Billing Calorific Value
    EBIA0017     IS-U: Individual Document Display
    EBIA0018     IS-U: Customer conditions for backbilling line summary
    EBIA0019     IS-U: Customer-Specific Invoice Comparison
    EBIA0020     IS-U: Change Current Period for Dynamic Period Control
    EBIA0021     IS-U: Change Billing Period for Dynamic Period Control
    EBIA0022     IS-U: Change contract sequence for billing
    EBIA0023     IS-U: Validations for Facts
    EBIA0024     IS-U: Enhancement for Determination of Special Oper. Values
    EBIA0025     IS-U: Determ. of Alternative Weighting for Measured Qtys
    EBIA0026     IS-U: Postprocessing of Gas Factors
    EBIA0027     IS-U: Enhancement Authority Check of Facts
    EBIA0028     IS-U: Enter/Save Customer Facts in Billing Object
    EBIA0029     IS-U: Permit Multiple Adjustment Reversal
    EBIC0001     IS-U: Determine Evaluation Group for Consumption History
    EBIS0001     IS-U: user exit for external prices (EBL)
    EBIS0002     IS-U: Enhancement for rate type and rate fact group
    EBIS0003     IS-U: reference values - integration of user-defined fields
    EBIS0004     IS-U: front office output of historical consumption values
    EBIS0005     User exit for transferring installation facts
    EBIS0006     IS-U: Rate Category - Subscreen Inclusion and Field Check
    EBIS0007     IS-U: User-Exit for Checking Prices
    EBIS0008     IS-U: User-Exit for Checking Level of Calorific Value
    EBIS0009     IS-U: Enhancement for displaying the currency in the facts
    EBIS0010     IS-U: Enhancement for User-Defined Transport Control     
    EBIA0015     IS-U: Backbilling Customer Exit
    Bye,
    Gabriele

  • BADI / USER-EXIT FOR DEFAULTING THE FIELD VTTK-TNDR_ACTC IN TCODE VT01N

    Hi,
    I require a BADI / USER-EXIT for defaulting the field VTTK-TNDR_ACTC(Currency of Actual Shipment costs) to 'EUR' in transaction VT01N(Shipment Transaction) .
    Please could anyone help me with this .
    Regards,
    Sushanth H.S.

    Hi!
    User Exits in Transportation
    In Transportation, there are enhancements that you can use with transaction CMOD.
    For a detailed description of the individual enhancements, see the documentation on the individual enhancements or function modules in transaction SMOD.
    You can display all enhancements that are available for the area of transportation by choosing F4 in the Enhancement field. Enter V56* in the Enhancement field and choose Execute. Enter V54* to get a list of all enhancements for the area of shipment cost processing.
    Business Add-Ins in the transports
    Business add-ins (BADIs) are predefined user exits. They enable businesses, partners, and customers to add additional softward to the SAP source code. The linkup of SAP's New Dimension Products, such as APO and BW, to the standard system is thus possible.
    Customer-specific functions can be executed before the save time and after the database update.
    The following methods are available for the BADI with the definition name 'BADI_LE_SHIPMENT':
    AT_SAVE: BADI is called up at the time of the save. Checks and return to dialog are possible.
    BEFORE:_UPDATE: BADI is called up right before the data is saved to the database, that is, when all the data is available (for example, internal ly assigned shipment number).
    IN_UPDATE: BADI is called up after the database update.
    Standard Settings
    Creating a BADI method:
    Call up transaction SE19. Enter a name of your choice. Choose "create" and in the dialog box enter the definition name 'BADI_LE_SHIPMENT'. Afterwards, enter a short text for implementation. Save the BADI.
    On the tab page 'Interface', choose the method for implementation by double-clicking on it. Now you can enter your customer-specific program code. Save and activate the code. You can acess the transmission parameters entered in the BADI definition. With the method ***_AT_SAVE you can initiate the exception ERROR_WITH_MESSAGE (description 'An error message has occurred' ) if you wish to return to the dialog.
    Afterwards, go to the heading and activate the interface.
    Regards
    Tamá

  • User exit for pricing to calculate net sales value and tax at billing level

    Hi,
    Can anyone give the solution for below thing.
    I have written the code for to calculate the net sale a value and tax value based on condition types YTN1 & YTN2 and with pricing procedure "ZXTNIC"  under   user exit "userexit_field_modification"  in include program LV69AFZZ
    Calculation as per below
    FD:
    The user exit will run on the values of the line item and the header of the pricing conditions
    The user exit will subtract the current net value from the value of the conditions YTN1 & YTN2, also the Tax value will be added to the value of the conditions YTN1 & YTN2.
    Need the Net value = 8,032 and not 8,882  " here 8832 value is before calculation
    This value will be calculated as follows = Current Net u2013 YTN1 u2013 YTN2 = 8,882 u2013 0,773 u2013 0,077 = 8,032
    Need the Tax value = 2,395 and not 1,545  " here 1545 value is before calculation.
    This value will be calculated as follows = Current Tax + YTN1 + YTN2 =     1,545 + 0,773 + 0, 077 = 2,395
    When i will execute the VF01 transaction there in initial screen values are not updating automatically.Once we will select item line and  then clicking on " item pricing condition" icon i.e., item level , then only the values are updating both in item level and header level.
    But when we will execute the VF02 and VF03 the values are updating automatically as per condition.
    So please suggest me is there any exit for this requirement.
    Regards,
    Jayaram

    Hi,
    You should implement your logic in VOFM Copying routine for billing document.
    Regards
    Prasenjit

  • User Exit for MIGO to default batch

    Hello Friends,
    I am looking for user exits that can help me default Batch in the MIGO screen based on Storage location, Plant and vendor. The requirement is that when I am doing a STO between St location with in the same plant, I want to default all the materials to the a generic batch when they are received into one St location. 
    I am looking at Enhancement MBCFC004 and EXIT_SAPMM07M_004, this exit is hit during MIGO but its not updating the Batch Field, I guess becasue there are no Exporting parameter in there.
    Can anyone of you suggest me a more appropriate User exit to work on. Please dont give me a list of user exits out there for migo as I have seen all those in Different threads.
    Thank You.

    Try to use EXIT_SAPMM07M_010 or EXIT_SAPMM07M_003.
    Best regards, Dirk

  • User exit for pricing to calcumlate net sales value and taxat billing level

    Hi,
    Can anyone suggest me , which user exit i can used for below scenario.
    Create a new user exit attached to pricing procedure ZXTNIC in order to exclude the conditions YTN1 & YTN2 from the calculation of the net sales value and include the value of the conditions YTN1 & YTN2 to the calculation of the Tax vale.
    From pricing procedure ZXTNIC need the net value to be till line 500 only and exclude the value of the conditions YTN1 & YTN2
    BACKGROUND
    Inter-company invoice is not calculated correctly in terms on the net sales value. The calculation of the net sales value is correct as some conditions are included in the calculations which must be excluded.
    The reason for creating the user exist is that any change in the pricing conditions class can not be used to exclude them from the net price, without totally changing the concept behind the conditions (new conditions, new access sequence in taxes, IC changes and so on).
    FUNCTIONAL DETAILS
    The user exit will run on the values of the line item and the header of the pricing conditions
    The user exit will subtract the current net value from the value of the conditions YTN1 & YTN2, also the Tax value will be added to the value of the conditions YTN1 & YTN2.
    Need the Net value = 8,032 and not 8,882
    This value will be calculated as follows = Current Net u2013 YTN1 u2013 YTN2 = 8,882 u2013 0,773 u2013 0,077 = 8,032
    Need the Tax value = 2,395 and not 1,545
    This value will be calculated as follows = Current Tax + YTN1 + YTN2 =     1,545 + 0,773 + 0, 077 = 2,395
    Regards,
    Jayaram

    solved

  • Is there any user exit for changing V1 field value?

    Hello Expert,
    Is there any user exit for changing V1 update value?
    For example, sales order number will populate 2LIS_11_VAHDR-VBELN. If other value need to populate 2LIS_11_VAHDR-VBELN, can we use any user exit to customize the V1 routine?
    Please forget the enhancement for 2LIS_11_VAHDR. Just populate the system field VBELN.
    Thanks
    F-B-I

    Hi,
    Use the 'usual' user-exit for transactional data in R/3 EXIT_SAPLRSAP_001 (CMOD). Here your can overwrite VBELN for each extracted record with the value you want.
    Hope this helps.
    Grtx
    Marco

Maybe you are looking for

  • How to get the position of a selected cell in a table ?

    Hi, How can I get the position of a selected cell in a table or in a list multicolumn cmd ? Thanks.

  • With new ios7 i can no longer download games

    Hello I updated to ios7 and now i have only trouble. I can no longer download or up date games. If i get emails with a link, i can no longer open the link to a website.....i could go on and on.....but my biggest problem is, that i cant download any g

  • Officejet Pro 8600 Plus - Apps Error - 'Connection Error'

    Hi, Newbie question maybe, but it's got me a little stumped. I've an HP Officejet Pro 8600 Plus on a wired connection to my Sky router/ADSL modem, using a static IP. when I go into Apps it pulls down a list of the installed Apps OK, but when I select

  • Adding text field to e-mail subject

    Hi all, I've got a button on my form that should submit the form in pdf format, to a fixed mail address with a fixed subject message, that has variable content dragged from a text field, i.e "Subject; New e-DCR <TextField12.rawValue>" Firstly, I got

  • Is it possible to have the same Split Code/Design view in CS5 that I had in CS3?

    I am not a hard coder.  However, like HTML, I could easily edit PHP in CS3 Dreamweaver's Split Code/Design view.  It was more designer friendly, intuitive, etc. I could see/edit/move tables, placed graphics, text, etc.  CS5 doen't allow me to see my