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

Standard Include containing often used constants?

Former Member
0 Likes
1,978

Well, hi there,

does anyone know of a (or several) standard include(s) containing usually for developping needed constants like:

Flags: true = 'X' or c_x = 'X'

Select Options: incl = 'I', excl = 'E', between = 'BT' , equal = 'EQ', etc.

Date: End = '99991231', Begin = '19000101' etc.

etc.

Someone must have thought this idea before!

Your hint will be appreciated!

Gunther

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,335

Hi

Usually this varies from Implementation to implementation depending upon the ABAP Standards which has been documented.

So I dont think that you have a standard include program for Constants

Do check this one out , these are for ALV programs

<b>TOP_INCLUDE_PHIL</b>

Well, hi there,

does anyone know of a (or several) standard include(s) containing usually for developping needed constants like:

Flags: true = 'X' or c_x = 'X'

Select Options: incl = 'I', excl = 'E', between = 'BT' , equal = 'EQ', etc.

Date: End = '99991231', Begin = '19000101' etc.

etc.

Someone must have thought this idea before!

Your hint will be appreciated!

Gunther

5 REPLIES 5
Read only

Former Member
0 Likes
1,336

Hi

Usually this varies from Implementation to implementation depending upon the ABAP Standards which has been documented.

So I dont think that you have a standard include program for Constants

Do check this one out , these are for ALV programs

<b>TOP_INCLUDE_PHIL</b>

Read only

0 Likes
1,335

Hi Dominic,

i agree, definition always depends on the programming goal i want to achieve. But you know, some things (e.g. c_x type char1 value 'X') do cross my way far to often.

There are type-pools i know, which provide structures for ALV, like type pool SLIS. The sense behind is the same.

Still i haven't found Your TOP_INCLUDE_PHIL. I searched in Release 4.7.

Thanx for your reply and have a nice day/night out there whereever you are!

Gunther

Read only

uwe_schieferstein
Active Contributor
0 Likes
1,335

Hello Gunther

A type-pool with very useful constants is <b>ABAP</b>.

Regards

Uwe

Read only

0 Likes
1,335

Hi Uwe,

thanx for your reply. That's rather something i was looking for. Also the package SABP is quite interesting to see.

Regards

Gunther

Read only

Former Member
0 Likes
1,335

Thanks for Your support, i declare the question to be answered!