cancel
Showing results for 
Search instead for 
Did you mean: 

How to Freeze the price field in SC

Former Member
0 Kudos

HI,

Requisitioner is being allowed to change the SC afer buyer completion when he should not be allowed to

After the buyer adds the supplier to the shopping cart, freeze the price field.

Thanks,

Prem Kumar.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

You have to implement the BADI BBP_UI_CONTROL_BADI. Please find the code below which will take care of the disabling part.


METHOD if_ex_bbp_ui_control_badi~bbp_sc_ui_ctrl.
*  Disable Price Field
  IF iv_fieldname = 'GT_SCR_ITMOVR_I-PRICE'
  OR iv_fieldname = 'GS_SCR_BASIC_I-PRICE'.
    cv_input_ready = '0'.
  ENDIF.
ENDMETHOD.  

Regards

Kathirvel

Former Member
0 Kudos

Hi,

How to hide the the price field when it comes back from buyer to requisitioner,,,,

For example : requisitioner create shopping cart its going to buyer for approval , if buyer done any changes in shopping cart its coming back to requisitioner that time only we need to hide.

thanks

akhil

Former Member
0 Kudos

Hi Prem,

Please go through the following link:

Thanks,

Pradeep