‎2006 Oct 31 11:58 AM
hi every one
as per my requirement i have to check for certain conditions
if those conditions are valid i have to send the idoc if not i have to block the idoc
how to code this sending and blocking.
‎2007 Jan 10 9:59 AM
Hi
Before you call the Idoc Function Module which will create the Idoc
Check the conditions if success call the function module .
If fails don't call the Function Module .
So in this case Idoc will not be created .
My question is you want create the Idoc and then block Please explain me .Because in the above solution it will not create the idoc if conditions fails .
Please reward if useful.
‎2007 Jan 10 10:43 AM
‎2007 Jan 10 10:45 AM
Hi Vamsi,
Set the filter criteris in Distribution model (BD64) for the message type - fields based on the condition. this may solve your problem..
Regards
KER