Application Development 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: 

How to edit data from an IDOC with errors and reprocess it

Former Member
0 Kudos

Hi,

We are working with SAP XI for communicate with an external systems by files (external) to IDOCS (SAP R/3).

Sometimes we need to edit the data from an inbound IDOC, because the external system generates wrong information and that can't be processed directly.

We had seen posts like:

But we wanna to do it with no ABAP editor.

¿Can we change the data from the IDOC in other way (transaction) and reprocess it?

We tried with /WE05, pushing EDIT button, but can't edit the data from the IDOC.

Thanks in advance for your help

Regards,

Federico Martin

1 ACCEPTED SOLUTION

ferry_lianto
Active Contributor
0 Kudos

Hi,

You can use transaction WE02/WE05 to edit the idoc data record.

Find the segment data that you want to change and double click on the icon book.

The system will take you the display data record for IDoc area. Then go to data record (menu) -> Change -> make necessary change -> Save.

Once done, you can run standard program RBDAGAIE to reprocess the edited IDoc.

Hope this will help.

Regarsd,

Ferry Liantp

4 REPLIES 4

Former Member
0 Kudos

Keep Looking at forums i founded:

"

To change the Inbound IDoc,

1)Go to WE05/WE02, enter the Inbound IDoc number and Execute.

2)Double Click on the segment (Page Icon) where you want to change the Data.

3)In the Screen 'Display data record for IDoc' , Go to menu 'Data record' and click on 'Display - > Change'. Then it display a popup information 'Changes to the IDoc are written to the database' , then press enter .

To Process the Edited Inbound Idoc , execute the program 'RBDAGAIE' in SE38 and enter the IDoc number.

Thanks

Sekhar

"

AND

/people/raja.thangamani/blog/2007/07/19/troubleshooting-of-ale-process

Also if you have something to say about it will be appreciated

thanks

ferry_lianto
Active Contributor
0 Kudos

Hi,

You can use transaction WE02/WE05 to edit the idoc data record.

Find the segment data that you want to change and double click on the icon book.

The system will take you the display data record for IDoc area. Then go to data record (menu) -> Change -> make necessary change -> Save.

Once done, you can run standard program RBDAGAIE to reprocess the edited IDoc.

Hope this will help.

Regarsd,

Ferry Liantp

Former Member
0 Kudos

You can do everything from BD87.

1) Enter the idoc number in selection screen

2) You will see the tree structure . Drill down to the error status

3) List of all idocs in ALV report

4) click on your idoc and choose display idoc

5) This will take you to the actual idoc in tree format. Click on the segment (the folder icon next to the segment). This should take u to segment definition.

Change the idoc.

6) Once you have corrected your idoc, Come back to the error node (original BD87 screen). Select the node and then click on 'Process'.