on 09-03-2013 2:35 PM
Hi Experts
I have implemented the Note "1853382 -To maintain the value to the field AUTHORITY_LEVEL in pricing procedures that have been downloaded from ECC to CRM"..
As suggested in the Note i have written the report to update the pricing procedure's field AUTHORITY_LEVEL and then as per the another SAP note Note 1166349, a BADI CRM_PRIDOC_COMH_BADI has been enhanced to maintain user level check to give display or edit options to user.
When a condition type is entered in the order , condition type is not appearing for the users which are not maintained/not maintained in the BADI.
So which ever the condition type got update with value in field AUTHORITY_LEVEL, this condition type is not appearing to any user irrespective of the BADI check. Also I have observed that BADI CRM_PRIDOC_COMH_BADI is not triggering when condition type is entered in order.
Is there any reason for this. Please help.
Thanks
Shaik
Hi Chand ,
The BADI is triggered in FM : CRM_PRIDOC_COM_BUILD_OW. Can you please put a debugger in this FM , to further find out the cause of the BADI not getting called.
statics: sr_header_badi type ref to if_ex_crm_pridoc_comh_badi,
sv_flg_header_badi_created type crmt_boolean.
If not lv_header_type is initial.
if sv_flg_header_badi_created = false.
call method cl_exithandler=>get_instance
EXPORTING
exit_name = 'CRM_PRIDOC_COMH_BADI'
null_instance_accepted = true
CHANGING
instance = sr_header_badi.
sv_flg_header_badi_created = true.
endif.
if not sr_header_badi is initial.
call method sr_header_badi->header_communication_structure
EXPORTING
flt_val = lv_header_type
CHANGING
cs_comadm_h_com = es_comadm_h_com.
endif.
endif.
/Hasan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
5 | |
1 | |
1 | |
1 | |
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.