Application Development and Automation 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: 
Read only

Outbound error IDoc reprocessing

Former Member
0 Likes
1,482

I have a scenario like whenever an outbound idoc is in error status, should be able to correct the idoc n reprocess it.

Suppose outbound idoc is in status 02. System process code will notify the agent assigned in partner profile. When i execute the workitem and corrected the port and try to reprocess, this status is set to 30. My requirement is once i correct the port status should become 03. How do we acheive this ? (not through report rseout00 )

1. In general scenario how do we handle outbound error idocs?

2. Is system process codes are used only for notifications or error processing?

Inputs will be appreciated regd outbound error reprocessing .

Thanks.

4 REPLIES 4
Read only

ferry_lianto
Active Contributor
0 Likes
892

Hi Indira,

1. In general scenario how do we handle outbound error idocs?

You can use transaction BD87 to monitor the IDoc statuses.

and use the following programs to reprocess outbound and inbound error IDoc(s).

RBDAGAI2 - Re-processing of IDocs after ALE Input Error

RBDAGAIE - Reprocessing of Edited IDocs

RBDAGAIN - Process Outbound IDocs with Errors Again

RBDAGAIP - New Posting of Partially Posted IDocs

RBDMANI2 - Manual Processing of IDocs: Post IDocs Not Yet Posted

RBDINPUT

2. Is system process codes are used only for notifications or error processing?

The process code ise used in both ALE and EDI framework to identify the function module or API (Application Programming Interface) to be invoked for subsequent processing. Inbound as well as outbound interfaces use process code but for different purposes. Outbound process codes are stored in table TEDE1, while inbound process codes are stored in TEDE2.

Hoep this will help.

Regards,

Ferry Lianto

Read only

Former Member
0 Likes
892

Hi,

1. In general scenario how do we handle outbound error idocs?

You can see the idoc status in WE05/02.

RBDAGAI2 - Re-processing of IDocs after ALE Input Error

RBDAGAIE - Reprocessing of Edited IDocs

RBDAGAIN - Process Outbound IDocs with Errors Again

RBDAGAIP - New Posting of Partially Posted IDocs

RBDMANI2 - Manual Processing of IDocs: Post IDocs Not Yet Posted

RBDINPUT

2. Is system process codes are used only for notifications or error processing?

Process code is used to identify the function module which you will be using for processing of IDOC.

In WE42 select any process code you will see on function module assigned to it.

This process code assignment is used for processing the idoc through the OUTPUT TYPES i.e to process Transactional data.

BR,

Ravi.

Reward points if helpfull

Read only

Former Member
0 Likes
892

Thanks for inputs on outbound processing.

I would like to know more about how system process codes works (not outbound/inbound) .These will store in table TEDE5(we46). Whenever an error occur in the outbound idoc, system process codes will trigger (EDIO), & agent is notified with a workitem. Task 7989 is triggered.

Is task 7989 will be able to change the idoc status 02 to 03?

Read only

0 Likes
892

Hii...

Im not sure...but you can try this i think...

once you change the process code....for changing the status you can use the function modules

EDI_DOCUMENT_OPEN_FOR_PROCESS

EDI_DOCUMENT_STATUS_SET

EDI_DOCUMENT_CLOSE_PROCESS

and chnage the status os th IDOC.