Enterprise Resource Planning Blogs by Members
Gain new perspectives and knowledge about enterprise resource planning in blog posts from community members. Share your own comments and ERP insights today!
Showing results for 
Search instead for 
Did you mean: 
Active Contributor
This blogpost covers the steps to carry out the mass changes in IDOC, Foreground Processing and many other processing steps based on my experience.

For videos of all my blogs, please click on below link.



Following is the reason for writing this blogpost for Idoc.

  1. To help community.

  2. To share with community.

  3. Documenting the steps at one place for future perusal.

  4. To get rid of going through various blogpost/documents and Cover main steps of Idocs at one place


  1. Ease of use

  2. Ease of access

  3. Ease of learning for New SAP member.

  4. Easy steps and easy explanation.

  5. Realtime scenario covered.

  6. No need to make documents and save. Can refer this blog for future reference.

  7. Available to entire community and can be used in trainings.

  8. ..........could be many more.


  1. Mass Processing.

  2. Foreground Processing.

  3. Changing field in IDOC

  4. Idoc Status Change

  5. BD87 - Idoc Reprocessing

  6. IDOC Export/Import


  1. Mass Processing

Transaction Code WLF_IDOC can be used to carry out mass changes.

Scenario – Assume you have to make changes in 300 fields in IDOC. Here we will make change of Tax code in IDOC. Most of screenshots are highlighted with blue colour to maintain data integrity.

  1. Go to WE02 and give the IDOC number to be modified.

  1. Upon execution, below screen will appear. Now we will change the values for E1EDK04, field MWSKZ. This is tax code. Contents are covered but if you see its 1.

Double Click on below icon left to E1EDK04

  1. Below screen will appear. This is very important. We need to take values from this screen and paste in WLF_IDOC screen for processing. Only than changes will take effect.

     4. Go to WLF_IDOC tcode and give the IDOC number. Execute.

5. Take the values from 3rd screen and enter in below fields. Execute.

Note - If you have multiple values to change in one idoc, keep number of SAP segment field blank.

For eg. In one idoc, if you have 100 cost center to change,  Number of SAP segment field should be  kept blank. This will change all cost centers in IDOC. When you put number it will change only that number cost center and not others

6. Once executed, if data entered above are correct below screen will appear. Means data are processed and changed.

7. Below screen will appear.

  1. Now go to WE02 and check the IDOC. If you see, MWSKZ is changed to 2. Tax code is changed.


2. Foreground Processing

Go to BD87. Give the IDOC number. Click Execute

Below error will appear.

Click on edit and select Restrict and Process.

In below screen remove background processing. Execute.

Below screen will appear.

Again click on edit and click on process. Select Foreground processing.

Below screen will appear. Now you can change the fields you want to change. This is similar to LSMW foreground processing.

Idoc will be posted.

   3. Changing field in idoc.

Go to WE05. Identify the field you want to Change. Take the arrow on the field highlighted below and double click. This is very tricky.

It will take you to next screen.  Select Change.

Change the field and save.

    4. Idoc Status Change

Go to programme RC1_IDOC_SET_STATUS. Give the idoc number and give the values to be changed.

Execute in test run. Below message will appear. If you are ok with the result, remove test run and execute.

Status is changed.

     5. BD87 - Idoc Reprocessing.

Go to BD87. Give the idoc number in error. Execute. Below screen will appear. Select the option highlighted and execute.

Document will be posted.

  6. Idoc Export/Import

Go to WE19. Give idoc number and execute

Below screen will appear. Click on Inbound file. Uncheck ‘Start Idoc inbound processing of file immediately’.

Message will be received as Idoc Save to file.

GO to CG3Y. Give the name to export this to file. Name should start with .\ and should end with .txt. In Target file on front end, select the folder.

Below I have created the folder with my name. I have created file name idoc123.txt

Once you select the folder and file to import, below message will appear. Click on Yes.

Idoc transfer message will appear.


Go to CG3Z. You see below 2 option. Source file and Target File.

In source file, select the file you have created on desktop in above step.

