cancel
Showing results for 
Search instead for 
Did you mean: 

Add new custom tab to SC item

Former Member
0 Kudos

Hi all,

I want to add a new custom tab to SC item.

I've created an enhancement point within the component /SAPSRM/WDC_UI_SC_DOFC_D1 and I've added the new tab.

The problem is that when I select this tab in the portal a message is displayed as following:

"The screen component is unknown. The navigation must be canceled"

By the moment the tab is empty, but I've tried to add a ViewContainerUI Element and I've added an embed view in the window, but the same message is still displayed...

Do you know what i need to do in order to add this new tab?

Thanks in advance.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Ok, i did it creating a overwrite-exit for the method ONACTIONSELECT_TAB in order to avoid the standard code when the selected tab is my custom tab...

now, i want to read the item_basic_data, but i don't know how.

Any idea?

Former Member
0 Kudos

now, i am getting the data with the following sentence:

DATA: lv_guid TYPE bbp_guid.
    DATA lo_componentcontroller TYPE REF TO ig_componentcontroller .
    lo_componentcontroller =   wd_this->get_componentcontroller_ctr( ).
    lv_guid = lo_componentcontroller->mo_bom_sc->/sapsrm/if_cll_item_admin~get_lead_selection( ).

Then I can use the bapi BBP_PD_SC_ITEM_GETDETAIL in order to get the data.

Now, i want to SET this data with some modifications...

Any idea?

Former Member
0 Kudos

Solved.

I've created an enhancement point in the method /SAPSRM/IF_CLL_MAPPER~UPDATE of the class /SAPSRM/CL_CH_WD_DODM_SC_I_D1 in order to set these custom data to the item_basic_data.

Former Member
0 Kudos

Hi,

Can you please explain as to how did you achieve this, I have the similar issue.

Regards,

Cruiser

former_member398373
Participant
0 Kudos

Hi,

Can you please explain as to how did you achieve this, I have the similar issue.

Regards,

papi