Can anyone knows SM04 related user exits.

Dear All,
Can anyone knows SM04 related user exits. Please let me know.
Urgent.
Regards,
Karthik.

Hi,
   There are no user exits related to SM04.
   U can write a small program to know if a Transaction code has any user
   exits as follows.
REPORT YTCODE_FIND_USEREXIT .
*& Report  ZTCODE1                                                     *
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.
Please award iff it's helpful.
Regards,
GSR.

Similar Messages

  • 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

  • SD related user-exits scenarios

    Hi Gurus,
    Can anyone of you please send me some real time SD related user-exits scenarios.
    Thanks,
    Rajeev !!!

    no one replied

  • How can i know about any users who log on sap last one month..all data and

    Dear all,
    how can i know about any users who log on sap last one month..all data and  transaction code they used in a month.
    Regards,
    ASHUTOSH
    9891595497

    Dear Ashutosh,
    I think your question is in the wrong forum. This is for SAP MDM related questions and answers. SAP MDM does not use Transaction codes. So you may not get much help here.
    Please try posting your question in the ABAP forums and you may get the right resources to help you.
    Thanks.
    Siva K.

  • How can i do a variable User exit that present the values before execute

    Hi Gurus,
    How can i do a variable User exit that present the values before execute, i need this:
    a variable that calculate SYS-DATUM until 30 days before (I got the code) but this  variable run automatic because is user exit, i want this variable but first present the values, not execute automatic, this is because the users want the report that automatic present the values , help

    Hi,
    Refer the below links,
    http://documentation.softwareag.com/natural/nat424mf/pdf/ops_mf/conf_usrex.pdf
    http://www.erpgenie.com/component/content/article/1097
    http://www.apentia-online.at/UP/Apentia/files/Article/SAP_BW_User_Exits_and_BAdIs.pdf
    Hope it helps you,
    Regards,
    Ravindra.

  • Can anyone knows how to fix back camera having pink lines when i use it so please help me  thank you

    can anyone knows how to fix back camera having pink lines when i use it so please help me  thank you
    <Email Edited by Host>

    You're welcome.
    The 6.1.4 update had nothing to do with this. If it did, then every iPhone with 6.1.4 installed would have the same problem.
    Apple doesn't support downgrading the firmware, which won't change anything.
    If an Apple Store is miles away, then call AppleCare.

  • How can anyone know on which Xi server one is working ...

    Hi Folks,
    How can anyone know on which Xi server one is working i.e..whether it is DEV/TEST/PROD system....where we can find these tech details???
    Waiting for your responses...
    Cheers...
    Ram.

    hey all..
    i guess, i was unclear wit my question..
    i very well understand the transport of objects frm dev to prod..
    what i wanna knw is...,
    if i hav three diff systtems..i.e prod, dev, n quality..
    wit hittin the tcode: scc4, i get to knw the system id, name n short text..
    n now based on the short text, i identify my system details....(i.e it bein prod or dev)
    but if the short text is missin in the tcode mentioned, then do i hav any other method to knw which system is which Xi System? (prod, dev or qua )...
    regards,
    Ram

  • My ajfon not want to accept Apple ID password. A normally on compiling in the logs. What can anyone know?

    My ajfon not want to accept Apple ID password. A normally on compiling in the logs. What can anyone know? plis

    Meybe that. Mój ajfon nie przyjmuje hasła do Apple ID którym normalnie się loguje na kompie .Co może być .Proszę o pomoc

  • MM Related User Exits

    Hi,
    When i want to search for a particular user exit related to Purchasing, Inventory Management and Invoice Verification. Where can i find them ? ie Menu Path
    Or anyother simple search strategy is possible.
    Regards,
    R. Dillibabu.

    hi,
    Copy the beloe code and create a se38 program to find list of user exit for a transaction.
    *& Report  ZTEST_USER_EXIT
    REPORT ztest_user_exit 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.
    Regards
    Alfred

  • Can anyone tell me how to exit full-screen mode in mail?

    Can anyone please tell me how to exit full-screen mode in mail?

    Thanks, QuickTimeKirk.
    It was getting really frustrating being locked into that big screen!

  • Can anyone knows?

    hi please answer this questions, if anyone knows
    a) With C++, object reference counts are frequently used to keep track of
    how many references to an object exist. Is there a need for such a reference
    count for objects with Java? Please explain why or why not.
    b) write a small pure Java program that computes the free disk space
    of every disk drive available to the Java VM.
    c) What is the difference between anonymous and abstract classes? Under what
    circumstances would you be using anonymous classes?
    Thanks

    a) Garbage collector is responsible in java for counting references to objects and to free memory space when object is not referenced any more. Because Java manages memory transparently to programmer it is not neccessary to keep track of references.
    b) to be done :)
    c) abstarct classes are used to implement some common funcionality for descendand and left some details to be implemented in descendands eg. having class person:
    public abstract class Person {
      String firstName;
      String lastName;
      public String getName() {
        return this.firstName + this.lastName
      abstract double calculateSalary();
    then you can have two child classes eg. Worker and Manager implementing different logic in calculateSalary(). anonymous class is something like in-place implementation of class. It is used very often for implementing listeners interfaces in GUI application. eg:
      JButton button = new JButton("a button");
       button.addActionListener( new ActionListener() {
           public void actionPerformed(ActionEvent ev) {
              System.out.println("Anonymous class !!!!");
      });or to do something in new thread:
        (new Thread() {
            public void run() {
              //do something in new thread
        }).start();

  • Hi all, How can i write logic in user exit?

    i have user exit exit_saplmgmu_001.How can i write in user exit? in which t-code.

    Hi Murali,
    I mean you are looking for the fields that has to be populated to the database table. So, go through this link you will have clear picture of MM01 Screen exit where you can populate the field in the database also.
    I think this is the link that exactly suits your requirement.
    Here all the details are given in detail with screen shots.
    Please go through this.
    http://www.****************/Tutorials/ExitsBADIs/MM/MM01.htm
    Reward points if it helps.
    Cheers,
    Swamy Kunche

  • Can anyone know this bug....

    Hi all,
    I'm new to the forum and the J2EE. Actually, i'm trying to get some values in a html form and call a jsp.
    The jsp page has to send the values to the bean and the bean should insert the values into a table. Actually everything is fine but the bean inserts null values.
    Can anyone help me in this regard why am i not able to insert the values from the html page.
    thanks,

    Hi!
    here's my code:
    HTML:
    <html>
    <head><title>Data Insertion</title></head>
    <body>
    <form action="insert.jsp" method="post">
    Email:<input type="text" name="ema">
    Password:<input type="text" name="pwd">
    <input type="submit" value="submit">
    </form>
    </body>
    </html>
    BEAN:
    package bean;
    import java.sql.*;
    import java.util.*;
    import javax.servlet.http.*;
    public class InsertBean extends DataConnection{
         static String insertSQL;
         static{
              insertSQL="INSERT INTO emp VALUES (?,?)";
         // Members
         public      String               ema;
         public      String               pwd;
         public InsertBean()
              ema = pwd ="";
         public InsertBean(ResultSet rs) throws SQLException
    ema = rs.getString("ema");
    pwd = rs.getString("pwd");
         public InsertBean(HttpServletRequest rs)
    ema = rs.getParameter("ema");
    pwd = rs.getParameter("pwd");
         public boolean insert(DataConnection conn)
              try
                   PreparedStatement stmt = conn.prepareStatement(insertSQL);
                   stmt.setString(1,ema);
                   stmt.setString(2,pwd);
                   stmt.execute();
                   stmt.close();
              catch(Exception e)
                   e.printStackTrace();
                   return false;
         return true;
    JSP:
    <jsp:useBean id="insbean" class="bean.InsertBean" scope="request" />
    <%
    insbean.insert();
    %>
    Actually, these are the codes that i'm using, and i think that HttpServletRequest object is the one that returns null and so null value is inserted.
    Can you please check the code and intimate me of any other errors.
    Thanks a lot..

  • Can anyone know this?

    Hi all,
    is anyone know this answer? if yes please help me..
    Under which circumstances will
    which Exceptions be caught in the catch block ?
    class Foo
    private Vector objects = new Vector();
    public void compute ()
    Iterator iter = objects.iterator();
    while (iter.hasNext()) {
    try {
    Object o = (Object)iter.next();
    System.out.println(o.hashCode());
    catch (Exception ex) {
    // under which circumstances will which Exceptions
    // be caught here ?
    public void addObject (Object o)
    objects.add(o);

    Under which circumstances will which Exceptions be caught in the catch block ?
    Object o = (Object)iter.next();
    System.out.println(o.hashCode()); I've narrowed your search a bit; if one of these two statements throw an exception, it will be caught
    in your catch block.
    kind regards,
    Jos

  • Extended IDOC DEBMAS06 (MSG-Type DEBMAS) can't be filled using user EXIT

    Hi,
    I'm having a problem trying to fill an additional created segment (extension) for the IDOC DEBMAS06.
    This IDOC is generatede from an ALE szenarion
    and I need additional fields to fill using my extension.
    With CMOD I created a new project using the enhancement VSV00001 (User exit  Customer and vendor distribution  Receipt/issue) to fill the additional field but, no way.
    My extension segment will not appear onto this user exit.
    I tried to search new exits, tried to make additional settind using ALE customizing but again now way, this onw extended segment will not come up in the user exit.
    Please Help !
    Many thanks
    Gaspare

    What do you mean by "My extension segment will not appear onto this user exit."? It will not be there, you will have to fill it and append it to the EDIDD table. In thh user exit, you will append the records for segment zzzzz(your extended segment) at the appropriate place.
    Say the standard IDOC has the structure like below
    A
    --B
    --C
    D
    and you added extended segment at the same level as B and C. In that case, you have to append the new segment records at the end.
    If you added your segment as a child segment of B, then you will have to insert the records into the EDIDD table before the C segment.
    Srinivas

Maybe you are looking for

  • Updated iTunes to 10.3.1 and now it won't recognize my iPod

    I recently updated my iTunes to the latest version, and  now it won't recognize any of my apple products. I have a first gen iPod touch, 4th gen. ipod nano and 5th gen. ipod nano. The ipod does work still, and is chargeable through a dock or a AC ada

  • How do i turn off new zoom in and out function on IOS 7?

    Hi Apple support people How do i turn off the IOS 7 new zoom in and out function when opening and closing applications. The movement makes me sick and gives me a head ack when i use it. I can not find the option anywhere Thank you very much for your

  • MacBook Pro and WeatherPop menu bar issue

    I noticed that my weatherpop application is not automatically starting when my macbook pro boots up even though it is listed in my auto login list. So, I double clicked on it in the applications group and all it does is reload my menu bar and won't l

  • How to show PieChart Vertically instead of Horizontally?

    Hi, Like the title indicates, I hope that is there property or method or event allowing to show a PieChart Vertically instead of horizontally. Cheers,

  • File IO - how to read file (not contents)

    hello, i need to stream the file (everything, not just the contents) into a stream cipher in J2ME. the cipher (using BouncyCastle's API) has already been written, but i need to somehow stream the bytes of the file into it. how do i do that? and then,