0% found this document useful (0 votes)
261 views7 pages

Global Class Functionality

The document provides step-by-step instructions for creating and using global class functionality in SAP. It describes creating a global class, providing attributes and methods, writing logic for the methods, saving, checking, and activating the class, creating a program to use the class logic, and executing the program.
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
261 views7 pages

Global Class Functionality

The document provides step-by-step instructions for creating and using global class functionality in SAP. It describes creating a global class, providing attributes and methods, writing logic for the methods, saving, checking, and activating the class, creating a program to use the class logic, and executing the program.
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 7

Global Class Functionality (Step-by-step approach)

By Vikram Chellappa, Mouri Tech Solutions Go to SE24 T-Code.

Provide the name.

Click on the Create button.

Provide the Description.

Press Save button. Then we can view the screen like this.

Provide method.

Goto Attributes Provide the values.

In ZCL_KNA1 is the structure.

And ZCL_TT is table type.

Go to methods tab. And double click on the method select_method. And write the logic.

The code is like this.

Go back Save check and activate it. And provide another method Display_method.

Double click on the display_method. Then write the logic.

Save it, check it, activate it. Provide the logic in se38.

Create the program.

Provide the logic.

Then save it, check it, activate it. And execute it. The output is like this.

Provide the values.

Execute it.

You might also like