on 03-04-2015 11:56 AM
Hi John,
There is nothing wrong in the coding. As the same code is been used in another prod system without any issue. Its just some configuration issue after the Patch upgrade Due to which its happening.
Rama
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Regards
Hi John,
Please find the get_v method code.
DATA:
lv_object_guid TYPE crmt_object_guid,
lv_object_kind TYPE crmt_object_kind,
lt_status_ui TYPE crmt_status_ui_tab,
str type string.
DATA: ls_ddlb TYPE bsp_wd_dropdown_line,
lt_ddlb TYPE bsp_wd_dropdown_table,
lr_btadminh TYPE REF TO cl_crm_bol_entity.
*Start of Code.
ls_ddlb-key = '01'.
ls_ddlb-value = 'Business'.
INSERT ls_ddlb INTO TABLE lt_ddlb.
ls_ddlb-key = '02'.
ls_ddlb-value = 'Office'.
INSERT ls_ddlb INTO TABLE lt_ddlb.
ls_ddlb-key = '03'.
ls_ddlb-value = 'Residential'.
INSERT ls_ddlb INTO TABLE lt_ddlb.
IF NOT zz_ddlb_321 IS BOUND.
CREATE OBJECT zz_ddlb_321
EXPORTING
iv_source_type = 'T'.
ENDIF.
zz_ddlb_321->set_selection_table( it_selection_table = lt_ddlb ).
RV_VALUEHELP_DESCRIPTOR = zz_ddlb_321.
Regards
Abhishek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Krish,
Thanks for the input.
We tried the first part but without any success. As our CRM is 6.0 we cant add the custom field through AET.
Regards
Rama
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi John,
The problem still persists. We need to get the value from the field when it is non-editable. Currently we are getting the value when the field is editable.
Regards
Abhishek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Krihnendu,
The logic is right as the same thing is been populating in another Production system where the patch upgarde was not performed.
Hi John,
The getter/setter method is working fine. Same logic has been used in another Production system where the patch upgarde was not performed.
Please refer below:
After patch up gradation that we are not able to get the values from screens ( UI ), either through getter or get_property_as_value or get_property_as_string .
Note : All fields detected till now are dropdown and zfields .
They all are greyout fields , if we ungrey them the problem is removed .
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi John,
Actually when i ungery the field there is no issue , value is getting retrieved , but i need to disable that field permanently via get_i or via configuration ( in that casse no value is getting fetched either via getter/setter or via get_property_as_value/get_property_as_string ) . .
As you have suggested , I have tried making fields enable from configuration tool and graying field from get_i_<> method only. But still the issue persists .
Note my SAP CRM version is CRM 6.0 .
Hi Rama,
Check the getter/setter method for that field.
Regards JP
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
In my opinion this is logic defect and please consult a developer.
Thanks,
Krish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
8 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.