2009 May 01 2:02 PM
Hi,
I have an inbound idoc. When it comes to SAP it is in Status 64. So most of the time my program posts the data into transaction. But sometimes when the idoc comes to SAP and it stays in status 64 and with in some times it changes the state to 62 and later to 51. Can any one help me with this?
Thanks
Slasher
Hi,
I have an inbound idoc. When it comes to SAP it is in Status 64. So most of the time my program posts the data into transaction. But sometimes when the idoc comes to SAP and it stays in status 64 and with in some times it changes the state to 62 and later to 51. Can any one help me with this?
Thanks
Slasher
2009 May 01 2:49 PM
The latest status of the incoming idoc should be either 51 (not posted) or 53 (idoc processed OK).
Other statuses are technical ones - it is possible that processing of the incoming idoc takes some time, speccialy when there are a lot of segments to process.
Which idoc type do you use, how many data do you have in an idoc?
2009 May 01 2:54 PM
I have created a custom idoc and i also have a custom process code to put the status of the idoc in 64. The idoc has 1 segment and 10 fields.
2009 May 02 7:58 AM
Forget about the status 62. If it is in 51, then the Idoc is failed. Looks like there is some data discrepency in your custom idoc records. The Idocs which are failed are not posting the data in the target database tables. Check the function module that you had written in the process code.
Thanks,
Babu Kilari
2009 May 02 10:23 PM
Hi Slasher,
As you are aware of the custom Process code, you should be able to find the Function Module
that is processing the IDOC. The status '51' indicates IDOC is in 'Error' Status.
To get to the root cause of the Error, you can first put a break-point in the Function Module
and then use Txn 'BD87' to process the IDOC with status 51. In BD87 use Restrict and Process
(I think you will find this option in the Menu bar of BD87, after you display the IDOC) and process
it in Foreground. In the debug process, you should be able to find the root cause of error, which
caused the IDOC to be in Status 51.
Hope this helps!