2009 Jan 20 2:41 PM
I'm currently calling the maintenance view for a table with the followning code:
CALL FUNCTION 'VIEW_MAINTENANCE_CALL'
EXPORTING
action = p_action
view_name = p_tabname
EXCEPTIONS
OTHERS = 1.However I would like to disable the user from creating new entries, allowing them only to modify existing records. Is there any standard functionality to acheive this or will it require a bespoke solution?
2009 Jan 20 3:00 PM
Hello Chris,
One of the tables passed to you FM is EXCL_CUA_FUNCT.
You can pass the value DELE and NEWL to prevent the addition of new lines and the deletion
of existing ones.
Hope that helps a bit.
Regards
Greg Kern
Hello Chris,
One of the tables passed to you FM is EXCL_CUA_FUNCT.
You can pass the value DELE and NEWL to prevent the addition of new lines and the deletion
of existing ones.
Hope that helps a bit.
Regards
Greg Kern
2009 Jan 20 2:47 PM
With the parameter ACTION, you specify the processing action to be performed. Possible actions are:
S = Display
U = Change
T = Transport
However even from SM30 Maintain allows you to Create new entries and the same is true theough this FM also.
You may have to have a little workaround to tackle this probably.
Edited by: Ankesh on Jan 20, 2009 8:19 PM
2009 Jan 20 2:56 PM
Chris,
Use a select statement for your table to check the existance of a particular record and call function module only if a records exists in system .
Thanks ,
Tushar ..
2009 Jan 20 3:00 PM
Hello Chris,
One of the tables passed to you FM is EXCL_CUA_FUNCT.
You can pass the value DELE and NEWL to prevent the addition of new lines and the deletion
of existing ones.
Hope that helps a bit.
Regards
Greg Kern
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |