Application Development Blog Posts
Learn and share on deeper, cross technology development topics such as integration and connectivity, automation, cloud extensibility, developing at scale, and security.
cancel
Showing results for 
Search instead for 
Did you mean: 
Former Member
12,617

Step 1.The screen shot contain the Program Name is as shown below:


Step 2.Go to SE11 and go to table MODSAP.

On executing the above, the output is given below.


On observing the above data, the probable Enhancement is CONFPP07.

Step 3. Go to Transaction SMOD, enter CONFPP07, click the ‘Documentation’ Radio button which will guide you through the following steps:

  • Subscreens which needs to be created.
  • Create Include/append Structure in the corresponding database table
  • The desired Function Module which needs to be modified so that the data is passed from Main program to the new created subscreen and vice-versa.

Step 4.To Create the Project.

Go to transaction CMOD. Enter the project Name and click on the create button.

Enter the Short text for the Project and click on the enhancement assignments.

After entering the enhancement assignment, click on the components.

The following screen appears in components section.

Step 5 Go to the corresponding database table AFRUD via transaction SE11.Click on the Append Structure Push button.

A pop up appears where name of the Append Structure needs to be given starting with Z. On clicking enter the following is obtained as shown in the screen shot.

Three fields are created in the append structure table.

Finally Activate the structure which in turn activates the database table AFRUD and is appended in the database table as shown in the screen shot below.

Step 6.Go back to CMOD once again .Click on display and then into components.

Click on the 900 subscreen corresponding to program SAPLXCOF.A pop up appears asking for whether to create the screen or not.

On clicking enter; the first screen appears as given below.

Enter the short description.



Click on the Go to Layout Push button and click on the following as shown in screen shot below.

In the following screen enter the Table Name by clicking Get from Dic. And select fields which need to be inserted in the subscreen.

The following fields appear in the layout after selecting.


Go back to the Main Screen Painter and Active the screen.

Step 7.Click on the Function Exits appearing in the Components through CMOD transaction.

Click on the Z include to write the code

This function Module corresponds to PBO.

Click on the Z include to write the code

This function Module corresponds to PAI.

Step 8. Finally activate the project.


Step 9.Complete the configuration to link the subscreen.

            The linking of the subscreen to the Main program can be done in two ways:

            (a).By defining single screen entry as a standard profile. This is done by Transaction

                  OPK0.

            (b).By defining single screen entry to the CORUPROF parameter in the user defaults for

                  the current user. This is done by Transaction SU3.

In the present scenario, a standard profile is created in the configuration to link the subscreen.

On entering the transaction OPK0, the following screen appears as shown below.

Click on the New Entries button.

Enter the following information:

  1. Enter the Profile Name
  2. Enter the Description.
  3. Enter the Header area value from the List Box.
  4. Enter the Detail area values from the List Box for maximum 7 Areas. Also enter the Pushbutton Texts.
  • If Activities Area is chosen in the Detail Areas. Click on the Default tab button Enter the Activity text in the Text corresponding to the block Service.
  • Click on the Save Button.

The following screen appears, click the checkbox for Standard Profile and click on the Save button.

Thus the Standard Profile is created which links the Subscreen with the main screen.

Finally, enter the transaction CO11N and the following screen appears.

10 Comments
Labels in this area