Hi Shaik,
I got the same requirement and the custom field is not replicating to ECC.
Please find the steps I followed.
1 ) Updated the table VBAK and structures (VBAKKOZ, VBAKKOZX, BAPE_VBAK, BAPE_VBAKX) with the custom field created in CRM with same data type.
2) Enhanced the Exchange BADI : CRM_DATAEXCHG_BADI
3) Implemented the code in method IF_EX_CRM_DATAEXCHG_BADI~CRM_DATAEXCH_AFTER_BAPI_FILL as below.
IF sy-subrc = 0.
wa_bapiparex-structure = 'BAPE_VBAK'.
wa_bapiparex-valuepart1+0(10) = ls_orderadm_h-object_id.
wa_bapiparex-valuepart1+35(1) = lw_billing-zzfld000020. (Custom Field: ZZLD)
APPEND wa_bapiparex TO ct_bapiparex.
CLEAR wa_bapiparex.
wa_bapiparex-structure = 'BAPE_VBAKX'.
wa_bapiparex-valuepart1+0(10) = ls_orderadm_h-object_id..
wa_bapiparex-valuepart1+10(1) = 'X'.
APPEND wa_bapiparex TO ct_bapiparex.
CLEAR wa_bapiparex.
ENDIF.
Please find the BAPI structures as below
Please correct me if I went wrong..
Thanks,
Raja