‎2009 Oct 23 12:51 PM
Hi Experts,
I have a requirement to Default values in a table for 2 fields.
This needs to be done at table maintance time.
Should it be coded via events?
Regards,
Anjali
‎2009 Oct 23 12:57 PM
HI,
This needs to be done at table maintance time.
1 Here, we can understand that " while filling the data into table" , you need to enter those two values.
or
2 you have a maintenance generator and then u need to fill these two values as default
for 2nd , you create a maintenance generator, so that system will create screens.
in that for change mode screen, goto PAI event, and then
create a new module, to ill the default values.
module xyz.
module xyz
ztable-field1 = 'ABC'.
ztable-field2 = 'XEW'.
endmodule
now it will be updated automatically.
1- when ever u r creating the records in the table using some programs, then fill the values in those two fields.
Regards,
Venkatesh.
‎2009 Oct 23 12:55 PM
‎2009 Oct 23 12:56 PM
Hi,
Yes it should be coded via table maintainence generator events.. Search in SCN you wil get the information.
Regards,
Nagaraj
‎2009 Oct 23 12:57 PM
HI,
This needs to be done at table maintance time.
1 Here, we can understand that " while filling the data into table" , you need to enter those two values.
or
2 you have a maintenance generator and then u need to fill these two values as default
for 2nd , you create a maintenance generator, so that system will create screens.
in that for change mode screen, goto PAI event, and then
create a new module, to ill the default values.
module xyz.
module xyz
ztable-field1 = 'ABC'.
ztable-field2 = 'XEW'.
endmodule
now it will be updated automatically.
1- when ever u r creating the records in the table using some programs, then fill the values in those two fields.
Regards,
Venkatesh.
‎2009 Oct 23 1:09 PM
‎2009 Oct 23 2:27 PM
Next time - please assign po1nts for helpful answers. This ecourages people to help.
Rob