Skip to Content
Sep 07, 2009 at 07:53 AM

Fill values in transaction launcher



I'm trying to launch a transaction launcher by clicking a button in component BT126H_APPT, view ApptOVViewset. The transaction launcher works great, but I can't fill the values with the partner number field and the description field.

I try to fill the CURRENTIREC entity in the event handler of the button with the following coding:

  lr_data ?= me->typed_context->btadminh->collection_wrapper->get_current( ).
  lv_bdc = cl_crm_ui_data_context_srv=>get_instance( me ).
  lv_bdc->set_entity( name = 'CURRENTIREC' value = lr_data ).

but if the transaction launcher interprets the entity to add the values, the entity is not there.

Any ideas what i'm doing wrong?

Best regards,