Table Maint. Generator
Hi All.....
Something very funny I am experiencing.....Funny because may be I am not aware of this.....Please help...
I created a Table Maintenance Generator for one of my Customized table, saving it under my Z Package and Function Group.
When this Request is being transported from DEV to QA, the Package and Function Group are not the same that I gave !!!!
I am checking in SE80, and this particular Table Maintenance Generator is present in both the Packages - Function Groups...again surprising....
This issue has become very Critical as of now....I will appreciate some urgent help.....
Hi,
Just check those table maintanance and function group is activated properly or not.otherwise go and activate that function group add it to some other package and request and then check.
Similar Messages
-
How to create table.maint.generator and enduser should use using ztcode
Hi,
can any one guide me how to create table maintanence generator and after creating,enduser must use using ztcode.
any help can be appreciated.
Thanks & Regards,
Sandeep.Hi,
Table Maintenance generator is required to do Manual entries in the Table. If the requirement is to update the table only programmatically and not manually then table maint. generator is not required.
Manual entries in table can be maintained ( New record can be inserted / existing can be modified ) using transaction SM 30, if the table maintenance for the table is generated.
How to activate Table maint.
Goto SE11 and open the table.
Click UTILITIES -> Table Maint. Generator, Enter the details and click on Save. Then activate the table.
chk a sample 1.
refer.
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/abap/how%20to%20implement%20events%20in%20table%20maintenance.doc
some more helps
Check out this thread:
table maintenance
http://help.sap.com/saphelp_erp2005/helpdata/en/a7/513520407a11d1893b0000e8323c4f/frameset.htm - a link for basics on Table Maintenance.
Also, Check out this weblog on table maintenance:
/people/sudheer.cheedella/blog/2006/02/20/extracting-data-in-table-maintenance
<b>how to create a a T-code of that</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...
rgds
anver
if hlped pls mark points -
Diff type of table maint generator
Hi Guys
I have created a table maintanc but it has been created in a way that its only letting me enter one entry at a time,
cant i have something like v_ddat_54 where i can put a lot of entries in one go?
Rgds
SameerHi,
While creating the table maintenance , select one step screen option, then you can enter multiple rows at once.
Regards
L K Appana -
How to get our own F4 help in table maintanance generator
hi all,
i developed a table maint generator.
in this i have 3 fields out of three there is a field called subtype. for this i ahve to create f4 help for this. foir this field i have to display two descptions calles' sub type1 and subtype2. these are not coming from any database tables. any body can tell me how to wrote. and send me the sample code for it.
thanks,
maheedharGo to SE51..Give the program name..in your case..SAPL + function group name.
Give the screen number...that you gave when you created the table maintenance..
THen press change..
Create an event process on value-request for F4..
PROCESS ON VALUE-REQUEST.
FIELD ZTABLE-F4 MODULE F4_FOR_F4.
**In the module use the function module F4IF_INT_TABLE_VALUE_REQUEST.
Check this example for how to use this function module
TABLES: T005T.
DATA: BEGIN OF t_t005 OCCURS 0,
land1 TYPE t005-land1,
END OF t_t005.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(6) v_text FOR FIELD P_LAND1.
PARAMETERS: p_land1 TYPE t005-land1.
SELECTION-SCREEN COMMENT 13(35) v_text1.
SELECTION-SCREEN END OF LINE.
INITIALIZATION.
v_text = 'Country'.
v_text1 = ' '.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_land1.
REFRESH: t_t005.
SELECT land1
INTO TABLE t_t005
FROM t005.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
DDIC_STRUCTURE = 'T005'
PVALKEY = ' '
retfield = 'LAND1'
dynpprog = sy-repid
DYNPNR = sy-dynnr
dynprofield = 'P_LAND1'
callback_program = sy-repid
value_org = 'S'
TABLES
value_tab = t_t005
EXCEPTIONS
parameter_error = 1
no_values_found = 2
OTHERS = 3.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF. -
How to create table maintainenece Generator
hi all
I dont know how to create table maintainence generator after creating the table.
I have created the table.
After that how to maintain the table.
What is the use of table maintainence generator.
ThanksHi Muthu,
Through table maintenance you can direct add new entries in your table. For that u need to follow some steps.
Step1 : Click Delivery and Maintenance tab in your table and select "Display/Maintenance Allowed"
Step2 : Utilities--->Table maint generator
Step3 : Give Authorization Group - &NC&
Step4 : Function group - Any ( You can give ur table name also ) This Function Group will genrate automatically.
Step5 : Maintenance type - Select first radio button "One Step"
Step6 : Maint. Screen No. - Overview screen as 1
Single screen as 0
Step7 : Click on Create button on application tool bar
Step8 : just save in your package.
Step8 : Create transaction code for the same . Environment----->transaction code
Step9 : Give any t.code name and click on create button. You will get a popup where you have to choose last radio button "Transaction with parameter"
Step10 : Give the transaction name - SM30 and check Inherit GUI Attribute"
Step11 : GUI Support - check all the check boxes.
Step12 : Name of screen field Values
VIEWNAME - Table name and
UPDATE - X
Finally u can this t.code and add new entries in ur table directly.
Regards,
Amit Nanda
SAP Consultant -
Regenerating Table Maintenance Generator!!
Hi
i have created table maint generated in clinet 111 and made few change ..got to replicate the same...ie regenerate the table maintenance in 117...whats the way out?...can't modify table in 117...
its allowing me to insert entries in 111 ..how to make it do the same in 117?
Regards
GunjanIf these clients are on the same system, then when you regenerate the table maintenance on 111, it should have reflected in 117 as well.
If these are two different systems, then you need to transport the table maint object to 117 client on the new system.
Regards,
Ravi -
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 -
How to create Transaction code for Table Maintanance generator.?
Hi,
I have created a Z Table. and I maintained the Table maintenance generator for the same. Now, my requirement is.. I have to create Transaction code for maintain and Display of this Z table.
Can someone help me how to create the transaction code for Maintain and Display of the table. I know that we have to create a Transaction code for 'SM30'. Can someone tell me the steps to do the same. When I goto SE93 and say CREATE transaction, I get 5 options, Which one to select and what are the details should I provide in the subsequent screens.
Thanks in advance.
Best Regards,
Paddu,Hi,
Check the below steps......
1. Go to Tcode u2018se93u2019.
2. Select ' Transaction with parameters'.
3. Then Transaction 'SM30' with click on skip initial screen
VIEWNAME : XXX9tABLE NAME)
UPDATE : X
4. Maintain the Table maintenance generator
Authorization group : &NC&
Authorization object :
Function group : name(xxx)
Maintenance Screens :
Maintenance type : One step
Maint Screen No : Overview screen (2)
If still u have problem I will send u steps with Screen shot ...send me Yr id.
Regards,
Biswanath -
Issue with data dictionary -Table maintanance generator
Hi all,
I have an issue with Data dictionary, table maintenance generator. I have entered some records in a custom table (ZBCSECROLETOGRP) and changed the delivery class from C to A. When I create the table maintainance generator, I am encountered with the following errors:
1)Field ZBCSECROLETOGRP-PORTALGROUP shortened (new visible length: 000032)
2)0012 could not be generated
3)In TCTRL_ZBCSECROLETOGRP field LENGTH has the invalid value 01
My main motto is to create the table maintainace generator and transport to the furthur systems .
Please help.
ThnX in advance,
Vishal..HI,
Regenerate the table maintenance by selecting the checkbox of "Modified field structure" => new entry & then save.
Also ensure that the new changes are not affecting old data bcz of data type changes. If that is the case, then delete the old records, regenerate table maint. & re-enter those records which you had deleted.
Thanks,
Best regards,
Prashant -
Table Maintenance Generator giving Error in PRD.
Hello Experts,
I am receiving below error in PRD for a Table Maintenance generator for Z-Table. PFA Screen Shot.
My Query is that though the information icon narrates to goto T-code SE54 & Re-generate TMG for the specified Function group. Which Option should 1 select after i had selection the option for Edit Function group->Re-generate group specific program.
The info icon in the first pic says to do the following.
Choose 'Edit Function Group' in the transaction SE54, enter the function group name 'ZOTMTRDPROFITSEG' and choose 'Regenerate Group-Specific Programs'. Choose 'Refresh Structure-Spec. Data Declarations' in the next selection window.
Would like to add a point that this Function grp also contains TMG for other tables as well, will it impact other TMG's.
Best Regards
Priyesh Shahregenerate the TM object via SE11 - Table maintenance.
normally should do the trick.
However, keep the func groups & tables 1:1 saves a lot of this kind of problem.
Don't mix them up i.e. more than 1 tab maint for a func group - never ending hassle you will get!!!
go into Expert mode and regen it again. Remove the maint from this func group and create new func group for the table. -
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 -
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. -
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 -
Events in table maintenance generator 01
Hi all,
I have an urgent requirement regarding the events in table maintenance generator.The requirement is i have a qty field in table i want to change the existing value it should allow only a lesser value.How to use TOTAL and EXTRACT structures.
it is urgent.please help me out.
Thanks & regards,
KranthiFollow the example below:
form get_vendor_name.
data w_extract type z_table.
data begin of w_total.
include structure z_table.
data: action,
mark,
end of w_total.
loop at extract into w_extract.
check not w_extract-z_vend_no is initial.
select single name1 from lfa1
into w_extract-z_vend_name
where lifnr = w_extract-z_vend_no.
modify extract from w_extract.
endloop.
loop at total into w_total.
check not w_total-z_vend_no is initial.
select single name1 from lfa1
into w_total-z_vend_name
where lifnr eq w_total-z_vend_no.
modify total from w_total.
endloop.
endform.
Reward points if useful.
Regards.
Maybe you are looking for
-
Campo "Produção Interna" para determinação de CFOP
Bom dia pessoal! Gostaria de perguntar a vocês sobre a utilização do campo "Produção Interna" para a determinação de CFOP. Eu dei um F1 no campo na MM03 e vi que ha a seguinte descrição: Produção interna Este código indica se o material foi produzid
-
Using Standalone workflow 2.6.2 on windows NT. Trying to send html notification but when we open up the email in Microsoft Outlook we just get the html tags as follows: <HTML><HEAD></HEAD> <BODY BGCOLOR="#FFFFFF"><b>Oracle Workflow Notification (FYI)
-
Could someone advise me what is the process to have the functionality within SRM 5.0 of creating shopping carts for a zero value (free of charge). Background, we have implemented a extended classic scenario.
-
Flash Pro vector import continually crashing
Hi Fellow Adobe Creative Cloud members...thank you in advance for any help that is available. Just started with Creative Cloud - was a user of CS4 suite until now. A lot of work is done between Illustrator and Flash by copying and pasting artwork fro
-
I would like to automatically open a solution and start debugging using the startup project set for the solution. I see alot of solutions that have addins that do various tasks. I want to automate the actual devenv.exe process. I can open a solution