08-19-2015 12:01 PM
Dear All,
I want apply the color legend to the Items in the transaction /IRM/GCRM(Vistex). For this i want to do the Enhancement as BADI.
Please help me for this any BADI is exsted..!
Thanks,
Ram
09-03-2015 12:14 PM
Hi Rambabu,
The BADI name is /IRM/BADI_GCR_ALL and Method name is ITEM_FIELD_EDIT_DETERMINE.
You should implement the badi and there is changing parameter CT_CRITM.
Loop this internal table(CT_CRITM.) and assign to field symbol like below
FIELD-SYMBOLS: <fs_critm> TYPE /irm/s_gcritm_fcat.
Logic:
LOOP AT ct_critm ASSIGNING <fs_critm>. * Inside loop check the condition with fields based on the requirement and apply the color
* legend to that particular line
* then assign the color code 6 like below statement.
<fs_critm>-rowcolor = 'C600'. ENDLOOP.
Regards,
Selvam M
09-03-2015 12:14 PM
Hi Rambabu,
The BADI name is /IRM/BADI_GCR_ALL and Method name is ITEM_FIELD_EDIT_DETERMINE.
You should implement the badi and there is changing parameter CT_CRITM.
Loop this internal table(CT_CRITM.) and assign to field symbol like below
FIELD-SYMBOLS: <fs_critm> TYPE /irm/s_gcritm_fcat.
Logic:
LOOP AT ct_critm ASSIGNING <fs_critm>. * Inside loop check the condition with fields based on the requirement and apply the color
* legend to that particular line
* then assign the color code 6 like below statement.
<fs_critm>-rowcolor = 'C600'. ENDLOOP.
Regards,
Selvam M