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

Smartform changes not updated

maria_merino
Active Participant
0 Likes
7,857

Hi experts,

I have an issue with changes in a smartforms for sales invoice. This is the first I've seen it.

I've made some changes in the smartform, added a new window for a graphic. In development system it works fine, then in test system this grpahic is wrong. It's a text with white background, in SE78 it's ok, but when displaying the invoice the background turns grey.

se78

Invoice in quality system:

Invoice in development system:

My doubts are why the changes are not reflected in quality system and why the graphic is incorrect?

thanks in advance!

María

9 REPLIES 9
Read only

FredericGirod
Active Contributor
0 Likes
6,427

Are you sure the SE78 pic are the same in the both system ? are you sure it has been created in color the both ?

Read only

maria_merino
Active Participant
0 Likes
6,427

Yes Frederic.

Now I've done this check: I deleted this windows in development test, transported to QUA and print the invoice again. The window is still there. 😮

Maria

Read only

TheGokke
Active Participant
0 Likes
6,427

Than you are testing a different smartform I think. You can test the smartform via F8, it jumps to the SE37 transaction and the function behind it. You can than put a breakpoint in the function to be sure it's the right smartform.

Read only

maria_merino
Active Participant
0 Likes
6,427

I'm testing the same smartform, class message definition is equal in both systems and if I debug the smartform in QUA it works fine, but then the window still appears. It seems as if it is displaying an older version even if it's executing the new one.

Read only

FredericGirod
Active Contributor
6,427

mariamerino at first, you speak about Graphic, is it the graphic the only thing not OK ?

If you want to test version of your Smartforns you could check adding a field somewhere.

But if it is a graphic, you also have to check the version of the SE78

And remember the transport of SE78 is manually done.

Read only

Sandra_Rossi
Active Contributor
6,427

I think that you tried to show screenshots in your question, but they are absent.

When you run it in development, there's no issue? If so, transport the graphic again (not the smart form).

Note that the background GRAY issue is often due to defining more than 256 colors in the image (see note 205837 - RSTXLDMC/SE78: Fullcolor TIFF or BMP graphics).

Read only

former_member308222
Active Participant
0 Likes
6,427

Hi,

There are so many reasons to not to display smartforms, need to check below points

1) Size of all windows

2) Size of templates

3) Size of tables lines

4) Selected fond style

5) Selected value in "Form attributes"

6) Check data may be after changing it have no rows.

Read only

michael_piesche
Active Contributor
6,427

To check whether the smartform in dev and test are the same, download the smartform (xml) and compare the two xmls with text comparing tool (e.g. notepad++, bbedit). You will have to apply a sort of Pretty Print with line breaks from within the editor to those XMLs to make them more readable. Be aware that language items might have a different sort order if more than one language is maintained, but real differences should still be fairly easy to spot.

  • SMARTFORMS -> Display Form -> Utilities -> Download Form

Also, regenerate the FM in test to make sure it is up to date with the transported smartform. You regenerate the FM by pressing the "Test" button that leads you to SE37 and shows the corresponding FM. You could also Check the Smartform or Activate it if action is available.

  • SMARTFORMS -> Display Form -> Form -> Check (Ctrl-F4)
  • SMARTFORMS -> Display Form -> Form -> Activate
  • SMARTFORMS -> Display Form -> Form -> Test (F8)

If Smartforms are the same and FM is generated, the issue does not come from the Smartform, but from outside content that is used within the smartform. Recheck those ressources, retransport or upload/change them if necessary.

Read only

michael_piesche
Active Contributor
0 Likes
6,427

mariamerino, were you able to solve your problem or do you continue to have issues?

Please add comments to your question that further describe your problem or add an answer that describes how you solved your problem.
If your problem is solved, accept an answer if it helped you and please close the question.