cancel
Showing results for 
Search instead for 
Did you mean: 

Table Extension on SRM RFX item level - ADD button is not enabled

Former Member
0 Kudos

Hello,

I have added the Custom tab via the SPRO . the custom table is displayed but the ADD button isn't active in RFX Edit mode.

while debugging the standard code found the Button id for ADD is different than the one added through the Config - Customer Metadata Config for Actions on ITem level , the PDO action type is ADD_TICUS where as when i tried to debug the enhanced WDA class /SAPSRM/CL_CH_WD_DODM_CT method /SAPSRM/IF_CLL_DODM_I_CT~INIT_TABLE_EXTENSIONS , here the Button id is ADD_TICUS_ITM.

kindly forward if you have any finding's or clue by which i can debug to find the reason for the ADD button not enabled.

Thanks.

JN.

Accepted Solutions (0)

Answers (1)

Answers (1)

ivy_li
Active Contributor
0 Kudos

Hi,

/SAPSRM/IF_CLL_DODM_I_CT~INIT_TABLE_EXTENSIONS

* Text for Button ADD depending scope
IF gv_scope = 1.
* ID -> ADD_<SETTYPE>_HDR
CONCATENATE co_add_text co_underscore lv_set_type co_underscore co_header
INTO lv_id_add.
ELSE.
* ID -> ADD_<SETTYPE>_ITM
CONCATENATE co_add_text co_underscore lv_set_type co_underscore co_item
INTO lv_id_add.
ENDIF.

====================
I think the _ITM is added via the coding above.

BR,

Ivy