on 01-18-2007 2:52 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
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
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
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.
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
User | Count |
---|---|
77 | |
9 | |
9 | |
7 | |
6 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.