07-04-2007 5:19 AM
hi...
can we create a transactions for user created tables n reports? if yes how.. explain pls.
regards,
ypr.
07-04-2007 5:21 AM
07-04-2007 5:22 AM
Hi,
goto SE93,
create new transaction - give name - create
select type and entrer report name
Jogdand M B
07-04-2007 5:25 AM
07-04-2007 5:30 AM
hi,
<b><u>how to create a a T-code for table</u></b>
Go to se93.
Then create the new T.code.
Under that select parameter ' Transaction '.
Then give the sm30 in the t.code in default values tab.
check the checkbox skip initial screen.
in classification tab.
click checkbox inherit gui attributes..
Now below..
In the default values..
WRITE
viewname = give ur table name.
show = X
save and check it once...
now u can able to call ur table through ur new t.code...
Regards
anversha
07-04-2007 5:32 AM
Try this :
Once you geenrate the table maintenance for that Z table
use the tcode SM30 to add/change the entries in that table.
If you wants to create a new Tcode you can create using the Transaction SE93
for authorization object see the doc;
In general different users will be given different authorizations based on their role in the orgn.
We create ROLES and assign the Authorization and TCODES for that role, so only that user can have access to those T Codes.
USe SUIM and SU21 T codes for this.
Much of the data in an R/3 system has to be protected so that unauthorized users cannot access it. Therefore the appropriate authorization is required before a user can carry out certain actions in the system. When you log on to the R/3 system, the system checks in the user master record to see which transactions you are authorized to use. An authorization check is implemented for every sensitive transaction.
If you wish to protect a transaction that you have programmed yourself, then you must implement an authorization check.
This means you have to allocate an authorization object in the definition of the transaction.
For example:
program an AUTHORITY-CHECK.
AUTHORITY-CHECK OBJECT <authorization object>
ID <authority field 1> FIELD <field value 1>.
ID <authority field 2> FIELD <field value 2>.
...
ID <authority-field n> FIELD <field value n>.
The OBJECT parameter specifies the authorization object.
The ID parameter specifies an authorization field (in the authorization object).
The FIELD parameter specifies a value for the authorization field.
The authorization object and its fields have to be suitable for the transaction. In most cases you will be able to use the existing authorization objects to protect your data. But new developments may require that you define new authorization objects and fields.
http://help.sap.com/saphelp_nw04s/helpdata/en/52/67167f439b11d1896f0000e8322d00/content.htm
To ensure that a user has the appropriate authorizations when he or she performs an action, users are subject to authorization checks.
Authorization : An authorization enables you to perform a particular activity in the SAP System, based on a set of authorization object field values.
You program the authorization check using the ABAP statement AUTHORITY-CHECK.
AUTHORITY-CHECK OBJECT 'S_TRVL_BKS'
ID 'ACTVT' FIELD '02'
ID 'CUSTTYPE' FIELD 'B'.
IF SY-SUBRC <> 0.
MESSAGE E...
ENDIF.
'S_TRVL_BKS' is a auth. object
ID 'ACTVT' FIELD '02' in place 2 you can put 1,2, 3 for change create or display.
The AUTHORITY-CHECK checks whether a user has the appropriate authorization to execute a particular activity.
This Authorization concept is somewhat linked with BASIS people.
As a developer you may not have access to access to SU21 Transaction where you have to define, authorizations, Objects and for nthat object you assign fields and values. Another Tcode is PFCG where you can assign these authrization objects and TCodes for a profile and that profile in turn attached to a particular user.
Take the help of the basis Guy and create and use.
Regards,
Ranjita
07-04-2007 5:52 AM
under the default values it is asking name of the screen fields and values.
what i have to write there can u pls explain.
07-04-2007 6:22 AM
Pandu,
Default values screen is used to give the projects and subprojects when we are creating a tcode for LSMW.
When you are creating a tcode for lsmw choose parameters with tranasaction radio button.
K.Kiran.
Message was edited by:
Kiran K
Message was edited by:
Kiran K
07-04-2007 5:28 AM
Hi,
Just use the transaction se93 and enter the program name.
Thanks
07-04-2007 5:34 AM
Pandu,
After creating table and table maintainance i.e maintaining the table using SM30.
- Goto SE93
- Give your custom transaction start with Z or Y e.g: Ztest
- Check "Create transaction with parameters"
- Give Transaction code "SE30"
- Check "Skip initial screen"
- In default values (Find it at the end of the screen) give Name of screen field as UPDATE and value as "X" and then save it.
Then save it.
All the very best to you.
- VAMSI
07-04-2007 5:56 AM
07-04-2007 6:16 AM
Pandu,
After creating table just follow these steps.
- goto Utilities.
- Select Table maintenance generate.
- Give Short description and no of screens as 2, give screen 1 as your wish.
- Click on Generate table.
All the best.
- VAMSI
07-04-2007 5:36 AM
Pandu,
You can create a tcode for even LSMW.
K.Kiran.
Message was edited by:
Kiran K