Skip to Content
0
Aug 29, 2014 at 03:42 AM

populating table displayed in view

26 Views

trying to populate values into a table that is being displayed in the view

iam using the value node

iam writing this logic in do_prepare_output

TYPES: BEGIN OF ltype_attr_struct,

reason TYPE char80,

answered TYPE char80,

END OF ltype_attr_struct.

DATA: DATA: lwa_struct TYPE ltype_attr_struct,

lwa_table TYPE TABLE OF ltype_attr_struct,

lwa_struct-answered = 'YES'.

lwa_struct-reason = 'going overseas'.

APPEND lwa_struct TO lwa_table.

lwa_struct-answered = 'YES'.

lwa_struct-reason = 'returning back'.

APPEND lwa_struct TO lwa_table.

lwa_struct-answered = 'NO'.

lwa_struct-reason = 'frequent travel'.

APPEND lwa_struct TO lwa_table.

I WANT TO POPULATE THIS TABLE LWA_TABLE INTO THE TABLE DISPLAYED IN THE VIEW

IF I WANT TO POPULATE SINGLE RECORD IAM USING THIS

lr_entity = typed_context->declineconditions->collection_wrapper->get_current( ).

lr_entity->set_properties( EXPORTING is_attributes = lwa_struct ).

BUT I WANT TO POPULATE MULTIPLE RECORDS

REGARDS

LUXMI