Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Error in Reprocessing IDOCS

Former Member
0 Kudos
6,345

I am facing a problem while reprocessing an inbound IDOC of type DESADV

I have few I which have gone into error.

The error code is 51 and the description is The document is still under process.

The document was in edit mode when the IDOC came in and fair enough for the error.

But now, I have closed the document and tried to reprocess the IDOC in BD87, when I select the node: DESADV and click the process button, I am getting the error message :

"The operation cannot be carried out with this node type"

If I use WE19 there is absolutely no problem but I dont want to use that as it creates a new IDOC.

I have done this many times and works well when you do this way. But am not sure why is it going into error now.

Any idea guys?

regards,

sachin

11 REPLIES 11

Former Member
0 Kudos
1,784

Hi Sachin,

In BD87 - Expand the node -> now you will get the IDOC number.

Now select Process

Regards,

Atish

0 Kudos
1,784

I have the nodes as follows:

-IDocs in outbound processing

-IDoc entries in tRFC queue (No use of this)

- IDoc in inbound processing

- DESADV

- Application document not posted status 51

- Document &, item &, already being processed.

=====

I am selectiong the DESADV node and clicking the process button.

0 Kudos
1,784

hi sachin,

make sure ur putting the proper idoc number in the selection screen of BD87.

if you are outting the IDOC number of new IDOC generated through we19, then it will be in status 64 as you have already closed it.

what is the last status message if your IDOC ????

0 Kudos
1,784

The idoc number is correct.

After some tryouts, I can now process the idoc but the error is still the same " The document is being processed".

Its not being processed. I have cheched the Lock entries as well.

sachin

Former Member
0 Kudos
1,784

hi

If you get an error in processing an IDOC in BD87,i think you can not reprocess it.

You have to create a new IDOC and has to process it again.

Please let me know if you know a method to reprocess an IDOC in BD87.

Thanks

Mohit

Former Member
0 Kudos
1,784

Hi,

Go to WE19. Give your idon no and reconfigure it at WE19. And process it here .

U will get success. If u will not get sucess ...send me status error ....it must be changed .

Rewards points if it useful.

0 Kudos
1,784

As said earlier, WE19 is working fine.

But it creates a new IDOC number.

I am intrested in BD87 only to reprocess the same IDOC which has gone in the error.

Former Member
0 Kudos
1,784

Sachin,

BD87 will only re-process IDOCs which are in certain status. When you attempted to re-process it the first time, it may have changed from status 51 to a different status. Check that the IDOC is in status 51. If it is not, I have a method that you can change it back to 51.

Aaron

0 Kudos
1,784

The status is indeed 51. Have checked.

But what I realised is in ECC5 is the status "51" is shown in the Yellow Indicator(color legends).

Its error....should be in red... with the text " Error processing document. Document cannot be processed its being updated" etc...."

And thats the reason I wanted to reprocess it after coming out of the edit mode for the document.

When I select it for processing, it gives the error - This node cannot be selected.

But the similar error idoc if seen in 4.6C, the status 51 has the indicator red.

When I select it for processing, its processed successfully.

sachin

0 Kudos
1,784

okk..

Then you can just try one thing..

1) put a break-point in your code.

2) execute program "RBDPROCESS" with your idoc in status 51.

0 Kudos
1,784

I see that after running RBDPROCESS, the IDOC changes to 53 (green light), but as I open the IDOC only the first segment gets converted from 51 to 53, but the rest of the segments remain 51 (object locked).

In other words, the IDOC becomes green, but apparently as inside the IDOC the 51 entries remain.

How can I deal with the lock entry issue, that for as much as I try to re-process them, remains there.

Thanks,

Juan