Problem in Table Maintenance Generator
Hi All,
We have a TMG which have 11 fields with below fields as primary key.
CONTRACT_NO
ITEM_NO
PRODUCT
WAREHOUSE
VALIDITY_START
VALIDITY_END
As per standard , during Change Mode these keys will be disable.
My requirment is to enable the VALIDITY_END in change mode also. I have done that by changing the attribute in SE51(Input Possible).
Now Problem is When I change the VALIDITY_END and saves it, In TMG it shows message "Data Saved" but when I check the
database table , Changes not reflected.
Please help.
Thanks
Jitendra
Hi Jitu,
I agree this is not the right way to do this. You should keep the following in your key fields. And validity_end as normal field. Use the table maintenance events to make validity_end as a mandatory field. Using this events you can pass error messages to user if they keep it blank.
CONTRACT_NO
ITEM_NO
PRODUCT
WAREHOUSE
VALIDITY_START
Best Regards,
Tapodipta Khan.
Similar Messages
-
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. -
Problem with table maintenance generator overview screen
I added a field in a custom table and then used table maintenance generator to regenerate the table maintenance screen.
I used 2 step to generate. The problem that I have is the field not displayed in the overview screen though it is visible in the single screen ( ie the second screen).
I am not sure where the problem is as the field is not visible at all in the table control of overview screen.
Please help me on this as to what could be the problem.Usually it is enough to regenerate both screens and the modules, but sometimes it doesn't pick up all the changes. In that case just delete the maintenance dialog and recreate it. That should do it.
Regards,
Michael -
Problem with table maintenance generator
Hye,
When i do create entries in table contents, the column name is shown as (+)....
where the problem is ?? how to get resolved....tried recreating the TMG but not use.
Thanx & Regards,
Manisha Suvarna.Hi Manisha Suvarna.
You can edit this information editing Maintenance view following steps below:
- Transaction Se55
- Environment -> Modification -> Modification Screens
There you can edit this information and Add the right value.
Kind regards -
Table maintenance generator is not saving entries.
Hi All,
I am facing problem in table maintenance generator.
I created a table maintenance for Z-Table.
In my table last 2 fields are a checkbox.
When we go to Sm30 and check/uncheck the boxes then save , message comes tht data saved , but when we come out and go back to maintenance generator , it's not saved.
while table maintenance in 2 step , then on detail screen it is working perfectly but on primary screen it's not.
when TM is single step , it's show entries saved but not saving in data.
I tried to delete and regenerate table maintenance but still not working .
Please guide me to ractify this.
Thanks in advance,
Ashish GautamHello Friend,
Check with th etechnical settings of the ztable:
see if your buffereing is allowed, and log data chnages is checked.
If so :
Then select buffereing is not allowed and uncheck the Log Data Changes:
Also go to TMG:
Check if standard recording routine is selected, then select the no, or user recording routine.
After making these changes, delete the TMG and create a new one once again. You can check it will work fine now.
Thanks and regards,
Uttam Agrawal
[http://uttambpt.blogspot.com|http://uttambpt.blogspot.com]
Edited by: uttamagrawal on Jan 31, 2011 12:42 PM -
Table maintenance generator problem
Hi Experts,
I a table maintenance generator I have to check for authorization in plant level before deleting an entry. I have created a routine which is of "03-Before deleting the data displayed". But in that if I read ytable-plant it has null. It doesn't point out which row I have selected. But for updation, it takes the exact row values which I have selected.
How can I read the line which I have selected.
Thanks and regards,
VenkatHello Venat
It will be very confusing for users if there are deletable and non-deletable entries side by side in your maintenance view. Instead, you should do the AUTH-CHECK at the beginning and restrict the selectable data accordingly. All data that are now displayed can be treated the same way (including DELETION).
Regards
Uwe -
Add field in table maintenance generator screen of maintenance view
Hi,
I am having a table with field user-id. I want to generate a maintenance view which will have corresponding user name as input disabled field. Since there are two tables USR21 and ADRP I need to access(not a direct check table) I will have to modify the code generated by the table maintenance generator.
Problem is that it is having one internal table EXTRACT at table control loop. That internal table cannot be accessed if you write a module inside the table control loop and try to catch. The error coming as EXTRACT is not object of structure and therefore no component. I tried to capture the value of the Loop but could not be successful. Any suggestion please.
Thanks,
AtanuHi,
sample:
MODULE LISTE_UPDATE_LISTE.
ENDCHAIN.
*--->begin of your change
CHAIN.
FIELD YTAB1-BILKS .
FIELD YTAB1-BILKH .
module check_bewar ON CHAIN-input. "your checks
ENDCHAIN.
*-----> end of your change
ENDLOOP.
MODULE LISTE_AFTER_LOOP.
-> module check_bewar is in an includ z123_INCL
Regards Andreas -
Doubt in Table maintenance Generator
Hi all
I have created one table. That table contains following fields
MANDT MANDT
ALERTID CHAR6
COUNTRY LAND1_GP
IDNO INT1
ROLE CHAR30
MODUL CHAR2
LASTCREATEDON DATE
LASTCREATEDBY CHAR12
LASTCHANGEDON DATE
LASTCHANGEDBY CHAR12
when i creating table maintenance generator, the following log occured
" Field ZMMIN_ALERT_ROLE-ROLE shortened (new visible length: 000015)"
System Response
The generation continues, but field ZMMIN_ALERT_ROLE-ROLE is a rollable field with visible length 000015 on screen 0110.
meanwhile, i want to change field caption in sm30 for that table?Hi,
Delete the table maintance generator once and regenerate the same.
for changing caption: you have to follow the below procedure:
In the table maintanance screen:
click on 'OVER VIEW CREEN'.
click on ELEMENT LIST
click on 'TEXT I/O TEMPLATES'
here enter the title what ever you want. this will be reflected in the SM30.
i hope your problem will be solved,
Reward me if i gave right solution.
Thanks
Murali -
Include a field in the table maintenance generator
Hi All,
There is a Z table with MATNR and another numeric field and the table maintenance generator exists for the table. The requirement is to include another field for MAKTX ( Material description) in the table maintenance generator with input disabled. Is it possible to do the same in the table maintenance generator else please suggest me the best solution.
Thanks in Advance.Hi Srinivasa,
This is quite simple, first add the field MAKTX into the Table and activate it .
Now again generate the Table maintainence for the table.
from Table maintainence generator go to the main program
there click the screen maintained for Table maintainence generator .
in the Pbo of the screen write the following code.
assume table name is table1.
Loop at screen.
if screen-name = table1-maktx.
screen-input = '0'.
modify screen.
endif.
endloop.
this will automatically disable the material description field in the Table Maintainence Generator.
This is will solve your problem
Regards,
Madhavi -
Junk Amount Values in Table Maintenance Generator
Hello All,
I have created an event (01) in table maintenance generator. In this i am triggering a workflow.
The problem here is, in my table there is a fields of type CURR and CUKY. I am inserting new values by using SM30. I am entering some 100 dollars against CURR filed. In the bebugging, i have observed there is Junk values against CURR field in TOTAL & EXTRACT tables. Becuase of that i am getting short dump. I just want to pass the amount value to my workflow not a Junk amount value.
Is there any way to avoid the junk values for CURR fields in Table Maintenance Generator.
Regards,
PatiHi Pati! Do you've solve this? Any help? I see junk amont value too, and I cannot understand this.
Thanks on advance.
Regards,
Emanuel -
Table maintenance generator - + symbol instead of field label
Hi All,
I have created the table maintenance generator for the table and I have created theh transaction code the same as like SM30 and if I execute that transaction ocde, I can see all the fields with the correct description at the initial screen level. If I say New entries... Here I could not able to see the field description for the table fields for which the data element is not maintained.
Is there any solution to resolve this problem without maitaining the data elements for that fields.
Thanks in advance.
Regards
Ramesh.>
ramesh mavilla wrote:
> Hi All,
>
> I have created the table maintenance generator for the table and I have created theh transaction code the same as like SM30 and if I execute that transaction ocde, I can see all the fields with the correct description at the initial screen level. If I say New entries... Here I could not able to see the field description for the table fields for which the data element is not maintained.
>
> Is there any solution to resolve this problem without maitaining the data elements for that fields.
>
> Thanks in advance.
>
> Regards
> Ramesh.
By far the easiest way of doing this is to maintain the description on the data elements. Why don't you want to do this? -
Table maintenance generator events
Hi,
I have created a table maintenance generator and want to populate sy-uname and sy-datum into two fields during SAVE. So I went to Environment -> Modification -> Events and selected "01" event i.e. "Before saving the data in the database" and entered Form routine as "F_UPDATE_UNAME_UDATE". Then if I go to SM30 transaction it goes to dump.
Could you please tell whether I am missing any point?
Regards,
Balaji Viswanath.Hi,
Pasted it below.
Runtime Error PERFORM_NOT_FOUND
Except. CX_SY_DYN_CALL_ILLEGAL_FORM
Date and Time 01/31/2008 09:26:52
ShrtText
Call (PERFORM) to a non-existent routine.
What happened?
The current program attempted to call an externally defined routine
that does not exist.
Error in ABAP application program.
The current ABAP program "SAPLZTEST321" had to be terminated because one of the
statements could not be executed.
This is probably due to an error in the ABAP program.
The current ABAP program had to be terminated because the
ABAP processor detected an internal system error.
The current ABAP program "SAPLZTEST321" had to be terminated because the ABAP
processor discovered an invalid system state.
What can you do?
Print out the error message (using the "Print" function)
and make a note of the actions and input that caused the
error.
To resolve the problem, contact your SAP system administrator.
You can use transaction ST22 (ABAP Dump Analysis) to view and administer
termination messages, especially those beyond their normal deletion
date.
is especially useful if you want to keep a particular message.
Error analysis
An exception occurred. This exception is dealt with in more detail below
. The exception, which is assigned to the class 'CX_SY_DYN_CALL_ILLEGAL_FORM',
was neither
caught nor passed along using a RAISING clause, in the procedure
"PREPARE_SAVING" "(FORM)"
Since the caller of the procedure could not have expected this exception
to occur, the running program was terminated.
The reason for the exception is:
The program "SAPLZTEST321" is meant to execute an external PERFORM,
namely the routine "F_UPDATE_UNAME_UDATE " of the program "SAPLZTEST321 ", but
this routine does not exist.
This may be due to any of the following reasons:
1. One of the programs "SAPLZTEST321" or "SAPLZTEST321 " is currently being
developed.
The name "F_UPDATE_UNAME_UDATE " of the called routine may be incorrect, or
the routine "F_UPDATE_UNAME_UDATE " is not yet implemented in the program
"SAPLZTEST321 ".
2. If the program SAPMSSY1 is involved in the runtime error, one of
the function modules called via RFC is not flagged as remote-capable.
(see Transaction SE37 Goto->Administration->RFC flag)
3. There is an inconsistency in the system. The versions of the
programs "SAPLZTEST321" and "SAPLZTEST321 " do not match.
How to correct the error
- Check that transports to the system are complete.
- Conclude any developments already begun ("SAPLZTEST321" and/or "SAPLZTEST321
- Check routine names
You may able to find an interim solution to the problem
in the SAP note system. If you have access to the note system yourself,
use the following search criteria:
"PERFORM_NOT_FOUND" CX_SY_DYN_CALL_ILLEGAL_FORMC
"SAPLZTEST321" or "LSVIMF14"
"PREPARE_SAVING"
If you cannot solve the problem yourself and you wish to send
an error message to SAP, include the following documents:
1. A printout of the problem description (short dump)
To obtain this, select in the current display "System->List->
Save->Local File (unconverted)".
2. A suitable printout of the system log
To obtain this, call the system log through transaction SM21.
Limit the time interval to 10 minutes before and 5 minutes
after the short dump. In the display, then select the function
"System->List->Save->Local File (unconverted)". -
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 -
Problem with table maintenance allowed
hi,
here my problem is table is genarated and stored under local object that time i m creating function group is zabc. afterwards i m storing my table in my development class that time it is not possible to change function group in table maintenance genarator plz help me any one knows.
what is the exact use of table maintenance generator i m using this for ztables and i m going to screen painter i m adjesting the fields.what is the exact use of it.Hi,
1) You may delete the function group assignment and re-assign another one in change mode
2) The use of table maintenance generator is to provide users with a screen to maintain data in the table. If the data is not going to be populated by any users then there is no need for it. Transactions will automatically populate the data in the background
3) One can access the maintenance screen by going to SM30 or can assign your own transaction code to access it
Hope it helps.
Raj
Reward points if helpful -
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.
Maybe you are looking for
-
Start tuxedo server, can not find the cobol library
I run tuxedo cobol sample CSIMPSRV in linux. because I use microfocus cobol, I changed setenv: COBCPY=$TUXDIR/cobinclude COBDIR=/opt/microfocus/cobol PATH=$PATH:$COBDIR/bin APPDIR=`pwd` TUXCONFIG=$APPDIR/tuxconfig LD_LIBRARY_PATH=$COBDIR/lib:$LD_LIBR
-
Cannot find symbol : class ! problem
Hello, I have 2 java files (CD.java & CDCatalog.java) in a package called "testPackage". I can compile CD.java, but CDCatalog.java (that creates CD instances) gives following error - cannot find symbol symbol : class CD Below are the 2 files, please
-
I CANT PLAY MY VIDEOS RIGHT AFTER SOME EFFECTS ON THE VIDEO premiere pro cs4
HEY I can t play videos right after some effects it freeze for like half a second then it stops by its self and I have to enter play again its like a LAG PLEASE HELP I have xp I just bought yesterday with computer and all the requirements are done
-
HTTP Trigger - Lands in a CSQ then to an agent
Hello, I'm looking for a template script that will guide me through the following: •1) From a web page enter a phone number you want to be called at. •2) After clicking a submit key using an http trigger a phantom call will be made to the "
-
Service Registry : Services does not show under Service definitions..
Hi All, I am new to PI .. My PI system is 7.11 ..DB DB2 Query is that when i start PI tools and click on service registry under service definitions it does not show any services.. Do i have to publish services so that it can be accessed from the ment