Need user exit/BADi

Hi All,
I have following requirement for USER EXIT/BADI:-
Requirement  :  If some material number is entered in Transaction  ME11 /ME12  , I have to find a user exit/BADI where I will find material group from mara based on EINA-MATNR = MARA-MATNR  if that group is within some specific group  like  CHEM ,POLY,OIL etc.  , user will not be allowed to go to next screen  and it will show message to user on the first screen itself..
If any one has come across such requirement please help me on this asap.
Thanks.
Lokesh

Hi Lokesh,
i am sending one program using which you can check for the user exits and Badi's used in the respective transaction.
It will surely resolve your issue.
Use the following prog. it will fetch the Exits as well as BADI's for that T Code.
*& Report Z_USEREXIT_DISPLAY
REPORT Z_USEREXIT_DISPLAY
NO STANDARD PAGE HEADING
LINE-SIZE 200 MESSAGE-ID ZZ.
T A B L E D E C L A R A T I O N S *
TABLES: TFTIT,
E071,
E070.
S T R U C T U R E D E C L A R A T I O N S *
TYPES: BEGIN OF X_TSTC,
TCODE TYPE TCODE,
PGMNA TYPE PROGRAM_ID,
END OF X_TSTC.
TYPES: BEGIN OF X_TADIR,
OBJ_NAME TYPE SOBJ_NAME,
DEVCLASS TYPE DEVCLASS,
END OF X_TADIR.
TYPES: BEGIN OF X_SLOG,
OBJ_NAME TYPE SOBJ_NAME,
END OF X_SLOG.
TYPES: BEGIN OF X_FINAL,
NAME TYPE SMODNAME,
MEMBER TYPE MODMEMBER,
INCLUDE(15), "Include name
END OF X_FINAL.
I N T E R N A L T A B L E D E C L A R A T I O N S *
DATA: IT_TSTC TYPE STANDARD TABLE OF X_TSTC WITH HEADER LINE.
DATA: IT_TADIR TYPE STANDARD TABLE OF X_TADIR WITH HEADER LINE.
DATA: IT_JTAB TYPE STANDARD TABLE OF X_SLOG WITH HEADER LINE.
DATA: IT_FINAL TYPE STANDARD TABLE OF X_FINAL WITH HEADER LINE.
V A R I A B L E S D E C L A R A T I O N S *
U S E R I N P U T S S C R E E N *
S E L E C T I O N S C R E E N *
SELECTION-SCREEN: BEGIN OF BLOCK BLK01 WITH FRAME TITLE TEXT-T01.
PARAMETERS: P_TCODE LIKE TSTC-TCODE OBLIGATORY.
SELECTION-SCREEN END OF BLOCK BLK01.
S t a r t o f S e l e c t i o n *
START-OF-SELECTION.
PERFORM GET_TCODES. "Get Tcodes
PERFORM GET_OBJECTS. "Get Objects
E n d o f S e l e c t i o n *
END-OF-SELECTION.
PERFORM DISPLAY_RESULTS. "Display Results
*& Form get_tcodes
Get Tcodes
FORM GET_TCODES.
SELECT TCODE
PGMNA
INTO TABLE IT_TSTC
FROM TSTC
WHERE TCODE = P_TCODE.
IF SY-SUBRC = 0.
SORT IT_TSTC BY TCODE.
ENDIF.
ENDFORM. " get_tcodes
*& Form get_objects
Get Objects
FORM GET_OBJECTS.
DATA: L_FNAME LIKE RS38L-NAME,
L_GROUP LIKE RS38L-AREA,
L_INCLUDE LIKE RS38L-INCLUDE,
L_NAMESPACE LIKE RS38L-NAMESPACE,
L_STR_AREA LIKE RS38L-STR_AREA.
DATA: V_INCLUDE LIKE RODIOBJ-IOBJNM.
DATA: E_T_INCLUDE TYPE STANDARD TABLE OF ABAPSOURCE WITH HEADER
LINE.
DATA: L_LINE TYPE STRING,
L_TABIX LIKE SY-TABIX.
IF NOT IT_TSTC[] IS INITIAL.
SELECT OBJ_NAME
DEVCLASS
INTO TABLE IT_TADIR
FROM TADIR FOR ALL ENTRIES IN IT_TSTC
WHERE PGMID = 'R3TR' AND
OBJECT = 'PROG' AND
OBJ_NAME = IT_TSTC-PGMNA.
IF SY-SUBRC = 0.
SORT IT_TADIR BY OBJ_NAME DEVCLASS.
SELECT OBJ_NAME
INTO TABLE IT_JTAB
FROM TADIR FOR ALL ENTRIES IN IT_TADIR
WHERE PGMID = 'R3TR' AND
OBJECT = 'SMOD' AND
DEVCLASS = IT_TADIR-DEVCLASS.
IF SY-SUBRC = 0.
SORT IT_JTAB BY OBJ_NAME.
ENDIF.
ENDIF.
ENDIF.
*- Get UserExit names
LOOP AT IT_JTAB.
SELECT NAME
MEMBER
INTO (IT_FINAL-NAME, IT_FINAL-MEMBER)
FROM MODSAP
WHERE NAME = IT_JTAB-OBJ_NAME AND
TYP = 'E'.
APPEND IT_FINAL.
CLEAR IT_FINAL.
ENDSELECT.
ENDLOOP.
*- Process it_final contents.
LOOP AT IT_FINAL.
L_TABIX = SY-TABIX.
CLEAR: L_FNAME,
L_GROUP,
L_INCLUDE,
L_NAMESPACE,
L_STR_AREA.
L_FNAME = IT_FINAL-MEMBER.
CALL FUNCTION 'FUNCTION_EXISTS'
EXPORTING
FUNCNAME = L_FNAME
IMPORTING
GROUP = L_GROUP
INCLUDE = L_INCLUDE
NAMESPACE = L_NAMESPACE
STR_AREA = L_STR_AREA
EXCEPTIONS
FUNCTION_NOT_EXIST = 1
OTHERS = 2.
IF SY-SUBRC = 0.
IF NOT L_INCLUDE IS INITIAL.
*- Get Source code of include.
CLEAR: V_INCLUDE, E_T_INCLUDE, E_T_INCLUDE[].
V_INCLUDE = L_INCLUDE.
CALL FUNCTION 'MU_INCLUDE_GET'
EXPORTING
I_INCLUDE = V_INCLUDE
TABLES
E_T_INCLUDE = E_T_INCLUDE.
IF SY-SUBRC = 0.
LOOP AT E_T_INCLUDE.
IF E_T_INCLUDE-LINE CS 'INCLUDE'.
CLEAR L_LINE.
L_LINE = E_T_INCLUDE-LINE.
CONDENSE L_LINE NO-GAPS.
TRANSLATE L_LINE USING '. '.
L_LINE = L_LINE+7(9).
IT_FINAL-INCLUDE = L_LINE.
MODIFY IT_FINAL INDEX L_TABIX TRANSPORTING INCLUDE.
ENDIF.
ENDLOOP.
ENDIF.
ENDIF.
ENDIF.
ENDLOOP.
ENDFORM. " get_objects
*& Form display_results
Display Results
FORM DISPLAY_RESULTS.
FORMAT COLOR COL_HEADING.
WRITE:/1(150) SY-ULINE.
WRITE:/ SY-VLINE,
2(23) 'Extension Name',
24 SY-VLINE,
25(39) 'Exit Name',
64 SY-VLINE,
65(74) 'Description',
140 SY-VLINE,
141(9) 'Include',
150 SY-VLINE.
WRITE:/1(150) SY-ULINE.
FORMAT RESET.
SORT IT_FINAL BY NAME MEMBER.
LOOP AT IT_FINAL.
CLEAR TFTIT.
SELECT SINGLE STEXT
INTO TFTIT-STEXT
FROM TFTIT
WHERE SPRAS = 'EN' AND
FUNCNAME = IT_FINAL-MEMBER.
WRITE:/ SY-VLINE,
IT_FINAL-NAME COLOR COL_KEY, 24 SY-VLINE,
25 IT_FINAL-MEMBER, 64 SY-VLINE,
65 TFTIT-STEXT, 140 SY-VLINE,
141 IT_FINAL-INCLUDE, 150 SY-VLINE.
WRITE:/1(150) SY-ULINE.
ENDLOOP.
ENDFORM. " display_results
Hope this resolves your query.
Reward all the helpful answers.
Regards

