Skip to content

/AWS1/CL_HNCCELLINPUT

CellInput object contains the data needed to create or update cells in a table.

CellInput object has only a facts field or a fact field, but not both. A 400 bad request will be thrown if both fact and facts field are present.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_fact TYPE /AWS1/HNCFACT /AWS1/HNCFACT

Fact represents the data that is entered into a cell. This data can be free text or a formula. Formulas need to start with the equals (=) sign.

it_facts TYPE /AWS1/CL_HNCFACTLIST_W=>TT_FACTLIST TT_FACTLIST

A list representing the values that are entered into a ROWSET cell. Facts list can have either only values or rowIDs, and rowIDs should from the same table.


Queryable Attributes

fact

Fact represents the data that is entered into a cell. This data can be free text or a formula. Formulas need to start with the equals (=) sign.

Accessible with the following methods

Method Description
GET_FACT() Getter for FACT, with configurable default
ASK_FACT() Getter for FACT w/ exceptions if field has no value
HAS_FACT() Determine if FACT has a value

facts

A list representing the values that are entered into a ROWSET cell. Facts list can have either only values or rowIDs, and rowIDs should from the same table.

Accessible with the following methods

Method Description
GET_FACTS() Getter for FACTS, with configurable default
ASK_FACTS() Getter for FACTS w/ exceptions if field has no value
HAS_FACTS() Determine if FACTS has a value

Public Local Types In This Class

Internal table types, representing arrays and maps of this class, are defined as local types:

TT_ROWDATAINPUT

TYPES TT_ROWDATAINPUT TYPE HASHED TABLE OF /AWS1/CL_HNCCELLINPUT=>TS_ROWDATAINPUT_MAPROW WITH UNIQUE KEY key
.

TS_ROWDATAINPUT_MAPROW

TYPES: BEGIN OF TS_ROWDATAINPUT_MAPROW,
  key TYPE /AWS1/HNCRESOURCEID,
  value TYPE REF TO /AWS1/CL_HNCCELLINPUT,
END OF TS_ROWDATAINPUT_MAPROW.