Hi,
I need to set the status for an INVOIC Idoc to 51 when it fails a check for multiple POs, the function module used for generating the Idoc is IDOC_OUTPUT_INVOIC.
I have as of yet been unable to determine where the idoc gets created so i can add a status 51 record against it as I presume it needs to be created first before i can add a status record.
Any help would be appreciated.
Thanks,
Will