cancel
Showing results for 
Search instead for 
Did you mean: 

Inbound IDOC error :51 Passed with out Message Type to ALE Layer

Former Member
0 Kudos

Hi,

I am struct wtih the inbound IDOC scenario ..XI able to send IDOC but at ECC side it is in 51 red status and the error message is

"IDOC passed without Message type to ALE Layer"

Do I need to pass these segment values in Message Mapping? I didnt mapped any MESTYP,SNDPOR,SNDPRT and so on.. disabled these fields...

Could any one light on this issue?

Thanks

Rajeev

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

SNDPRT SNDPRN,RCVPRN RCVPOR should be the same as you created in SAP R/3 Logical system names

i.e based on the key SNDPRN,SNDPRT,MSGTYP runtime will look for these parameters in the R/3 for processing the idoc data

SNDPRN is the logical system name should be created for PI system in We20..

search SDN if like to create the same

Rajesh

Former Member
0 Kudos

HI ,

I passed all the values in MM but still I am hanging with the same error in ECC:

" 51 An IDOC with out a message type was passed to the ALE Layer"

Thanks

Rajeev

Former Member
0 Kudos

just paste the value you are passing to MM

then some body will help you

Rajesh

Former Member
0 Kudos

Are yoiu able to see all the data fields in Idoc in ECC.. like msgtyp etc..

Have you checked your partner profile, are those msgtype present in PP ?

regards

Inder

Former Member
0 Kudos

Yes I can see the data in the ECC.. I can also see the Message type, port details in control record fields.

Dont know where the problem is:

Former Member
0 Kudos

Hi Guys,

I am too facing the same issue with IDOC 51 error. Rajeev did you resolved the issue?

" 51 An IDOC with out a message type was passed to the ALE Layer"

Port, message type and logical systems are configured as it has to be.. i can see data in control and data records but the IDOC is in 51 Error status.

Thanks

Santosh.

Former Member
0 Kudos

Hi,

I am passing values in MM as below:

<?xml version="1.0" encoding="UTF-8"?>

<ZPORDCR01>

<IDOC BEGIN="Constant">

<EDI_DC40 SEMENT="Constant">

<TABNAM>Constant</TABNAM>

<DIRECT>Constant</DIRECT>

<IDOCTYP>ZOrders</IDOCTYP>

<CIMTYP>Constant</CIMTYP>

<MESTYP>Z_Orders</MESTYP>

<SNDPOR>B0009</SNDPOR>

<SNDPRT>LS</SNDPRT>

<SNDPFC>LS</SNDPFC>

<SNDPRN>PD_100</SNDPRN>

<RCVPOR>DEV</RCVPOR>

<RCVPRT>LS</RCVPRT>

<RCVPRN>Dev10</RCVPRN>

<REFINT>GB</REFINT>

<REFGRP>MTI</REFGRP>

<REFMES></REFMES>

<ARCKEY>20090909</ARCKEY>

</EDI_DC40>

<E1PORDCR SEGMENT="Constant">

I am forwarding these values in MM... IDOC is successfully reaching in ECC but with 51 error in red... Logical system, post and message types are avaliable in Control record of the IDOC which received wiht errors in ECC.

Thnaks

Rajeev

Former Member
0 Kudos

>

> Hi,

>

> I am passing values in MM as below:

>

> <?xml version="1.0" encoding="UTF-8"?>

> <ZPORDCR01>

> <IDOC BEGIN="Constant">

> <EDI_DC40 SEMENT="Constant">

> <TABNAM>Constant</TABNAM>

> <DIRECT>Constant</DIRECT>

> <IDOCTYP>ZOrders</IDOCTYP>

> <CIMTYP>Constant</CIMTYP>

> <MESTYP>Z_Orders</MESTYP>

> <SNDPOR>B0009</SNDPOR>

> <SNDPRT>LS</SNDPRT>

> <SNDPFC>LS</SNDPFC>

> <SNDPRN>PD_100</SNDPRN>

> <RCVPOR>DEV</RCVPOR>

> <RCVPRT>LS</RCVPRT>

> <RCVPRN>Dev10</RCVPRN>

> <REFINT>GB</REFINT>

> <REFGRP>MTI</REFGRP>

> <REFMES></REFMES>

> <ARCKEY>20090909</ARCKEY>

> </EDI_DC40>

> <E1PORDCR SEGMENT="Constant">

>

> I am forwarding these values in MM... IDOC is successfully reaching in ECC but with 51 error in red... Logical system, post and message types are avaliable in Control record of the IDOC which received wiht errors in ECC.

>

> Thnaks

> Rajeev

Fill the TABNAME as EDI_DC40 and Direct as 2 (represents the inbound direction) and resend the idoc and check

Rajesh

Former Member
0 Kudos

HI Rajeev,

We too encountered the similar issue and we resloved after alot of trials:

please make sure to enter all the IDOC segment filed values:

<?xml version="1.0" encoding="UTF-8"?>

<ZPORDCR01>

<IDOC BEGIN="Constant">

<EDI_DC40 SEMENT="Constant">

<TABNAM>Constant</TABNAM>

<DIRECT>Constant</DIRECT>

<IDOCTYP>ZOrders</IDOCTYP>

<CIMTYP>Constant</CIMTYP>

<MESTYP>Z_Orders</MESTYP>

<SNDPOR>B0009</SNDPOR>

<SNDPRT>LS</SNDPRT>

<SNDPFC>LS</SNDPFC>

<SNDPRN>PD_100</SNDPRN>

<RCVPOR>DEV</RCVPOR>

<RCVPRT>LS</RCVPRT>

<RCVPRN>Dev10</RCVPRN>

<REFINT>GB</REFINT>

<REFGRP>MTI</REFGRP>

<REFMES></REFMES>

<ARCKEY>20090909</ARCKEY>

</EDI_DC40>

<E1PORDCR SEGMENT="Constant">

Above passing values should match to the settings at your SAP side and make sure you check the take payload from header option in CC. we tried once by checking this option and unchecking this option by disabling the above mentioned entire node.

Hope this might helps you.

Cheers

Santosh.

Answers (3)

Answers (3)

Former Member
0 Kudos

Rajeev,

Check out this SAP Note:

Note 835058 - OT: "An IDOC without a message type was passed to ALE Layer"

Recently we had a same issue and after clearing temse objects its sorted out.

Hope this will help.

Thanks,

Nilesh

Former Member
0 Kudos

Hello,

not disabled these field, put constants.

you should hard code the message type field to the name of the iDOC you are trying to send.

Regards,

lpbuff

Former Member
0 Kudos

Hi,

You should map all the fields in Idoc Header like :

<IDOC BEGIN="1">

<EDI_DC40 SEGMENT="1">

<TABNAM>EDI_DC40</TABNAM>

<MANDT>400</MANDT>

<DOCNUM>1</DOCNUM>

<DOCREL>700</DOCREL>

<DIRECT>1</DIRECT>

<IDOCTYP>DELVRY05</IDOCTYP>

<MESTYP>DESADV</MESTYP>

<SNDPOR>XI2ERP</SNDPOR>

<SNDPRT>LS</SNDPRT>

<SNDPRN>PRDCLNT200</SNDPRN>

<CREDAT>20090826</CREDAT>

<CRETIM>180744</CRETIM>

</EDI_DC40>

Please change the values according to your requirement.

Inder