Userexits for MOQ

Hello Experts ,
Our users have maintained minimum order  quantity ( MOQ) as 30  in material master they found  that system is not accepting in sales order if the order line is not in increment of MOQ - even if the line is for more than MOQ  ( system is accepting 30 , 60 , 90 , 120 but not accepting 35,  70, 85, 130,  230 , 400 ....
I know I need to add some include in some user exit ... i want to know is there any user exit for this for is there any use exit for MOQ .
Thanks in Advance
Regards
ALI

Hello Ali
Are you talking about Minimum Order Quantity (MOQ) or 'Delivery Unit (DU)'?
Because specifying MOQ warns you about the quantity even if it is greater than MOQ by a single  piece. So if MOQ is 30, it will warn you if the order quantity is 31.
Delivery Unit rounds up the order quantity to its nearest multiples.
If it is DU that you talking about, I don't see any reason why you need to tamper with that standard functionality.
May be you need to work with Rounding Profile which is also in the smae area in Material Master. Check it pout.
Please clarify your issue.

Similar Messages

  • Userexits for payment terms

    My Requirement is i want system to pick the payment terms from the customized table where i have maintained the combination (customer/Sales doc type/mateiral/ payment terms)
    I deleted the Payment terms from the customer master(for few customers)
    If there is payment terms in customer master then system should take from there to VA01 or otherwise system should check the Ztable what we have created & maintained the above said combination from there system should take the payment terms automatically.
    I found some user exits susggested by some experts.... can any one tell me how to proceed with these userexits.....
    1. MV45AFZZ  - USEREXIT_MOVE_FIELD_TO_VBAP.
    2. MV45AFZA - USEREXIT_REFRESH_DOCUMENT

    Hi
    Try also with USEREXIT_MOVE_FIELD_TO_VBKD in MV45AFZZ if you want to populate the field ZTERM in table VBKD.
    A last suggestion, see SAP Note 178328 - Problems due to incorrect user exits in SD.
    I hopet this helps you
    Regards
    Eduardo
    Edited by: E_Hinojosa on Nov 24, 2011 9:53 AM

  • Userexits for normal and SAP enjoy transaction

    I have a question - are all user exits that we have used for normal transaction ( Say ME21) are also applicable for the new SAP Enjoy Transaction( Say ME21N). In case there are some user exits which are not applicable for new transaction how can we find that.

    I believe the answer is that not all user exits in the old transaction will be called in the new transaction.  In most cases they will, but some may no longer be relevant.
    The simple way to check is to put a session breakpoint in each user exit and try processing through the new and old versions of the transaction to see where the code stops.
    Even if the exit is still called, then it may be called in a different sequence / timing.  For example - exits called on the first screen of FB01 may still be called in FB60, but the header data is integrated into the single enjoy screen as multiple tabs - so check the timing of the call.
    Andrew

  • Userexits for transaction VL01N/VL02N .

    I need to update LIKP-VSART after VL01N/VL02N has been completed(When save button clicked).
    Depending upon Sales Order type likp-vsart field is to be updated.
    I am using "FORM USEREXIT_SAVE_DOCUMENT". but its not updating this field.
    Is there any userexit which can be used for this.

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

  • Sales Order Material and its MOQ mass change

    *The issue is related to our Spare parts Ordering process in our company.*
    We have a concept of having 65 days of back orders. Hence there will be
    lot many open orders in the system.
    The Material code will be changed from (for eg) M01 to M02. Hence forth the Material (M01) ordered will
    automatically changed to M02 through Material determination logic. But
    for the 65 days back orders, it is very difficult to change the
    material one by one in sales order. There may be more than 100 orders
    for a material. Even if the MASS change option in Transaction VA05
    doesn't address because of the following reasons;
    1. The changed new material (M02) may have new price with new validity
    periods, whereas the back orders will have old pricing dates. Its
    difficult to change individually in the open orders.
    2. Some materials may have partially delivered.
    Similar to ECM changes, there will be MOQ changes which also needs to
    be changed individually the order quantity in the old Open orders.
    For example,
    Initially the MOQ for a material in 10. Order inflow has happened based
    on this MOQ.
    Now if the MOQ is changed to 20, future orders are addressed. But for
    the 65 day back orders, we need to manually open the individual sales
    order and change the order quantity.
    Hence we require a mass change option for the open orders as below:
    1. For Material Changes (M01 to M02), I will give the list of orders and
    the line items and Qty for M01. The program should reject the existing
    line item for M01. An additional line item should be created with M02.
    Also the pricing date should be changed.
    2. For MOQ changes, I will give the list of orders and the line items
    and Qty. The program should reject the existing line item for those
    materials. An additional line item should be created with new Qty.
    If the material is partially delivered, the the existing qty should be
    updated to the extent it is delivered and the remaining qty should be
    updated with new material or New MOQ.

    You can use BAPI_SALESORDER_CHANGE.
    1. Get the SO detail using BAPISDORDER_GETDETAILEDLIST.
    2. MODIFY the ORDER_CFGS_* internal tables and  update.
            CALL FUNCTION 'BAPISDORDER_GETDETAILEDLIST'
              TABLES
                order_cfgs_value   = gt_char
                order_cfgs_ref       = gt_char_ref
                order_cfgs_inst      = gt_char_ins.
            MODIFY gt_cfgs_*.
            CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
             TABLES
                order_cfgs_value   = gt_char
                order_cfgs_ref       = gt_char_ref
                order_cfgs_inst      = gt_char_ins.
    Refer SAP note 549563.

  • UserExit for MIRO transaction

    Dear All,
               I have to Change the Base Line Date in MIRO transaction with the GR Posting Date while booking the Incoming Invoice..i.e BSIK-ZFBDT date i have to change it with MKPF-BLDAT...
    I have tried all of the UserExits for MIRO transactions. but did not work...
    Can any body tell me any alternate way.e.g BADI or something..
    Regards,
    Rushikesh

    Have a look at below code which lists BADI for particular tcode. It might help you.
    *& Report  ZBADI                                                       *
    REPORT  zbadi                                   .
    TABLES : tstc,
    tadir,
    modsapt,
    modact,
    trdir,
    tfdir,
    enlfdir,
    sxs_attrt ,
    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,
    p_pgmna LIKE tstc-pgmna .
    DATA wa_tadir TYPE tadir.
    START-OF-SELECTION.
      IF NOT p_tcode IS INITIAL.
        SELECT SINGLE * FROM tstc WHERE tcode EQ p_tcode.
      ELSEIF NOT p_pgmna IS INITIAL.
        tstc-pgmna = p_pgmna.
      ENDIF.
      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 IN ('SMOD', 'SXSD')
        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:/(105) sy-uline.
          FORMAT COLOR COL_HEADING INTENSIFIED ON.
    Sorting the internal Table
          SORT jtab BY object.
          DATA : wf_txt(60) TYPE c,
          wf_smod TYPE i ,
          wf_badi TYPE i ,
          wf_object2(30) TYPE c.
          CLEAR : wf_smod, wf_badi , wf_object2.
    Get the total SMOD.
          LOOP AT jtab INTO wa_tadir.
            AT FIRST.
              FORMAT COLOR COL_HEADING INTENSIFIED ON.
              WRITE:/1 sy-vline,
              2 'Enhancement/ Business Add-in',
              41 sy-vline ,
              42 'Description',
              105 sy-vline.
              WRITE:/(105) sy-uline.
            ENDAT.
            CLEAR wf_txt.
            AT NEW object.
              IF wa_tadir-object = 'SMOD'.
                wf_object2 = 'Enhancement' .
              ELSEIF wa_tadir-object = 'SXSD'.
                wf_object2 = ' Business Add-in'.
              ENDIF.
              FORMAT COLOR COL_GROUP INTENSIFIED ON.
              WRITE:/1 sy-vline,
              2 wf_object2,
              105 sy-vline.
            ENDAT.
            CASE wa_tadir-object.
              WHEN 'SMOD'.
                wf_smod = wf_smod + 1.
                SELECT SINGLE modtext INTO wf_txt
                FROM modsapt
                WHERE sprsl = sy-langu
                AND name = wa_tadir-obj_name.
                FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
              WHEN 'SXSD'.
    For BADis
                wf_badi = wf_badi + 1 .
                SELECT SINGLE text INTO wf_txt
                FROM sxs_attrt
                WHERE sprsl = sy-langu
                AND exit_name = wa_tadir-obj_name.
                FORMAT COLOR COL_NORMAL INTENSIFIED ON.
            ENDCASE.
            WRITE:/1 sy-vline,
            2 wa_tadir-obj_name HOTSPOT ON,
            41 sy-vline ,
            42 wf_txt,
            105 sy-vline.
            AT END OF object.
              WRITE : /(105) sy-uline.
            ENDAT.
          ENDLOOP.
          WRITE:/(105) sy-uline.
          SKIP.
          FORMAT COLOR COL_TOTAL INTENSIFIED ON.
          WRITE:/ 'No.of Exits:' , wf_smod.
          WRITE:/ 'No.of BADis:' , wf_badi.
        ELSE.
          FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
          WRITE:/(105) 'No userexits or BADis exist'.
        ENDIF.
      ELSE.
        FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
        WRITE:/(105) 'Transaction does not exist'.
      ENDIF.
    AT LINE-SELECTION.
      DATA : wf_object TYPE tadir-object.
      CLEAR wf_object.
      GET CURSOR FIELD field1.
      CHECK field1(8) EQ 'WA_TADIR'.
      READ TABLE jtab WITH KEY obj_name = sy-lisel+1(20).
      MOVE jtab-object TO wf_object.
      CASE wf_object.
        WHEN 'SMOD'.
          SET PARAMETER ID 'MON' FIELD sy-lisel+1(10).
          CALL TRANSACTION 'SMOD' AND SKIP FIRST SCREEN.
        WHEN 'SXSD'.
          SET PARAMETER ID 'EXN' FIELD sy-lisel+1(20).
          CALL TRANSACTION 'SE18' AND SKIP FIRST SCREEN.
      ENDCASE.
    Best Regards,
    Vibha
    *Please mark all the helpful answers

  • BADI/Exit for transaction FB05/F-36

    Can anybody help me regarding exit/BADI for transaction FB05/F-36?
    I have tried exits in CMOD such as: 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
    FEDI0001 Function exits for EDI in FI
    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)
    But none of these seem to work.
    Can anybody tell me which BADI or Exit that I can use?

    To check for the suitable badi, Go to transaction SE24 and give the Object type as CL_EXITHANDLER and click on Display button.
    Double click on method GET_INSTANCE, put a break point on case statement.
    Execute your transaction and look for variable EXIT_NAME at your scenario then It will show the available badi's.
    You can find the exits in many ways.
    Get the developement class of the transaction code from SE93.
    Then go to transaction SMOD and press F4 and give the Development class in Press ENTER, then it will show all the exits available for that transaction.
    Or
    Go to transaction SE80 and give the development class name and then expand the enhancements tree view then you will get the list of userexits for that corresponding dev class.
    Reward if it is useful.
    Thanks,
    Srinivas

  • Don't want to take print out for certain condition

    Hi Expert,
    I am taking printout from transaction F.27 for Periodic Statement. Spool request generates for the output. For one particular variable value=0 i want to stop the Periodic Statement printing off. That means it should not appear in the spool.
    Can you please guide me how can i prevent it to appear into the spool?
    Thanks in Advance.

    Hi ,
    You can do that by using userexits for this transaction. there is no BADIS for this transaction .
    the below are the user exits for specified transaction.
    RTR00010                                Exit in report tree (display transactions)
    RTR00020                                Exit in node in report tree (change mode)
    S38MREP1                                Exit at Start report
    Regards,
    Sai

  • Enhancement for CM25

    Hello Gurus,
    I have a requirements that I'm stucked on.
    Basilcally, we are working on developing a custom enhancement to enable us to run our production orders in line with our capacity.  Today,we are basically promising customer orders before generating their schedule and capacity loading.  We need to be to able to group, sequence and capacity constrain the planned orders, then promise/repromise the customer orders that are being generated by MRP.
    I tried to look for a UserExits for CM25 but there was non. Does anybody knows any enhancement to use on these or if someone has actually done this kind of enhancement for the companies.
    Rewards will be giving for helpful answers
    Thanks again.

    Hi,
    try this enhancements for existed in CM25
    CY040001 Fixing of planning areas
    CY040002 Specify Sequence of Operations to be Scheduled
    CY190001 Capacity Planning: Change order operation
    CYPP0001 Change sequence criteria and sequencing
    CYPP0002 CYPP: User Defined Fields used by Sorting
    CYPP0003 CYPP: Fields for a Layout Key
    CYPP0004 Sort: Replace Contents of Field
    CYPP0005 CYPP: User Defined Fields for Use in Display
    CYPP0006 Change Content of a Field (Layout)
    Regards
    swamy

  • EDI invoice for Batch qty.

    Dear experts,
    in a special scenario I would like that in the EDI outbound invoice Batch qty. which is not showing for segment E1EDP19 which is showing only the Batch nr., I wanted to use a BADI for EDI outbound invoice which uses the logic for transfering Batch qts. in the IDOC?
    Does anynone know BADIs or any userexits for such scenario?
    Thanks and advice.

    Hi Ram,
    thanks. Do we have a sepeicifc BADI also??
    When IDOC is passed to the externnal system one uses BAPIs, what about before the IDOC is passed, I want the IDOC
    content(BATCH QTY.), in the SAP itself, to have the Batch qty. passed in the IDOC.
    The standard SAP shows only Batch nr. and not the BAtch qty.
    Thanks and advice.

  • BAPI or USER EXIT for MIRO: Change PO reference amount (on-line)

    Hi, I need to find a BAPI or USER EXIT for TX MIRO to change/modify the PO reference amount for the selected positions (using the given checkbox) just after selecting them (when pressing ENTER). Any ideas? Thanks.

    Hello Suman,
    Please follow this steps to get the list of Userexits for the TCODE MIRO read there short description to get the appropriate EXIT.
    Steps.
    1. Goto the Tcode
    2. System-> Status.
    3. Copy the program name, find the package for the program.
    4. Go to SMOD (tccode)  press F4 -> Click on "Information System" Push Button->
       Enter the Package name-> and press the enter button.
    5. Now you get the list of Userexits. Need to select one by looking into its short    description.
    Hope this solves your issue,
    Cheers,
    Suvendu

  • Exits for tcode FB70

    Exits for tcode FB70

    Hi,
    these are the userexits for FB70
    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
    FEDI0001            Function Exits for EDI in FI
    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)
    Regards,
    Madhu

  • Finding Enhancement for a userexit

    Hi All,
    I am trying to find Enhancement name for the userexit USEREXIT_MOVE_FIELD_TO_VBAP and so far have tried all suggestions from the experts including, sample program code to find userexits for a transaction, SMOD, SE84 (thru package), etc., etc.. but without any success.  Can someone please show me step by step how to find the Enhancement for this userexit.  I would greatly appreciate it.  Again, no tips, hints, pls. ..just the actual steps for the aforementioned userexit.  Once we have this resolved, we could apply this to a lot more exits, which would be a big help as we need the Enhancement name in CMOD.
    Thanks & Regards,
    Tony

    This is special type of the userexit form in the SD area. You will not find it in SMOD, CMOD etc.
    You can find this FORM in the program MV45AFZZ.
    You need an access key for this program if you are chaning it first time.
    MV45AFZZ is the include which cotains all the userexit forms for order processing.
    Regards,
    Naimesh Patel

  • User Exit For CS02 & C202

    Dear All,
                I need User Exit for 
       "Changing BOM & Master Receipe should not allow if BOM & Master Receip is Used"
    Please let me know the User Exit for  CS02 & C202 T-code

    Hi,
    these are the userexits for  CS02
    PCSD0001               Applications development R/3 BOMS
    PCSD0002               BOMs: Customer fields in item
    PCSD0003               BOMs: Customer fields in header
    PCSD0004               BOM comparison
    PCSD0005               BOMs: component check for material items
    PCSD0006                Mass changes user exit
    PCSD0007                Check changes in STKO
    PCSD0008               WBS BOM: Customer-specific explosion for creating
    PCSD0009               Order/WBS BOM, determine URL page
    PCSD0010               Order/WBS BOM, determine explosion date
    PCSD0011               Knowledge-based order BOM, parallel update
    PCSD0012               Customer - Mat. number/mat. number during material exchange
    PCSD0013               Customer-specific processing of an explosion for BOM browser
    PCSD0014               Knowledge-Based Order BOM: Set Status When Fixing
    and there is no userexit for C202.
    and check below link for how to find userexit for particular transaction and run the program in the below link
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/abap/find%252bapplication%252bclass%252bwith%252bexits%252band%252bbadis%252bfor%252ba%252btransaction
    Regards,
    Madhu
    Edited by: Madhu Babu on May 21, 2009 11:44 AM

  • BadIi / exits for PA20, PA30 and PA40

    Can someone help me know BadIi / exits for PA20, PA30 and PA40 transaction.

    Hi Megha..
                     Please refer this BADI ... HRPAD00INFTYDB this may fulfill your needs
    Or try this..
    Go to SE18 and search for the BADI names starting with HR*
    There you'll see that HRBEN BADIs refer to benefits, HRHAP BADIs refer to appraisals, HRPAY BADIs refer to payroll.
    For OM BADIs please search as RH*
    For userexits there is a zprogram  code I written below thru which u can find userexits for particular transaction codes..
    *& Report  ZFIND_USEREXIT
    REPORT ZFIND_USEREXIT NO STANDARD PAGE HEADING.
    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.
    This will surely help u.
    Edited by: Jhings on Jan 29, 2011 11:35 AM

