Quantcast
Channel: SCN : All Content - SAP CRM: Webclient UI - Framework
Viewing all articles
Browse latest Browse all 4552

Select multiple campaigns within Marketing Search Help

$
0
0

Business requirement is to give user ability to select multiple campaigns within search contained within Marketing Tray. Once user hits 'choose' button, the selected campaigns should populate Marketing tray along with associating discounts. Below, are my changes to code at a high level. I see multiple selected records within context MKTPRJ (BTCAMPAIGN/View Marketing). However, I am not able to go from one record to next within context. Reason, is the multi select flag is set (lr_context_node->collection_wrapper->get_next( )).

 

 

Component MKTPR_ADVSEARCH/View ResultListPro

     DO_INIT_CONTEXT

          Set selection mode to multi

     DO_INIT_ACTIVATION

          Set selection mode to multi

     EH_ONSELECT

          if multiselect or shifkeyselection

               add record to context

          else

               add it to wrapper collection

               fire outbound plug

          endif

 

Component BTCAMPAIGN/View Marketing

     EH_ONSEL_CAMPID

          Get records from conext MKTPRJ and add them to associating objects


Viewing all articles
Browse latest Browse all 4552

Trending Articles