‎2010 Sep 10 8:11 PM
I have created a smartform and in the Forms Interface under the Tables tab I have created the following
imy_tab LIKE zmy_tab zmy_tab is a structure.
It all works great and I can pick fields from this structure to display on my form and I can pass data to my form through an internal table with the same structure. My problem is that I have added a few new fields to this structure and I have also deleted some and when I click on the Field List, I cannot see any of my changes or these new fields. Is their a way I can "refresh" my smartform so it will pick up the changes to my structure in the field list? Thx in sadvance for any help you can provide.
‎2010 Sep 11 12:31 AM
Hi Janice:
It's not clear for me your explanation, buy I think in two scenarios.
1.- I supposed that you write your code lines into "Program Lines" section, in this case your INPUT PARAMETERS and also your OUTPUT PARAMETERS must be the table name defined in FORM INTERFACE.
2.- If your send to print the smartforms, and then in another trx change data, and at this point your want to obtain a "refresh print".
Try with CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
You can get the name of de smartforms from Menu: Environment / Function Module Name of TCODE: Smartforms
Regards
José Luis
‎2010 Sep 11 3:34 AM
Thx for trying to help, but my problem was related to the new fields not showing/being available in the field list in the smart form definition itself. I ended up resolving my own problem by deleting this entry from the form interface/tables tab, activating the smartform and then putting it back in again and activating again.
‎2010 Sep 13 3:23 PM
Excellent Janice, thank you for the update and share you own solution.