Quantcast
Channel: SCN: Message List - SAP CRM: Webclient UI - Framework
Viewing all articles
Browse latest Browse all 7775

populating table displayed in view

$
0
0

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


Viewing all articles
Browse latest Browse all 7775

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>