munich enterprise software
  • SAP Digital Platform
    • Digital communication with the MailCenter platform
      Expand your digital possibilities! Now increase the efficiency of your SAP systems with smart add-ons for digitizing and automating your processes.
    • MailCenter
      • Communication via mail
      • Send and receive email
      • Archiving
      • Receive ▶ Outlook to SAP
      • Exchange Connector
      • Stamping documents
      • SMS Short Message
    • E-Invoice | Release
      • XInvoice
      • ZUGFeRD
      • Release procedure
      • Approval Process App
      • Confirmation
    • Monitoring
      • SAP Monitoring
      • IDoc Monitoring
      • Process Monitor
      • Log Monitoring
      • KPI Monitor APP
  • Support
  • Success Stories
  • Company
    • munich enterprise software
      supports companies in digitizing their SAP processes regardless of size and industry. We transform old, manual working methods into modern, digital processes. Less work, more productivity.
      • company
      • News
      • Presse
      • Contact
      • SAP Jobs
      • Become a sales partner
  • English
    • Deutsch (German)
    • Español (Spanish)
  • Menu Menu

Change SAP IDoc Status

You are here: Home1 / SAP Blog2 / Collection of contributions to SAP Monitoring3 / Change SAP IDoc Status
  • SAP Monitoring
  • IDoc Topics
  • IDoc Status
  • Change IDoc Status
  • IDoc Transactions
  • IDocMonitor HotM
  • Process Monitor
  • LogMonitor HotM
  • KPI Monitor mobile

Change SAP IDoc status – When do you need to change the status?

You correct the SAP IDoc status in the event of technical or content errors in the data exchange. Typically, IT administrators or SAP keyusers make these changes.

Function of a status – The status documents the situation in which the IDoc is located or which stations it has already passed through. Because IDocs receive different status states during their lifecycle, such as Created, Passed for Processing, Successfully Processed, or Failed. All these statuses are stored in the SAP table EDID4. A collection of possible states in SAP can be found in the item SAP IDoc Status Overview.

Content


  1. Overview of SAP IDoc Operations
  2. SAP Status Monitor and Use Cases
  3. How to edit the IDoc status
  4. Delete IDoc Status in SAP

For an overview of the EDI/IDoc operations with the corresponding statuses in an SAP system, we use SAP transaction BD87 here. Here you get an overview of all incoming and outgoing business documents.

The following article gives you an overview of the status change topic. The article shows situations where such a change in status is necessary. You will also receive information on how to use the SAP on-board equipment. Are you interested in how you can simplify editing for your users? Then just take a look at our IDocMonitor. It is part of our product HotM. This makes life easier for users and admins who deal with iDoc editing on a daily basis.


Overview of SAP IDoc Operations

The following image shows the IDoc overview from SAP transaction BD87. The transaction is usually not accessible to the SAP user, but rather something for the administrators.

Status monitor for ALE messages

SAP IDoc Status Change Status Monitor for ALE Messages Screenshot

Status monitor for ALE messages

The status monitor for EDI messages shows that 34 SAP IDocs in the output have the status state 02. They are therefore flawed. The associated message reads, “Failed to transfer data to port.” An SAP port may be misconfigured (“Port ‘XI_00_010’ does not exist in table of port descriptions”). 1142 operations in the receipt have the status “Application document not posted”, the IDoc status 51. The cause of these errors can be found one level deeper in the detail view. Here you can analyze the error in the IDoc detail view in more detail. Corresponding error messages are: “The sales volume. KG is not included in item 000010”, “Partner number 1000 for customer 0000001172 and partner role WE does not exist”.


SAP Status Monitor and Use Cases

SAP Status Monitor for Messages

IDoc Selection

SAP IDoc Status Change Selection IDocs Screenshot

Select the IDoc number in the status monitor

Display of the IDoc

CHANGE SAP IDoc Status - Status Monitor IDoc Detail Display Screenshot

Display of IDocs for output and input

In this display of SAP IDoc you can see the status records 02, 30 and 01. Under status records, all previous states of the corresponding IDoc are always listed. The last state, in this case 02, is always at the top.

There are two scenarios. Repeat SAP IDoc processing or customize content and reprocess SAP-defective IDocs.

Reprocess the SAP scenario

So once the bug with the port is fixed, you need to restart the processing program. In other cases, too, only the processing routine is required to start again. This is the case, for example, if the IDoc is not posted due to a locked application object.

Sap scenario to customize content and process it again

Something else would be it with status status 51″Partner number 1000 for customer 0000001172, partner role WE does not exist”. In this case, the SAP user might want to adjust the IDoc content and start the processing program again. Notes: Editing changes the Status of the IDoc. For incoming IDocs, it is given a status of 69 (“IDoc has been edited”). At the same time, a copy of the original IDoc with the status 70 (“original of an IDoc that has been edited”) is stored in the database. For outgoing operations, the IDoc is in a state of 32 (“Idoc has been edited”). A copy of the original IDoc is backed up under the status 33 (“Original of an IDoc that has been edited”). Processing of the IDoc in state 69 or 32 is then restarted in transaction BD87 in the default. Adding new segments is not done directly in the IDoc detail view. To do this, you must use transaction WE19.

