2008 Jan 22 9:00 AM
Please guide me how to create Tcode for Custom table Bcoz here the intention is we can directly do table maintainence by just giving the tcode..
Here we need not got to SM30 !!!
2008 Jan 22 9:03 AM
Hi,
Go to SE93, enter tcode, click create, enter description,
select radiobutton for "transaction with parameters",
in the next screen, select radiobutton for transaction, enter SM30, and click the "Skip initial screen".
Then in the default values box at the bottom, enter VIEWNAME on the left and the name of the table on the right, next line put UPDATE on the left and X on the right.
Save it.
Regards,
Satish
2008 Jan 22 9:03 AM
Hi,
You can create a custom program, call SM30 put the table name and SKIP the 1st screen.
If you are thinking about the authorization for SM30, then you just have to create a program like SM30 for that certain table.
2008 Jan 22 9:05 AM
You can create new Tcode from Tcode SE93
Fill all the attributes
Give your custom txn name 'ZTXN'.
Give the Short text for it .... (This short text will appear if u choose this txn as favourites on SAP Easy access)...
Select the Object type of your program from the 5 radiobuttons that come up..Select 2nd option if its a report program. Press Enter.
When you go to the next screen, Enter name of the Program(ZPROG) you are intending to make the transcation for ...
Save the Transaction.
Now you can type the transaction ... 'ZTXN' in the command bar that will take you to the selection screen of the program ZPROG...
or
After creating table maintenance for the required table do as below.
1. Transaction: SE93
2. Enter Short Text
3. Select Radio button "Transaction with Parameters(Parameter Transaction)"
4. Next screen, give transaction as SM30
5. Check "Skip Initial Screen"
6. Under Detault Values tab give two rows
a. VIEWNAME for screen field and <your table name> for value
b. UPDATE for screen and 'X' as value
7. Save and Execute
Regards
naresh
2008 Jan 22 9:07 AM
Hi,
If user does not have authorization of SM30 then you need to create a separate module pool program for Table maintenance and then assign a tcode to that program.
And if the user have authorization to SM30, then you can just create a transaction in SE93 by choosing 'Transaction with Parameter' option by giving Transaction as SM30 and Parameter as your Table name.
Hope this helps.
*Reward if useful
Regards,
Archana
2008 Jan 22 9:08 AM
hi,
Go to SE93-->Tcode and click create,
Enter description,
check radiobutton for transaction with parameters and
in the next screen, check radiobutton for transaction, enter SM30, and click the Skip initial screen.
Then in the default values box at the bottom, enter VIEWNAME on the left and the name of the table on the right, next line put update on the left and X on the right.