Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9091

Restrict_F4 Help in Bex Query

$
0
0

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.

 

Capture.JPG

Badi and Implementation:


Filter value: 0BBP_PO_ID = IOBJNAM

 

Capture.JPG

 

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


Viewing all articles
Browse latest Browse all 9091

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>