The purpose of this document is to compare the versions of smart forms in different servers. This document is highly beneficial for Developers in ABAP which explains a step by step procedure to compare the versions of the forms.
INTRODUCTION:
Smartform has only one active version, in the form of function module which is regenerated once you change and activate it. Since smartform is client Independent, it can be easily transported to other systems. There may be cases where we would require comparing the versions of the forms across different systems. Though it is not possible to compare the forms directly, it can be achieved to some extent by comparing the generated Function modules line by line, thereby capturing the changes. This can be done via the Transaction SE39-Split Screen editor.
Note that the generated Function Module names will not be same across all systems.
PROCEDURE:
Once the smartform is created and activated, a Function Module gets generated.
To open the Function Module in display mode, either execute the Smartform or go via Transaction SE37 by fetching the FM name from Environment menu.FM will be opened in display mode as follows.
Select the Attributes tab and double click on the program name.
The following screen appears with the list of file names. Select the required Include name under User defined Files.
Similarly, the include name is fetched from the other server that needs to be compared.
Now, go to transaction code SE39. The following screen appears.
Click on the option ‘Compare different Systems’.
Enter appropriate include names and details of the systems that needs to be compared.
Enter the logon details of the system to be compared.
Comparison screen appears. Click on the ‘Comparison On’ button to initiate the process.
Select ‘Next Difference from cursor ‘, Next Identical section from cursor’ an option to analyze the variations and the same procedure is carried out till the end.
There is no option to compare the forms directly. But, the entire list of requests available for a smartform can be obtained from which the number of changes done can be captured.
Go to transaction SE03. Select the option ‘Objects in Requests’. Double click on Search for objects in Requests/Task.
The screen appears as below. In the Object Selection type, enter the Object type as ‘SSFO’ and give the smartform name and then Execute.
List of all the Requests related to that smartform are displayed from which the changes can be traced.