Hi,
Use small abap code and change SELECTION Value to P or X for field Comp code.
Table - ROOSFIELD.
Write abap code at ECC(source) SE38.
Try below code at dev system and do the syntax check.
Report ZREP.
Table: ROOSFIELD.
SELECT SINGLE * FROM ROOSFIELD WHERE OLTPSOURCE = '0BBP_TD_CONTR_2' AND
OBJVERS = 'A' AND FIELD ='<FIELD NAME>'.
IF SY-SUBRC = 0.
ROOSFIELD-SELECTION ='X'.
MODIFY ROOSFIELD.
ENDIF.
Above program once, that will make comp code field for selection.
Later at RSA6 you select Selection for comp code and save it.
activate data source and replicate into bw side.Activate data source in bw.
later check at info pack. you may see comp code in selection tab.
Thanks