2007 Jul 30 10:55 AM
HI experts
i have a doubt in IDOC
in inbound iam getting the error code is 51
'no status record was passed to ALE by the application"(red light)
iam getting this error
ho to solve this .
in out bound iam getting GREEN LIGHT
2007 Jul 30 11:22 AM
Hi,
As its an inbound IDOC you must complete the IDOC_STATUS return table to signify either success or failure. If you fail to pass the status information you shall get the message 'no status record was passed to ALE by the application'.
For examples of how to fill the idoc status structure take a look at BAPI_IDOC_INPUT1 or any other standard inbound idoc processing function module.
Hope it helps.
HI experts
i have a doubt in IDOC
in inbound iam getting the error code is 51
'no status record was passed to ALE by the application"(red light)
iam getting this error
ho to solve this .
in out bound iam getting GREEN LIGHT
2007 Jul 30 10:57 AM
2007 Jul 30 11:00 AM
2007 Jul 30 11:03 AM
2007 Jul 30 11:04 AM
Hi,
Receiving System(Inbound ALE )
Create Idoc type Transaction WE30.
Idoc type Idoc segments
Z_idoc
Create Message Type Transaction WE81.
Message type
z_msg
Assign Message Type to Idoc type Transaction WE82.
Idoc type Message type
z_idoc z_msg
Create a function module through SE37
z_idoc_input
Assign characteristic of function module BD51
Assign fn module to Idoc type and Message Type WE57
Idoc type Message type Fn Module
z_idoc z_msg z_idoc_input
Create Inbound process code and assign inbound function module Transaction WE42.
Process code Inbound function module
zcode z_idoc_input
Create a distribution Model - Transaction BD64
Create distribution model for distribution of messages
with the message type of z_msg
Update inbound parameters of the Partner profile Transaction WE20
For the Logical system A for the above message type update the partner profile
inbound parameter and specify the process code of zcode.
For Outbound ALE Configurations: (Example)
IDoc definitions and necessary ALE configurations settings for the outbound .
Create Idoc segments Transaction WE31.
Create Idoc type Transaction WE30.
Create Message Type Transaction WE81.
Assign Message Type to Idoc type Transaction WE82.
Create a distribution Model - Transaction BD64
<b>
Regards,
Azhar</b>
2007 Jul 30 11:11 AM
hi
This error occurs if there is some problem with ALE configuration.
check out the following steps
<b>
Sending System(Outbound ALE Process)</b>
Tcode SALE for
a) Define Logical System
b) Assign Client to Logical System
Tcode SM59-RFC Destination
Tcode BD64 - Create Model View
Tcode BD82 - Generate partner Profiles & Create Ports
Tcode BD64 -Distribute the Model view
Message Type e.g MATMAS
Tcode BD10 Send Material Data
Tcode WE05 Idoc List for watching any Errors
<b>Receiving System(Inbound ALE )</b>
Tcode SALE for
a) Define Logical System
b) Assign Client to Logical System
Tcode SM59-RFC Destination
Tcode BD64 -- Check for Model view whether it has distributed or not
Tcode BD82 -- Generate partner Profiles & Create Ports
Tcode BD11 Getting Material Data
Tcode WE05 -- Idoc List for inbound status codes
<b>reward points for useful ans</b>
Regards
Aarti
2007 Jul 30 11:22 AM
Hi,
As its an inbound IDOC you must complete the IDOC_STATUS return table to signify either success or failure. If you fail to pass the status information you shall get the message 'no status record was passed to ALE by the application'.
For examples of how to fill the idoc status structure take a look at BAPI_IDOC_INPUT1 or any other standard inbound idoc processing function module.
Hope it helps.