Problem in user exit for text

hi all
m using EXIT_SAPLRSAP_003 to enhance one field in 0material_text  field is LVORM
INCLUDE ZXRSAU03 .
CASE I_CHABASNM .
  WHEN '0MATERIAL_TEXT' .
    git_mara_data[] = c_t_texts[].
    SELECT matnr lvorm                                      " table initial check not required
           FROM mara
           INTO TABLE git_mara
           FOR ALL ENTRIES IN git_mara_data
           WHERE matnr = git_mara_data-matnr .
    LOOP AT c_t_texts INTO gs_mara_data .
      READ TABLE git_mara                                   "sy-subrc check not required
            INTO gs_mara
            WITH KEY matnr = gs_mara_data-matnr .
      MOVE gs_mara-lvorm TO gs_mara_data-zzlvorm .
      MODIFY c_t_texts FROM gs_mara .
    ENDLOOP .
ENDCASE .
but the problem is wen i m running RSA# in debugg mode this include is not called i put break point still its not stopping dere plz lemme know where m rong

First :
is the exit being used:
put a break point in the include to see if it is being used or not.
Thenwhat is the value of I_CHABASNM - is it 0material_text or something else.
Then if both are correct check if your exit is active and even then if it does not go into the include - see if any note exists for the same.
Arun

