How to change the status of an iDoc in SAP? iDoc Status change requirements may arise due to different reasons such as reprocessing, archiving etc. But make sure you use SAP standard methods and programs to change iDoc status.
If you have a iDoc in status 53 (successfully processed), standard iDoc processing programs such as BD87 won’t allow reprocessing. You can use technical tools such as WE19 to process iDocs in status 53 but it will create a new iDoc and relationship to the application document might be lost.
Change iDoc Status Use Cases in SAP.
Most common use case is to change the iDoc status to status 68 which is ‘No Further Processing’. When inbound iDocs go into an error status but the iDocs cannot be re-processed again due to Application issues, usually application documents are manually posted and iDocs are set to status 68. For example, imagine a ORDCHG iDoc which changes SAP Sales Orders terminated due to an application issue but you cannot re-process the iDoc again. In this case, status of the iDoc changed to 68 and Sales Order is manually adjusted.
Lets look at one method of reprocessing a iDoc in Status 53.
Change the Status of the iDoc in SAP Using Standard Program “RC1_IDOC_SET_STATUS”.
Go to transaction se38 and execute the program and change the status as required.
Input the current status of the iDoc and designed target status of the iDoc in the selection screen with other parameters. You can select iDocs for status change using iDoc numbers or Message Type.
But keep in mind that SAP add-on AIF might have issues if you change the iDoc status manually using this method. What I have observed in my experience is AIF cannot process or reprocess iDocs if the iDoc status is manually changed using this program.
If you have any questions on this topic, please leave a comment below.
Hi, I am Isuru Fernando, Senior SAP Integration Consultant with 10 years of SAP full-cycle implementation and support project experience.From the early days, I had a passion for coding, software development, and everything tech-related. I started my carrier as an ABAP developer and soon found my love for system integration when I learned SAP XI 3.0 in 2008. Playing a variety of roles from an offshore technical consultant (ABAP, PI/PO, BW, BOBJ) at the beginning of my career to a technical lead managing a team of consultants in different countries, I have gained immense experience in SAP project implementation life cycle.Having the opportunity to work on SAP implementation projects in USA, EU, and Asia, I learned valuable ins and outs of global business processors in Sales and Distribution (SD), Material Management, Retail, Customer Relationship Management (CRM), and Finance and Controlling (FICO).Through this blog, I want to share my expertise in SAP technical areas such as SAP ABAP, PI/PO, AIF, and Basis. I also want to provide a platform for others with similar ambitions who would like to share their SAP technical expertise with the world!