Quantcast
Channel: SCN: Message List - ABAP Connectivity
Viewing all articles
Browse latest Browse all 3125

Change status of an IDOC from 64 to 51 while processing through BD87 transaction

$
0
0

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


Viewing all articles
Browse latest Browse all 3125

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>