Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9091

Re: Search Help In opportunities Search Page

$
0
0

Hi Cris

 

I think your doubt is that how to place the selected value into the field from popup . .

 

You can get it from the below process

 

if you are using decision popup . .

 

in the CLOSE event of the popup write the below code

 

data :  lr_outputnode TYPE REF TO cl_bspwdcmp_bspwdcomponen_cn01,

         obj_query      TYPE REF TO cl_crm_bol_dquery_service,

           index TYPE sy-index,

           lt_row_index   TYPE int4_table,

 

  

lr_outputnode ?= <popup instance>->get_context_node( 'OUTPUTNODE' ).

 

CHECK lr_outputnode IS BOUND.

 

lt_row_index = lr_outputnode->get_selectedrowindex_t( ).

 

LOOP AT lt_row_index INTO index.

READ TABLE <decision popup Internal tab > INDEX index INTO wa_partner.

ENDLOOP.

 

partner = wa_partner-partner.

 

obj_query ?= me->typed_context->nodename->collection_wrapper->get_current( ).

 

CALL METHOD obj_query->get_selection_params

RECEIVING

rv_result = obj_col.

 

lr_entity = obj_col->get_first( ).

 

CHECK lr_entity IS BOUND.

 

WHILE lr_entity IS BOUND.

 

CALL METHOD lr_entity->get_property_as_string

EXPORTING

iv_attr_name = 'ATTR_NAME'

RECEIVING

rv_result    = attr.

    

IF attr = 'FIELDNAME'.

 

CALL METHOD lr_entity->set_property

EXPORTING

iv_attr_name = 'LOW'

iv_value     = partner.

ENDIF.

 

lr_entity = obj_col->get_next( ).

 

endwhile.

 

***by using above code you can place selected value from popup

 

 

Regards

Dinesh Gurram


Viewing all articles
Browse latest Browse all 9091

Trending Articles



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