Hi All, we have one issue regarding table view attribute field values.
we have a table view with 7 to 8 fields and based on the Product ID and the number of card enteres, 2 of the attributes should be calculated with unique numbers and displayed in the table view. so for e.g. we have 3 products ID's and for each Product say 3 number of cards are entered, total 9 records should be displayed in the table view with 2 of the attributes with new unique calculated value. below is the code return for the same in do loop to set the work area and aldd to the collection.
l_o_value_node->set_properties(
EXPORTING is_attributes = l_o_struct_ref->* ).
l_if_bo_coll->insert(
EXPORTING iv_bo = l_o_value_node
iv_index = sy-index ).
typed_context->result->set_collection(
EXPORTING collection = l_if_bo_coll).
in insert method, ME->ENTITY_LIST gets changed with the new value even for earlier collections
insert LV_ENTRY into ME->ENTITY_LIST index IV_INDEX.
So the entire table is displayed with required number of records but with same values for the 2 attributes.
Thanks
Prasad