[SAP IDOC] – UPDATE SAP S/4, SAP CAR STATUS CODE

Hi Guys,

In this article, i will show you how to update the status code of IDOC.

SAP IDOC Status codes

00 Not used, only R/2
01 IDoc created
02 Error passing data to port
03 Data passed to port OK
04 Error within control information of EDI subsystem
05 Translation error
06 Translation OK
07 Error during syntax check
08 Syntax check OK
09 Error during interchange handling
10 Interchange handling OK
11 Error during dispatch
12 Dispatch OK
13 Retransmission OK
14 Interchange acknowledgment positive
15 Interchange acknowledgment negative
16 Functional acknowledgment positive
17 Functional acknowledgment negative
18 Triggering EDI subsystem OK
19 Data passed to port for test
20 Error triggering EDI subsystem
21 Error passing data for test
22 Dispatch OK, acknowledgment still due
23 Error during retransmission
24 Control information of EDI subsystem OK
25 Processing despite syntax error (outbound)
26 Error during syntax check of IDoc (outbound)
27 Error in dispatch level (ALE service)
28 IDoc sent to ALE distribution unit retroactively
29 Error in ALE service
30 IDoc ready for dispatch (ALE service)
31 Error – no further processing
32 IDoc was edited
33 Original of an IDoc which was edited
34 Error in control record of IDoc
35 IDoc reloaded from archive
36 Electronic signature not performed (timeout)
37 Error when adding IDoc
38 IDoc archived
39 IDoc is in the target system (ALE service)
40 Application document not created in target system
41 Application document created in target system
42 IDoc was created by test transaction
50 IDoc added
51 Application document not posted
52 Application document not fully posted
53 Application document posted
54 Error during formal application check
55 Formal application check OK
56 IDoc with errors added
57 Test IDoc: Error during application check
58 IDoc copy from R/2 connection
59 Not used
60 Error during syntax check of IDoc (inbound)
61 Processing despite syntax error (inbound)
62 IDoc passed to application
63 Error passing IDoc to application
64 IDoc ready to be passed to application
65 Error in ALE service
66 IDoc is waiting for predecessor IDoc (serialization)
67 Not used
68 Error – no further processing
69 IDoc was edited
70 Original of an IDoc which was edited
71 IDoc reloaded from archive
72 Not used, only R/2
73 IDoc archived
74 IDoc was created by test transaction
75 IDoc is in inbound queue

1/ Scenario

Third-party system sends IDOC to SAP S/4 HANA or SAP CAR, idoc error or you don’t want idoc process anymore or change status of idoc from status to another status.

Example, I want change IDOCs below to “Not use ” anymore

2/ Change status of IDOC in SAP S/4 HANA

Tcode: SE38 - Program: RC1_IDOC_SET_STATUS

Input IDOC Number

Check again status of IDOC

3/ Change IDOC status in SAP CAR

It isn’t like SAP S4, SAP CAR doesn’t have program: RC1_IDOC_SET_STATUS to update the IDOC status. But we can use function module:

TCode: SE37, Function Module: IDOC_STATUS_WRITE_TO_DATABASE

Enter new status

Execute update

Re-check IDOC status

Thanks,

Cuong Dang (Cody)

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.