on 10-07-2011 6:13 AM
Hi Experts,
we want to make a new assignment block within the BP view, the view should show all campaigns where the bp is involved in.
We use the function module CRM_MKTPL_CAMPGNS_TO_BUPA_GET, which works well.
So we add a new view to the component BP_DATA, no I have certain problems getting the right bol entities!
First thought was to use root entity Campaign, but this BOL was not possible to set as BOL node within the view creation wizard? So we choose BuilCampaign, but BuilCampaign is no root entity, it is related to BuilHeader, so it's not possible to create entities by BOL framework e.g.
lr_core = cl_crm_bol_core=>get_instance( ).
lr_entity = lr_core->get_root_entity( iv_object_name = 'BuilCampaigns'
iv_object_id = lv_id ).
Does anybody know why the BOL Campaign doesn't show up in the wizards search help for the BOL node?
regards
Markus
Hi Markus,
There's workaround to solve your problem. Create VAUE NODE for the context node. It's mean you need to :
1. Create structure for the attributes that you need to show in the Web UI, for example campaign_id, description, plan start, plan finish, etc.
2. redefine the on_new_focus method to get the value of the attibutes
in this method you can call FM 'CRM_MKTPL_CAMPGNS_TO_BUPA_GET' and passing by the bp_guid, you get the list of campaign_id. From there, you can get another attributes
Hope it's help,
Lina
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello, Markus.
Firstly,
BOL Campaign must be in the model which is used in the component BP_DATA. If it's not there you won't be able to choose it in the wizard. You can check which model is in use in Runtime Repository Editor of this component.
Secondly,
why don't you use BuilCampaign itself? (don't know what it returns, but if it relates to BuilHeader...)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Markus,
in such situation I'd suggest this: if you definetly now that BOL Campaign can help you and you know the component which this BOL belongs to you can add this component to component set BP_APPL (which is used in BP_DATA UI component) in SPRO -> CRM -> CRM Cross-Application Components -> Generic Interaction Layer/Object Layer -> Basic Settings. And from this point you'll be able to instantiate it in BP_DATA.
User | Count |
---|---|
7 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.