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: 

idoc status 30 even though trigger immediately is set in WE 20

gowrinath_gundu
Participant
0 Kudos

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.

1 ACCEPTED SOLUTION

JJosh
Active Participant
0 Kudos

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.

16 REPLIES 16

JJosh
Active Participant
0 Kudos

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.

jimguo
Advisor
Advisor
0 Kudos

Hi,

The solution above should work.

Please review SAP note 1575852 for more information.

Thanks.

Jim

gowrinath_gundu
Participant
0 Kudos


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.

nabheetscn
Active Contributor
0 Kudos

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

0 Kudos

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

0 Kudos

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.

gowrinath_gundu
Participant
0 Kudos

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.

gowrinath_gundu
Participant
0 Kudos

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.


0 Kudos

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

0 Kudos

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

0 Kudos

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.

0 Kudos

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

0 Kudos

Hi Nabeeth,

Please see the above partner profile configurations.

Thanks,

Gowrinath.

0 Kudos

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.

0 Kudos

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.

0 Kudos

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