cancel
Showing results for 
Search instead for 
Did you mean: 

XML IDoc conversion: No known segments identified PPCC2PRETTICKET01

Former Member
0 Kudos

Hello to everybody,

I'm working with JDBC adapter to IDOC scenario with standard message PPCC2PRETTICKET01 and I found this message:

IDOC_ADAPTER">ATTRIBUTE_IDOC_RUNTIME

XML IDoc conversion: No known segments identified

I've read previous thread and I've already try to Reimport the Idocs into Repository

and Delete the Idoc metadata from the in Transaction IDX2 and reimport the same.

I'm in SAP NetWeaver 2004s.

Do you have another ideas?

Many thanks

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Can you first try to test your mapping in Integration Repositroy.

Check if IDoc-XML is building successfully when you enter test data fro your JDBC message.

Bipin

Former Member
0 Kudos

Hi, thanks for your interesting,

yes I did a test in IR and it's working,

you mean test tool in 'display message mapping'?

take a look to the idoc type, PPCC2PRETTICKET01

two segments was not released...

but after I release it doesn't work yet.

regards

Former Member
0 Kudos

Hi,

Are you filling up Control record in the message mapping .In that case check the Apply Control Record from Payload in the IDOC communication channel

Otherwise make sure you disable EDIDC in message mapping and uncheck the Apply Control Record from Payload .

Also make sure that in the SEGMENT field of each segment of IDoc you are filling correct name of Segment.

For e.g if the Segment is E1KOMG.Then in SEGMENT field of that segment provide a constant value 'E1KOMG'

Bipin

Message was edited by:

Bipin Chandra Joshi

Former Member
0 Kudos

Hi,

I've filled up control record in message mapping, I tried with Apply C R but it doesn't work.

I don't know how to disable EDI_DC40 in message mapping because the fields are red.

I've filled up every segment field with a constant with the right segment name but nothing.

This is the payload after the error but since the JDBC adapter in:

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

- <PPCC2PRETTICKET01>

- <IDOC BEGIN="1">

- <EDI_DC40 SEGMENT="EDI_DC40">

<TABNAM>EDI_DC40</TABNAM>

<DIRECT>2</DIRECT>

<IDOCTYP>PPCC2PRETTICKET01</IDOCTYP>

<MESTYP>PPCC2PRETTICKET</MESTYP>

<SNDPOR>SAPXI0</SNDPOR>

<SNDPRT>LS</SNDPRT>

<SNDPRN>XIDEV100</SNDPRN>

<RCVPOR>SAPDEV</RCVPOR>

<RCVPRT>LS</RCVPRT>

<RCVPRN>SYSDEV300</RCVPRN>

</EDI_DC40>

</IDOC>

</PPCC2PRETTICKET01>

Thank for more ideas.

Fabrizio

bhavesh_kantilal
Active Contributor
0 Kudos

Hi,

can you let us know what the error now is?

1. Have you assigned the adapter specific identifiers for the sender and receiver bsuiness systems? If yes, then you can disable the Idoc control record. In the message mapping , right click on the EDI_DC40 segemt and say DISABLE FIELD.

2. if you wnat to set the sender partner name and receiver partner name , sender partney type etc from the payload, then in the idoc adapter, select the options,

1. Take sender from payload

2. Take receiver from payload

3. Apply control record from payload

Regards

Bhavesh

Former Member
0 Kudos

Hi, thanks for your interesting,

the error was always the same:

XML IDoc conversion: No known segments identified PPCC2PRETTICKET01

but the payload now is change in:

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

- <PPCC2PRETTICKET01>

<IDOC BEGIN="1" />

</PPCC2PRETTICKET01>

without BEGIN it change in:

XIAdapter</SAP:Category>

<SAP:Code area="IDOC_ADAPTER">ATTRIBUTE_IDOC_RUNTIME</SAP:Code>

<SAP:P1>MSGGUID 16EE61E1A7A711DB954200145E7B6C20: Tag found instead of tag IDOC BEGIN=</SAP:P1>

and payload in:

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

- <PPCC2PRETTICKET01>

<IDOC />

</PPCC2PRETTICKET01>

I tried with all yours proposition but the error is the same.

Many thanks.

bhavesh_kantilal
Active Contributor
0 Kudos

Hi,

><i>XML IDoc conversion: No known segments identified PPCC2PRETTICKET01

but the payload now is change in:

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

- <PPCC2PRETTICKET01>

<IDOC BEGIN="1" />

</PPCC2PRETTICKET01></i>

This is how it should be! BEGIN = "1" .

The reason is becuase no segments are mapped in your Idoc,. Use this blog by Michal to tets your mapping and checking why the Idoc fields are not being populated.

/people/michal.krawczyk2/blog/2005/09/16/xi-how-to-test-your-mapping-in-real-life-scenarios

Regards

Bhavesh

Former Member
0 Kudos

Thanks to everybody,

The problem was in the 'Document Name' and in 'Document Namespace'

in JDBC adapter configuration.

Best regards.

Fabrizio

Answers (0)