Hi Friends,
I have a requirement.
I have to create a custom table and should have a table maintenance for that.
I can do this via table maintenance generator.
But after creating this, in the maintenance screen, i should have a button. On clicking the button, a popup should ask for excel file name and after specifying the file name all the data in the maintenance screen has to get downloaded to a excel file.
So, my idea to implement is, change the code generated by table maintenance generator, to accomplish this.
In the menu painter, create a button. and have a ok code for that.
In the screen painter, design a screen with filename field and have a ok button. Accept the filename input and close the screen and then for that ok code in the PAI module, use GUI_DOWNLOAD function to download the excel file to the specified location.
Please review this and please let me know if there is any alternative solution for this requirement.
Thanks,
Jaffer Ali.S