Maybe you are looking for

  • Partitioning SCD Type 2 dimensions and possible update sto partition key

    Hi, We have a fact table which only gets inserts and are considering range partitioning this on sell_by_date (as can archive off products which long past sell by date) and hash sub-partition on product_id. Heard about partition wise joins and are con

  • WHY: Crashing problems with Pixel-Bender Plug-In in PS CS5...

    WHY is my PS CS5 crashing, when TRYING to use Pixel Bender Plug-In...?!? Its correctly installed, shows up in the Filtermenubar of PS, It just shows the first filter and when I try to choose another one, PS just shuts down...?!? (PS CS5 (12.0) (Win 3

  • Regarding CRM EIC where i am unable to display HCM processes in IC Appl

    Hello Colleagues, I am working on CRM_EIC. There is an issue where i am unable to display HCM Processes in the IC application. I have launched the application from CRM system thru the t-code "WUI", and selected the business role "IC_EIC_AGENT". Given

  • 11g HTTP Stand Alone Server Media

    Does anyone know where the 11g HTTP Stand Alone Server media is located for download. It used to come with the companion CD in 10g, but this is the statement in the Oracle Documentation - "Oracle HTTP Server: Starting with Oracle Database 11g, Oracle

  • Adding a new global link

    Hi, I am trying to add a custom global link on the create time card page in OTL along side the ICX_STANDARD_GLOBAL buttons like Home, Preference, Logout etc. I have created a global menu and added an SSWA Jsp custom function to it. As per the develop