In the user exit 'Exit_sapllmde_006' of l_idoc_input_wmmbxy am using function module WFMC_MESSAGE_SINGLE for triggering orders05 idoc. The function module l_idoc_input_wmmbxy updates the table EKBE. But this update takes place only after the complete execution of the function module l_idoc_input_wmmbxy . In the user exit of orders 'Exit_sapleinm_002' am fetching value from ekbe table and populating. But since this table is getting updated later only this segments filled by fetching value from ekbe table are empty.
I tried using commit work and wait. But it didnt work. Tried copying WFMC_MESSAGE_SINGLE to Zfunction module and calling that in update task but this is also not working.
Is there any way to make the table get updated before calling the function module for triggering orders.