SAP CL_NWDEMO_SERVICE OO Class - Common methods for service classes









CL_NWDEMO_SERVICE 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 CL_NWDEMO_SERVICE 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 CL_NWDEMO_SERVICE 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
ADD_SUBSTRUCTUREPrivate
CALL METHOD cl_nwdemo_service=>ADD_SUBSTRUCTURE...more details

BUILD_MULT_ADDR_QUERYBuild filter argument for the query by namePrivate
CALL METHOD cl_nwdemo_service=>BUILD_MULT_ADDR_QUERY...more details

CHANGE_TEXTChange text entryPublic
CALL METHOD cl_nwdemo_service=>CHANGE_TEXT...more details

CHG_ATTRIBUTEDynamic change of persistent object attributePublic
CALL METHOD cl_nwdemo_service=>CHG_ATTRIBUTE...more details

CHG_OBJECT_ATTRIBUTESChange field values of structurePublic
CALL METHOD cl_nwdemo_service=>CHG_OBJECT_ATTRIBUTES...more details

CLASS_CONSTRUCTORCLASS_CONSTRUCTORPublic
CALL METHOD cl_nwdemo_service=>CLASS_CONSTRUCTOR...more details

CREATE_LINK_PERSISTENTCreate link BP - AddressPublic
CALL METHOD cl_nwdemo_service=>CREATE_LINK_PERSISTENT...more details

CREATE_TEXT_ENTRIEScreate entries in text tablePublic
CALL METHOD cl_nwdemo_service=>CREATE_TEXT_ENTRIES...more details

CREATE_UUIDCreate RAW 16 GUIDPublic
CALL METHOD cl_nwdemo_service=>CREATE_UUID...more details

DELETE_LINKDelete link table entryPublic
CALL METHOD cl_nwdemo_service=>DELETE_LINK...more details

DELETE_TEXTDelete textPublic
CALL METHOD cl_nwdemo_service=>DELETE_TEXT...more details

DELETE_TEXT_ENTRIESDelete list of text entriesPublic
CALL METHOD cl_nwdemo_service=>DELETE_TEXT_ENTRIES...more details

GET_BP_BY_ADDRESSGet business partner by addressPublic
CALL METHOD cl_nwdemo_service=>GET_BP_BY_ADDRESS...more details

GET_STRUCTURE_CONTENTFill structure with it's field valuesPublic
CALL METHOD cl_nwdemo_service=>GET_STRUCTURE_CONTENT...more details

GET_TABLE_CONTENTFill all entries and all attributes of corresponding tablePublic
CALL METHOD cl_nwdemo_service=>GET_TABLE_CONTENT...more details

GET_TEXT_GUIDGet internal text id for text objectPrivate
CALL METHOD cl_nwdemo_service=>GET_TEXT_GUID...more details

GET_TEXT_LANGUGet internal text id for text objectPrivate
CALL METHOD cl_nwdemo_service=>GET_TEXT_LANGU...more details

GET_TYPEDESCRGet DDIC data of structurePublic
CALL METHOD cl_nwdemo_service=>GET_TYPEDESCR...more details

SAVEPrepare change of DBPublic
CALL METHOD cl_nwdemo_service=>SAVE...more details



CL_NWDEMO_SERVICE 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
CHANGEConstantChange operation'C'LIKE
SDEMO_OPERATION
Public
CREATEConstantCreate operation'I'LIKE
SDEMO_OPERATION
Public
C_CLEARConstantType of change operation'C'LIKE
SDEMO_CHG_FLAG
Public
C_CURRENCY_CODEConstantstandard currency code'USD'LIKE
CHAR3
Public
C_MY_COMPANY_NAMEConstantCompany name of this user'ITelO'LIKE
SDEMO_COMPANY_NAME
Public
C_QUANTITY_UNITConstantQuantity Unit Code'EA'LIKE
SDEMO_QUANT_UNIT
Public
C_REPLACEConstantType of change operation'R'LIKE
SDEMO_CHG_FLAG
Public
C_TAX_RATEConstantNumc3, internal use19LIKE
SDEMO_TAX_RATE
Public
C_TIMEZONEConstantTime Zone'CET 'LIKE
TTZZ-TZONE
Public
DELETEConstantDelete operation'D'LIKE
SDEMO_OPERATION
Public
FALSEConstantFALSESPACELIKE
XFELD
Public
GC_QUERY_METHOD_NAMEConstantName of the query method'IF_OS_CA_PERSISTENCY~GET_PERSISTENT_BY_QUERY'LIKE
STRING
Private
GR_LINK_AGENTStatic AttributeAgent SAP NW Demo Model - link persistence classLIKE
CA_NWDEMO_PERSIST_LINK
Public
GR_QUERY_MNGStatic AttributeObject Services Query ManagerLIKE
IF_OS_QUERY_MANAGER
Private
GR_QUERY_WITH_ADDR_GUID_MULTStatic AttributeObject Services QueryLIKE
IF_OS_QUERY
Private
GR_TEXT_AGENTStatic AttributeAgent SAP NW Demo Model - link persistence classLIKE
CA_NWDEMO_PERSIST_TEXT
Public
GT_TYPEDESCRStatic AttributeLIKE
GYT_TYPEDESCR
Private
INSTANCEStatic AttributeCommon methods for service classesLIKE
CL_NWDEMO_SERVICE
Public
MWSTConstantTAXRATE19LIKE
SDEMO_MWST
Public
TRUEConstantTRUE'X'LIKE
XFELD
Public




CL_NWDEMO_SERVICE types

GYS_TYPEDESCR -
GYT_TYPEDESCR -

Links to Related Class(s)

CL_NWDEM...
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!