So often the goal is to reprocess the IDoc. In these cases, however, you must first set the IDoc to a different state. The latter must allow reprocessing. Some states, such as 20, do not allow direct processing. Therefore, a change of status to 30 is required first. Status 30 means: “IDoc is ready for shipment (ALE service)”. For outgoing IDocs, select 30 for reprocessing. For incoming operations 64. Attention: Resend IDoc status 03 – these IDocs have already been sent to the EDI subsystem. Before you resend the data, check that the data has not already arrived at the communication partner.

Use the following procedure to process the SAP IDoc status.

SAP Report RC1_IDOC_SET_STATUS

SAP IDoc Change Transaction – Log on to the SAP system and start transaction SA38 or SE38. Then enter RC1_IDOC_SET_STATUS as the program and select Run in the function bar.

Call SAP transaction SA38 and execute RC1_IDOC_SET_STATUS:

SAP IDoc Status Change Report RC1 Screenshot

Enter program RC1_IDOC_SET_STATUS in transaction SE38

SAP IDoc Status Change Report Implement Screenshot

Implementing IDoc Status

Enter the desired SAP IDoc number, status and new status. Turn off the test flag. You then run the report.

If the number of IDocs implemented does not correspond to the number of IDocs to be implemented, the status of the IDoc cannot be changed. In this case, try again at a later time.

You can initiate the processing of the IDoc via the context menu in transaction BD87.

SAP IDoc Status Change BD87 and Process Screenshot

Transaction BD87 – Processing IDocs

You can also use the SAP programs RBDINPUT – Processing Incoming IDocs and RBDOUTPU – Processing Of Outgoing IDocs for Processing.


Do you have any questions about this topic?

Do you need support or have questions?
Get in touch now


Delete IDoc in SAP – status 68

SAP IDoc Status 68 – Incorrect or “unwanted” IDocs are only physically deleted in exceptions.

Manually Delete – As a rule, you manually transfer these IDocs in SAP to status 68 “Error, no further processing”. You also set this status state in the IDoc via the above report. Or you can work with the “Restrict and Process” function from the context menu. For the physical deletion of IDocs there is transaction WE11 (Report: RSETESTD).

Would you like to learn more about data exchange SAP ERP with SAP system and NON SAP systems? Or are you interested in the mes SAP IDocMonitor or in our products, solutions, SAP consulting and support? You can also visit the other posts on our website. Or just talk to us. We look forward to seeing you.


Products SAP Mail – MailCenter

SAP Mail


Products SAP Monitoring – HotM

SAP Monitoring


RSS SAP News

  • SAP Supervisory Board Extends Contracts with Executive Board Members Julia White and Scott Russell – Sabine Bendiek to End Her Contract December 31, 2023
  • Sales Performance Management for Better Customer Outcomes
  • How High Tech Helps PUMA Send the Right Message
  • The Take: Curbing the Bank Failure Contagion
  • Three Steps to Profitable and Sustainable Energy Management
Need support or have questions?
Get in touch now

Recent Posts

  • Archive Outlook mails
  • SAP RPA
  • SAP Banf
  • Performance Monitoring in SAP Basis
  • MailCenter Extensions
  • Email Automation
  • Digitalization-DVV-ZFK-2021
  • Embed HTML-Mail images
Share this entry
  • Share on Twitter
  • Share on LinkedIn
  • Share by Mail
MailCenter

Mail Products


HotM

SAP Monitoring


Share this entry
  • Share on Twitter
  • Share on LinkedIn
  • Share by Mail
Site Information

Company
Blog
Privacy
Imprint
Sitemap

Your SAP Partner
munich enterprise software GmbH
Industriestraße 31
82194 Gröbenzell
Opening hours:
Mon. – Fri.: 09:00 am to 16:00 pm
+49 (0) 89 2154 689 80

Contact


SAP Partnership

@ contact
© Copyright 2005 - 2022
  • LinkedIn
  • Facebook
  • Twitter
  • Youtube
SAP IDoc TransactionsSAPConnect SAP Mailversand konfigurieren SCOT ScreenshotConfigure SAP Mail Shipping
Scroll to top

This site uses cookies. By continuing to browse the site, you are agreeing to our use of cookies.

OKLearn more

Cookie and Privacy Settings



How we use cookies

We may request cookies to be set on your device. We use cookies to let us know when you visit our websites, how you interact with us, to enrich your user experience, and to customize your relationship with our website.

Click on the different category headings to find out more. You can also change some of your preferences. Note that blocking some types of cookies may impact your experience on our websites and the services we are able to offer.

Essential Website Cookies

These cookies are strictly necessary to provide you with services available through our website and to use some of its features.

Because these cookies are strictly necessary to deliver the website, you cannot refuse them without impacting how our site functions. You can block or delete them by changing your browser settings and force blocking all cookies on this website.

Google Analytics Cookies

These cookies collect information that is used either in aggregate form to help us understand how our website is being used or how effective our marketing campaigns are, or to help us customize our website and application for you in order to enhance your experience.

If you do not want that we track your visist to our site you can disable tracking in your browser here:

Other external services

We also use different external services like Google Webfonts, Google Maps and external Video providers. Since these providers may collect personal data like your IP address we allow you to block them here. Please be aware that this might heavily reduce the functionality and appearance of our site. Changes will take effect once you reload the page.

Google Webfont Settings:

Google Map Settings:

Vimeo and Youtube video embeds:

Privacy Policy

You can read about our cookies and privacy settings in detail on our Privacy Policy Page.

Datenschutz
Accept settingsHide notification only