Userexit for ME51N.

Hi Everybody,
  I am writing a User-exit for tcode ME51N. I have written the below code :
Enhancement : MEREQ001
Exitname : exit_saplmereq_010
  INCLUDE ZXM02U12                                                   *
break-point.
data : t_eban like eban occurs 0 with header line.
move : im_t_eban_pers[] to t_eban[].
loop at t_eban.
  if t_eban-bsart = 'ER'.
    select single maktx from makt
      into t_eban-txz01
      where matnr eq t_eban-matnr
      and   spras eq 'EN'.
  endif.
  modify t_eban.
endloop.
read table t_eban index 1.
move : t_eban-txz01 to im_t_eban_pers[].
Now in the statement
Its giving me an error The field "IM_T_EBAN_PERS[]" cannot be changed.
What could be the reason??

Hi,
     try to make use of BADIs in this case ?
ME_PROCESS_REQ_CUST
Refer OSS Note 310154.
<b>Reward points</b>
Regards

Similar Messages

  • Need a Userexit for ME51N, ME52N to access data in Account Assignment Tab

    Hi,
    I am currently using Enhancement MEREQ001, EXIT_SAPLMEREQ_005 to check line item data and display an error message.   That works fine.   My need now is to access the Order Number entered under the Account Assignment tab.
    The import parameter IM_DATA_NEW does not contain this info.   Can anyone please let me know if there is an exit that can be used to access the order number from the screen?
    Thank-you,
    Priscilla LeMay

    First of All, you have to get the information about item, so yo have to call the next method:
    DATA: lv_acc_list TYPE mmpur_accounting_list.
    CALL METHOD im_req_item->if_acct_container_mm~get_items
          RECEIVING
            re_items = lv_acc_list.
    Secondly you must do loop to this table, and call another method for get the information about Account Assigment:
    data: lv_model TYPE REF TO if_accounting_model_mm,
       LOOP AT lv_acc_list INTO ls_acc.
          lv_model = ls_acc-model.
          CALL METHOD lv_model->get_exkn
            RECEIVING
              re_exkn = lv_exkn.
    In variable lv_exkn you have the values.
    I hope it runs ok.

  • UserExit/ Badi for me51n ( Version Details )

    Hi Experts,
    In transaction ME51n for Purchase Requistion for line item in Version TAB , I want to capture the Status "version completed" checkbox in a User exit or BADI and want to put a validation on the checkbox. I have  list of all UserExits and Badi's
    which are available for me51n. But none of them capture the Version TAB details in me51n. Version Details are available in EREV table.  EREV table details are not available in any of the UserExits and BADI's. No structure is available for that in User exits / Badi's.
    Also I want to know about BTE's. What are BTE's? Can BTE be used for ME51n transaction? If yes . what is the procedure  for the same?
    Please suggest a solution for the same as soon as possible.
    Thanks in Advance.

    Hello Priti,
    For BTE ref following doc-
    http://help.sap.com/saphelp_erp2004/helpdata/en/ee/e87988027a11d5a7d60000e83dda02/content.htm
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/207835fb-0a01-0010-34b4-fef1240ba9b7
    Thank You,
    Nishikant.

  • Any userexit or badi for Me51n or me52n

    Any  user exist  or badis for  Me51n or me52n if
    Material Profit center ,v/s Plant profit center  or v/s WBS profit
    center not matched then PR should not saved.
    Moderator message: please do some own research before asking.
    [Asking Good Questions in the Forums to get Good Answers|/people/rob.burbank/blog/2010/05/12/asking-good-questions-in-the-forums-to-get-good-answers]
    Edited by: Thomas Zloch on Feb 21, 2011 2:01 PM

    Hi,
    Please check this thread for the procedure to find the BADI for a transaction
    http://searchsap.techtarget.com/tip/0,289483,sid21_gci1276392,00.html#
    Or
    You goto se24 and specify the class CL_EXITHANDLER and in that double click on GET_INSTANCE method in that put a break point on the line 
    CALL METHOD cl_exithandler=>get_class_name_by_interface
    and run you transaction... for almost every action you will get this method trigger and in that check the exit name... And that's the BADI for the interaction made in that transactation.
    Please go through this link for Finding BADI using class CL_EXITHANDLER in detail.
    [Finding BADI|http://abapreports.blogspot.com/2008/06/badi-finding-in-abap.html]
    Hope this would help you.
    Good luck
    Narin
    Edited by: Narin Nandivada on Aug 19, 2008 5:30 PM

  • BADI or Userexit for ME2Xn for VERSION

    Hello,
    I want to know which is the BADI or USerexit for which in ME22n what ever the changes made in PO,Netprice or Delivery date it should create a NEW VERSION number,only if the Netprice is changed,new version is getting genarated....can any one help me regarding this please?
    Moderator message: please work yourself first on your requirement, search for available information.
    Edited by: Thomas Zloch on Dec 1, 2010 11:43 AM

    List of all U-Exists for ME22N:
    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
    best regards.

  • Userexit For TCODE J1IJ depot excise invoice

    hi
    I want to know is there any userexit for depot excise invoice. That we can use to check weather excise entry date that is (J_1IRG23D-CPUDT) is equal to likp-WADAT_IST . Any info will be really helpful.
    Thank you

    Hi,
    Use this program SAPMJ1IJ in this program there are 4 includes.
    First try with  MJ1IJF01
    So check with your abaper which exit is working in this include.you can do it by setting break-point.
    Also check other includes MJ1IJTOP  MJ1IJO01  MJ1IJI01
    Thank you,

  • Exit for ME51n - ABAP OO coding

    Hi,
    I am writing a BADI for ME51n - ME_REQ_POSTED.
    In that i want to restrict the account assignment category either A or K. but i am not able to write a coding as i am not good enough in OO.
    field name is KNTTP.
    how to do it?
    Thanks.

    I've done the same thing but for PO creation(ME21N) through BADi ME_PURCHDOC_POSTED.
    You may want to do same thing like below:
    DATA:re_ekpo LIKE LINE OF im_ekpo.
      data:tabix type sy-index value '1'.
    *BREAK-POINT.
      READ TABLE im_ekpo INTO re_ekpo INDEX tabix.
      tabix = tabix + 1.
    "Check for account assignment cat only for "A" and "L".
      if re_ekpo-KNTTP = 'L' or re_ekpo-KNTTP = 'A'.
    GET PARAMETER ID 'KNT' FIELD re_ekpo-KNTTP.
    IF sy-subrc ne 0.
    MESSAGE 'You are not aurthorized to use Account Assignment Category (Logit)L!!' TYPE 'E'.
    ENDIF.
    ENDIF.
    Finally assign "KNT" in parameters tab from SU01 for those users who actually want to use Account Assignment Category A and L(In my case)
    Cheers,
    Amit.

  • I am facing problem while working for userexit for vendor master and Editor

    Hi,
    I am working one userexit for vendor master. My objective is after MK01 transaction, I want to attach MM01 transaction using userexit SAPMF02K on IDES version.
    1) Function module is EXIT_SAPMF02K_001 and Include is ZXF05U01.
      while duble click on Include is ZXF05U01, I am getting below error.
      (Program names ZX...are reserved for includes of exit function groups).
    2) Second userexit is Menu exit.
        I want to create a sub menu in ABAP Editor under Utilities->Customer Exit.
       If double click on Customer exit then MM01 should be called.
       So I got one userexit SEU00001  and Function module under that EXIT_SAPLEDITOR_001  and incluse is ZXSEUU21
       If I double click on ZXSEUU21 then same error getting displayed
       (Program names ZX...are reserved for includes of exit function groups).
    Can any one help me to resolve this.
    Waiting for quick response.
    Best Regards,
    BDP

    Hi Bansidhar.,
    If you have created the include with same name and implemented youe logic , then it should stop in your include when you have put breakpointin it.
    Please try to find the case in  which you user exit is called .
    It is not necessary that you include will be executed in all cases , please try to use data which is suitable for your case.

  • Is there any userexit for MIR7 and   MIRO transaction?

    Hai friends,
           Is there any userexit for MIR7 and MIRO transaction at the time of pressing "save as completed" or "save" button. I want to check the sales certificate and invoice verification for the document number entered in MIR7 and MIRO.
    Regards,
    safiq
    NOTE:useful points will be rewarded.

    hi,
    these r the exits related to mir7.
    Transaction Code - MIR7                     Park Invoice
    Enhancement/ Business Add-in            Description
    Enhancement
    LMR1M001                                User exits in Logistics Invoice Verification
    LMR1M002                                Account grouping for GR/IR account maintenance
    LMR1M003                                Number assignment in Logistics Invoice Verification
    LMR1M004                                Logistics Invoice Verification: item text for follow-on docs
    LMR1M005                                Logistics Inv. Verification: Release Parked Doc. for Posting
    LMR1M006                                Logistics Invoice Verification: Process XML Invoice
    MRMH0001                                Logistics Invoice Verification: ERS procedure
    MRMH0002                                Logistics Invoice Verification: EDI inbound
    MRMH0003                                Logistics Invoice Verification: Revaluation/RAP
    MRMN0001                                Message output and creation: Logistics Invoice Verification
      Business Add-in
    INVOICE_UPDATE                          Business Add-In: Logistics Invoice Verification
    put a break point in each exit,like break username and test the transaction .

  • VA01 userexit for PO duplication check

    Hi Experts,
    I have an urgent requirement regarding PO duplication check and I need to know if there is a userexit for VA01 where I can perform PO duplication check. This PO duplication check will consists of fields VBAK-KUNNR, VBAK-BSTKD and VBAK-BNAME.
    Points will be awarded. Thanks in advance.
    Regards,
    Leo

    hi,
    check the include MV45AFZZ...It has number of userexits....put a breakpoint and check..
    Regards,
    Nagaraj

  • Userexit for transaction F110

    hi,
    In F110 transaction, who ever creates the payment proposal , i want the same person to be approve that payment proposal this is my requirement.
    So i want the exit where i can incorporate this corresponding logic there..
    Rgds.,
    subash

    Hi,
    Duplicate posts are not allowed.
    Userexit for transaction F110

  • Userexit for transaction VBO1

    Hi Experts,
    Is there any userexit for transaction VBO1 where I can update KOMK?
    Thanks,
    Vitz.

    Hi,
    No user exits are available.
    Check the below BADIs:
    ARC_SD_COND_CHECK
    ARC_SD_COND_CHECK
    ARC_SD_COND_WRITE
    ARC_SD_COND_WRITE
    BADI_SD_REBATES
    BBY_NR_RANGE_EXT
    CACS_COND_VERSIONING
    SD_COND_LOAD_MVA
    SD_COND_SAVE_A
    If you are in ECC 6.0 , you can try out the enhancement spot also.
    Regards,
    Soumya.

  • Regarding Email address - Userexit for VF02 transaction

    Once you enter a VF02 transaction, If you goto header partners and double click on the partner number it would take you to the customer master data screen in which we have an option for Email address this is in Display mode my requirement demands to make it Visible  so that the enduser would enter the email address which finally reflects in the printoutput.
    I would like to know the correct exit for resolving this issue
    Any suggestions are appreciated........................
    Naveen.

    Hi Naveen,
    Check all Exits for VF02
    Transaction Code - VF02                     Change Billing Document                                                                               
    Exit Name           Description                                                                               
    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                                                                               
    No of Exits:         10          
    Rewards if useful...............
    Minal

  • USEREXIT FOR vf01 TRANSACTION IN INTER COMpany billing

    Hi guys ,
    Could you please suggest a closest userexit for Intercompany billing where the requirement is It should take iv billing type automatically before pgi is done.one sap note is applied which is allowing billing to take place with out pgi ,but we have to select manually ,the requirement is it should propose automatically.Please help.
    Regards
    vinod sunkari

    Hi,
    Check below link.
    https://wiki.sdn.sap.com/wiki/display/ERPLO/SDUserexits
    Best regards,
    Anupa

  • Userexit  for partner function changed

    What is the userexit for partner function changes in VA01 or VA02.

    Hi,
    Please check this:
    EXIT_SAPLEINM_002
    Thanks and best Regards,
    Suresh

Maybe you are looking for

  • My Droid won't connect to my home wifi. What should i DO?

    I've tried, resetting the phone and powering off and on but it still won't connect to my wifi.  Other devices in my home connect to the wifi but this phone will not.  It's a replacement they sent me and my old phone still connects.  It also is runnin

  • How can I edit reading list on safari?

    How can I edit reading list on safari?

  • Using iphone 5 AND 3g!?

    I have an iphone 5 and iTunes on my pc both with latest software. BUT i also have an old iphone 3g which i'm desperate to use as a second phone. I only need it to make GSM calls, Whatsapp and listen to music. NO OTHER APPS needed. What will happen if

  • Ck11n:how to calculate the Quantity?

    Dear all. I use the tcode ck11n to create material cost estimate with quality structure. And input the parameter like below: Material = 600000-000000-0012 plant = 1000 Costing Variant = PPC1 Costing Lot Size = 1 After press return,the sap show the It

  • Canon MP Navigator EX 4.1 opener failure message

    Hello community, yesterday i try to use the Canon MP Navigator EX 4.1 for my MX410. The actual Canon drivers are installed. Everytime i get the same failuer message: MP Navigator EX kann nicht gestartet werden. Überprüfen Sie die folgenden Punkte: 1.