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: 

IDOCs

Former Member
0 Kudos

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

1 ACCEPTED SOLUTION

former_member378318
Contributor
0 Kudos

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.

6 REPLIES 6

former_member189059
Active Contributor
0 Kudos

Make sure you ALE settings are all proper

Vijay
Active Contributor
0 Kudos

hi raj

please check ur ALE configurations and

just refer to the link below

[Removed by the moderator.]
<b>step by step procedure with screen shots</b>

regards

vijay

<b>plz dont forget to reward points if helpful</b>

Former Member
0 Kudos

hi,

use we19 and debugging to analyse

Regards

Former Member
0 Kudos

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>

Former Member
0 Kudos

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

former_member378318
Contributor
0 Kudos

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.