on 08-12-2014 4:56 AM
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
Hello,
Instead of using BADI there are other options available for F4 help.
Please go through the following link
Regards,
Anand Kumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Uma,
I don't know how I can explain, it is a bit triccky, let me try. When you add any restriction to global variables, what happens is if it is a variable it gets the filter setting from characteristic properties (such as from master data, from infoprovider etc.) but when you put that variable to default values and select posted values, then it first generates the result set with the filters in characteristic restrictions. So if it is a manual input variable then it will get the values restricted by characteristic restrictions pane as posted values. So in F4 help it will show the restricted values. Hope I didn't make it more complex for you...
Regards
User | Count |
---|---|
77 | |
9 | |
8 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.