Give the name in Target file. This name is same used in WE19. Once you enter, this will be imported.

GO to WE19. Type the name as shown below. Execute.

Below screen will appear. Click on Standard Inbound.

Press enter.

Idoc number is generated.

 If you observe anything in this document which is objectionable, please inform me.

I hope you like this document and its helpful to you.


CA Zunaid Hingora

Other Blogs

LTMC Process LTMC Process SAP S/4HANA – Simple Steps | SAP Blogs
Why choosing SAP Profile as a career could be best decision for anyone? https://blogs.sap.com/2021/08/18/why-choosing-sap-profile-as-a-career-could-be-best-decision-for-any...
Fiori App List /blogs.sap.com/2021/11/25/fiori-app-list-s-4hana/
FI – SD Integration – VKOA – Understanding Flow – SAP ECC https://blogs.sap.com/2020/11/12/fi-sd-integration-understanding-concept-sap-ecc/
IDOC Management – Mass Change – WLF_IDOC, Foreground Processing and other IDOC Activities. https://blogs.sap.com/2020/08/04/idoc-mass-change-mass-processing-wlf_idoc/
SAP ‘ Z Process Re-Engineering’ – Enhance the productivity of the implemented solution https://blogs.sap.com/2020/08/03/enhance-the-productivity-of-the-implemented-solution-sap-process-re...
S/4 Hana – House Bank, Bank Account and Account ID Overview https://blogs.sap.com/2019/10/18/s4-hana-house-bank-bank-account-and-account-id-overview./
AUC Automatic Creation from WBS – S/4 HANA https://blogs.sap.com/2019/09/27/auc-automatic-creation-from-wbs-s4-hana/
S/4HANA Finance – New vs Old transaction code https://blogs.sap.com/2019/09/23/sap-hana-new-vs-old-transaction-code./
Profit Center – Assignment/Removal of Company code and Activation https://blogs.sap.com/2019/07/17/profit-center-assignmentremoval-of-company-code-and-activation/
AS91 – Asset Master Upload https://blogs.sap.com/2019/03/25/as91-asset-master-upload./
Asset Reconciliation Account Posting ABF1L- No OAMK, OASV https://blogs.sap.com/2019/03/13/asset-reconciliation-account-posting/
Mass Upload Functionality – SAP https://blogs.sap.com/2019/03/12/mass-upload-functionality-sap/
Data Migration Learning https://blogs.sap.com/2021/12/29/data-migration-learnings/
SAP Interface Development Process – Detailed Guide https://blogs.sap.com/2022/01/13/sap-interface-development/
Fiori Apps Learning https://blogs.sap.com/2022/02/22/fiori-apps-learning/
Screen Recordings Screen Recordings, Video Export, GIF, Save as Show using PowerPoint Presentation – SAP Business Scen...
SAP S/4HANA Finance – New Additions, Features and Functionality https://blogs.sap.com/2019/03/26/sap-s4-hana-features/
Automatic Idoc Generation while Creating Purchase Order, Nace Config – Material Management Automatic Idoc Generation while Creating Purchase Order, Nace Config – Material Management | SAP Blo...
Transport of Copies – SAP Transport of Copies – SAP | SAP Blogs
Fiori vs LTMC vs ACDOCA – Benefits, Value addition Comparision Fiori vs LTMC vs ACDOCA – Benefits, Value addition Comparision | SAP Blogs
Terms of Payment for Installment – SAP Finance Terms of Payment for Installment – SAP Finance | SAP Blogs
SAP Project Knowledge Transfer Guide/Checklist (KT) SAP Project Knowledge Transfer Guide/Checklist (KT) | SAP Blogs
Vendor Ageing Report Vendor Ageing Report – S_ALR_87012085 SAP FICO
SAP Important Tcodes SAP Important Tcodes – FICO MM SD PM BODS
LSMW Recording for Transaction Data – FB01 LSMW Recording for Transaction Data – FB01
SAP FICO Data Migration – Global Execution, Planning and Approach SAP FICO Data Migration – Global Execution, Planning and Approach

Labels in this area