Similar Messages

  • Problem in user - Exit for VF01?

    Hi all,
    I have a requirement where i need to calucate the condition value for my billing document and pass the same value to Net value of the billing header also. Here there is no sales order in the flow.
    I am using the exit   USEREXIT_PRICING_PREPARE_TKOMK in the program RV60AFZZ . The calculation is working fine and the net value of the billing header is changing. But if click on any button on screen or saving the billing document the value is not saving and set back to 0?
    Please help me to resolve the problem?
    Thanks,
    Aravind.

    This may be because there are more than one entry points in exit USEREXIT_PRICING_PREPARE_TKOMK i.e the code written in this will be executed varoius time . SO, you need to code in such a way that desired code get executed only for your senario.
    As per my understanding , when you click your button  user exit USEREXIT_PRICING_PREPARE_TKOMK get executed and may be by initial quantity of some field and hence net quantity becomes zero.
    Check this by puutting a breakpoint in USEREXIT_PRICING_PREPARE_TKOMK and check when all it get executed and then ristrict its execution as per your need.
    Hope you get it.

  • Problem with User exit for Purchase Order creation/change

    Hi Everyone,
    I have a requirement where I have to implement an enhancement for the standard transaction(ME21N/ME22N). I need to modify a particular field of the item table (EKPO) based on a few comparisons from the header values (After save of PO). I am using the enhancement MM06E005 and its corresponding exit  EXIT_SAPMM06E_013. While debugging I notice that the value is getting changed; but as soon as the control comes out of the FM, the change is not being reflected. Hoping to find a solution for this.
    Thanks & Regards,
    Indudhar P.G

    Hi Guys,
    Now I am using the BADI "ME_PROCESS_PO_CUST". But the control is not stopping at the method even though I set a breakpoint. It just saves the PO after I click save. Is this because my document type of PO is Stock Transfer Order. Can I use this BADI for STO's? and moreover how do I process each item line in this method. Does "ls_mepoitem = im_item->get_data( ).
    "  fetch all the item lines?
    Thanks and Regards,
    Indudhar P.G

  • Help on USER EXIT for MIGO

    Hi friends,
    Facing problem in USER EXIT for MIGO...
    My requirement is...
    I want to give a error message for good issue or  it should not be posted in MIGO, if the Item OK check has not been made for all the available materials corresponding to Order no while posting goods issue.
    the structure and field names are: GODYNPRO-DETAIL_TAKE
    i.e., If the user omits to do the item-check for any materials while posting Good issue(after the Production order made),one popup(error) message will come/display b4 posting the document (by way to alert him).
    If anyone have solution or worked on this previously...pls post ur example by reply or let me know which is the corresponding USER EXIT to include my coding part.
    I've tried in MB_CF001 and MBCF0005 and its not working.
    Pls do the needful at the earliest.
    Thanks & regards
    sankar.

    Hi
    I hv same req. did u found correct exit?
    thanks

  • User exit for Pop-Up text Header Note II for transactions VA02 and VA03

    Hi ,
    Need  new user exit to call text pop-up functionality (used in standard at sales order creation) when modifying or displaying a sales order (VA02 / VA03)
    Text ID: ZX02
    Text Object: VBBK
    Text procedure: X1
    Access sequence: 6002
    Text is always shown at creation if exists for the SOLD-TO in the sold-to language, and is defined in customizing as to be displayed : V_TTXER_N-TXPFL = 'Y' or 'Z'
    This is checked in RV_TEXT_COPY
    NOTE: Present while creating the sales order , popup is coming to add the text.Same pop up required for VA02/VA03 transaction.
    Reason: all orders are entered via EDI . In these cases the info from the text is not displayed.
    Pl. let me know the user exit for above requirement.
    Moderator message: please do your own research before asking.
    Edited by: Thomas Zloch on Jan 13, 2011 1:50 PM

    How do you know "ECOM Order"?
    What constitutes a "HOLD"?
    I'd do something like:
    In USEREXIT_SAVE_DOCUMENT_PREPARE (SAVE has been pressed at this point and SAVE_DOCUMENT is to fire off other processes, etc).
    IF sy-tcode eq 'VA01' or sy-tcode eq 'VA02'.
      if vbak-something (identify your ECOM order)
        loop at vbap transporting no fields (Think it's back to VBAP at this point)
        where... (look for your hold indicator in every row)
      endloop.
    if sy-subrc eq 0. "found the hold
    message innn(class) display like 'E'.
    endif.
    endif.
    endif.
    Be VERY careful with ANYTHING that you put into SAVE_DOCUMENT exit form.

  • User Exits for Purchase order Header Text Validation

    Hi Experts,
    I need user exit for validate a  Long text in Purchase order header data for a Particular Doc type.
    We are using 4.6 B so badi is not available .
    So pls tell me user exit for the same or any other method as i was unable to find user exit for this scenario.
    Note :  This valiadation should trigger whhile creating  PO.
    Warm Regards
    Santosh Kumar
    Edited by: Santosh L on Mar 19, 2010 9:58 AM

    i have used concept of global memory through call stack

  • User exit for change PO (me22n) for  save header and item text.

    Hi Experts,
    I have a requirement to read the header texts/item text  at run time .
    please tell me is there any  save user exit for tc me22n .
    Thanks in Advance.
    Paresh

    Transaction Code - ME21N                    Create Purchase Order
    Exit Name           Description
    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
    AMPL0001            User subscreen for additional data on AMPL
    No of Exits:         35
    USER EXIT
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sapgenie.com/abap/code/abap26.htm
    http://www.sap-img.com/abap/what-is-user-exits.htm
    http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction
    http://www.easymarketplace.de/userexit.php
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sappoint.com/abap/userexit.pdfUser-Exit
    http://www.sap-img.com/ab038.htm
    http://help.sap.com/saphelp_46c/helpdata/en/64/72369adc56d11195100060b03c6b76/frameset.htm
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sap-img.com/abap/what-is-user-exits.htm
    http://expertanswercenter.techtarget.com/eac/knowledgebaseAnswer/0,295199,sid63_gci982756,00.html
    Rewards if useful.........
    Minal

  • User-Exit for the Me22n

    Hi,
       I am Mohan. I faced on Problem with the User Exit. I write the user exit for the ME21n for PO Creation. While Creation of the PO the Purchase Requition is mandatory. it is working for the ME21n. But PO creation is another two ways is there. Those are ME22N (Purchase order---> Create) and ME23N
    (Purchase order---> Create) for this case also my condition applicable but it is not working for this case. How to write the Code for this. by using Sy-ucomm  also. but it is not working.
    Please help me.
    Regards,
    Mohan

    Following the user exit's related to ME22N transaction.
    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
    Regards.

  • User Exits for FI transaction at time of 'Save'

    Hi All,
    I'm looking User Exits for the FI transaction - FBD1.
    I used CMOD to identify the user Exits available for the 'FBAS' package:
    F050S001 - FIDCMT, FIDCC1, FIDCC2: Edit user-defined IDoc segment   
    F050S002 - FIDCC1: Change IDoc/do not send                          
    F050S003 - FIDCC2: Change IDoc/do not send                          
    F050S004 - FIDCMT, FIDCC1, FIDCC2: Change outbound IDoc/do not send 
    F050S005 - FIDCMT, FIDCC1, FIDCC2 Inbound IDoc: Change FI document  
    F050S006 - FI Outgoing IDoc: Reset Clearing in FI Document          
    F050S007 - FIDCCH Outbound: Influence on IDoc for Document Change   
    F180A001 - Balance Sheet Adjustment                                 
    FARC0002 - Additional Checks for Archiving MM Vendor Master Data    
    RFAVIS01 - Customer Exit for Changing Payment Advice Segment Text   
    RFEPOS00 - Line item display: Checking of selection conditions      
    RFKORIEX - Automatic correspondence                                 
    SAPLF051 - Workflow for FI (pre-capture, release for payment)       
    However I'm looking for an user exit that is called at the time of 'Save'. I'm looking to make some changes
    so that no entry can be posted in the above transactions until a document has been attached. None of the User exits above seem to be available at the time of 'Save'.
    Is there any OSS note for a User Exit/BADI that can be used at the time of 'Save' for these transactions?
    Thanks in advance..
    Deepika.

    Hi Deepika,
      for your requirement you can use FI substitutions (entire document). Check transaction GGB1. They allow to change fields from FI tables (BKPF,BSEG,BSIK,BSAK, etc...)
    Please remember to reward points if the answer is useful and eventually to close the post if it solves your problem.
    Regards, Manuel

  • User Exit for CO07

    Hi All,
    I have come across one requirement:
    While creating rework order in CO07, in the Component overview screen, there are two types of line items:
    1. Component to be issued (261 movement)--- Qnty value is positive (like 150 meters)
    2. Component to be received (531 movement)--- Qnty value is negative (like -75 meters)
    There are so many line items in this screen. (some with positive values and some with negative)
    I want the system to check,
    sum of all positive values = sum of all negative values
    If there is difference, then the system should give an Error message and not allow:
    1. either the release of order
    2. or Saving of order
    I think, User Exit can be given for this effect.
    Please let me know, the exit for the above problem.
    Dinesh

    CHECK THE USER-EXITS FOR CO07:
    CCOWB001            Customer exit for modifying menu entries
    COIB0001            Customer Exit for As-Built Assignment Tool
    COZF0001            Change purchase req. for externally processed operat
    COZF0002            Change purchase req. for externally procured compone
    PPCO0001            Application development: PP orders
    PPCO0002            Check exit for setting delete mark / deletion indica
    PPCO0003            Check exit for order changes from sales order
    PPCO0004            Sort and processing exit: Mass processing orders
    PPCO0005            Storage location/backflushing when order is created
    PPCO0006            Enhancement to specify defaults for fields in order
    PPCO0007            Exit when saving production order
    PPCO0008            Enhancement in the adding and changing of components
    PPCO0009            Enhancement in goods movements for prod. process ord
    PPCO0010            Enhancement in make-to-order production - Unit of me
    PPCO0012            Production Order: Display/Change Order Header Data
    PPCO0013            Change priorities of selection crit. for batch deter
    PPCO0015            Additional check for document links from BOMs
    PPCO0016            Additional check for document links from master data
    PPCO0017            Additional check for online processing of document l
    PPCO0018            Check for changes to production order header
    PPCO0019            Checks for changes to order operations
    PPCO0021            Release Control for Automatic Batch Determination
    PPCO0022            Determination of Production Memo
    PPCO0023            Checks Changes to Order Components
    STATTEXT            Modification exit for formatting status text lines
    WITH LUCK,
    PRITAM.

  • User exit - for ME21N, 22N, 23N - at line item level

    Hi,
    I want to add new text field to display the description of the MPM(material) in it.
    That filed I want to add to the Account Assignment tab at item level.
    How to add that field on the screen, I mean any screen exit for this?
    and function module to pass the data to that field.
    If anybody worked on such problem then pls. let me know.
    Thanks in advance.
    -- Umesh

    Hi,
    These are the user exits for me21n.                
    AMPL0001          
    LMEDR001          
    LMELA002          
    LMELA010          
    LMEQR001          
    M06B0001          
    M06B0002          
    M06B0003          
    M06B0004          
    M06B0005          
    M06E0004          
    M06E0005          
    ME590001          
    MEETA001          
    MEFLD004          
    MELAB001          
    MEVME001          
    MM06E001          
    MM06E003          
    MM06E004          
    MM06E005          
    MM06E007          
    MM06E008          
    MM06E009          
    MM06E010          
    MMAL0001          
    MMAL0002          
    MMAL0003          
    MMAL0004          
    MMDA0001          
    MMFAB001     
    Regards
    praveen

  • User exit for Delivery Module

    Hi ,
    I had a include program in Development for Delivery module, "MV50AFZ1" in program "SAPMV50A", which is supposed to be a user exit.  So I transported that to production on clients requirement, but then its creating some problems for client, so he wants his previous program to be back.  But I can't change this "MV50AFZ1" program in development nor in Production.  So how could I bring that previous code in production. 
    Plz help, and if possible tell me how can I change "MV50AFZ1" program code.
    Thanks.
    Shailesh.

    check the below link for user exits in SD
    http://help.sap.com/saphelp_46c/helpdata/en/1c/f62c7dd435d1118b3f0060b03ca329/content.htm
    Some more links r here....
    User Exits In Sales Document Processing
    http://help.sap.com/saphelp_46c/helpdata/en/1c/f62c7dd435d1118b3f0060b03ca329/content.htm
    Get the access key from basis for the program SAPMV45A. And change the screen.
    First create a subscreen with that two fields, call that subscreen in the screen 8309.
    call subscreen s2 including 'SAPMV45A' '9002'.
    How to add custoim fields on the additiondata b tab of va01 and va02
    VA01/VA02  screen exit
    Re: Is there any enhancement  available .....for va01??
    Add a field in va01 transaction
    Additional Screen field in VA41 or VA01
    Here are the user exits available for creating PO.
    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
    EXIT_SAPMM06E_001 Other Number Range or Own Document Number
    EXIT_SAPMM06E_004 User Exit for Cust.-Specific Control of Import Data Screens in Purchasing
    EXIT_SAPMM06E_005 Field Selection Control: Vendor Address Screen
    EXIT_SAPMM06E_006 Export Data to Customer Subscreen for Purchasing Document Header (PBO)
    EXIT_SAPMM06E_007 Export Data to Customer Subscreen for Purchasing Document Header (PAI)
    EXIT_SAPMM06E_008 Import Data from Customer Subscreen for Purchasing Document Header
    EXIT_SAPMM06E_009 Reset Customer Data at Beginning of New Document (Without Dialog)
    EXIT_SAPMM06E_010 Export of Service RFQ Data
    EXIT_SAPMM06E_011 Import Service Prices for Quotation
    EXIT_SAPMM06E_012 Check Customer-Specific Data Before Saving
    EXIT_SAPMM06E_013 Update Customer-Specific Data in Purchasing Document
    EXIT_SAPMM06E_014 Read Customer-Specific Data when Importing Purchasing Document
    EXIT_SAPMM06E_016 Export Data to Customer Subscreen for Purchasing Document Item (PBO)
    EXIT_SAPMM06E_017 Export Data to Customer Subscreen for Purchasing Document Item (PAI)
    EXIT_SAPMM06E_018 Import Data from Customer Subscreen for Purchasing Document Item
    EXIT_SAPMM06E_020 User Exit: Change Document for Requisitions (Conversion into PO)
    EXIT_SAPMM06E_021 Fulfillment of Target Value: Release Orders Against a Contract
    EXIT_SAPMM06E_022 Relevant Texts for "Texts Exist" Indicator
    EXIT_SAPMM06E_023 Definition of Relevant Texts for "Texts Exist" Indicator
    EXIT_SAPMM06E_024 Customer Enhancement: Activate PReq Block
    user exit for sto
    Regards.

  • HOW TO CREATE A USER-EXIT FOR MB31 GOODS RECEIPT

    Hy,
    <b>HOW TO CREATE A USER-EXIT FOR MB31</b>
    TO COMPARE ORDER QTY CONFIRMED AND GOODS RECEIPT QTY
    ( IF GR QTY GREATER THAN CONFIRMED QTY ERROR MESSAGE SHOULD COME AND NOT ALLOW TRANSCATION TO PROCEED).
    POINTS CONFIRMED.
    REGARDS,
    KARTIKEY.

    Hi Rawat,
       You Don't need to create User Exits,but you need to find user Exits.Below are list of user Exits for MB31.
    Use proper exit as per your requirement.
    Exit Name     Description
    MBCF0002     Customer function exit: Segment text in material doc. item
    MBCF0005     Material document item for goods receipt/issue slip
    MBCF0006     Customer function for WBS element
    MBCF0007     Customer function exit: Updating a reservation
    MBCF0009     Filling the storage location field
    MBCF0010     Customer exit: Create reservation BAPI_RESERVATION_CREATE1
    MBCF0011     Read from RESB and RKPF for print list in  MB26
    MB_CF001     Customer Function Exit in the Case of Updating a Mat. Doc.
    award points if ans is useful.
    Regards,
    Albert

  • How to find the user-exit for transaction fpp2

    Hi experts,
    could you help me how can I find the user-exit for transaction fpp2. I tried to after the package, but I did not find it.

    Hi,
    Use the following program to find user exits of specified code.
    *& Tables
    TABLES : tstc,     "SAP® Transaction Codes
             tadir,    "Directory of Repository Objects
             modsapt,  "SAP® Enhancements - Short Texts
             modact,   "Modifications
             trdir,    "System table TRDIR
             tfdir,    "Function Module
             enlfdir,  "Additional Attributes for Function Modules
             tstct.    "Transaction Code Texts
    *& Variables
    DATA : jtab LIKE tadir OCCURS 0 WITH HEADER LINE.
    DATA : field1(30).
    DATA : v_devclass LIKE tadir-devclass.
    *& Selection Screen Parameters
    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 main program
    START-OF-SELECTION.
    Validate Transaction Code
      SELECT SINGLE * FROM tstc
        WHERE tcode EQ p_tcode.
    Find Repository Objects for transaction code
      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.
    Find SAP® Modifications
        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.
    Take the user to SMOD for the Exit that was selected.
    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.
    I executed the above program but there are no user exits for the specified Transaction.
    Thanks,
    Naveen Kumar.

  • How to find the user exit for order cancellation

    I want to find the user exit for order cancellation. And also to ensure that no one amends the order once the canellation has taken place. The cancellation shall be deemed to be affected only if the vendor has confirmed the acknowledgement of the order cancellation.
    I have got a Zreport where this order should not come as open order item.
    Please tell me the method of finding the users exit for order cancellation and stop the order from getting modified. And also how to find the tables in which the data has to be updated that the order has to be cancelled.
    In the PO header i want an additional tab <cancellation> by which the user by the help of userid and password should be able to cancel the order. An order once cancelled cannot be undone. A new order has to be placed. The new order can be placed refencing the cancelled purchased order.
    My client has got a very stringent requirement. In the past cancelled order has been undone and caused lot of problems.
    Regards.

    hi
    pls tell me t.code so that i will send all user exits related to that particular t.codes
    Thanks & Regards
    phaneendra

Maybe you are looking for

  • Migrate Library to External HD

    I've been trying to move my entire library off of my 17" MBP to an external HD (including ratings, playlists, play counts, etc.) so that I can more easily move between that machine and my 15" MBP. I followed Apple's directions a few times and tried t

  • How to access SQL server in oracle running in aix unix?

    Hi all, I have oracle database running in IBM AIX OS, and I need to query data in SQL SERVER 2000. How to do that? Is there free Sqlserver ODBC drivers for unix? Thanks

  • Having trouble saving txt files

    everythin's workin fine. but only a part of the txt file i have saved can be seen on my ipod nano......like the first 10 pages or somethin, the it wont scroll down....any help would be greatly appreciated guys

  • How to perfectly match a cutaway insert with the main video

    I have an hour-long clip of a performance, taken with the camera on a fixed tripod. I used a second camera to take closeups and shots from other angles. Now I would like to insert occasional cutaways from the second camera into the long clip from the

  • BExBroadcasting - manipulate pdf mail-attachment filename

    we are broadcasting BW-reports via BExBroadcaster and generated PDFand sending mail-attachements to some BW-users. is there any chance to change or manipulate the filename of these generated PDF mail-attachements ? e.g.  shorter filename with lower-c