Hi All,
I have one custom function module for inbound IDOC, in which I am checking one condition for Name 1 and Name 2 field, if either of these fields is blank I need to set the status 51 of the generated IDOC. Currently I am doing it through FM 'EDI_DOCUMENT_STATUS_SET' and I am able to set the status as 51 while reprocessing it through WE19.
But the issue is my client want to process the IDOC from BD87 and above mentioned FM is unable to set the status 51 while processing IDOC through BD87. IDOC is coming in status 64. So please suggest what should I write in my code so it will work for BD87 as well.
Thanks & Regards
Sumit