Application Development and Automation 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: 
Read only

Idoc Status

Former Member
0 Likes
814

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

4 REPLIES 4
Read only

Former Member
0 Likes
741

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?

Read only

Former Member
0 Likes
741

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.

Read only

0 Likes
741

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

Read only

0 Likes
741

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!