Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Using internal table in global classes

Former Member
0 Likes
380

Hi ,

1 . How to use internal tables in global classes .

2 . While creating e new report program using se38 we get an option STATUS

choices : Sap Standard Production Program

Customer Production Program

System program .

Can any tell me the differce between these choices and in which scenario

these choice have to be used .

Bye .

Neetesh Shrivastava

1 REPLY 1
Read only

Former Member
0 Likes
321

1. If the internal table is declared as a public attribute in a global class, then it can be used by any instance of the class.

loop at r_object->tab1 into l_struct.

endloop.

Methods in the global class can access the table without the class prefix.

2. A system program can only be debugged if the system settings allow this (usually not in production).

The other choices are only for information.

Regards

Michael