Hi SRM Experts,
I have created a new tab called other data in item details for contract as shown below.
I have to find the selected item guid in my new view.
Image may be NSFW.
Clik here to view.
I have created context node as "ND_OTH_DATA" and have an attribute called GUID.
In the below code in WDDOINIT of component controller both( wd_this->mv_guid and lv_bo_guid )
returns parent guid using task container and bom ,but how to get the current item level guid?
How and what needs to be done to get the desired result.
=============================
CALL METHOD wd_this->mo_task_container->get_current_bo_mapper
IMPORTING
eo_bo_mapper = wd_this->mo_bom_ctr.
* wd_this->mv_guid = mo_bom_ctr->GET_BO_GUID ( ).
CALLMETHOD wd_this->MO_BOM_CTR->GET_BO_GUID
RECEIVING
RV_BO_GUID = wd_this->mv_guid
.
DATA : lv_bo_guid TYPE BBP_GUID,
lv_p_guid type BBP_GUID.
CLEAR : lv_bo_guid , lv_p_guid .
CALLMETHOD wd_this->mo_task_container->get_bo_guid
receiving
rv_bo_guid = lv_bo_guid
============================
Regards,
Partha