on 11-18-2005 4:42 PM
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.
What is the message type, Idoc type and your processing function module?
Without that information, it may be difficult to help.
Srinivas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
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
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
User | Count |
---|---|
91 | |
10 | |
10 | |
6 | |
5 | |
5 | |
5 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.