10-14-2008 1:03 PM
Hi,
Can anyone explain how to create Tcode for a table.
Regards.,
G Kumari
10-15-2008 9:34 AM
Hi Kumari,
Follow these steps :
1. go to transaction SE93 , give your own transaction code say ztran_tab, for maintaining your ztable.
2. Click on create button and check the radio button Transaction with parameters (PARAMETER TRANSACTION) and click on the tick button.
3. In the next screen enter default values:
transaction : SM30
check the check box skip initial screen
4. Scroll down you will find a table control for default values
Name of the screen field | value
VIEWNAME | your ztable name
SHOW | X
Save your work.
Now as you have created a custom transaction for maintaining your ztable this transaction can be called from any program with CALL transaction 'XXX'.
Hope this information will help you.
Regards,
Nikita.
10-14-2008 1:07 PM
Hi,
You need to create Parameter Transaction.
When you create a tcode from SE93, select parameter transaction radiobutton.
Give SM30 as the tcode.
Press Enter.
Now, go to the table control.
press F4, Select Viewname ... and assign your table control name on the right side of the table control.
If you want to have display, than select DISPLAY from the F4 help and set the value 'X'.
Regards,
Omkaram.
10-14-2008 1:08 PM
10-15-2008 9:34 AM
Hi Kumari,
Follow these steps :
1. go to transaction SE93 , give your own transaction code say ztran_tab, for maintaining your ztable.
2. Click on create button and check the radio button Transaction with parameters (PARAMETER TRANSACTION) and click on the tick button.
3. In the next screen enter default values:
transaction : SM30
check the check box skip initial screen
4. Scroll down you will find a table control for default values
Name of the screen field | value
VIEWNAME | your ztable name
SHOW | X
Save your work.
Now as you have created a custom transaction for maintaining your ztable this transaction can be called from any program with CALL transaction 'XXX'.
Hope this information will help you.
Regards,
Nikita.