Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Smartforms:Interface Table not displaying new/deleted fields

Former Member
0 Likes
882

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.

3 REPLIES 3
Read only

Former Member
0 Likes
579

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

Read only

0 Likes
579

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.

Read only

Former Member
0 Likes
579

Excellent Janice, thank you for the update and share you own solution.