'Position' Button in Table Maintenance Generator
Hi,
i am using 'Position' button to navigate to particular entry in the table in table maintenance generator.
as far as i know this will correctly when we provide 'left part' of key in the pop up provided by position button.
however in my case where i changed the column positions in the table maintenance generator which includes key fields.
does it going to affect 'Position' functionality? because position button is not taking me to correct positions now.
please suggest....
Did you change the key field order in the table structure in SE11 or did you manipulate the table maintenance screens by changing the key column order?
In either case, you can regenerate table maintenance by clicking the change button in SE55 and selecting all check boxes. This will correct the issue. However, check if you have any custom events written or modified screens, as those changes will have to be restored after regeneration
Similar Messages
-
Additional buttons in Table Maintenance generated program
Hello all,
I'm looking for a way to add additional buttons on the generated table maintenance program. Such a program is generated via Dictionary transaction SE11 and then the Menu choice Utillities --> Table Maintenance generator (or use transactiob SE54).
The program generated is based on the standard SAP function group SVIM (of which components are copied to the table maintenance program). In the function group SVIM the STATUS objects are located (but they are standard SAP). In order to modify them (add some additional buttons) i am seeking a method for this.
Thanks in advance,
Rob.Hi Rob,
Use transaction SE54, enter the name of your table, choose radiobutton 'Generated Objects' and choose 'Create/Change'. In the next screen there is an option in the menu Environment -> Modification -> User Interface. Here you can choose to use an Individual Interface where you can add the buttons you need.
Regards,
John. -
Purpose of table maintenance generator
wht is the purpose of table maintenance generator
Hi Pavan,
The purpose of table maintainence generator is to enable the table maintenance through SM30, and to implement and validation etc on table field inputs.
SE11->Utillities->table maintainence generator
You need to enter the values of following fields:
1. Table name
2. Authorization group , and authorization object (select the suitable one )
3. Function group and package
4. Maintainence type : single or double screen maintainence view depending on the option selected.
5. Maintain screen number : you may specify a value or let the system generate one for you.
The validation code for the table entry is written in the flow logic of this screen. Even some of the fields may be made display only , by adding suitable code in the logic or directly disabling the input in table control in the layout.
Table maintanance is for creating,adding datas to an existing table.
it is for adding muiltiple records at a time in the table
A table can be manipulated by a program or manually.
When creating table, you will find a check box 'Table maintenance allowed'. If we
check that option, we can manually enter entries using SE16 or table
maintenance generator screen.
SE16 is for data browser.
Go to SE11, give the table name and click on change. Then Go to utilities--> Table
maintenance generator.
In the table maintenance generator screen, we should give Authorization Group,
Function Group name (Function Group name can be same as table name),
Maintenance type can be one step or two step, usually we will create with one
step. we should give maintenance screen number. After clicking on create button,
a table maintenance generator will be created.
To check it go to SM30 . In SM30, we find display, Maintain options.
We can view the table contents by choosing Display and we can create table
entries by choosing Maintain.
In the production system, end-users will not be having access to transaction
codes like SE11 and SE16. Developers will not be having access to many
transaction codes including the above two.
To view the contents of the database table, we will use SE16n in Production
system. Please find out the difference between SE16 and SE16n.
All these authorizations will be maintained by BASIS team, by creating access
profiles.
So in order to edit or create the contents of a database table, we should go for
table maintenance generator. In real time, authorizations will be maintained in
production system. (even in development and Test systems to some extent).
There is an audit like Sarbanes-Oxley Act for American clients, where every thing
will be audited by government agency. To know more about SOX, use the links on
the right hand side of this page.
The second reason is, we can edit or create multiple entries at a time, using table
maintenance generator.
Apart from that we have options like 'Enter conditions' in table maintenance
screen SM30. Please try to find out the use of those, by creating an example.
Table Maintenance generator: Difference between one step and two steps.
While creating table maintenance generator, we find below options:
When we choose one step, we have to give the screen number in Overview Screen field.
When we choose two step, we have to give both overview screen number and single screen number.
You can give any number for screen. Dont give 1000 screen number. As this
number is reserved for selection screen.
When we choose two step, two screens will be created for table maintenance. For
single step only one screen will be created.
When we choose two step, table maintenance will work as follows
Go to SM30, give the table name for which you have created table maintenance-
Overview screen will be displayed. To create entries, when you click on new
entries. Another screen will be displayed, where you give input and save. You can
enter one record at a time.
Go to SM30; give table name for which you have created table maintenance-
Overview screen will be displayed; To create entries click on new entries, you can
enter the records on the same screen. You can enter multiple records at a time.
We use single step generally, as it is user friendly.
To completely understand the difference and above points please do exercise by
creating table maintenance generator in both ways (using single step and two
step).
Link: [http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ed2d446011d189700000e8322d00/content.htm]
Link: [http://help.sap.com/saphelp_46c/helpdata/en/a7/5133ac407a11d1893b0000e8323c4f/frameset.htm]
Link: [/message/2831202#2831202 [original link is broken];
One step, two step in Table Maintenance Generator
Single step: Only overview screen is created i.e. the Table Maintenance Program will have only one screen where you can add, delete or edit records.
Two step: Two screens namely the overview screen and Single screen are created. The user can see the key fields in the first screen and can further go on to edit further details. -
What is the purpose of TABLE MAINTENANCE GENERATOR IN ABAP DDIC
CAN ANY EXPLAIN ME
1.what is the purpose of TABLE MAINTENANCE GENERATOR IN ABAP DDIC?
2. AND THE CONTENTS IN ITS TABS.
KINDLY LET ME KNOW.IT IS URGENT
<REMOVED BY MODERATOR>
Edited by: Alvaro Tejada Galindo on Feb 28, 2008 11:42 AMGo to SE11, give the table name and click on change. Then Go to utilities--> Table maintenance generator.
In the table maintenance generator screen, we should give Authorization Group, Function Group name (Function Group name can be same as table name), Maintenance type can be one step or two step, usually we will create with one step. we should give maintenance screen number. After clicking on create button, a table maintenance generator will be created.
To check it go to SM30 . In SM30, we find display, Maintain options.
We can view the table contents by choosing Display and we can create table entries by choosing Maintain.
Why we have to go for Table maintenance generator, when we can edit the table by SE16 or SE11, utilities->create entries?
In the production system, end-users will not be having access to transaction codes like SE11 and SE16. Developers will not be having access to many transaction codes including the above two.
To view the contents of the database table, we will use SE16n in Production system. Please find out the difference between SE16 and SE16n.All these authorizations will be maintained by BASIS team, by creating access profiles.
So in order to edit or create the contents of a database table, we should go for table maintenance generator. In real time, authorizations will be maintained in production system. (even in development and Test systems to some extent).
There is an audit like Sarbanes-Oxley Act for American clients, where every thing will be audited by government agency. To know more about SOX, use the links on the right hand side of this page.
The second reason is, we can edit or create multiple entries at a time, using table maintenance generator.
Apart from that we have options like 'Enter conditions' in table maintenance screen SM30. Please try to find out the use of those, by creating an example.Table Maintenance generator: Difference between one step and two steps.
While creating table maintenance generator, we find below options:
1. When we choose one step, we have to give the screen number in Overview Screen field.
2. When we choose two step, we have to give both overview screen number and single screen number.
You can give any number for screen. Dont give 1000 screen number. As this number is reserved for selection screen.
When we choose two step, two screens will be created for table maintenance. For single step only one screen will be created.
When we choose two step, table maintenance will work as follows:
Go to SM30, give the table name for which you have created table maintenance-
Overview screen will be displayed. To create entries, when you click on new entries.
Another screen will be displayed, where you give input and save.
You can enter one record at a time.
We use single step generally, as it is user friendly.
To completely understand the difference and above points please do exercise by creating table maintenance generator in both ways (using single step and two step).
<REMOVED BY MODERATOR>
regards,
Balaji
Edited by: Alvaro Tejada Galindo on Feb 28, 2008 11:42 AM -
Canceling previous table maintenance generator screen
Hi all,
When we create a screen via table maintanence generator to enter data into the table.
However I want to cancel this action, is it possible? That is, I have used table maintenance generator and completed the all process, however now I want to cancel it...
Thanks.Hi,
There is a delete button in Table Maintenance Generator. Click it. Select all the Options and click Delete.
Awrd points if useful
bhupal -
What is table maintenance generator
What is table maintenance generator? how is it to create and wt is it's use?
Hi
It is used for maintaining the tables.
<u><b>Process</b></u>
Go to SE11, give the table name and click on change. Then Go to utilities> Table
maintenance generator.
In the table maintenance generator screen, we should give Authorization Group,
Function Group name (Function Group name can be same as table name),
Maintenance type can be one step or two step, usually we will create with one
step. we should give maintenance screen number. After clicking on create button,
a table maintenance generator will be created.
To check it go to SM30 . In SM30, we find display, Maintain options.
We can view the table contents by choosing Display and we can create table
entries by choosing Maintain.
Reward if useful
Regards
Raghav -
Button "Position" can't work in sm30 when use Table maintenance generator
Hello guys,
i have created a table and use 'Table Maintenance Generator' to generate the code. When i run sm30 and click the button 'Position', it can not work.
i enter '/h' to debug it and find the value'POSI' is not assigned to ok_code.
Some tables created before are OK. What's the matter with it?
Many Thankshello daniel,
there is very possibility that some inconsistency might be occured while generating table maintenance generator. So i would advice u to create ur table maintenance generator once more after deleting the current one.
Reward properly. -
Disable delete button in Table Maintainance Generator
Hello all,
How to disable delete button in Table maintainance generator???Hi Maya,
It is very interesting question. If you debug your table maintenance screen, the program of table maintenance screen will not have statically defined pf status. So you cannot exclude delete functionalities using the below statement.
SET PF-STATUS <the GUI status> EXCLUDING 'DELE'.
For viewing pf status SAP has programmed in dynamic manner using this FM VIEW_SET_PF_STATUS.
Before calling above FM you need to exclude delete function. Follow the following step for achieving this
Go to sm30. Put your table name and press on maintain push button. It will display table entries in maintenance screen.
Go to system->status
Click on program name.
Go to your flow logic of you table maintenance screen number.
It will have following code in flow logic
PROCESS BEFORE OUTPUT.
MODULE LISTE_INITIALISIEREN.
LOOP AT EXTRACT WITH CONTROL
TCTRL_ZMAINTAIN CURSOR NEXTLINE.
MODULE LISTE_SHOW_LISTE.
ENDLOOP.
PROCESS AFTER INPUT.
MODULE LISTE_EXIT_COMMAND AT EXIT-COMMAND.
MODULE LISTE_BEFORE_LOOP.
LOOP AT EXTRACT.
MODULE LISTE_INIT_WORKAREA.
CHAIN.
FIELD ZMAINTAIN-MATNR .
FIELD ZMAINTAIN-KUNNR .
FIELD ZMAINTAIN-LIFNR .
MODULE SET_UPDATE_FLAG ON CHAIN-REQUEST.
ENDCHAIN.
FIELD VIM_MARKED MODULE LISTE_MARK_CHECKBOX.
CHAIN.
FIELD ZMAINTAIN-MATNR .
MODULE LISTE_UPDATE_LISTE.
ENDCHAIN.
ENDLOOP.
MODULE LISTE_AFTER_LOOP.
Add new module in PBO for excluding delete function. ex module set_pf.
PROCESS BEFORE OUTPUT.
****here I added my own code for excluding delete function
****begin of addion
module set_pf.
****end of addition
MODULE LISTE_INITIALISIEREN.
LOOP AT EXTRACT WITH CONTROL
TCTRL_ZMAINTAIN CURSOR NEXTLINE.
MODULE LISTE_SHOW_LISTE.
ENDLOOP.
PROCESS AFTER INPUT.
MODULE LISTE_EXIT_COMMAND AT EXIT-COMMAND.
MODULE LISTE_BEFORE_LOOP.
LOOP AT EXTRACT.
MODULE LISTE_INIT_WORKAREA.
CHAIN.
FIELD ZMAINTAIN-MATNR .
FIELD ZMAINTAIN-KUNNR .
FIELD ZMAINTAIN-LIFNR .
MODULE SET_UPDATE_FLAG ON CHAIN-REQUEST.
ENDCHAIN.
FIELD VIM_MARKED MODULE LISTE_MARK_CHECKBOX.
CHAIN.
FIELD ZMAINTAIN-MATNR .
MODULE LISTE_UPDATE_LISTE.
ENDCHAIN.
ENDLOOP.
MODULE LISTE_AFTER_LOOP.
*****inclule one line of code for excluding delete fucion
module set_pf output.
MOVE 'DELE' TO excl_cua_funct-function. COLLECT excl_cua_funct.
endmodule.
Basically sap fetching status dynamically from program SAPLSVIM using FM VIEW_SET_PF_STATUS. Status name is EULG.
Please donu2019t hardcode anything by using set pf status statment, you just add one line of code the PBO by creating new module.
Let me know if you need any help .
Cheers.
Regards,
Peranandam -
How to create table maintenance generator?
Dear Sir/Madam,
when i am creating table maintenance generator , it asks for function group
i give 0MB8 , it says u r going to change function group which does not belongs to u,
then i created a function group yfg9 and given , it then says yfg9 cannot be processed.
please telll me how to create the table maintenance generator for maintenance view yv_mmim_rep_cust.
Thanks in advance,
DastagiriHi ,
Table Maintenance generator is used to maintain data in table , instead of giving access to se11 , we create a tcode for this table maintenance generator and we will give this tcode to end-user to maintain data
To generate table Maintenance generator :
click on UTILITIES in menu bar
-> table maintenance generator
-> enter Authorization Group as : &NC&
-> Enter Function Group : name of your table ( so it will create a function group , to check this function group go to tcode se80 : then select function and enter your Table name )
-> Then click on find screen numbers in Application tool bar.
-> Then click on create button in Application tool bar
if it is created successfully , then you will get a status message like table maintained generator is created successfully. -
EVENT problem in Table maintenance generator
Hello all
I m working on 4.6C sytem. I m facing 2 problems in events in table maintenance generator
(1) I am using 04 event (After deleting records from table) I have written BREAK-POINT in the Form .....ENDFORM... But the control doesnt stop there , when i select an existing record and press delete record button? not able to understand this
(2) When i implement even t 03( Before deleting records from table) , and select an existing record and press delete record button . Control successfully Go to corresponding FORM ... BREAK-POINT ENDFORM .
But now the problem is.. in debuggin i can see the contents in TOTAL table but when i try to code LOOP at TOTAL ..ENDLOOP...it gives me syntax error saying " table TOTAL doesnot exists or not defined..but similar field TOTAL_S , TOTAL_M , TOTAL_L exists.. ???
how come i can see the same during debugging but cannot code it ?
Plese help
NileshHi Nilesh,
(1) I think the control will stop there after you delete AND save. Not sure about that but give it a try.
(2) I believe you are trying to access fields inside table TOTAL, is that right?
Actually you have to declare a work area with your Z table type.
DATA: w_workarea type ztable.
LOOP at total.
w_workarea = total.
endoop.
Then you can work with w_workarea.
Best regards. -
Help required on table maintenance generator
Hi all,
Would any one tell me what is the difference between one step and two step while creating a table maintenace generator for a table.
one more question is i would like to know which search the following code follows while it is executed.
select single vbeln
from vbak into l_vbeln
where vbeln in s_vbeln.
and
select vbeln
from vbak
into l_vbeln
up to 1 rows
where vbeln in s_vbeln.
please do reply soon for the questions.Hi
table maintanance Generator is used to manually
input values using transaction sm30
follow below steps
1) go to se11 check table maintanance check box under
attributes tab
2) utilities-table maintanance Generator->
create function group and assign it under
function group input box.
also assign authorization group default &NC& .
3)
select standard recording routine radio in table
table mainitainence generator to move table
contents to quality and production by assigning
it to request.
4) select maintaience type as single step.
5) maintainence screen as system generated numbers
this dialog box appears when you click on create
button
6) save and activate table
http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ed2d446011d189700000e8322d00/content.htm
http://help.sap.com/saphelp_46c/helpdata/en/a7/5133ac407a11d1893b0000e8323c4f/frameset.htm
/message/2831202#2831202 [original link is broken]
One step, two step in Table Maintenance Generator
Single step: Only overview screen is created i.e. the Table Maintenance Program will have only one screen where you can add, delete or edit records.
Two step: Two screens namely the overview screen and Single screen are created. The user can see the key fields in the first screen and can further go on to edit further details.
Difference Between Select Single and Select UpTo One Rows
According to SAP Performance course the SELECT UP TO 1 ROWS is faster than SELECT SINGLE because you are not using all the primary key fields.
select single is a construct designed to read database records with primary key. In the absence of the primary key, it might end up doing a sequential search, whereas the select up to 1 rows may assume that there is no primary key supplied and will try to find most suitable index.
The best way to find out is through sql trace or runtime analysis.
Use "select up to 1 rows" only if you are sure that all the records returned will have the same value for the field(s) you are interested in. If not, you will be reading only the first record which matches the criteria, but may be the second or the third record has the value you are looking for.
The System test result showed that the variant Single * takes less time than Up to 1 rows as there is an additional level for COUNT STOP KEY for SELECT ENDSELECT UP TO 1 ROWS.
The 'SELECT SINGLE' statement selects the first row in the database that it finds that fulfils the 'WHERE' clause If this results in multiple records then only the first one will be returned and therefore may not be unique.
Mainly: to read data from
The 'SELECT .... UP TO 1 ROWS' statement is subtly different. The database selects all of the relevant records that are defined by the WHERE clause, applies any aggregate, ordering or grouping functions to them and then returns the first record of the result set.
Mainly: to check if entries exist.
Reward points for useful Answers
Regards
Anji -
About table maintenance generator
hi,
1. why we have to give a function group name while creating table maintenance generator for a ztable.
2. while creating tmg we have to check one of the radio button under recording routine. wht does recording routine means?Hi,
Function Group - this will create a default main program where you can store the
events for the table maintainence.( where you can write the code for the table
maitainece)
standard recording - when the changes in the table maitainence automatically it will create request for the data to transport.
no recording - this will not create request(when you don't require the data in
Development server to transported to testing or Testing - to -Production.
atthat time you can select the radio button foe NO RECORDING.
Madhavi -
Reg. TABLE MAINTENANCE GENERATOR
hi ,
can anyone pls detail me on TMG.....
and also how to create a t.code for my table...
thanks,
CAPCTo create Table maintenance genetrator,
Go to Utilities->Table maintenance generator
Then Enter Authorisation group(For eg &NC&)
Function group ( You can create function group in SE37. Here in the menu GOTO->Function group-> Create group)
Then you can select either one step or two step. Assign Screen numbers (To assign Screen numbers click on the button 'Find Scr no' . It will propose screen no:s)
Then Create.Save
Table maintenance is created.
To create Tcode, Go to Se93
Enter A tcode name
Create
Select Transaction with parametrs
Enter some transaction text.
Transaction is SM30
Check Skip initial screen
Check Inherit GUI attribtes
gui SUPPORT - Select all check boxes
Under default values, enter
NAME OF SCREEN FIELD VALUE
VIEWNAME ZTABLE NAME
UPDATE X
save it
and try to use the TCode. -
Event for input validation in custom table (table maintenance generator)
Hello all,
I look for a solution to execute an event after the modification of a table field of a custom table to validate the user's input.
I already tried event 07 (Execution : Before correcting the contents of a selected field) of the table maintenance generator but it will be executed after some modification made by the Edit -> Change field action.
I could use the event 01 but in my opinion this event happens to late and errors are very uncomfortable for the user at that time.
Editing the dynpro events is not a solution for me because it should be easy to maintain the table structure at any time.
Thank you in advance
RobertThank you!
Event 08 just starts after the saving process after Event 07.
Event 18 gets executed when I click on the save button.
I want to check the data after the enter button was pressed as you can see it in several transactions. -
Table Maintenance Generator for the table "J_1ISTATECD"
Hi,
How to create Table Maintenance Generator for the table "J_1ISTATECD". Can anyone please explain the steps for this.
Thanks in advance....
Regards,
Sriram.Hi Sriram,
-->Create view in SE11
-->Goto transcation SE11 ABAP Dictionary
-->Select View and type in the name of the view you want to create.
-->Press the Create button
-->In the dialog box that appears, choose Maintenance View
-->Select tables and fields for the view
-->Activate the view
or
-->Create view in SE11
-->Goto transcation SE11 ABAP Dictionary
-->enter table name
-->go to Utilities
-->select table maintainance Genarator
-->Enter single step
--> enter Function Group(all the code for Table mainaitenace is stored here)
-->eneter single step
-->enter Authorization gorup(we can restrict some user,s not tot update data)
Activate the view
function Group -->goto se37 -- > menu bar goto->create function group with five letters ..
add the same function group in table maintainenece generatoror enter the sane table name in Function group Place..
if you dont know the Authorization group ( not given by Function design) put &NA&
or if you want to know the maintainence View already exists go to table TSTCV
enter Table name you can get the view available for the table name..
Regards,
Prabhudas
Maybe you are looking for
-
I have had Mozilla Firefox for years. My computer is a Dell 9100 , and I use Windows XP. I have upgraded to each version of Firefox that was offered to me. Each upgrade was quick and easily done--up to, and including, Firefox 3.6.10 . I tried many ti
-
Confusion about using non-Apple prod. on my powerbook with AE base station
I have a G5 and an base station. Always worked fine. Then I wanted to add a USB wireless "card" to my powerbook 12 inch G4. The salesman said they are not well supported by Apple. So i found an IO DATA Ethernet Converter WN-G54/C which promises MAc c
-
Problem with (MSIE?) Acrobat 8.2.0. Uninstalling/installing
First of all: Trying to uninstall and re-install Acrobat as it apparently got (messed up) when some fool installed Acrobat Reader 9.3 on the same computer, or at least, so I've been lead to believe. I had been trying to modify a security setting on
-
RenderMode options AIR 2.6
Hi, first of all, thank you for releasing one AIR version for all platforms, it makes things alot easier. But then again, I recognize that some things changed fundamentally, and it's hard to get an understanding of what's actually going on. My proble
-
How would I track my stolen macbook pro with retina display 15 inches?
I have left my bag inside taxi with my MacBook Pro with Retina Display 15 inches inside and therefore how will I track my Mac back. I also have serial number, part number, and model number of my MacBook Pro with me and I have on iCloud on my MacBook