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 to compare 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.

P1.png

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.

P2.png

Select the Attributes tab and double click on the program name.

P3.png

The following screen appears with the list of file names. Select the required Include name under User defined Files.

/wp-content/uploads/2013/12/p4_337827.png

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.

/wp-content/uploads/2013/12/p6_337828.png

Click on the option ‘Compare different Systems’.

Enter appropriate include names and details of the systems that needs to be compared.

/wp-content/uploads/2013/12/p7_337829.png

Enter the logon details of the system to be compared.

Comparison screen appears. Click on the ‘Comparison On’ button to initiate the process.

/wp-content/uploads/2013/12/p10_337830.png

Select ‘Next Difference from cursor ‘, Next Identical section from cursor’ options 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.

/wp-content/uploads/2013/12/p11_337831.png

The screen appears as below. In the Object Selection type, enter the Object type as ‘SSFO’ and give the smartform name and then Execute.

/wp-content/uploads/2013/12/p12_337835.png

List of all the Requests related to that smartform are displayed from which the changes can be traced.

To report this post you need to login first.

8 Comments

You must be Logged on to comment or reply to a post.

  1. Ankit Sharma

    Hi Aarthi,

    Thanks a lot for the info, but I think that by this method, we will only be able to trace the changes related to Program Lines, New Winodw, Conditions, Loops……

    but I think it will not be able to tell us if some one has changed the Text inside the SamrtForms.

    Do you have any idea about Text comparison ?

    Thanking You All.

    (0) 
  2. K.Arun Prabhu

    Good work Aarthi.

    This comparison process requires some effort 🙂

    Instead as a developer, I will download correct smartform (.XML) and upload it. 😉

    (0) 

Leave a Reply