Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Enh. point in Include for 3 function groups

Hello,

I have a Z-Include, which is called from 3 different function groups. In this object I´ve declared some constants, but the values can be different in every company, so I wanna implement it within enhancement-points, so that every company enters its own values:

ENHANCEMENT-POINT zconst SPOTS zacc_account STATIC INCLUDE BOUND.
ENHANCEMENT 2  ZCONST.    "active version
  CONSTANTS: min_weight(2)  TYPE n VALUE 5,   "<-- Minimum weight
              max_weight(2)  TYPE n VALUE 60,   "<-- Maximum weight
              min_account(2) TYPE c VALUE 6,    "<-- Min. number account.
              max_account(2) TYPE c VALUE 10.   "<-- Max. number account.
ENDENHANCEMENT.

The problem is that, in the best case, the declaration of constants is recognized in one function group but not from every calling object.

What should I do ???

Thanks

Former Member
Not what you were looking for? View more on this topic or Ask a question