Quantcast
Viewing all articles
Browse latest Browse all 8526

Active and inactive forms and functions

All,

 

We notice a strange behavior on our ECC 6.0 (EhP 6) system.

 

It seems that changes do not get into the original form. Every time the system seems to be generating a new inactive function. The inactive function is working. When I activate the form once again the inactive function disappears.

 

Let me explain in detail:

 

Take transaction SFP and create the interface ZTEMV001

No extra parameters to pass data. I just keep it all as simple as possible.

Image may be NSFW.
Clik here to view.
1.jpg

I save and activate the interface.

 

Next I create a form ZTEMV001 using the interface ZTEMV001.

Image may be NSFW.
Clik here to view.
2.jpg

I put one text field on the layout, just to see if an output is generated.

Image may be NSFW.
Clik here to view.
3.jpg

I save and activate the form and leave the transaction.

 

Now I go back to transaction SFP. I enter the adobe form ZTEMV001 and go in change mode. I push on the tab ‘layout’.

Image may be NSFW.
Clik here to view.
4.jpg

I push the function key ‘F8’.

 

A popup shows up asking if I want to save the changes. Nothing is changed. Normally I should not get this popup. The form is still active.

Image may be NSFW.
Clik here to view.
5.jpg

If I choose ‘No’, nothing happens. I stay on the same screen.

If I choose ‘Yes’, the test continues and I get the well-known transaction SE37, with the generated test function for this Adobe Form.

 

When I take a look at the name of the function I see the following…

Image may be NSFW.
Clik here to view.
6.jpg

The contents of table FPCONTEXTI shows the relation between our adobe forms and the generated function modules. For my form ZTEMV001, I have two entries. The one that will be tested (see image above) is the inactive one...

Image may be NSFW.
Clik here to view.
7.jpg

I push F8 for the function that is waiting to be tested. I enter LP01 as printer and select print preview. My form will be displayed and looks like the following image.

Image may be NSFW.
Clik here to view.
8.jpg

After pushing a few times back I get back to my Adobe form.

Image may be NSFW.
Clik here to view.
9.jpg

My form is now inactive because I saved this form after the pop-up and I did not active it anymore.

 

I activate the form and leave the transaction.

 

I go back to transaction SFP and take my form ZTEMV001 in display mode. My form is active.

Image may be NSFW.
Clik here to view.
10.jpg

I push F8 to test my form again and get the following screen.

Image may be NSFW.
Clik here to view.
11.jpg

I see that the function name of the form is the function I found before in the table FPCONTEXTI for my form.
This was the active version and is the only version that is left in the table.

Image may be NSFW.
Clik here to view.
12.jpg

I push F8, fill in printer LP01, choose ‘print preview’ and.... an error appears.

Image may be NSFW.
Clik here to view.
13.jpg

 

Any thoughts or ideas?

 

Thanks a lot!

 

Kind regards,

Dimitri


Viewing all articles
Browse latest Browse all 8526

Trending Articles