on 05-22-2014 1:46 AM
blocking the user from changing the cos distribution if item quantity is more than one of shopping cart,can we achieve this using BBP_ITEM_CHECK_BADI?
Cost distribution label should be non editable.
Hello Venu,
Laurent is right. You need to make the field uneditable in field control. You can add dynamic customer class and method for controlling the field display properties based on some condtion.
In check BADI you will not be able to identify if the field is changed or not.
Regards,
Yayati Ekbote
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
i have done implicit implementation on method get_meta_data of class.
case 1;
if iv_field eq 'acc_distr_ind'.
rs_meta_data-enable = false;
endif.
Above code has to make cost distribution drop down as non editable ,but its not working,able to select drop down which should not happen but with below code
case 2:
if iv_field eq 'acc_distr_ind'.
rs_meta_data-enable = false;
rs_meta_data-visible = false;
endif.
Above code is working i.e cost distribution drop down was hidded on click of account assignment tab.
my requirement is to make drop down non editable(As shown in case 1 ).
please help
Hello,
you have to use metadata for this as you need to manage dynamically field property.
Regards.
Laurent.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.