User Exit or Enhancement or BADI for CA03 & MM03

Hi Experts,
I had a scenario like validate the Material No for CA03 & MM03. When ever we give 'material no' in the MM03 or CA03 ans press
enter I need to validate that material no. I don't see any proper user exit or badi for these tcodes to validate material no.
I used this  enhancement  MGA00003 - EXIT_SAPLOMCV_001 - INCLUDE ZXMG0U08 my own logic which is
calling a RFC function module here. It send values to this FM in turn this FM is sending the values to (third party - thru WSDL) Proxy . Here I am having the problem. When we give material no in MM03 or CA03 and press enter this enhancement got
triggered and it is going into dump. in my custom RFC FM we have 3 methods in WSDL I.e. Connect,Query,Close. When ever
it comes to the statement 'Connect' this dump is triggered. I am unable to find the exact problem because in the debugging mode
it is not showing constantly in one place...if I run for first time it is showing at one point , for second time if I run it is showing
at some other place. I can't predict correctly like where exactly we r getting dump.
Can any one please let me know any other user exit or BADI or enhancement points... exist to vlaidate Material No.
Can any one please let me know the procedure how to do if enhancement points exists?
Error :  RPERF_ILLEGAL_STATEMENT
Short text
    Statement "RFC-SYSTEM RFC_ID id RFC_VALUE value" is not allowed in this form.
Error analysis
    There is probably an error in the program
    "SAPLSHTTP".
    The program was probably called in a conversion exit
    or in a field exit. These are implemented by
    function modules called CONVERSION_EXIT_xxxxx_INPUT/OUTPUT or
    USER_EXIT_xxxxx_INPUT.
    Conversion exits are triggered during screen field transports or
    WRITE statements, field exits during field transports from the
    screen to the ABAP/4 program.
    In this connection, the following ABAP/4 statements are not allowed:
    -  CALL SCREEN
    -  CALL DIALOG
    -  CALL TRANSACTION
    -  SUBMIT
    -  MESSAGE W... and MESSAGE I...
    -  COMMIT WORK, ROLLBACK WORK
Thanks in Advance,
Yamini.

Hi,
How did you resolve that issue?

