Table maintenace generator
hi all,
i had created table maintenance generator for my ztable.
and now i made some changes to the table again do i need to maintain .
if so how?
regards,
siri.
Hi,
go to se11.
give the table name
press change..
In the menu..UTILITIES -> TABLE MAINTENANCE GENERATOR...
Press the change button..(Pencil icon)..
In the popup select the expert mode..
Then in there..press select all..
Press enter..
It will re-generate the Table maintenance..
Thanks
Naren
Similar Messages
-
How to create event in table maintenance generator
Hi guys,
I need to create an event for my table maintenace generator such that when the field land1 is filled, the landx field should take its data from t005t table. and the ladnx field should be display only, it can not be modified in table maintenance.
How can i create an event in table maint. gen? How am i going to do it?
thanks always,
markHi,
As mentioned in the last post go to the event screen by
Environment --> Modifications --> Events.
There you click on new entries and try writing your logic for event 21 i.e. after selecting 21 give some name of your event and write down the logic how you want to do this.
If event number 21 does not work then try 1. One of these two should work.
Hope this helps!!!
Regards,
Lalit -
EVENTS in table maintenance Generator
Hi, can u people help me while using EVENTS in Table Maintenance Generator. Means how can I perform different task using events.
Hi,
Using events in table maintenace generator, you can validate the fields, update the fields etc..There are events(01-New Entry), (02-Before Save); (03-After Save) etc... The respective events trigger on the action performed.
To create events : Goto table maintenace generator screen->Enviorement->Modifications->Events.
Select the from the list of events and peform based on ur requirement
Regards
Shiva -
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 -
Can we create table maintence generator with out key field
Hi,
I have created a ztable in that client is the primary key as I don't want any other field as primary key.
For this i have created table maintenace generator but when i open it in sm30 blnak screen is coming.
Here my question is can we create a table maintenace generator with out key field other than MANDT.
If it's possible please let me know.
Regards
hari>
Mathews Joseph wrote:
> I agree to the above points , but you can try one thing.
>
> When you create the table maintenance screen , from SE11 you assign a function group.
>
> Double click on the function group and you can go to the main program and open that in SE80, take screen generated and try manually adjusting the screen and putting the non key field details...
>
> Not sure this will work , but may be you can give it a try.
>
> Mathews
But the table could hold at most a single record (per client). The design is lacking.
Rob -
Table maintenance generator updation
Hi,
I created a table maintenance generator, in that table maintenace generator when ever a record was created, a idoc will be generated, in that idoc, a field will be updated with
value 'C'.
Simultaniously when I change the existing record 'U' will be updated in IDOC field.
Problem is how to know whether it is ia created record or update record?
Please
Thaks in advance.Check CDHDR and CDPOS tables . So whenever you do changes for a particular record or insert a new record . all the changes will be tracked in these tables.
In these table you have one field to identify wether it is updated or createe record .
That field will hold the values I(fir insert) U (for update)
Reward Points if useful
Regards,
Nageswar -
Table Maintenance Generator - Lock of entries from different user
Hi there,
It looks like that there are a lot of threads about table maintenance generators, but none related with this one. The case is when I created a customer table Ztable and using table maintenace generator to get the Tcode Ztcode. My questions is how can 2 different user at the same time running this Ztocde without locking with each other?
Thanks in advance!
WeidongHi there,
From what I know it can be done through customer ABAP program transaction code but not from Table maintenance generator generated Tcode.
Any suggestion?
Weidong -
Regarding Table Maintenance Generator of a Database Table.
Hi,
I have two DB tables (These tables were developed previously) i am asked to maintain entries in these tables.
The delivery class of both tables is 'C' and in the table maintenace generator both have the "Recording routine" as "STANDARD RECORDING ROUTINE". But one of the tables is prompting for Work Bench request and the other for Customizing Request.
Could anyone please guide me when a table asks for a Customizing Request and WorkBench request.
Thanks in Advance for your esteemed replies.
Regards,
Raghavendra Goutham P.Hi Raghavendra,
this is from help.sap.com
The delivery class controls the transport of table data for installation, upgrade, client copy and when transporting between customer systems. The delivery class is also used in the extended table maintenance.
The delivery class is also used in the Extended Table Maintenance (SM30).
It is not possible to transport the entered data using the transport connection of the generated maintenance interface for tables having delivery classes W and L.
Data that is entered is checked to see if it violates the namespace defined in table TRESC. If the data violates the namespace, the input is rejected.
Check this link for more info..
http://help.sap.com/saphelp_erp2005/helpdata/en/cf/21eb6e446011d189700000e8322d00/frameset.htm
Regards
Suresh Datti -
How to hide fields in Table maintenace screen
I have created a view with table maintenance generator. I would like to hide some fields. With event I am able to fill in those fields but I want to hide those from screen.
HI,
This is reff with ur below post, I have been stuck with same problem,
I got your code, how its functioning, but didn't get get where i have to write it.
plz tell me in brief.
Thanks in Advance.
Regards
Vivek
Re: How to hide fields in Table maintenace screen
Posted: Feb 6, 2009 11:42 AM in response to: Aarti Ramdasi in response to: Aarti Ramdasi
Click to report abuse... Click to reply to this thread Reply
Hi,
You can hide the fields like this..
For example
select-options:
s_carrid for spfli-carrid modif id gr1,
s_connid for spfli-connid modif id gr1,
s_cityto for spfli-cityto modif id gr2.
I am going to hide last fied..To do this
at selction-screen output.
if s_carrid is initial or s_connid is initial.
loop at screen.
if screen-group1 CS 'GR2'.
screen-active = 0.
modify screen.
endif.
endloop.
endif.
whenever u click on any one of the field i.e. carrid or connid the third field will displayed.Otherwies the last field cityto is not visible initially
Regards
Kiran -
Error while creating table maintainence generator !
Hi All ,
I want to create a table maintainence generator for table ZZFTLPNT . However I am getting the following error :
Typ Message text LTxt
Field ZZZFTLPNT-RRCTY shortened (new visible length: 000015)
Field ZZZFTLPNT-DRCRK shortened (new visible length: 000015)
Field ZZZFTLPNT-ROBJNR shortened (new visible length: 000009)
Field ZZZFTLPNT-SOBJNR shortened (new visible length: 000009)
Field ZZZFTLPNT-RRCTY shortened (new visible length: 000007)
Field ZZZFTLPNT-DRCRK shortened (new visible length: 000007)
Field ZZZFTLPNT-ROBJNR shortened (new visible length: 000004)
Field ZZZFTLPNT-SOBJNR shortened (new visible length: 000004)
Field ZZZFTLPNT-RRCTY shortened (new visible length: 000003)
Screen SAPLZZZFTLPNT 0001 could not be gene
Memory for screen LOAD is used up. bytes) is not
Please advise .Hi Pankaj
it is "Display/Maintenace allowed" and delivery class is 'A' .
Edited by: Ambar Patil on Dec 9, 2008 11:59 AM
Edited by: Ambar Patil on Dec 9, 2008 12:01 PM -
Table maintanance generator problem
Hi Experts,
I have created a Ztable with 5 fields like Field1,Field2,Field3,Field4,Field5. I have created Table maintenance generator for that table. I want to disable Field4(created By), Field5(created Date). I have modified in se80 tcode througg screen properties. I want to update the field4,Field5 fileds by sy-datum,sy-uname , How to do without using TMG events? Even TMG events also fine. but my firts preference is without TMG Events....Please give me some sample code. How to Modify the Extract table ?
Moderator Message: There are lot of discussions,documents,wiki links related to this topic. Please do some research before posting.
Message was edited by: Kesavadas ThekkillathHi ,
Try this also
go to Se11->Table maintenace generation. Double click on screen to edit and assign the field you want to display/hide to groups. In PBO , after the following lines..
LOOP AT EXTRACT WITH CONTROL
TCTRL_ZMARA CURSOR NEXTLINE.
MODULE LISTE_SHOW_LISTE.
ENDLOOP.
Write a new module in PBO and edit the SCREEN as per the Tcode, you are calling,,'
Hope this helps you -
Disabling fields in table Maintenance generator
Hi Experts,
I would like to restrict some fields in table maintenance generator dynamically/ statically.
Here is the situation.
I have generated table maintenance for the table ZMARA and I have created three transactions for the above single table maintenance generator.
i.e .. Transaction --- Table
ZT1 --- ZMARA
ZT2 --- ZMARA
ZT3 --- ZMARA
I am using above three transactions in my module pool program. Based on the certain conditions I am calling different transactions i.e ZT1, ZT2, etc
Here is my requirement:
Suppose if I call ZT1 transaction, I need to display only few fields. i.e ZMATNR, ZMTART, ZPRODH.
or remaining fields should disable. User should not allow to change the content, even if it is new entries/existing entries. only ZMATNR, ZMTART, ZPRODH.
Suppose if I call ZT2 transaction, I need to display only few fields. i.e ZMATNR, ZMTART, ZHTSCODE
How can we restrict dynamically when you call table maintenance generator table through transaction
or
How can we generate table maintenance for few fields?
Edited by: r badveli on Mar 16, 2009 4:27 PM
Edited by: r badveli on Mar 16, 2009 4:27 PM
Edited by: r badveli on Mar 16, 2009 4:28 PMHi ,
go to Se11->Table maintenace generation. Double click on screen to edit and assign the field you want to display/hide to groups. In PBO , after the following lines..
LOOP AT EXTRACT WITH CONTROL
TCTRL_ZMARA CURSOR NEXTLINE.
MODULE LISTE_SHOW_LISTE.
ENDLOOP.
Write a new module in PBO and edit the SCREEN as per the Tcode, you are calling,,'
Hope this helps you
Rj -
Table maintenace - adding my own screen fields
Hi, I made a table zx with 4 columns and table maintenace also. Besides I need a column on the screen wich is not exist in my table. This column must be fiiled by values that are taken according values of first column..
I add this column on the screen by se80 and made such changes in code
PROCESS BEFORE OUTPUT.
MODULE LISTE_INITIALISIEREN.
LOOP AT EXTRACT WITH CONTROL
TCTRL_ZPM_144_EQ_STTYP 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 ZPM_144_EQ_STTYP-EQART .
FIELD ZPM_144_EQ_STTYP-STTYPE_10 .
FIELD ZPM_144_EQ_STTYP-STTYPE_20 .
FIELD ZPM_144_EQ_STTYP-STTYPE_30 .
FIELD ZPM_144_EQ_STTYP-STTYPE_40 .
MODULE INIT_EARTX. <--- my module
MODULE SET_UPDATE_FLAG ON CHAIN-REQUEST.
ENDCHAIN.
FIELD VIM_MARKED MODULE LISTE_MARK_CHECKBOX.
CHAIN.
FIELD ZPM_144_EQ_STTYP-EQART .
MODULE LISTE_UPDATE_LISTE.
ENDCHAIN.
ENDLOOP.
MODULE LISTE_AFTER_LOOP.:
MODULE INIT_EARTX INPUT.
DATA: t_EARTX TYPE TABLE OF T370K_T-EARTX WITH HEADER LINE.
SELECT SINGLE EARTX FROM T370K_T
INTO t_EARTX
WHERE EQART = ZPM_144_EQ_STTYP-EQART AND
SPRAS = SY-LANGU.
APPEND t_EARTX.
ENDMODULE.
But I don't know how to display values on the screen. I know that it must be done ib PBO but HOW???Hello John
You should not modify the flow logic of the automatically generated dynpros. Instead, use the maintenance events of the view.
<a href="http://help.sap.com/saphelp_nw04/helpdata/en/91/ca9f0ea9d111d1a5690000e82deaaa/content.htm">Extended Table Maintenance Events</a>
In your case you may use <u><b>Event 26 before displayed data is output in a list</b></u> or <u><b>Event AA instead of the standard data read routine</b></u>.
Please refer to the SAP documentation for details of implementing this events.
The big advantage over your approach is that when you completely regenerate the dynpros your coding will be lost whereas the events remain.
Regards
Uwe -
Table Maintenace validations on screen
I would like to know as to how we can include validations while entering data into a ZTABLE.
I create a z-table and generate table maintenance. When the user enters data in the table i would like to auto populate 1 of the table fields based on other entires. How can i put the validations on the maintenace screen?
Thanks
EdaHi, yes lots of changes in the ABAP forum area! Blog coming soon.
Please check this thread for your question.
Re: Table maintenance
Regards,
Rich Heilman -
Hi...Regarding Table maintenance generator
Hi..
What is the purpose of table maintenance generator.
In which scenario, we will create table maintenace.
Regards
Sandeep.Hi Sandeep
hope it will help you.
Reward if help.
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.
Maybe you are looking for
-
WLS 6.1 SP4- SP5/SP6
Good morning, I tried re-running weblogic.ejbc on my ejb-jar files and it failed with the same error. I am using Javlin for a transactional cache with WebLogic and I don't think it knows anything about the getLoadUser and setLoadUser methods. I had t
-
Number of lines in SAP B1 2007A
Hi all. We have a client that use SAP B1 2007A on a SQL server 2005. The sometimes make very big sales quotations which exists of maybe 3000 rows. To my understanding, there is documentation saying there is no limitations on amount of rows it only af
-
Error parsing! Element "process" must have no character [children],
hi, Please does any1 know how to fix this error ? when deploying the poroject i got : XML parsing failed because Element "process" must have no character [children], because the types content type is element-only......" when double clicking on the ab
-
Do new ODAC 11 feature work against Database 10.2
Hi, Do features new in ODAC 11 work against Database 10.2. I'm mainly interested in "End-to-End Tracing using Action and Module attributes" Thanks
-
Concurrent Users for Query BEx
Hi BW Experts, my concerns are related to the simultaneous access to a query BEx. On a total amount of 3000 users I have 300 concurrent users, launching the same query in the same time. Two are my issues: 1 - how can I test the simultaneous launch of