Hi All,
The SRM Purchase order Id displaying unwanted values in F4 Help in Bex report. I tried to resrtict Selection-Screen for SRM Purchase order Id using Badi but its not working and more over Break point is also not triggering.
The report is created on an Infoset and field is Name in Query is ZNPP_PO_F__103 and variablename is ZSRM_PO.
Badi and Implementation:
Filter value: 0BBP_PO_ID = IOBJNAM
Used Method and Code:
Method IF_RSR_VARIABLE_F4_RESTRICT~GET_RESTRICTION_FLAT
BREAK-POINT.
IF i_vnam EQ 'ZSRM_PO'.
READ TABLE i_t_compid WITH TABLE KEY table_line = 'ZNPP_ZNPP_PO_Q001'
TRANSPORTING NO FIELDS.
IF sy-subrc = 0.
l_s_range-iobjnm = i_iobjnm.
l_s_range-sign = 'I'.
l_s_range-option = 'BT'.
l_s_range-low = '2000000000'.
l_s_range-high = '2999999999'.
APPEND l_s_range TO c_t_range.
ENDIF.
ENDIF.
Could any one please suggest the solution and is it possible to restrict F4 help through Customer Exit.
Thanks in Advance,
Uma