02-24-2009 3:34 PM
Hello,
Could you pls. help me with the following:
I am looking for a general BADI/User-exit for outbound IDocs where I can populate error message in the status segment of IDoc based on certain condition. By this I want the IDoc to fail and later reprocess it when the error condition is resolved.
I do not want to code this in each and every user-exit for each IDoc type. So if there is a generic exit which is called during outbound processing of all IDocs then it will be helpful to my cause.
Thanks.
Best Regards,
Gajendra.
02-25-2009 9:58 AM
Hi,
please check the following BADi´s
IDOC_DATA_INSERT (to insert new values into IDoc)
IDOC_DATA_MAPPER (to map values)
I think this i what you need
IDOC_CREATION_CHECK (to check the creation of an IDoc)
Regards,
Gordon
02-25-2009 10:47 AM
Hello Gordon,
Thanks for your reply. These BADI are really very useful, but actually I do not want to stop the creation of IDoc. My requirement is to populate certain error status code in the IDoc and let the IDoc fail.
This will be based on entries on some customizing table.
Later when the customizing table says create idoc successfully then the IDoc should be created successfully (in green status).
Best Regards,
Gajendra.
02-25-2009 11:01 AM