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

error in inbound idoc.

Former Member
0 Likes
1,233

hi all,

i had an error in inbound side,it is showing status code of 51.the error it is showing is application for material item 10 is could not be identified.actually i have to run this one in background.i.e it should not trigger imm.it is should be posted at particular time.how to do that,plz help me out.

regards

krishna

hi all,

i had an error in inbound side,it is showing status code of 51.the error it is showing is application for material item 10 is could not be identified.actually i have to run this one in background.i.e it should not trigger imm.it is should be posted at particular time.how to do that,plz help me out.

regards

krishna

9 REPLIES 9
Read only

Former Member
0 Likes
1,115

Hi Krishna,

You can get the function exit in the IDOC before posting happens. In the fucntion exit you can write WAIT up to 5 secs according to your requirement.

BR

Swagatika

Read only

Former Member
0 Likes
1,115

Hi krishna,

Just switch off the "immediate processing" indicator in your partner profile and schedule a job to process the incoming Idocs.

Kind regards,

John.

Read only

0 Likes
1,115

hi john,

i had selected the background radio button in partner profiles and i scheduling the job in sm36 by running the program rbdapp01 and in that i'm passing message type partner function and number as variants.is that right?.plz confirm it.and i had scheduled that every day in sm36 as per my client requirement.

Read only

0 Likes
1,115

Hi Krishna,

Yes! That is exactly what you should do.

Regards,

John.

Read only

0 Likes
1,115

hi john,

i had an error in inbound side,it is showing status code of 51.the error it is showing is ' application for material item 10 is could not be identified'.can u help ion thi s plz.coz it is running fine in dev and quality but showing this eror in production,help me out jhon.

Read only

0 Likes
1,115

Hi Krishna,

Before I can help you: What kind of IDoc are you processing?

Regards,

John.

Read only

0 Likes
1,115

hi john,

we are using the message type orders and idoctype is orders05.

Read only

0 Likes
1,115

Hi Krishna,

First we have to find out if the error comes from processing in the application or from one of the checks performed before the application is called.

Go to function module IDOC_INPUT_OPDERS and put a breakpoint on "PERFORM edi_mode_to_mem.". Then reprocess the Idoc and when the program stops at your breakpoint set INPUT_METHOD to 'A'. In this way your order will be processed online (using BDC and you can find the error).

If the program doesn't stop at your breakpoint the error comes from one of the checks before.

But please try this first and come back if this doesn't solve your problem.

Kind regards,

John.

Read only

0 Likes
1,115

hi john,

i rectified the error which got earlier now i'm getting new error 'frieght redetermined'.and plz help how to reprocess the idoc.can u give me ur personal mail address.thank u

regads

krishna