Skip to Content
avatar image
Former Member

Whats the difference between SM30 and SM31

Hi,

Just curious to find why does SAP provide SM30 and SM31 transaction. The tcode looks same and for the purpose of table maintenance.

any idea why?

Regards,

Vijayendra

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

6 Answers

  • Best Answer
    avatar image
    Former Member
    Sep 14, 2005 at 11:59 AM

    Hi vijay,

    Using SM31 and SM30

    SM31 and SM30 can also be used to display and update table data. SM31 is an older version of SM30 that has less functionality. The input field on the first screen of SM30 is long enough to accommodate any table name; on SM31 it is only five characters long. Before you can use either one, a special program called a standard maintenance dialog must be generated for the table you want to display.

    A standard maintenance dialog is an ABAP/4 program that you generate. When you invoke SM31 or SM30, the data browser will automatically find and invoke that generated program. It provides a more complex interface and more functionality than SE16. For more information on maintenance dialogs and the procedure to create them, consult the R/3 Library help.

    below link might help you.

    http://www.sapdevelopment.co.uk/tips/tips_tabmaint_tcode.htm

    if it helps you reward with points and close the thread if your question is solved

    regards,

    venu.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 15, 2005 at 07:29 AM

    Hi ,

    As of 46 release SM31 points to SM30 .

    To see original SM31 you can still goto SM31_OLD.

    You can realize the added functionalities in SM30.

    Also read OSS 28504 . I guess your curiosity ends here .

    All SAP cutomizing transaction use SM30 ( with Table / View Maint Dilaogs ) now.

    Award suitable points if you found answers helpful.

    Cheers.

    Sanjay

    Add comment
    10|10000 characters needed characters exceeded

  • Sep 14, 2005 at 11:53 AM

    Hi,

    standard table maintenance functions is transaction SM31, extended table maintenance functions is transaction SM30

    Eddy

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 14, 2005 at 12:43 PM

    Hi Eddy & Venu,

    Thanks for your replies. Indeed appreciate that.

    Eddy ~ could you provide some more details?

    venu~ Thanks for the information. I have couple of questions for you.

    Actually i am descently good in ABAP so am aware of the use of table maintenance dialogs and the generated objects and all the complexcity associated with it. However i was not aware of the availablity of two tcodes. As you have mentioned about the difference that one is absolete and one supports a longer object name then the other.

    I just tried to create a table with the maximimum possible length and also tried to create maintenance dialogs. I was successfully able to maintain the table in both SM30 and SM31. So i think both the tcode supports longer object names. I also checked the menu and other functionality everything looks same not sure why one is obsolete and why one is new. I just checked the program names associated with both these tcode and surprisingly both the tcode looks up to the same program SAPMSVMA.

    So am not really convienced why there are two tcodes.

    Anyways thanks for your time and truly appreciate your response and the useful link.

    Thanks and take care,

    Vijayendra

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 14, 2005 at 02:02 PM

    Hi Eddy,

    Thanks the link was useful.

    cheers

    VJ

    Add comment
    10|10000 characters needed characters exceeded

  • Sep 15, 2005 at 07:05 AM

    Hi Vijayendra Rao;

    SM31 is called Standard Table Maintainance Tool & SM30 is called as Enhanced Table Maintainance.

    Both SM30 and SM31 use the same program SAPMSVMA. But not all Table can use the Transaction SM30.

    SM30 can be use to Call View Maintenance

    SM31 can Call View Maintenance Like SM30.

    Thats why it is maintained separately in SAP R/3.

    Cheers...

    Add comment
    10|10000 characters needed characters exceeded