Similar Messages

  • User Exit or Enhancement for Material accounting document in VL02N at PGI

    Hi,
    I have 2 requirement at the time of PGI of Delivery.
    1) Currently there are 2 accounting document getting created for 2 countries. i want to restrict acc. document creation for one company code.
    2) I want to change the GL account in the accounting document while creation.
    Could you please help me in finding any user exit or enhancement or BAdi or BTE which can resolve th eissue?
    Thanks,

    Hi,
    GL account can be changed through the badi AC_DOCUMENT.
    Use the the method CHANGE_INITIAL to change the GL account..
    Regards
    Aromal R

  • Can't find user exit or enhancement at RGJVBR15

    Hi everyone,
    I need your help guys. Right now,i'm developed sapscript for billing statement (cash call and expenditure). I have finished the form but i have problem at print program RGJVBR15. This print program is called by RGJVBR10 (Tcode : GJ14 --> Hard Copy Billing).GJ 12 and GJ 13 is used to extract data that will be used by forms.
    There is statement like this in RGJVBR15 at subroutine CREATE_EXPENDITURE (Line 1421 in include file RGJBF_I1) :
    AT NEW C5_CURR. --> Group by funding currency
       PERFORM POPULATE_SPOOL_ID
    ENDAT.
      PERFORM F6100_PROC_...  -> This will be used to open form,write form (sapscript)
    AT END OF C5_CURR.
    ENDAT.
    The problem is that i want to change this logic. I want to change the standard logic (display report group by funding currency), i want to ignore this and instead using group currency. So there only one report produced with one currency only (if using standard logic there is more than 1 report based on funding currency). But i can't find user exit or enhancement in this SAP Standard Program. Is anyone know if there is user exit or enhancement in this program? I don't want to use implicit enhancement because it's will produce problem when client want to upgrade their system. Thank you.
    Best Regards,
    Satria

    hi,
    for tcode GJ14 user exits avaliables are
    Exit Name           Description
    JVA-IM-1             Joint Venture: Integration Manager Set Intercompany Lines
    JVA_IM_2            User Exit Splitting
    JVA_IM_3            User Exit Check Document
    regards,
    paras

  • How to know where the user exits or enhancement used in standard sap code?

    Hi
    I m pretty new to abap.
    How can I know where the user exits or enhancement used in standard sap code?
    As i have to add some functionality to the standard sap code. I m looking to search the enhancement or user exits used in this standard code wher i can add my functionality.
    thanks in advance.
    Moderator message : Search for available information, thread locked.
    Edited by: Vinod Kumar on Oct 19, 2011 2:38 PM

    Hi Henry,
    I don't think this is the easiest way to look at the code around a particular field on the screen. Debugging standard programs also can be very tedious, if not impossbile. So, instead of this question, I would like to find out exactly what you want to do if you know the code.
    If you are in a transaction and you want to know where the code of a particular field is, the fastest way to get to it is by pressing the F1 key on the field and then press the Technical info button on the help screen. In here you will typically see the same kind of information but it is very specific to the field you selected.
    PROGRAM(SCREEN) tells you which program is manipulating the main screen, in which your field is embedded. Remember your field may be included in a sub-screen and that subscreen may be the one included in the main screen.
    PROGRAM(SUB SCREEN) tells you which program is directly responsible for the field on the subscreen it is included in. This is where you should find the code most appropriate for the field, but not necessarily.
    PROGRAM(GUI) controls how your push buttons and the menu options in the screen behave and controlled.
    Srinivas

  • What are all the key words are not recommented in User Exit or Enhancement

    Dear Experts,
    Can any of one tell me, what are all the key words not recommended to use any of the User exit or Enhancement spots?
    Regards,
    Mohana
    Moderator message: please search for available information/documentation.
    Edited by: Thomas Zloch on Feb 22, 2011 4:10 PM

    No Icon:Visitor
    Student
    Honor Student
    Top Student
    Tutor
    Intern
    Teacher
    Grad Student
    Master’s Graduate
    PhD Student
    Associate Professor
    Professor
    Distinguished Professor
    Regents Professor
    Associate Dean
    Dean
    Provost
    FONDA X. COX, PhD

  • User Exit transaction VI01 and VI02 for checkup.

    Hi all, I need one user Exit transaction VI01 and VI02 for checkup.
    How to realize a checkup on having modified expenses of transport VIO1 and VI02?
    I need name user exit please for checkup on having modified expenses .

    Hi Rubén,
    Check the follows BADIS, they could be helpful:
    BADI_SCD_ACCTG       
    BADI_SCD_CREATE      
    BADI_SCD_CREATE_CHCK 
    BADI_SCD_PROCESS_CHK 
    BADI_SCD_SAVE        
    BADI_SCD_TRANSFER    
    regards,
    Alejandro.

  • Exit or routine or BADI for save the sales order

    Exit or routine or BADI for save the sales order.
    Please give your input Asap.
    Thanks & regards,
    Vinayak More.

    Hi Vinayak,
    please go through the steps and u will be able to find BADI of any transaction.
    &*************Reward point if helpful**************&
    BADI Info:
    Method 1:
    Go to Tranaction: SE24.
    open class CL_EXITHANDLER
    Open the method " GetInstance"
    Put Break point in the statement
    call method cl_exithandler=>get_class_name_by_interface
    Now execute the Transaction which you need teh BDC it will automatically stops at the the method. In debugging mode double click on the variable: " exit_name" It will return the BADI Name.
    Method 2:
    find the Package name and go to the tranaction SE84.
    Enter the package name
    inside the left navaigaiton panel there is one option " Enhancements" click on this enhancement and then enter the package name and execute it. you will get hte number of enhancement.

  • Re: Difference between user-exits and enhancements

    Hi ,
    Can any one explain the difference between user-exits and enhancements with an exmpale.
    I will give u full points.
    thanks&regards,
    Bhushan-karra.

    Hi,
    User exit - A user exit is a three character code that instructs the system to access a program during system processing.
    SXX: S is for standard exits that are delivered by SAP. XX represents the 2-digit exit number.
    UXX: U is for user exits that are defined by the user. XX represents the 2-digit exit number
    Customer exit - The R/3 enhancement concept allows you to add your own functionality to SAP’s standard business applications without having to modify the original applications. SAP creates customer exits for specific programs, screens, and menus within standard R/3 applications. These exits do not contain any functionality. Instead, the customer exits act as hooks. You can hang your own add-on functionality onto these hooks. *-- Mani
    The following document is about exits in SAP :-
    The R/3 enhancement concept allows you to add your own functionality to SAP’s standard business applications without having to modify the original applications.
    SAP creates user exits for specific programs, screens, and menus within standard R/3 applications. These exits do not contain any functionality. Instead, the customer exits act as hooks. You can hang your own add-on functionality onto these hooks.
    Types of Exits
    There are several different types of user exits. Each of these exits acts as hooks where you can attach or "hang" your own add-ons.
    Menu Exits
    Menu exits add items to the pulldown menus in standard SAP applications. You can use these menu items to call up your own screens or to trigger entire add-on applications.
    SAP creates menu exits by defining special menu items in the Menu Painter. These special entries have function codes that begin with "+" (a plus sign). You specify the menu item’s text when activating the item in an add-on project.
    Screen Exits
    Screen exits add fields to screens in R/3 applications. SAP creates screen exits by placing special subscreen areas on a standard R/3 screen and calling a customer subscreen from the standard screen’s flow logic.
    Function Module Exits
    Function module exits add functions to R/3 applications. Function module exits play a role in both menu and screen exits.
    When you add a new menu item to a standard pull down menu, you use a function module exit to define the actions that should take place once your menu is activated.
    Function module exits also control the data flow between standard programs and screen exit fields. SAP application developers create function module exits by writing calls to customer functions into the source code of standard R/3 programs.
    These calls have the following syntax:
    CALL CUSTOMER-FUNCTION ‘001’.
    Field Exits
    Field exits allow you to create your own programming logic for any data element in the Dictionary. You can use this logic to carry out checks, conversions, or business-related processing for any screen field. Example: The data element BBBNR identifies a company’s international location number. You might want to set up your R/3 System so that all international location numbers are larger than 100.
    The field exit concept lets you create a special function module that contains this logic.
    You assign the special function module to the data element BBBNR. You then assign the module to any programs and screens in which users can add new international location numbers. When you activate your field exit, the system automatically triggers your special routine whenever a user enters a company location number.
    Check these links for more details -
    http://help.sap.com/saphelp_nw04/helpdata/en/c8/1978b543b111d1896f0000e8322d00/frameset.htm
    http://www.sap-img.com/abap/what-is-user-exits.htm
    http://sap.niraj.tripod.com/id21.html
    If this answers your question, please close the thread.
    Check this link also,
    https://forums.sdn.sap.com/click.jspa?searchID=5924777&messageID=3801056
    Thanks,
    Reward If Helpful.

  • Look for USER EXIT/Program similar with BADI:  BADI_SCD_ACCTG for SAP 4.5B

    Hello SAP Guru,
              We are having the challenging in performing posting to multiple G/L accounts per shipment. This is required, for example, if customer, interplant, and/or inbound orders are combined onto one shipment.
             We found this BADI that allows system to work the way we want; however, BADI is not support in 4.5B.
             This BADI is linked to enhancement LMR1M002 and function module MR_ACCOUNT_ASSIGMENT. Please refer to note 64204.
             Please advise, I am looking something similar that work in SAP 4.5B.
    Regards,
    Song

    Hi,
    Please try this:
    Enhancement  LMR1M002                             Account grouping for GR/IR account maintenance                    
    Enhancement  MRMH0001        Logistics Invoice Verification: ERS procedure                    
    Enhancement  LMR1M001                             User exits in Logistics Invoice Verification          
    Enhancement  LMR1M005                             Logistics Inv. Verification: Release Parked Doc. for Posting          
    Enhancement  LMR1M004          Logistics Invoice Verification: item text for follow-on docs                    
    I hope this may helpfull and let me know wht exactly the business needs so I can give you some more exits.
    Thank you,
    Thanks,
    AMS

  • Reg :-  For Updating WBS in MIRO (any User Exits or Enhancements)

    Hi,
    I have a requirment while doing MIRO,
    I am selecting 'Calculate Tax' Checkbox to update G/L accounts specified for a particular TAX code in the MIRO Screen simultaneously I want to update WBS element for that G/L accounts specified in the TAX code in MIRO level.
    Can anyone suggest any Enhancements or User Exits available for this else provide solution for this.
    With Thanks,
    Dina

    Hi,
    have a look at badi INVOICE_UPDATE.
    Best regards.

  • Need a user exit or enhancement point for loading start button in VT02

    I have a requirement to write the code for loading start button and complete PGI as soon as loading start is checked in VT02(shipment transaction).
    Please suggest....

    HI Venkata,
    Below are the user exits and BADIs in the transaction VT01
    Enhancement
    V56UNUMB                                Shipment number allocation
    V56UDLUP                                Obsolete as of 4.6C: Delivery Update on Delivery Routines
    V56UCHCO                                Check shipments are complete
    V56UCHCH                                Shipment processing: Check whether changes were made
    V56TDLIF                                Filter Delivery Items for Shipment
    V56SLDET                                Shipment processing: Leg determination
    V56MVT04                                Extensions for Collective Processing of Shipments
    V56LOCID                                Shipment Processing: Determine Location Identification
    V56LDELI                                Read Delivery Data for Shipment Processing
    V56L0001                                Status of Shipments for a Delivery
    V56FSTAT                                Shipment processing: Activities when setting a status
    MV56AINI                                Initialization of transaction control for transportation
    V56USTAT                                User-individual definition of transportation planning status
    V56USVDO                                Update new objects for transport
    V56USVDP                                Preparation for updating new objects for transport?
    V56AFCCH                                Shipment processing: Check function code allowed
    V56AGTAR                                User Exit for Filtering Shipping Unit Calculation
    V56ARCHV                                Customer-spec. checks for archiving shipments
    V56ATKTX                                Change the number of lines for text input in shipment
    V56BMOD                                 Transportation processing: Field modification
    V56DISTZ                                Shipment Processing: Determine Distance
    V56FCOPY                                Shipment processing: Copy delivery data
    Business Add-in
    BADI_V56N                               User Exit Transport - Message Determination
    BADI_LE_SHIPMENT                        BadI: Shipment Processing
    Regards,
    Radhika

  • Enhancement or BADI for E1IDB02 IDoc segment

    I need to change some field values on the E1IDB02 segment before the IDoc is generated.  Basically, I need to clear the last 90 bytes of the record and map an IBan number for the BA partner type.  This is the source bank and generally, SAP does not populate that via standard mapping.  I there either an Enhancement or BADI that would allow me to map values in this segment?

    Hi,
    Re: User exit to modify the segment E1IDB02 data
    Regards,
    PP

  • User exits of enhancement SAPMF02D

    Hi all,
    I need to add an extra input check to customer master. From SMOD I can see that enhancement SAPMF02D contains the user exit EXIT_SAPMF02D_001, but this exit doesn't seem to be triggered when entering/saving the customer data.
    I've searched and found the user exit EXIT_SAPMF02D_800 in SE37, how can I implement this (as part of the SAPMF02D enhancement)? As it is now, I don't get any hits in the where-used-list for this function module.
    All helpful answers will be rewarded!
    - Mari Virik

    Hi again, thanks for your reply!
    I've added both <b>EXIT_SAPMF02D_001</b> and<b> EXIT_SAPMF02D_800</b> to enhancement <b>SAPMF02D</b>. Both function modules are active, and the Z-includes called in the funciton modules are created and activated. After setting breakpoints in these two incloudes, I run FD01/FD02 - but none of the user exits are triggered (the same applies if I run XD01/XD02).
    What I need to do is to create an extra address input check, and I've also checked out BADI <b>CUSTOMER_ADD_DATA</b>, method<b> CHECK_ALL_DATA</b>. But I need to test the fields Street 2, Street 3, and Street 5 - and these fields are not available as input to this method.
    To me it seems that neither the user extis nor the BADI can be used? Is this correct? If so, are there any other options? If they indeed can be used, what am I doing wrong?
    All helpful answers will be rewarded!
    - Mari

  • How to find the exact user exit in enhancement.

    Hi All,
    I am in learning phase. I am working on TCODE VA01 and want to change the PO Date. But i am unable to find out the exact user exit.  If somebody could guide me that what is the procedure to find the exact user exit for a perticular field or like that.  I am know how to find all the enhancements in the TCODE.

    hi
    Run this program and give the tcode and it will list down all the user exits for that Tcode.
    REPORT z_find_userexit NO STANDARD PAGE HEADING.
    TABLES : tstc, tadir,            modsapt,            modact,            trdir,             tfdir,      enlfdir,     tstct.   
    DATA : jtab LIKE tadir OCCURS 0 WITH HEADER LINE.
    DATA : field1(30).
    DATA : v_devclass LIKE tadir-devclass.
    SELECTION-SCREEN BEGIN OF BLOCK a01 WITH FRAME TITLE text-001.
    SELECTION-SCREEN SKIP.
    PARAMETERS : p_tcode LIKE tstc-tcode OBLIGATORY.
    SELECTION-SCREEN SKIP.
    SELECTION-SCREEN END OF BLOCK a01.
    START-OF-SELECTION.
      SELECT SINGLE * FROM tstc    WHERE tcode EQ p_tcode.
      IF sy-subrc EQ 0.
        SELECT SINGLE * FROM tadir       WHERE pgmid    = 'R3TR'         AND object   = 'PROG'
             AND obj_name = tstc-pgmna.
        MOVE : tadir-devclass TO v_devclass.
        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 = enlfdir-area.
            MOVE : tadir-devclass TO v_devclass.
          ENDIF.
        ENDIF.
        SELECT * FROM tadir      INTO TABLE jtab      WHERE pgmid    = 'R3TR'        AND object   = 'SMOD'
            AND devclass = v_devclass.
        SELECT SINGLE * FROM tstct      WHERE sprsl EQ sy-langu        AND tcode EQ p_tcode.
        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.
      ELSE.
        FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
        WRITE:/(95) 'Transaction Code Does Not Exist'.
      ENDIF.
    AT LINE-SELECTION.
      GET CURSOR FIELD field1.
      CHECK field1(4) EQ 'JTAB'.
      SET PARAMETER ID 'MON' FIELD sy-lisel+1(10).
      CALL TRANSACTION 'SMOD' AND SKIP FIRST SCREEN.
    Regards
    Sajid
    Edited by: shaik sajid on Jun 26, 2009 12:06 PM
    Edited by: shaik sajid on Jun 26, 2009 12:10 PM

  • FB70: User exit when the save button (for posting) has been click

    Hi ABAP Gurus,
    With regard to FB70, can anyone provide me the name of the user exit that will be triggered when the save button (for posting) has been clicked?
    Thanks!
    <b>
    Best Regards.
    Brando</b>

    Hello Brando,
    With FB70 I recommend you implement the user-exit via the Business Add-In (BADI) way and avoid SMOD exits if possible.
    The list below are the BADIs that are called by the <b>ECC6.0</b> system after you click the <b>Save</b> button to post a document. <u>They are listed in the order which they are called before the actual post</u>. You'll have to find the right one as per your requirement - you can view their definition via transaction SE18 then after you find the right one you need to use that definition to create an implementation via SE19. Here again, you'll have to choose the right method that suits your requirement. You'll find the method and class documentation in some cases with examples on how to implement, you need to write the code between the Method..EndMethod statement using the parameters provided by the Method.
    1. PPA_CUST_BADI
    2. FI_RES_ITEM_CURRENCY
    3. AC_QUANTITY_GET
    4. BADI_PRKNG_NO_UPDATE
    5. FM_POP_CORE
    6. FMRI
    7. FMRE_BUS_PROCESS
    8. FAGL_SET_SEGMENT
    9. EXIT_XFMPR1_001
    10. BUAVC_CHECK_RESTRICT
    11. UKM_R3_ACTIVATE
    12. CO_DOCUMENT_INFO
    I spent a bit of time debugging FB70 to find this info for you, please appreciate by rewarding points (or else
    Good luck.
    Cheers,
    Sougata.

Maybe you are looking for

  • Work center change in Service order not happening

    Hi Experts, I am facing a problem when i try to Call a function module in update task where the Function module contains a call to BAPI_ALM_ORDER_MAINTAIN without COMMIT WORK. This is done in order to update the Work Center while there are changes to

  • How to upgrade to Vista from Windows XP Pro on system preloaded with Vista Business?

    I have a new T61p preloaded with "Genuine Windows Vista Business downgrade to Windows XP Professional" and had it shipped with the Windows XP Pro downgrade. Where can I can find the procedure to "upgrade" back to Vista if/when I decide to do so?  I w

  • Sound Audible during capturing

    Hi, Suddenly I can hear the audio during capturing, HDV, anyone know how to turn it off? Thanks, Andy

  • Currency symbol in Applications

    Hi All, I am using Jdeveloper 10.1.3.3, i want to display Egypt currency symbol in amount fields in my application. what should i do for the same? what is the entry should be in my property file? Thanks in advance Regards GG

  • Performance issue with Combo Box in xcelsius 2008 SP3

    Hi Experts , I started working on xcelsius 2008 , Later we migrated to Xcelsius 2008 SP3 . After migrting , performace of combobox went down and combox is taking time to scroll down the values . Did any one face this issue . Please help me out . My c