04-10-2008 3:38 PM
Hi All,
I have a requirement where when we access table from se16 we get a default selection screen...So the same selection screen should b displayed when that table is accessed directly with a transaction code attached to it..i mean the path is Tcode -->selection screen --> table/view contents.
04-10-2008 5:13 PM
HI Srinivas,
go to se93
create tcode and select radio button transaction with parameter.
then provide the transaction as SE16
check skip selection screen checkbox
and scroll down..
give the default values...
select DATABROWSE-TABNAME and values is ur table name
and select all the GUI support check boxes.
save and execute the tcode u created...
Regards
Syed A
04-10-2008 4:15 PM
I want to b more clear and the line of action is as follows..custom Tcode --> selection screen --> Table contents(Ztable).
04-10-2008 4:26 PM
Hi,
i donot understand ur query.
But through report u can call as.........
*SET PARAMETER ID name FIELD fieldname
CALL TRANSACTION transaction name AND SKIP FIRST SCREEN*
it will call directly
04-10-2008 4:50 PM
Hi srinivas,
first let us discuss about your requirement.when you go to transaction se16 and enter a table name and then when you press enter you will get a selection screen to cretae or view contents of that table.you want to get that selection screen by entering any tcode in command bar.
if this is your requirement please follow these steps.
1)go to se16
2)enter the table name and then press enter.you will get a selection screen for that table as we discussed
3)in the selection screen go to menu item
System->Status...
you will get another screen
4)in that screen you will see
in SAP data->in Repository data->Program(Screen)
note that program name
5)go to se93(to create a transaction)
6)enter a tcode which you like and press create
7) you will get another screen and in that screen select the radio button
Program and selectio screen(Report Transaction)
8)you will get create report transaction screen
9)in that screen in program text box enter the program name that you noted earlier
10)check all the checkboxes in GUI support
11)save,check and execute the transaction.you will get the selection screen that you get when you use se16 for that table.
please check the screen by entering the tcode that you created in teh command bar.
please reward points if useful.
04-10-2008 5:13 PM
HI Srinivas,
go to se93
create tcode and select radio button transaction with parameter.
then provide the transaction as SE16
check skip selection screen checkbox
and scroll down..
give the default values...
select DATABROWSE-TABNAME and values is ur table name
and select all the GUI support check boxes.
save and execute the tcode u created...
Regards
Syed A
04-10-2008 5:30 PM
Hi Syed,
we could achieve the desired output as per ur guidelines but the table contents should be displayed by default in Alv settings...Could u provide us with some more inputs
04-10-2008 5:41 PM
Hi Srinivas...
It depends on user selection of displaying contents..
in table selection screen
goto settings menuitem and user parameters and in Data Browser TAB u can select ALV list or ALV grid display.
and also u cna select u want the contents with field name or field label.
Regards
Syed A
04-11-2008 6:37 AM
04-14-2008 7:53 AM
Hi Syed,
I had one issue with regard to the above..That is the user should be able to change /create entries to the table instead of the *disp option getting disabled*
There must be an authorization check in the program on the authorization object S_TABU_DIS. The check must contain a check on the specific authorization group for the table. Authorization group &NC& is not allowed to be used.
04-14-2008 8:47 AM
Hi All,
The exact issue is that when we access a table from sm30 and skip the inital screen we will be able to access the table entries directly....Now the point is that we had to attach a selection screen before these entries r displayed..in the same way as when we access the table from se16 we get a default selection screen.
04-14-2008 8:49 AM