I am replicating materials from ECC to CRM and i have implemented the BADI PRODUCT_CUSTOMER2 method MAP_R3_TO_CRM_MATERIAL to map the Z fields from ECC to CRM, the BADI gets triggered when the inbound queue is deregistered and debugged and i could see my Z set type being populated with data. But, if i dont debug the queue then Z set type is not being populated, dose not populate the set type even no queue is deregisted. BDOC table MNT_SETTYPE in DATA is also not being populated if i dot debug.
Could you please help me figure out the issue? Let me know if there is anything i am missing.