SAP /BOFU/CL_ADDR_ENCODE OO Class - Encoding routines for BAS Node Ids









/BOFU/CL_ADDR_ENCODE is a standard SAP object class available within R/3 SAP systems depending on your version and release level. You can view/maintain the class details by entering its name into the relevant SAP transactions such as SE24, SE80 or even SE84. Below is the documentation available for class /BOFU/CL_ADDR_ENCODE including details of:

  • Interface class implementations
  • Inheritance details
  • Methods defined within class ( including link to full details )
  • Attributes ( including initial values )
  • Class Events



Method list of /BOFU/CL_ADDR_ENCODE SAP class


A method is a coding block that performs a certain procedure (i.e. ABAP functionality) on an object within the overall SAP class. In simple terms if the object is an SAP database table a method could be the procedure to add a record or to delete a record. If you are new to OO in many respects, the implementation of a method is similar to a function module and can be called in a very similar way using CALL METHOD. Instead of "CALL FUNCTION", Methods are referenced using the following syntax: CALL METHOD =>methodname EXPORTING/IMPORTING...


Method NameDescriptionVisability
ADAPT_HOST_ADDR_ROOT_LINKAdapt host node to address root linksPublic
CALL METHOD /bofu/cl_addr_encode=>ADAPT_HOST_ADDR_ROOT_LINK...more details

ADD_HOST_ADDR_ROOT_LINKAdd a new host node to address root linkPublic
CALL METHOD /bofu/cl_addr_encode=>ADD_HOST_ADDR_ROOT_LINK...more details

CLEANUP_ADDR_BUFFERSCleanup internal address buffersPublic
CALL METHOD /bofu/cl_addr_encode=>CLEANUP_ADDR_BUFFERS...more details

COMPOSE_ADDRESS_IDProtected
CALL METHOD /bofu/cl_addr_encode=>COMPOSE_ADDRESS_ID...more details

DECODE_ADDRESS_TYPEPublic
CALL METHOD /bofu/cl_addr_encode=>DECODE_ADDRESS_TYPE...more details

DECODE_COMM_IDExtractscomm data Node IdPublic
CALL METHOD /bofu/cl_addr_encode=>DECODE_COMM_ID...more details

DECODE_COMM_NOTE_IDExtracts comm note Node IdPublic
CALL METHOD /bofu/cl_addr_encode=>DECODE_COMM_NOTE_ID...more details

DECODE_COMM_PREF_IDExtracts communication preference Node IdPublic
CALL METHOD /bofu/cl_addr_encode=>DECODE_COMM_PREF_ID...more details

DECODE_COMM_USAGE_IDExtracts comm usage Node IdPublic
CALL METHOD /bofu/cl_addr_encode=>DECODE_COMM_USAGE_ID...more details

DECODE_COMPOUND_IDExtracts Address Number and Person Number from Node IdProtected
CALL METHOD /bofu/cl_addr_encode=>DECODE_COMPOUND_ID...more details

DECODE_GENERATED_IDExtracts information from a generated Node IdProtected
CALL METHOD /bofu/cl_addr_encode=>DECODE_GENERATED_ID...more details

DECODE_ID_CATEGORYPublic
CALL METHOD /bofu/cl_addr_encode=>DECODE_ID_CATEGORY...more details

DECODE_LOCATION_IDExtracts postal address Node IdPublic
CALL METHOD /bofu/cl_addr_encode=>DECODE_LOCATION_ID...more details

DECODE_NOTE_IDExtracts note Node IdPublic
CALL METHOD /bofu/cl_addr_encode=>DECODE_NOTE_ID...more details

DECODE_ORG_NAME_IDExtracts organisation name Node IdPublic
CALL METHOD /bofu/cl_addr_encode=>DECODE_ORG_NAME_ID...more details

DECODE_PERS_NAME_IDExtracts person name Node IdPublic
CALL METHOD /bofu/cl_addr_encode=>DECODE_PERS_NAME_ID...more details

DECODE_WORKPLACE_IDExtracts workplace Node IdPublic
CALL METHOD /bofu/cl_addr_encode=>DECODE_WORKPLACE_ID...more details

DECOMPOSE_ADDRESS_IDProtected
CALL METHOD /bofu/cl_addr_encode=>DECOMPOSE_ADDRESS_ID...more details

