Hi Experts !!!!!!
I am creating outbound IDOC for Informatica as middleware.
Once transaction is saved in SAP, customized workflow will start on a trigger event and create IDOC using MASTER_IDOC_DISTRIBUTE. Before calling MASTER_IDOC_DISTRIBUTE i am doing few mandatory field validations.
My requirement is to generated IDOC, even validation fails and set status to '26'. I also need to set customized message in error status mentioning why IDOC failed.
Can anyone suggest how to achieve this.