05-17-2016 11:17 AM
Hi ,
I have table and created tmg and maintenance view also.
table have filed1 , filed2 and
my query is when I press 'NEW ENTRY ; in the TMG( sm30) filed1 values should be fill with some initial value.
ex
filed1
after click on 'NEW ENTRY
filed1 filed2
SAP
i tried with event create new entry(05) but it is not fulfilling my requirement.
Please suggest me.
Thank you.
Regards,
Shivaji.
05-17-2016 11:22 AM
Have you activated your Function group of TMG. Go to SE80, enter you function group, activate that and check.
05-17-2016 11:28 AM
Hi Pranay,
Thank you for your prompt reply.
I did the same.
Thank you.
Regards,
Shivaji.
05-17-2016 12:03 PM
Have you made any changes to the the table, If so, delete and create new TMG. AFter that add events in that.
05-17-2016 11:27 AM
05-17-2016 11:30 AM
05-17-2016 11:40 AM
You need to use Event 05 (Environment > Modification > Events) in TMG.
See this Event 05 line in the picture.
And then I put this code to have Default values for my fields during the New entries
Please note that the default values will not be seen. They will be stored at the time when you Save the record.
05-17-2016 11:42 AM
Hi Jogeswara rao,
Thank you for your replay.
I did the same but still it is not fulfill the requirement.
Thank you.
Regards,
Shivaji.
05-17-2016 11:44 AM
Please note that the default values will not be seen during New Entries. They will be updated at the time when you Save the record.
05-17-2016 11:49 AM
I understood,
But how can user will come to know that about default value of particular field.
If the will come to know at save time then there is no use of default value.
please suggest me to achieve this.
Thank you.
05-17-2016 11:52 AM
05-17-2016 1:13 PM
Make those fields as grayed out and populate values for that fields by using event 21 -Fill hidden fields.
It will get trigger when user press enter or save.I hope this will fulfill.
06-17-2016 11:07 PM
Did you got any solution.
Event I have same kind of requirement. Thanks... Ram