ENCODE_COMM_IDForms a Node Id for comm dataPublic
CALL METHOD /bofu/cl_addr_encode=>ENCODE_COMM_ID...more details

ENCODE_COMM_NOTE_IDForms a Node Id for comm notePublic
CALL METHOD /bofu/cl_addr_encode=>ENCODE_COMM_NOTE_ID...more details

ENCODE_COMM_PREF_IDForms a Node Id for communication preferencePublic
CALL METHOD /bofu/cl_addr_encode=>ENCODE_COMM_PREF_ID...more details

ENCODE_COMM_USAGE_IDForms a Node Id for comm usagePublic
CALL METHOD /bofu/cl_addr_encode=>ENCODE_COMM_USAGE_ID...more details

ENCODE_COMPOUND_IDForms a Node Id from Address Number and Person NumberProtected
CALL METHOD /bofu/cl_addr_encode=>ENCODE_COMPOUND_ID...more details

ENCODE_GENERATED_IDForms a generated Node IdProtected
CALL METHOD /bofu/cl_addr_encode=>ENCODE_GENERATED_ID...more details

ENCODE_LOCATION_IDForms a Node Id for postal addressPublic
CALL METHOD /bofu/cl_addr_encode=>ENCODE_LOCATION_ID...more details

ENCODE_NOTE_IDForms a Node Id for notePublic
CALL METHOD /bofu/cl_addr_encode=>ENCODE_NOTE_ID...more details

ENCODE_ORG_NAME_IDForms a Node Id for organisation namePublic
CALL METHOD /bofu/cl_addr_encode=>ENCODE_ORG_NAME_ID...more details

ENCODE_PERS_NAME_IDForms a Node Id for person namePublic
CALL METHOD /bofu/cl_addr_encode=>ENCODE_PERS_NAME_ID...more details

ENCODE_WORKPLACE_IDForms a Node Id for workplacePublic
CALL METHOD /bofu/cl_addr_encode=>ENCODE_WORKPLACE_ID...more details

GET_ADDR_KEY_MAPGet addr_key map (all keys with the same addr_key)Public
CALL METHOD /bofu/cl_addr_encode=>GET_ADDR_KEY_MAP...more details

GET_ADDR_SIBLING_CHANGESGet changes for all addr roots pointing to the same addressPublic
CALL METHOD /bofu/cl_addr_encode=>GET_ADDR_SIBLING_CHANGES...more details

GET_HOST_ADDR_ROOT_LINKGet host node to address root link infoPublic
CALL METHOD /bofu/cl_addr_encode=>GET_HOST_ADDR_ROOT_LINK...more details

GET_HOST_ADDR_ROOT_LINK_EXTGet host-to-addr.-root link via BO/Node/Prefix and Host KeyPublic
CALL METHOD /bofu/cl_addr_encode=>GET_HOST_ADDR_ROOT_LINK_EXT...more details

GET_INSTANCEGet an instence of CL_ADDR_ENCODEPublic
CALL METHOD /bofu/cl_addr_encode=>GET_INSTANCE...more details

IS_ADDRESS_IDPublic
CALL METHOD /bofu/cl_addr_encode=>IS_ADDRESS_ID...more details

IS_COMM_IDCheck: Address Node Id belongs to comm dataPublic
CALL METHOD /bofu/cl_addr_encode=>IS_COMM_ID...more details

IS_COMM_NOTE_IDCheck: Address Node Id belongs to comm notePublic
CALL METHOD /bofu/cl_addr_encode=>IS_COMM_NOTE_ID...more details

IS_COMM_PREF_IDCheck: Address Node Id belongs to communication preferencePublic
CALL METHOD /bofu/cl_addr_encode=>IS_COMM_PREF_ID...more details

IS_COMM_USAGE_IDCheck: Address Node Id belongs to comm usagePublic
CALL METHOD /bofu/cl_addr_encode=>IS_COMM_USAGE_ID...more details

IS_COMPOUND_IDdetermines, if the Address Node Id belongs to an ex. addressProtected
CALL METHOD /bofu/cl_addr_encode=>IS_COMPOUND_ID...more details

IS_GENERATED_IDdetermines, if the Address Node Id is a generated IdProtected
CALL METHOD /bofu/cl_addr_encode=>IS_GENERATED_ID...more details

IS_LOCATION_IDCheck: Address Node Id belongs to a postal addressPublic
CALL METHOD /bofu/cl_addr_encode=>IS_LOCATION_ID...more details

