09-19-2008 4:36 PM
Hello!
I am looking for a user exit on outbound Idocs that would be invoked for all idoc types/messages. I have only been able to find user exits for specific types. What I am looking to do is add a check and translate for unicode (wide) characters in idocs going to non-unicode systems.
We are on ECC 6.0 EP3.
Thanks!
John
09-19-2008 5:15 PM
Hi,
Exit EXIT_SAPLBD11_001 will do. ALE customizing settings might need minor adaptions - the exit is only if executed if versions or enhancement types of idocs differ:
if f_exception-msgty is initial
and ( f_idoc_control-idoctp <> target_idoctp
or f_idoc_control-cimtyp <> target_cimtyp ).
perform change_idoc_version tables t_idoc_data
using target_idoctp
target_cimtyp
changing f_idoc_control
changed_flag
f_exception.
endif. "End of if subrc = 0
endform. " IDOC_CONVERT_VERSION_OUTBOUND
Later BADI IDOC_CREATION_CHECK is processed- but this does NOT allow modifocation of table idocdata directly (but you may use external assign to do so...).
regards,
hp
Edited by: Holger Pakirnus on Sep 19, 2008 6:20 PM