‎2006 Dec 18 9:31 PM
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.
‎2006 Dec 18 11:40 PM
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
‎2006 Dec 19 5:42 AM
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
‎2006 Dec 19 3:29 PM
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?
‎2006 Dec 19 11:07 PM
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.