12-05-2013 7:16 PM
Hi All,
My requirement is to trigger the idoc immediately when it is generated( with out scheduling RSEOUT00). So I set 'trigger immediately' in partner profiles. Unfortunately, idoc is remained in status 30 even though i set 'trigger immediately' in partner profiles(WE 20).
Please suggest.
Thanks,
Gowrinath.
12-06-2013 3:55 AM
HI,
Change to "Collect Idocs" in WE20 and schedule the program RSEOUT00 to process the idocs in the background.
or
Use the below function modules in the program.
1.CALL FUNCTION 'DB_COMMIT'.
2.CALL FUNCTION 'DEQUEUE_ALL'. - Note: This will release all the locks,If u want to release only single idoc then use, EDI_DOCUMENT_DEQUEUE_LATER. This function module dequeues the IDoc with the imported IDoc number only
3.COMMIT WORK.
12-06-2013 3:55 AM
HI,
Change to "Collect Idocs" in WE20 and schedule the program RSEOUT00 to process the idocs in the background.
or
Use the below function modules in the program.
1.CALL FUNCTION 'DB_COMMIT'.
2.CALL FUNCTION 'DEQUEUE_ALL'. - Note: This will release all the locks,If u want to release only single idoc then use, EDI_DOCUMENT_DEQUEUE_LATER. This function module dequeues the IDoc with the imported IDoc number only
3.COMMIT WORK.
12-06-2013 4:34 AM
Hi,
The solution above should work.
Please review SAP note 1575852 for more information.
Thanks.
Jim
12-09-2013 10:08 AM
Hi Jacob
We are having two projects related to idocs.
We are already using one set of idocs for different project and RSEOUT00 is scheduled to dispatch these idocs.
So If I use above function modules for dispatching idocs for new project, will it dispatch idocs for other project?
Thanks,
Gowrinath.
12-09-2013 10:35 AM
Hi
did you use Commit...after sending idoc..? Seconldy you can use this program for the sam as you have various filter options avilabled.
Nabheet
12-09-2013 11:25 AM
How are you generating the idocs..? did you use a commit for the same? Is it a custom code which is generating the idoc..? If yes then have you called any of these after the call is sucessful EDI_DOCUMENT_DEQUEUE_LATER
DEQUEUE_ALL
Did you check SM58..?
Nabheet
12-09-2013 2:48 PM
Hi Nabeet,
I am using standard message type DELV ad associated function module IDOC_OUTPUT_DELVRY. idoc will get generated when delivery is created.
Is there a remedy to correct this error while using standard idocs?
Thanks,
Gowrinath.
12-09-2013 11:16 AM
Hi Jacob,
Thanks for your reply.
We are not willing to schedule RSEOUT00. We are using SAP standard idocs,If I use above function modules suggested by you, Will it push all the idocs to status 03(idocs related to other projects)? And also kindly let me know where I have to code these function modules.
Please note, I am using SAP standard idocs.
Thanks,
Gowrinath.
12-09-2013 3:09 PM
Hi Nabheet,
I am using process code DELV and its associated function module IDOC_OUTPUT_DELVRY.
idoc will get generated when delivery is created. I am not using any z program.
Is there any solution for this error in case of standard code. Please let me know.
Thanks,
Gowrinath.
12-09-2013 11:32 PM
Hi Gowrinath,
are You sure the configuration in WE20 is correct? Is is the same as presented below?
If so are You using output types or distribution model? If You're using output type which report You have defined in processing routines of that output type? Is it RSNASTED or some custom report?
Regards,
Bartosz
12-10-2013 6:09 AM
Hi Gowrinath
Can you please check i think you are using output type based trigger for sending idocs. Please attach screen shot of your WE20 config and message control tab
Nabheet
12-10-2013 6:43 AM
Hi Bartosz,
I am using output type LD00 and program defined is RSNASTED.
I am not sure why idoc remains in status 30,even though I select transfer immediately. Is there any remedy for this.
Thanks,
Gowrinath.
12-10-2013 6:48 AM
Hi Gowri
Do as follow. Put a break point in subroutine mentioned in NACE tcode. Go to your delivery message tab. ..choose a processed output type LD00 and click repeat output. Go to further settings and choose send via periodic job press save.
Goto Se38 program RSNAST00 and execute. Enter your output type delivery number and press execute. It will stop at subroutine which is sending idoc. You can check what is happening there
Nabheet
12-10-2013 9:15 AM
Hi Nabeeth,
Please see the above partner profile configurations.
Thanks,
Gowrinath.
12-10-2013 9:21 AM
Hi Gowrinath,
Partner profiels are OK, Have checked the output type configuration! You need to change it as well.
can you check as per the below screen shot. It should be send immeditely.
12-10-2013 10:39 AM
Hi Kiran,
Above is my output type configuration.It seems same as what you provided. I am not sure why it is not working. Should I have to implement any SAP note for it..Kindly let me know.
Thanks,
Gowrinath.
12-10-2013 10:44 AM
Can you please check the following SAP note it provides you the same alternatives suggested above.
1575852 - Outbound IDocs remain in status 30
Thanks
Nabheet