2010 Sep 18 10:08 AM
Hi Gurus,
My requirement is to write code for calling smartform from table maintainence generator.
Requirement picture is like this: User will select a row from the table maintainence and click a button for print preview or print.
Can you detail code for writing the code for triggering the smartform.
Also mention where exactly i need to write this code, as i am not sure on this.
Thanks in advance.
2010 Sep 20 5:08 PM
Hi Shahin,
since you want to add a new buttong for your requirement, you would already be modifying the code generated from the TMG tool..so you can simply check the sy-ucomm and write the code in the PAI of the respective screen...
The other way of doing modification free changes in TMG is by using the Events available for the TMG..I checked there is an event called in for creating the menu..maybe you can also check for an event to handle the User Command..
You can view the events by the following Menu Path...Envirnments->Modification->Events...
Regards,
Sitakant
Hi Gurus,
My requirement is to write code for calling smartform from table maintainence generator.
Requirement picture is like this: User will select a row from the table maintainence and click a button for print preview or print.
Can you detail code for writing the code for triggering the smartform.
Also mention where exactly i need to write this code, as i am not sure on this.
Thanks in advance.
2010 Sep 20 5:08 PM
Hi Shahin,
since you want to add a new buttong for your requirement, you would already be modifying the code generated from the TMG tool..so you can simply check the sy-ucomm and write the code in the PAI of the respective screen...
The other way of doing modification free changes in TMG is by using the Events available for the TMG..I checked there is an event called in for creating the menu..maybe you can also check for an event to handle the User Command..
You can view the events by the following Menu Path...Envirnments->Modification->Events...
Regards,
Sitakant
2011 Feb 05 10:32 AM