Table maintaince generator
in table mintaince generaton when we give values why we click 2 times in local objects?plzz tell
The table maintenance generator creates more than one object and each of these has a development class (package). For each object you could in theory assign a different class (not that you would ever want to), so the generator prompts for a class for each one.
The top line of the pop up window has the name of the object created in each case.
Regards,
Nick
Similar Messages
-
What is table maintaince generator
what is table maintaince generator
plz tell me clearlyHi,
Table generator will check duplicate entries as any
other table .
the table maintenance for tables to enable entry, edit, display and delete functions for the table
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
using sm30 you can create entries manually.
Reward points if it helps.
Regards,
charitha. -
In table maintaince generator problem facing in modification - events
Hello,
My requirement is I created table maintenance generator and transaction code for table. So after filling values in table using transaction code. Now i need to delete multiple values by selecting records but problem is before deleting those values i need to check weather those values exists in intermediate table if those values exists in intermediate table then i need to delete only those records otherwise i should delete those records. Which event i need to u if you use event 03 how to capture the select records here i can see only one records selected.HI santhish,
you need to use event 3. in the form routine of event 3.
you have to check the records which needs to be deleted. once you are decided which records to be deleted. ask the user through pop-up window using FM popup_to_confirm . if the user says yes delete it other wise leave the screen.
hope this will helps you.
Regards,
Kiran -
Validation for records inTable maintaince generator
Hi friends,
I have created a table ZSTUDENT_INFO. and i have created a table maintaince generator for it....
now i have fields...
ZSCHOOL , ZCLASS , ZNAME , ZAGE , ZROLLNO.
now i have school and class as key fieilds....
now my requiremnet is when the user his entering his records
case 1) for same school and class the roll number is unique ie : we cant have 2 persons with same roll numbers
for example :
school class name age roll no
Adams 4 rahul 8 2
Adams 5 Rahul 9 2
adams 4 kiran 8 2
ist 2 records are differnet ist record is 4thclass and 2nd record is for 5th class but the rd record is same as ist record...
now in this case the user should not able to save the 3rd record as alredy same record is there..
case 2) when the user is entering the record he should check in the table whetther the same combination alredy exits in teh table or not .. if exists it should give us an error mesage saying data already exits..
How can i do this and where should i do this...
Regards
SatishHi satish,
First of all if it is a key field system will take care of giving the duplicate record error.
If you want to do any validations in table maintenance generator. Please check the following links or search the forum
with the Table Maintenace Generator events.
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/8129f164-0a01-0010-2a8e-8765287250fc?overridelayout=true
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/8129f164-0a01-0010-2a8e-8765287250fc
If i misunderstood your requirement, please elaborate the question.
Thanks -
Hi Experts,
I have created a tcode which is assinged to table maintaince generator of a table.in that table maintainace generator screen
when i click on new entries and when i enter data in the first field and press enter the cursor should automatically go to the second field and so on and when i enter the value in the last field and press enter the entry should automatically get saved. is there any possibility to implement this requirement because the code is generated automatically when i created the TMG.
Thanks in Advance,
Nishitha ReddyHi,
Go to your function assign to the TMG and you can use module LISTE_SHOW_LISTE to jump to the next column
using get cursor and set cursor.
and you can use module LISTE_UPDATE_LISTE to update or save your data on enter.
Thanks,
Anmol. -
Regarding Table maintainace generator
Frnds,
Hope all are doing good.
I am recently working on ECC 6.0 and i want to create table maintainance generator for a ztable. Actually i hav created function grp and passed in sm30 transaction and used single screen. Problem is when i double clicking the screen number its going to se 51 and going to a standard progam named with function grp
SAPLZNEWFUNCTION. From i m confused but in that already some standard code is maintained. But there i hav created screen comprising our ztable fields..
From there i m confused .. how to link with ztable and how to create standard transaction for entering data into that screen and updating the ztable.
Frnds i hav seen so many documents .. i dont need documents ..plzz guide me with proper steps for achieveing target.
thanking u all for reading my doubt and acting on it.
regards,
karanHere is the steps for making table maintaince generator ...
Creating Maintenance Views
Procedure
1.Enter an explanatory short text in the field Short text.
You can for example find the view at a later time using this short text.
2.Enter the primary table of the view under Tables in the Tables/Join conditions tab page.
Only those tables that are linked with the primary table (indirectly) with a foreign key can be included in the maintenance view.
3.If required, include more tables in the view. In a maintenance view you can only insert tables that are linked to one another with foreign keys.
Place the cursor on the primary table and choose Relationships. All existing foreign key relationships of the primary table are displayed. Select the required foreign key and choose Copy. The secondary table used in such a foreign key is included in the view. The join conditions derived from the foreign keys (see Foreign Key Relationship and Join Condition) are displayed.
You can also insert tables that are linked by foreign key with one of the secondary tables that was already inserted. To do this, place the cursor on the secondary table and choose Relationships. Then proceed as described above.
For maintenance and help views, there are certain restrictions on the foreign keys with which the tables can be included in the view (see Restrictions for Maintenance and Help Views). The foreign keys violating these conditions are displayed at the end of the list under the header Relationships with unsuitable cardinality.
4.On the View fields tab page, select the fields that you want to copy to the view.
Choose Table fields. All the tables contained in the view are displayed in a dialog box. Select a table. The fields of the table are now displayed in a dialog box. You can copy fields by selecting them in the first column and choosing Copy.
All key fields of the primary table must be included in a maintenance view. In addition, all key fields of secondary tables that are not involved in the foreign key (that is, which are not linked via a join condition to a key field already included in the view) must be included in the view.
This ensures that the records inserted with a maintenance view can be written correctly in the tables contained in the view.
5.On the Selection conditions tab page, you can (optionally) formulate restrictions for the data records that can be displayed with the view (see Maintaining Selection Conditions for Views).
The selection conditions define the data records that can be selected with the view.
6.In the Maintenance status tab page, define the maintenance status of the view.
The maintenance status defines how you can access the view data with the standard maintenance transaction (SM30).
7.Choose activate
8.Go to Transaction SE54 with Environment ® Tab.maint.generator.
From the view definition you can generate maintenance modules and maintenance interfaces that distribute the data entered with the view to the base tables of the view. You can find more information in Creating a Maintenance Dialog.
here is the link for creating Tcode .
http://www.sapdevelopment.co.uk/tips/tips_tabmaint_tcode.htm
Girish -
Reg : Tcode for table maintance generator
Hello,
I have created the Tcode for Table maintance generator of a table using SE93 which directly goes to the table maintaince generator. My requirement is if i open the tcode i need to display the custom selection screen before going to the table maintaince generator. How do i do it. please can give me the steps to fulfil the above req.
regards
harithaCheck below thread will be useful to you.
Re: Sending Payment Advice as Email to Vendors
For more information:
Search sdn with key words tcode + table maintainence generator
Regards -
In Table Maintaince G/L Text should come by default with G/L Acc.--Ple
Hi Guruu2019s
I created Ztable with 3 fields G/L Acc, G/L Acc text and another Zfield.
I created a TABLE MAINTAINCE for this. Here we need, after entering the G/L A/C in table maintaince-- G/L Text should come by default. Please suggest a way do these.Hi,
You need to write the code in the EVENTS. these are avilable in the table maintanence. you can use event 05(create), here give the Perform name and click on the code button there you can write the logic to bring the short text and move that text to your Ztable field.
look at the link to create the events --> /people/sudheer.junnuthula2/blog/2007/07/31/events-in-table-maintenance-generator
Thanks
Sudheer -
Unable to create table maintance generator
Hi all,
I created z table and trying to generate table maintance but it is giving below error.
The maintenance object description has no transportable package
Message no. SV415
Diagnosis
You want to generate the maintenance modules for object ZFI10. The correction system is not active for the package $TMP, to which the corresponding maintenance object description is assigned. The function group assigned for the generation has a package which can be corrected.
System response
The generation is not performed.
Procedure
Either assign the maintenance object description for object ZFI10 to a correctable package, or assign the table for the generation of the maintenance module to a function group with non-correctable packages.
please suggest me how to assign correctable package.
Regards,
Ramprasadgo to se11 utilities
->table Maintaince Genrater
give your function Group name or make new Function group
give maintaince screen one or two
after that click on create
the check it on table contents and create Entries .
or u can check in se80
gice your function group name and check the screen or u can change heding of the field title from here -
Table maintaince askign for customization request.
Hi all,
I have created one Z table and its maintaince generator.Now i went to Sm30 and tryign to maintian data on it. While saving the data it is asking for customizing request. I dont have any customizing request.Normally it should save the data.
Please help me in this regards.
Thanks
LinconHi Lincon,
this is asking transpot request because of below setting.
1. go to table maintenance generator screen - SE11 - Utilities - Table maintenance generator
2. check Dialog data transport details box.
Recording routine should be no, or user, recording routine to be selected to not to capture into transport request. -
TABLE MAINTAINCE Problem Through SE54
Hi,
I have generated table maintaince view through se54 in ECC 6. I am able to see entries in ECC 6. When I transport the same to 4.6 I am not able to see the entries in 4.6c Please help me on this.
Thanks in Advance.
Thanks and Regards,
VenkatHi venkat,
The table entries also needs to be transported in order to see it in different system.
While creating the table maintenance generator, in the frame "Dialog data transport details" use the option:
Standard recording routine.
Now, when you try to maintain sdata in that table, it'll ask for a customization request, assign the data entries to that request and transport it to the new system.
Hope this works.
Thanks & Regards,
Anshumita. -
Table maintenence generator events
Hi experts,
I am having a table in which I have implemented the table maintenence generator.The requirement is as follows:
Field A:User enters value 'aaa' using F4 help
Field B:Automatically gets populated with the short description corresponding to 'aaa'.
Here the short description depends on the selected value for field A.Hi debansu,
No need to do your coding in events in your case. first of all you understand the internal table used in table Maintainace, The internal tables used are TOTAL and EXTRACT. These table are of string type so you will have to catch your value using offset. To write the logic to popualte the value is very simple in your case. You add one Module in PAI logic of screen of Table maintainance generator in that Module you poupalte the field. for example say for the F4 value of field MATNR you want to populate field MAKTX. then in the one custom PAI moudule you write like this.
SELECT SINGLE FROM MAKT
INTO LF_MAKTX
WHERE MATNR = EXTARCT+3(18)(If Material is the 2nd field after MANDT).
In PAI LOOP is done on EXTARCT internal Table which holds Records in run time.
This will solve your requirment If you are not having F4 help then you can create it by adding one event PROCESS ON VALUE-REQUEST writeen in Flow logic of screen.
We use event where we want to do some validation based on some reasons like Before saving the data in database or before displaying to do the validation of records from table TOTAL. there are diffrent events in Table maintaince but in your case it's not required..
Let me know if you have any more issue.
<b>Kindly reward points for helpfull answers..</b>
Regards
Tanweer Zaki
Message was edited by:
Tanweer Zaki -
Delete table maintenance generator
when i try to delete the table maintenance generator ,for a Ztable,, the system is not prompting for change request.
how can i make system to prompt for change request,when i delete the table maintenance generator for a ztable?goto se30 see the Function group of that table maintaince ...then take that function group goto se37 put there in th utility Function group change mode delete the changes and save now it will give you the pop-upfor change request .
pelase when the table i maintaince generated ... then the code will be saved in the Function Group .
so we need to check wiht the Function Group .
Reward points if it is usefull ....
Girish -
All fields are not found in Table Maitainence Generator
Hi all,
I have create a table with ZPFT_TRAY with 6 fields and created table maitainence generator for the table.
But when i check in SM30 i can see only 5 fields in Table maitainence generator.
will anybody let me know why it is showing only five fields.
Regards,
MadhaviHi madhavi,
do one thing delete your old table maintenance generator and again create a new TMG , generate it properly and save it and then check in sm30. and if u have defined your own data element then fill the field label of that data element and activate ur table. because when ever you do any modification in your Ztable then you have to create again table maintenance generator othervise your modification will not reflect in sm30.
hope this will help you.
Regards
Saurabh -
Fetch data from table and generate attachment than mail it.
Hello Experts,
From couple of day I am searching on Google for a better database procedure that will help me to get data from tables and generate attachment and mail it but i fail.
My Scenario is:
I have a query that will fetch almost 5000 records from database tables. Each record has almost 75 characters
select a.location_code,
a.item_code,
b.description item_desc,
to_char(a.manufact_date,'ddMonyy')mfg,
to_char((a.manufact_date + nvl(b.expiry_period,0)),'ddMonyy')expr,
to_char((a.manufact_date + nvl(b.qurantine_period,0)),'ddMonyy')qrtn,
round(nvl (b.qurantine_period, 0) - (sysdate - a.manufact_date)) days_elapsed,
a.closing_balance_posted quantity
from wms_stock_current_balance_v a, wms_item_setup_mast b
where a.closing_balance > 0
and a.item_code = b.item_code
and a.loc_type in ('RACKING','PICKING','QUICKA','BUNDLED')
and nvl(b.qurantine_period,0) > 0
and round(nvl (b.qurantine_period, 0) - (sysdate - a.manufact_date)) <= 0
order by a.item_code, a.location_code;
Sample data of above query is
LOCATION_CODE
ITEM_CODE
ITEM_DESC
MFG
Expiry
Quarantine
Days Elapse
Quantity
13DL2
000000000000000F0487
CLEAR COOL BLACK 05ML
20-Feb-10
31-Mar-14
4-Jun-13
-122
160
14DL0
000000000000000F0487
CLEAR COOL BLACK 05ML
23-Feb-10
3-Apr-14
7-Jun-13
-119
134
14DL2
000000000000000F0487
CLEAR COOL BLACK 05ML
23-Feb-10
3-Apr-14
7-Jun-13
-119
160
14DR2
000000000000000F0487
CLEAR COOL BLACK 05ML
23-Feb-10
3-Apr-14
7-Jun-13
-119
20
14LL2
000000000000000F0487
CLEAR COOL BLACK 05ML
20-Feb-10
31-Mar-14
4-Jun-13
-122
160
17ER2
000000000000000F0487
CLEAR COOL BLACK 05ML
20-Feb-10
31-Mar-14
4-Jun-13
-122
160
17GL2
000000000000000F0487
CLEAR COOL BLACK 05ML
20-Feb-10
31-Mar-14
4-Jun-13
-122
160
17SL0
000000000000000F0487
CLEAR COOL BLACK 05ML
17-Feb-10
28-Mar-14
1-Jun-13
-125
64
18QL0
000000000000000F0487
CLEAR COOL BLACK 05ML
23-Feb-10
3-Apr-14
7-Jun-13
-119
160
19AR5
000000000000000F0487
CLEAR COOL BLACK 05ML
17-Feb-10
28-Mar-14
1-Jun-13
-125
160
19DL1
000000000000000F0487
CLEAR COOL BLACK 05ML
20-Feb-10
31-Mar-14
4-Jun-13
-122
160
19JR0
000000000000000F0487
CLEAR COOL BLACK 05ML
17-Feb-10
28-Mar-14
1-Jun-13
-125
60
19TL1
000000000000000F0487
CLEAR COOL BLACK 05ML
20-Feb-10
31-Mar-14
4-Jun-13
-122
160
20GR2
000000000000000F0487
CLEAR COOL BLACK 05ML
20-Feb-10
31-Mar-14
4-Jun-13
-122
40
36FL3
000000000000000F0487
CLEAR COOL BLACK 05ML
18-Feb-10
29-Mar-14
2-Jun-13
-124
65
19UR0
000000000000000F0591
COMFORT WHITE 24ML*300
28-Oct-09
28-Oct-11
1-May-11
-887
1
12SL1
000000000000000F0593
COMFORT PINK 24ML*300
28-Oct-09
28-Oct-11
1-May-11
-887
42
12SR1
000000000000000F0593
COMFORT PINK 24ML*300
28-Oct-09
28-Oct-11
1-May-11
-887
42
14OR1
000000000000000F0593
COMFORT PINK 24ML*300
28-Oct-09
28-Oct-11
1-May-11
-887
8
36EL4
000000000000000F0594
CLEAR HF DECRASE 5M*360
14-Feb-10
14-Feb-11
12-Oct-10
-1088
14
13VL1
000000000000000F0595
CLEAR COM SFT CRE 5*360
8-Feb-10
8-Feb-11
6-Oct-10
-1094
160
14ER0
000000000000000F0595
CLEAR COM SFT CRE 5*360
8-Feb-10
8-Feb-11
6-Oct-10
-1094
105
Database Info
Oracle 10g
Version 10.2.0.1.0Look at the sample code for generating a CSV file that I've just posted in response to a similar question:
Re: How to execute a proc and spool files in a database job
And the use the search button in this forum to find sample code for sending a CLOB as a plain/text e-mail attachment using UTL_SMTP.
Maybe you are looking for
-
How to calculate a value in sap script?
Hi friends i have to do addition and then display the added value in grandtotal like total amount + late fee = grand total i have to do this in sap script can anyone tell me the procedure where to declare wheather in abap aditor if yes how?
-
How an AUC asset class can be assigned to internal order type
Hi We want to create new AUC asset class for our requirement. For that purpose we want to use existing internal order type of my new AUC asset class also. When we create internal order in KO01 and create AUC in same step new asset class should be pic
-
CLOB problem (disregard my former message relating to Forms 6i)
Hallo, I have a problem using CLOB's with JDeveloper 3.1. We have an Oracle DB (8.1.5 on a Unix server) where one of the tables has a CLOB column. We also created a view where we join several fields from three tables. One of the fields is the CLOB fi
-
JNLP shortcut submenu broken in 1.6u1!
In previous versions of WebStart (eg. JRE 1.5), specifying a "submenu" attribute for shortcut->menu such as "SubmenuA\SubmenuB" in the JNLP file would create the desired submenu structure: Start Programs SubmenuA SubmenuB the same JNLP app, when inst
-
I meant to ask how would I back up my iPad on to a USB MEMORY STICK?