Similar Messages

  • Need User exit/BADI or BTE for FF_5

    Hi,
    My requirement is to enhance the automatic clearing rules for tcode ff_5.
    Program RFEBKA00 will upload bank statement items based on the external transaction codes provided by the banks .
    The standard posting rules will clear a GL bank account using a set of algorithms for further interpretation
    set of standard algorithms do not meet the clearing criteria .hence i need user exit / badi/bte to enhance the automatic clearing rules.
    EXIT ZXF01U01& or FEB_BADI are triggering before posting the document.hence i think we can not use these.
    Please suggest me the alternate solution.

    Hi,
    We are facing a similar requirement. We are trying to enhance the interpretation logarithm using search string. The requirement is to update the text field with a Constant Prefix + a number from the Notes to Payee field. For e.g.:
    The BAI file transaction data is like:
    16,169,94906,V,120108,0000,6008ABS43400024460,783517/
    88,TBS EUROPE LTD   203647 10293164
    88,/ENTRY-06 FEB
    88,TRF/REF  6008ABS43400024475
    88,783517 BANK GIRO CREDIT
    We defined a search string to find the text 'TBS EUROPE LTD' and if it is found, the search string fetches the number '783517' from the Notes to Payee field and thereafter, at the time of posting, the text field has to be updated with '120108 TBS EUROPE LTD 783517', where 120108 is the validity date of the incoming money through this transaction and which does not form part of the Notes to Payee field.
    Also, if just the number '783517' has to be updated in the text field.
    Please suggest how to achieve this functionality.
    Thanks in advance.
    Regards
    Sourabh

  • Need user exit, BAdI for acc. determination in PO-multiple a/c assignment

    Hi,
      I am looking for a user exit in ME21N transaction.
      In case of multiple account assignment, I need a user exit where I can calculate the percentage to split the item to post into different G/L accounts. The percentages need to be calculated based on custom configuration tables. The percentage and G/L Account should be defaulted on the screen. Even setting them during save may also be fine.
    Thanks.
    Srinivas.

    Hi,
    U can try this badi:
    ME_PROCESS_PO_CUST.

  • Need User-Exit / Badi For CO11N selection screen

    Hello Gurus,
    I need to add an extra functionality in the selection screen of the Tcode CO11N .Can you suggest some user exit or badi for the same .
    The Functionality is : We need to make the field 'Reason' as mandatory whenever there is an entry in the field 'Scarp' .
    Waiting for your valuable suggestion on this .
    Regards,
    Abhijit Mandal

    Hi,
    Followings are Enhancement or BADI for Tcode-CO11N
    CONFPP01                                PP order conf.: Determine customer specific default values
    CONFPP02                                PP order conf.: Customer specific input checks 1
    CONFPP03                                PP order conf.: Cust. specific check after op. selection
    CONFPP04                                PP order conf.: Customer specific input checks 2
    CONFPP05                                PP order conf.: Customer specific enhancements when saving
    CONFPP06                                PP Order Confirmations: Actual Data Transfer
    CONFPP07                                Single Screen Entry: Inclusion of User-Defined Subscreens
    CONFPS01                                PS confirmation: Determine customer specific default values
    CONFPS02                                PS confirmation: Customer specific input checks 1
    CONFPS03                                PS confirmation: Customer specific check after op. selection
    CONFPS04                                PS confirmation: Customer specific input checks 2
    CONFPS05                                PS confirmation: Customer specific enhancements when saving
    CONF0001                                Enhancements in order confirmation
    CONFPI01                                Process order conf.: Calculate cust.specific default values
    CONFPI02                                Process order confirmation: Customer spec. input checks 1
    CONFPI03                                Process order conf.: Cust. spec. check after op. selection
    CONFPI04                                Process order conf.: Customer specific input checks 2
    CONFPI05                                Process order conf.: Cust. spec. enhancements when saving
    CONFPI06                                Process order confirmation: Actual data transfer
    CONFPM01                                PM/SM order conf.: Determine cust. specific default values
    CONFPM02                                PM/SM order confirmation: Customer specific input checks 1
    CONFPM03                                PM/SM order conf.: Cust. spec. check after op. selection
    CONFPM04                                PM/SM order conf.: Customer specific input check 2
    CONFPM05                                PM/SM order conf.: Cust. specific enhancements when saving
    Regards.

  • Needs User-Exit/BADI name for Purchase Order in ECC 5.0

    MM Experts,
    We are using ECC 5.0. We have a requirement to change the value of standard SAP fields on the line item and header of the PO tables after PO is saved in the system.
    I will appreciate if someone can guide me about which BADI or User-Exit I have to use to achieve this.
    Rewards will be awarded for helpful tips.
    Thanks in advance!
    MP

    Charlie,
    Thanks for your quick reply. Do you have sample code for this BADI. If yes, then can you please let me know your email address .
    Thanks.
    MP

  • Need User Exit/Badi in ME31K to override value of EKPO-XERSY

    Could someone please tell me if a user exit or badi is available to override the value of EKPO-XERSY on the conditions tab in transaction ME31K?
    We have created a customer field in SRM and wish to override the backend value of the ERS indicator in the ECC system.
    Thanks in advance for any help you can give me.
    Edited by: Mary Culpepper on Feb 12, 2008 11:15 PM

    Hi Mary,
    Write the code in the below exit:
    EXIT_SAPMM06E_013 :Update Customer-Specific Data in Purchasing Document
    Here get the value of XERSY from YEKPO structure.
    Thanks.
    Note:Reward Points if you find useful.

  • Need user-exit/BADI for my requirement in transaction CRMD_ORDER...

    Hello Experts,
    I was just given a development task under CRM module. The transaction that I would enhance
    would be CRMD_ORDER. What I need to do is that I need to check the customer class
    in table CRMM_BUT_FRG0041-classific if it falls under 09. If true, then search for the
    condition exclusion from the table PRCC_EXCL_PROC for a given combination and by checking the
    fields KAUGR1 and KUAGR2. If found, then bypass this exclusion for customer class 09 so that it will
    be given a trade discount and bypass the pricing procedure.
    Hope you can help me guys as I am fairly new to CRM module. Thank you and take care!

    Hi,
    You will have to put the required Logic there and test.
    But what I feel is you need to use IPC Pricing routines, which are assigned in the Pricing Procedure. They are java routines.
    According to my understanding, you will have to first check the customer class from table CRMM_BUT_FRG0041. If it is 09 than u read the condition exclusion groups, the condition type assigned and bypass it.
    Wish it helps.
    Regards,
    Shalini Chauhan

  • Need user exit or BADI for NMM1

    Hi,
    I need user exit/BADI  for transaction NMM1.
    We need to know the material status of material to determine whether to send a Reservation or PR.
    Presently it is determining depending on material type .
    Regards,
    Sekhar Raju.

    It's a really big list -:)
    <b>Enhancement</b>
    NLEI0003
    NLEI0004
    NLEI0005
    NLEI0006
    NMAT0001
    NMAT0003
    NMAT0004
    NPDIST00
    NPDIST01
    NPDIST02
    NPRI0001
    NPRV0001
    NQSFP001
    NTPK0001
    NZUZ0001
    NLEI0002
    N1200001
    N1400001
    NBDT0001
    NBILL000
    NBILL001
    NBILL003
    NBTYPE00
    NC160001
    NC160002
    NC160003
    NCPR0001
    NHCO0001
    NKOS0001
    NKOS0002
    NLEI0001
    <b>Business Add-in</b>
    ISH_PROCEDURE_CHECK
    ISH_PROCEDURE_ADJUST
    ISH_PRINT_INVOICE
    ISH_PRICING_FIELDS
    ISH_PICKLIST_000002
    ISH_PICKLIST_000001
    ISH_PAYDIST_INSREL
    ISH_P21_TRANSFER
    ISH_PROCEDURE_PROPOS
    ISH_PROCEDURE_SORT
    ISH_REV_ASSIGNMENT
    ISH_RNZUZBI1_SORT
    ISH_SERVICEFORM
    ISH_SERVICE_DPD
    ISH_SERVICE_ENTRY
    ISH_SERVICE_MOVEMENT
    ISH_TREATMENT_DETERM
    ISH_CONTRACT_MAXIMUM
    ISH_COPAY_REPAY
    ISH_COPAY_TRANSFER
    ISH_DE_DRG_SC_FOREIG
    ISH_DIAGNOSIS_CUST
    ISH_DOP_DEDUCTION
    ISH_DRGCASE_CHECK
    ISH_INSREL_CASE_SAVE
    ISH_INVOICE_CHECK
    ISH_INV_CANCEL_CHK_1
    ISH_IR_DEFAULT_UNTGR
    ISH_MM_CONS_CO_PREP
    ISH_MM_DOCTYPE
    ISH_MM_EXT_INQUIRY
    ISH_MM_MAT_PRICE
    ISH_MM_STORL2MMDOC
    ISH_NPDRG2_FINAL_CHK
    Greetings,
    Blag.

  • User Exit/Badi for G/L account assignment in ME21n/ME22n

    Hi All,
    I need user exit/badi for account assignment in item details for following requirement.
    If user changes G/L account of the first line item then I have to copy same G/L account to all line items.
    Please suggest me suitable user exit for this.

    hello,
    follow the steps.......
    For User Exit's
    goto to tcode->status->program name->double click on that,
    then goto to-> attribute take the package name and
    Goto SMOD tcode ->Utilities->give the package name and F8
    then a list of exits will display for that tcode as well as that package.
    u can check the table MODSAP
    For BADI's,
    1)goto to tcode SE24 give the CL_EXITHANDLER and display and then double click on the GET_INSTANCE
    keep Break point at this location 'call method cl_exithandler=>get_class_name_by_interface'
    then the tcode it will trigger there and we can debugg there we can find badi'for that tcode and then remove the break point.
    2)Goto to tcode->status->program name->double click on that program will display's
    then  press crtl+F then cl_exithandler
    Thank u,
    santhosh

  • User Exit / Badi / BTE for Asset creation A ?

    Hi Experts,
    I need User Exit  / BADI / BTE for asset Creation.
    After saving newly created Asset from As01 we need to send a mail to the person for whom the Asset is assigned.
    i have tried all this.But no one is triggering after saving the As01 transaction.
    Exit Name           Description                                                                               
    AAPM0001            Integration of asset accounting and plant maintenance                    
    AFAR0003            External changeover method                                               
    AFAR0004            Determination of proportional values for retirement                      
    AINT0004            Change amount posted for certain areas                                   
    AINT0005            Dummy for extended syntax check. Do not use.                             
    AISA0001            Assign Inventory Number                                                  
    AIST0001            Exchange number range in master data maintenance                         
    AIST0002            Customer fields in asset master                                          
    AMSP0002            Determine relationship type for two company codes                        
    TRAN0001            User exit for asset transfer           
    Please suggest if anybody worked on this.
    regards,
    Imran

    Hi,
    Check out the following posts pertaining to similar topic.
    Change Asset Workflow
    Asset Management WORKFLOW
    Regards
    Sreekanth

  • User exit/ badi needed for planned order create/change,collective ATP check

    Dear All,
    I'm looking for a user exit/ badi which can be used for planned orders at the stage of
    mass collective availability check (COMAC tcode) update; or at some other relevant stages of mass update of planned orders.
    I need after collective availability check to perform the following:
    1) to copy date from "total comitment" field on header tab of planned order and paste it (replace old date) to order finish date on header screen
    then
    2) to start a scheduling.
    Very appreciate your help.
    Best Regards,
    Andrey
    Edited by: Andrey Kruglov on Apr 15, 2010 3:06 PM
    Edited by: Andrey Kruglov on Apr 15, 2010 3:07 PM

    Dear,
    Use the BAPI : BAPI_PLANNEDORDER_CHANGE
    Or use the function module MD_SET_ACTION_PLAF for Schedule planned order.
    and the transaction MDAC Execute action for planned order
    This function module includes the following actions:
    Explode BOM
    Explode BOM, check availability
    Check availability, only explode BOM in the case of a requirement
    Check availability, do not explode BOM
    Reset availability
    Change planned order data
    Schedule planned order
    Delete planned order
    Assign the key for the respective action control to the materials in the material master (MRP 4 view).
    Please refer this thread,
    Re: MDVP for collective orders
    Regards,
    R.Brahmankar

  • Need User exit or BAdi for VF01

    Hi.
    I need User exit or Badi for VF01.
    Condtion: After Successful Save of document number in database.
    Please help me.
    To be reward all helpfull answers.
    Regards.
    Jay

    Hi
    The follwing user exits and badis available:
                                                                                    Enhancement                                                                               
    V05N0001                              
    User Exits for Printing Billing Docs. using POR Procedure       
    V05I0001                              
    User exits for billing index                                    
    SDVFX011                              
    Userexit for the komkcv- and kompcv-structures                  
    SDVFX010                             
      User exit item table for the customer lines                     
    SDVFX009                               
    Billing doc. processing KIDONO (payment reference number)       
    SDVFX008                              
    User exit: Processing of transfer structures SD-FI              
    SDVFX007                               
    User exit: Billing plan during transfer to Accounting           
    V61A0001                               
    Customer enhancement: Pricing                                   
    V60P0001                               
    Data provision for additional fields for display in lists       
    V60A0001                               
    Customer functions in the billing document                                                                               
    Business Add-in                                                                                SD_CIN_LV60AU02                       
    BADI for billing                                                
    VOR_WA_FAKTURA                        
    Billing before Goods Issue                                                                               
    If it is helpful rewards points.
                         Regards
                          Pratap.M

  • Need the user exit/BADI name for Reverese order MIGo- ME21N(changing item)

    Hi
    I have the below requirement.
    I am changing the item details in the transaction MIGO transaction,the value of MSEG entries
    are got changed.and also it should change in the Purchase order level also(in the table EKKO).
    Can anybody tell me the User Exit /BADI name which is triggered in the Reverse order
    i.e MIGO -> ME21N.So that i can implement my code in the reverse order in the User Exit/BADI.

    hi I did not find any paramater type EKPO in the Exporting or changing of any methods in the BADI's given by you...........

  • User Exit/ Badi for Changing Quant parameters during TO Creation

    Hi Gurus,
    Could you please guide me to advice the User Exit/Badi which can be used for changing Quant Data during TO Creation.
    User Requirement: Using "Recepient Field" in MIGO as a Key Value for FIFO in WM during goods issue. Receipient is copied into TR and TO (Standard SAP Functionality). For the purpose of Stock Removal based on Receipient Value, we need to copy this value into Quant Data field named Certificate Number ("LQUA-ZEUGN").
    I will highly appreciate reply from Gurus.
    Regards,
    Gupta M

    Hi manish,
    Use the Exit MWMTO001 for this purpose and modify the table accordingly. This will solve your problem.
    Thanks,
    Shibashis

  • To find out appropriate user exit/ badi for transaction VT01n

    Hi,
       I have the following requirement.
    Cass shipment type (VTTK-ADD03) field needs to be required and should be automatically populated upon creation of the shipment document.  The rules for populating the value (SO, ST, PO and RA) are as follows:
    If any of the orders on the shipment are customer order types, then the CASS shipment type should be a SO,
    If all of the orders are STO orders, then the Cass shipment type should be "ST",
    If all of the orders are PO orders, then the Cass shipment type should be "PO" , and
    If all of the orders are customer return orders, then the Cass shipment type should be "RA".
    I have to find out proper user exit / badi to do this.I have tried with many userexit but it won't work.
       Thanking in advance to give your suggestion in order to resolve it.
    With regards,
    Ajit.

    Hi this code will enable you to find the user exit for any transaction . Just give the transaction as input
    tables : tstc, tadir, modsapt, modact, trdir, tfdir, enlfdir.
             tables : tstct.
    data : jtab like tadir occurs 0 with header line.
    data : field1(30).
    data : v_devclass like tadir-devclass.
    parameters : p_tcode like tstc-tcode obligatory.
    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 eq 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.
    *---End of Program
    Just for your information the User exits available for VT01n are
    MV56AINI            Initialization of transaction control for transportation          
    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                           
    V56FSTAT            Shipment processing: Activities when setting a status             
    V56L0001            Status of Shipments for a Delivery                                
    V56LDELI            Read Delivery Data for Shipment Processing                        
    V56LOCID            Shipment Processing: Determine Location Identification            
    V56MVT04            Extensions for Collective Processing of Shipments                 
    V56SLDET            Shipment processing: Leg determination                            
    V56TDLIF            Filter Delivery Items for Shipment                                
    V56UCHCH            Shipment processing: Check whether changes were made              
    V56UCHCO            Check shipments are complete                                      
    V56UDLUP            Obsolete as of 4.6C: Delivery Update on Delivery Routines         
    V56UNUMB            Shipment number allocation                                        
    V56USTAT            User-individual definition of transportation planning status      
    V56USVDO            Update new objects for transport                                  
    V56USVDP            Preparation for updating new objects for transport?               
    Award points if helpful..
    Thanks

Maybe you are looking for

  • Goods receipt Capacity check in PO creation- EHP2

    Hi I have activated business function LOG_MM_CI_1 in our ECC 6.0 system . I have also activated Goods receipt capacity check and subsequent settings in customization . I am able to view the GR capacity check icon in Purchase order creation (ME21N). W

  • UnZip Paylaod....

    HI All, I am doing on File -> File Scenario. My Source File is a ZIP File(contains .txt file with tab delimeter). I need to unzip the file and sent to the target system. Currently I developed the scenario using payloadZipBean. If the ZIP File contain

  • Where are the photos I uploaded through web gallery?

    G'day people People have uploaded photos to my web galleries but they never appear in iPhoto and never make it into the web gallery either. I just tried to upload a photo into an event on the web gallery. Everything looked fine and it appeared to acc

  • Adobe stop working unexpectedly

    Hi all Some of our customer reported adobe reader stop working when they are working on pdf forms. Unfortunaltely, I haven't more information about the issue. They told me, the app crash when they fill out a PDF form. They are using the newest versio

  • One license on different computers?

    I have one Photoshop CS6 license.  I have installed it on my Imac.  When trying to install it on my MacBook i get a message saying "Invalid license number.  Does this mean i must by one license for each computer? Regards Eyvind