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

How to read the form view data of value node?

$
0
0

Hello experts,

 

I have a Z table with some fields , say GC#, Validity, Value, Offered on.

I have created the form view with these fields and with the button  Create.

After entering the values in the form, I am trying to get those details in  eh_oncreate method with the below code.

 

DATA: lr_entity TYPE REF TO cl_crm_bol_entity,

lr_entity ?= me->typed_context->GCNODE->collection_wrapper->get_current( ).

lv_gcno = lr_entity->get_property_as_string( 'GCNO' ).


Here, it is giving me the error. I have checked that in debugging. lr_entity  does no have any reference, it is initial.  When the view is displayed, will it not create any instance for the context node?

Can someone please tell me how to read the form view data of value node? Your help will be much appreciated. Thank you.


Viewing all articles
Browse latest Browse all 7775

Trending Articles



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