IS_NOTE_IDCheck: Address Node Id belongs to a notePublic
CALL METHOD /bofu/cl_addr_encode=>IS_NOTE_ID...more details

IS_ORG_NAME_IDCheck: Address Node Id belongs to an organisation namePublic
CALL METHOD /bofu/cl_addr_encode=>IS_ORG_NAME_ID...more details

IS_PERS_NAME_IDCheck: Address Node Id belongs to a person namePublic
CALL METHOD /bofu/cl_addr_encode=>IS_PERS_NAME_ID...more details

IS_WORKPLACE_IDCheck: Address Node Id belongs to a workplacePublic
CALL METHOD /bofu/cl_addr_encode=>IS_WORKPLACE_ID...more details

MAP_ADDR_NODE_KEYMap address instance key (context specific <-> unspecific)Public
CALL METHOD /bofu/cl_addr_encode=>MAP_ADDR_NODE_KEY...more details

REGISTER_NEW_ADDR_NODE_KEYRegister new address node instance key (context specific)Public
CALL METHOD /bofu/cl_addr_encode=>REGISTER_NEW_ADDR_NODE_KEY...more details



/BOFU/CL_ADDR_ENCODE attributes

List of attributes within class CL_ABAP_CHAR_UTILITIES. These can be referenced using the following syntax CL_ABAP_CHAR_UTILITIES=>. Although depending on where you are inserting the ABAP code you do need to check if the attribute is public or private.

NameLevelDescriptionInitial ValueTypeVisability
C_ACPConstantCharacter Field Length = 10'ACP'LIKE
CHAR3
Protected
C_ADConstantCharacter Field Length = 10'AD'LIKE
CHAR2
Protected
C_AVConstant3-Byte field'AV'LIKE
CHAR2
Protected
C_CNConstantVersion Number Component'CN'LIKE
CHAR2
Protected
C_COConstantVersion Number Component'CO'LIKE
CHAR2
Protected
C_COMM_SIPConstantCommunication Method (Key) (Business Address Services)'SIP'LIKE
AD_COMM
Protected
C_COMM_URIConstantCommunication Method (Key) (Business Address Services)'URI'LIKE
AD_COMM
Protected
C_CPRConstant3-Byte field'CPR'LIKE
CHAR3
Protected
C_CUConstantVersion Number Component'CU'LIKE
CHAR2
Protected
C_GENConstantCharacter Field Length = 10'GEN'LIKE
CHAR3
Protected
C_ID_CATEGORY_ISHAREConstantCategorization of an AddressID'I'LIKE
/BOFU/AD_ID_CATEGORY
Public
C_ID_CATEGORY_NORMALConstantCategorization of an AddressIDSPACELIKE
/BOFU/AD_ID_CATEGORY
Public
C_LOCConstant3-Byte field'LOC'LIKE
CHAR3
Protected
C_ONAConstant3-Byte field'ONA'LIKE
CHAR3
Protected
C_PNAConstant3-Byte field'PNA'LIKE
CHAR3
Protected
C_REMConstant3-Byte field'REM'LIKE
CHAR3
Protected
C_TRUEConstantCheckbox'X'LIKE
XFELD
Protected
C_WPLConstant3-Byte field'WPL'LIKE
CHAR3
Protected
MO_MEStatic AttributeEncoding routines for BAS Node IdsLIKE
/BOFU/CL_ADDR_ENCODE
Protected
MT_ADDR_NODE_KEY_MAPInstance AttributeAddress instance key mappingLIKE
TT_INSTANCE_KEY_MAP
Protected
MT_HOST_ROOT_LINKInstance AttributeHost node instance to address root key link tableLIKE
TT_HOST_ADDR_ROOT_KEY_LINK
Protected
MT_ROOT_KEY_CLEANUPInstance AttributeAddress Root Keys which were cleaned upLIKE
/BOBF/T_FRW_KEY
Protected




/BOFU/CL_ADDR_ENCODE types

TT_HOST_ADDR_ROOT_KEY_LINK - Host node instance to address root key link table
TT_INSTANCE_KEY_MAP -
TY_HOST_ADDR_ROOT_KEY_LINK - Host node instance to address root key link table
TY_INSTANCE_KEY_MAP - Address instance key mapping

Links to Related Class(s)

/BOFU/CL...
Full list of available SAP object classes

Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!