cancel
Showing results for 
Search instead for 
Did you mean: 

IDOC INBOUND ERROR ( STATUS - 51 )

Former Member
0 Kudos

hi all,

when procssing the inbound idoc's i am getting an error ststing that " No status record was passed to ALE by the application " what may be the problem .

helpfull answers will be rewarded with points.

regards,

murali.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

What is the message type, Idoc type and your processing function module?

Without that information, it may be difficult to help.

Srinivas

manuel_bassani
Contributor
0 Kudos

Hi Murali,

are you using a custom FM?

if so be sure that your FM fills IDOC_STATUS table!

insert status

IDOC_STATUS-STATUS 53 if idoc OK

IDOC_STATUS-STATUS 51 (or other ) if idoc fails

let me know.

Bye Manuel

Please kindly remember to reward points if it solves the problem

Former Member
0 Kudos

hi,

Thank you for ur reply ( manuel & srinivas ).

but incase of my scenario i am getting the the inbound idoc's from xi and based on certain criteria i am going to just split the idoc.so i have written a custom fn module which will only split the idoc and not post the idoc.it will read the idoc's of idoctype:orders05,messtype: zorders convert asidoctype: orders05,messtype: orders.so this splitting works fine.But i am using the sap std. fn module IDOC_INPUT_ORDERS to post the idoc.which automatically fills the status table.

waiting for ur reply.....

regards,

murali.

Former Member
0 Kudos

Hi Muralli,

Even though you are splitting the Idoc, your original IDoc from XI still needs to have a status record to tell if that original IDoc is successful or not. You can use IDOC_STATUS_WRITE_TO_DATABASE to set the status for the original IDoc. You need to call this function module in your custom function module.

Srinivas

Former Member
0 Kudos

hi srinivas,

i have already called the fn module in my custom fn module IDOC_STATUS_WRITE_TO_DATABASE and status record of idoc is also is generated.

then also it shows an error.

" No status record was passed to ALE by the application"

regards,

murali.

Former Member
0 Kudos

See the code in this function module IDOC_INPUT_CLOSE. I think, even though you are writing the status records to the database, you need to send a status back to XI(ALE) with your status record. That is why I think you are getting this message.

In WE02, what do you see as status records for 1)original IDOC and 2) your new IDOCs?

Are you getting this message after you create the new IDOCs or before you split them? Can you tell us what is the logic of your function module(just design logic not the code)?

Regards,

Srinivas

Former Member
0 Kudos

hi srinivas,

no actually i get the same status of before like from 50 to 60 ,then 60 to 64 then 62,then it comes in status 51.

i have created and updated the status to xi but inturn also i get the same status what nay be the error...

the sattuses are

from 50,64,62,51.

regards,

murali.