SAP Constants

Below are list of some SAP Contants defined in system which can be used in your program.

Select Options

Select option related constants which you can use in your program to reduce number of literals.

DescriptionConstantsValue
IncludeIF_FSBP_CONST_RANGE=>SIGN_INCLUDEI
ExcludeIF_FSBP_CONST_RANGE=>SIGN_EXCLUDEE
EqualsIF_FSBP_CONST_RANGE=>OPTION_EQUALEQ
Not EqualIF_FSBP_CONST_RANGE=>OPTION_GREATERGT
Greater than or equalIF_FSBP_CONST_RANGE=>OPTION_GREATER_EQUALGE
Less thanIF_FSBP_CONST_RANGE=>OPTION_LESSLT
Less than or equalIF_FSBP_CONST_RANGE=>OPTION_LESS_EQUALLE
Not betweenIF_FSBP_CONST_RANGE=>OPTION_NOT_BETWEENNB
Contains PatternIF_FSBP_CONST_RANGE=>OPTION_CONTAINS_PATTERNCP
Not equalIF_FSBP_CONST_RANGE=>OPTION_NOT_EQUALNE
BetweenIF_FSBP_CONST_RANGE=>OPTION_BETWEENBT

Message Related

DescriptionConstantsValue
SuccessIF_CWD_CONSTANTS=>C_MESSAGE_SUCCESSS
InformationIF_CWD_CONSTANTS=>C_MESSAGE_INFOI
WarningIF_CWD_CONSTANTS=>C_MESSAGE_WARNINGW
ErrorIF_CWD_CONSTANTS=>C_MESSAGE_ERRORE
AbortIF_CWD_CONSTANTS=>C_MESSAGE_ABORTA

Finance Account Type

DescriptionConstantValue
CustomerIF_EDOCUMENT_HU_INV_20=>GC_KOART_CUSTOMERD
VendorIF_EDOCUMENT_HU_INV_20=>GC_KOART_VENDORK
GL AccountIF_EDOCUMENT_HU_INV_20=>GC_KOART_GL_ACCOUNTS
AssetIF_FIN_CFIN_CAA_RT=>GC_KOART_ASSETA

SD Document Status

DescriptionConstantValue
IrrelevantIF_MSR_TRC_C=>GC_STATUS_IRRELEVANT
Not StartedIF_MSR_TRC_C=>GC_STATUS_NOT_STARTEDA
PartialIF_MSR_TRC_C=>GC_STATUS_PARTIALB
CompleteIF_MSR_TRC_C=>GC_STATUS_COMPLETEC

Leave a Reply