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

ATC/Extended Program Check: "Program uses global fields"

Peter_Inotai
Active Contributor
0 Likes
2,481

Hi,

In ATC/Extended Program Check I got messages about "Program uses global fields".

For me it's not 100% clear, what is wrong with this.

Especially that it's a small program with couple of variables and couple of lines.

I don't see a reason to break it down to smaller pieces and include them into methods.

Unfortunately there is no long text for this message from ATC ("Extended Program Check for ABAP Programs (SLIN)

The extended program check performs static checks that are too laborious for the normal syntax check....." )

Release is SAP_BASIS 7.02 with SP 15.

Any official guidelines about this?

Any info is welcome.

Thanks,

Peter

1 ACCEPTED SOLUTION
Read only

Peter_Inotai
Active Contributor
1,431

OK, found some official guidelines:

ABAP Keyword Documentation

Hi,

In ATC/Extended Program Check I got messages about "Program uses global fields".

For me it's not 100% clear, what is wrong with this.

Especially that it's a small program with couple of variables and couple of lines.

I don't see a reason to break it down to smaller pieces and include them into methods.

Unfortunately there is no long text for this message from ATC ("Extended Program Check for ABAP Programs (SLIN)

The extended program check performs static checks that are too laborious for the normal syntax check....." )

Release is SAP_BASIS 7.02 with SP 15.

Any official guidelines about this?

Any info is welcome.

Thanks,

Peter

1 REPLY 1
Read only

Peter_Inotai
Active Contributor
1,432

OK, found some official guidelines:

ABAP Keyword Documentation