04-09-2008 7:49 PM
Hi,
I have a custom Report program in which I am generating IDocs by using Function Module MASTER_IDOC_DISTRIBUTE. Now, when I look for an IDoc in WE02, I get the IDocs with Status 30. Do I need to run RSEOUT00 periodically to change the Status of those IDocs to 03? Please let me know.
Thanks and Regards,
Venkat.
04-09-2008 7:57 PM
Hi,
In partner profile (WE20), under outbound options, in the output mode block, if you have selected 'Collect Idocs' option, then you will have to schedule the program RSEOUT00. Otherwise, if you have chosen 'Transfer idoc immediately', you don't have to do anything.
Please let me know if you have any queries.
-B S B
04-09-2008 7:57 PM
Hi,
In partner profile (WE20), under outbound options, in the output mode block, if you have selected 'Collect Idocs' option, then you will have to schedule the program RSEOUT00. Otherwise, if you have chosen 'Transfer idoc immediately', you don't have to do anything.
Please let me know if you have any queries.
-B S B
04-09-2008 9:17 PM
Hi,
Thanks for the reply. I've already the checked the Partner Profile and the Process is set to "Transfer IDocs Immediately". But still IDocs are generated with Status 30 instead of 03. But when I process them with RSEOUT00 or BD87, they get the Status 03. I understand that this is not the right way when the method of process is set to "Transfer IDocs Immediately" in the Partner Profile.
Thanks and Regards,
Venkat.
04-09-2008 9:21 PM
Hi,
Thanks for the reply. I've already the checked the Partner Profile and the Process is set to "Transfer IDocs Immediately". But still IDocs are generated with Status 30 instead of 03. But when I process them with RSEOUT00 or BD87, they get the Status 03. I understand that this is not the right way when the method of process is set to "Transfer IDocs Immediately" in the Partner Profile.
Thanks and Regards,
Venkat.
04-09-2008 9:04 PM
Hi,
Program "RSEOUT00" is the optional one and not a mandatory thing to execute. In the partner profile If you have selected 'Collect Idocs' option, then you will have to schedule the program RSEOUT00. Otherwise, if you have chosen 'Transfer idoc immediately', you don't have to do anything.
Hope this helps.
Thanks,
Greetson
04-09-2008 9:25 PM
HI Venkat,
Below is the solution for your prob.
30 Error --> Idoc ready for dispatch(ALE Service)
then goto SE38 --> Execute the Program RBDMIDOC
29 Error --> ALE Service Layer
then goto SE38 --> Execute the Program RSEOUT00
03 Error --> Data Passed to Port ok
then goto SE38 --> Execute the Program RBDMOIND
12 Error --> Dispatch ok
Regards
Sreeni
04-09-2008 9:45 PM
Hi Srini,
Thanks for your reply. In fact, my requirement is as below.
1. The Report Program selects all the relevant data for Production Orders.
2. When I select couple of records, and Click on Send button, it should send all the production Orders as
Idocs without manual intervention.
So, what I am trying say here is that I am using the FM MASTER_IDOC_DISTRIBUTE to generate Master & Communication IDocs but I do not want to use any of the Standard SAP Programs to convert the status to 03 (sending IDocs manually). Instead, when I select a particular record in my report and click on send button, I should be able to see an IDoc with status 03 or 26 (in case of data error) in WE02.
Please let me know your response.
Thanks and Regards,
Venkat.
04-10-2008 2:25 PM
Hi Venkat, Generally Outbound Scenarios are bit different. In the production environment you can have a edi Subsystem. Where all the IDocs will be sent to this Subsystem and which will later send the data in a file format ( as per edi Standards ).
So, based on the EDi Subsystem communication the IDoc will be posted in 03 Status. If the EDI SubSystem is not present then the IDoc will be in Status 30.
So, Once check your port definition. IF that is a Subsystem Port then the IDoc will be in 30 Status until u recieve a communication from that port.
I Hope this give some more information to think about for your scenario.
Regards,
Swaroop Patri