on 07-11-2007 4:03 PM
HI,
my file 2 Idoc scenario looks fine and the file sender adapter is working (shown in adapter monitoring).
But there is no IDoc output.
q1: Are there any possibilitiy to monitor this ?
There are no messages in the message monitoring.
q2: my file content conversion looks like
KeyFieldName = ID
KeyFieldType = Integer
DTHEADER.fieldnames: ID(keyvalue),Header1,Header2,Header3
DTHEADER.fieldSeparator: ,
DTHEADER.endSeparator: 'nl'
DTHEADER.keyFieldValue:1
DTPOS.fieldnames: ID(keyvalue),Pos1,Pos2,Pos3
DTPOS.fieldSeparator: ,
DTPOS.endSeparator: 'nl'
DTPOS.keyFieldValue:2
DTSUM.fieldnames: ID(keyvalue),Sum1,Sum2
DTSUM.fieldSeparator: ,
DTSUM.endSeparator: 'nl'
DTSUM.keyFieldValue:3
Can you tell me how the flatfile looks like ?
hi,
Try to check it out in the transaction code IDX2 there u can check metadata had captured or not also check in the transaction code IDX1 whether port is created or not .
Regards,
Srinivas.D
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Gordon,
U need to map all the nodes of in the higher cardinality also
For eg
Source
<Node>
<Value1>
<Value2>
IDOC Target
<EAL>
<Node1>
<Node2>
<Root2>
<Node3>
<Node4>
Remember that if any of the nodes Node 4 or Node 3 are mapped to the target then you need to map the higher level node also to something
in this case it means that if node 4 or Node3 are mapped then Root2 is mandatary to be mapped
This u can verfiy in Message Mapping itself.
Rgds
Aditya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Aditya,
File
<record>
<DTHEADER>(node)
<HF1>
<HF2>
<DTPOS>(node)
<PF1>
<PF2>
Idoc
<ZZHeader>(node)
<ZZF1>
<ZZF2>
<ZZPOS>(node)
<ZZF3>
<ZZF4>
File: <HF1> is mapped to IDoc <ZZF1> but the value is not shown in the IDoc
Constant "xxx" is mapped to IDoc <ZZF2> and the value is shown in the IDoc
what is wrong or missing ?
Gordon
Message was edited by:
Gordon Breuer
Payload: Inbound File
<?xml version="1.0" encoding="utf-8" ?>
- <ns:FILEINPUT_MT xmlns:ns="http://......./BG_File2IDoc">
- <Record>
- <DTHEADER>
<Header1>123</Header1>
<Header2>456</Header2>
<Header3>789</Header3>
</DTHEADER>
- <DTPOS>
<Pos1>456</Pos1>
<Pos2>457</Pos2>
<Pos3>458</Pos3>
</DTPOS>
- <DTSUM>
<Sum1>444</Sum1>
<Sum2>555</Sum2>
</DTSUM>
</Record>
</ns:FILEINPUT_MT>
Payload: Outbound IDoc
<?xml version="1.0" encoding="UTF-8" ?>
- <ZSTCMP01>
- <IDOC BEGIN="1">
- <EDI_DC40 SEGMENT="1">
<TABNAM>/</TABNAM>
<DIRECT>/</DIRECT>
<IDOCTYP>/</IDOCTYP>
<MESTYP>/</MESTYP>
<SNDPOR>/</SNDPOR>
<SNDPRT>/</SNDPRT>
<SNDPRN>/</SNDPRN>
<RCVPOR>/</RCVPOR>
<RCVPRN>/</RCVPRN>
</EDI_DC40>
- <Z1STCMP_HEADER SEGMENT="1">
<UZEIT>0011</UZEIT>
- <Z1STCMP_ITEM SEGMENT="1">
<ROUNDING_VALUE>1</ROUNDING_VALUE>
</Z1STCMP_ITEM>
</Z1STCMP_HEADER>
</IDOC>
</ZSTCMP01>
File: <Header1>123</Header1> is mapped to
Idoc: <Z1STCMP_HEADER FIELD1> but this one is missing
Hi Gordon !!
Check this:
- in XI system, tcode SM58 to verify is the IDOCs are stuck or not in XI, because of misconfiguration, authorization issues, etc.
- in R/3 system (the receiver), tcode BD87 to verify if they arrive to R3 but are not processed.
- Verify in XI, in Integration Configuration if the Logical Name of the business service/system of the sender is ok and is correctly registered in R/3.
- Verify WE20 in R3 to check if the inbound parameter is correctly configured.
- Is R/3 correctly registered in XI SM59?
Regards,
Matias.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
OK,
i found an error in my sender file adapter configuration and now ... it works, but i have mapped my structure (see above)
Header1 = IDoc field1
Constant("XXX") = IDoc field2
the same for Pos...
The constant values are shown in the IDoc but the mapped values are missing.
The inbound xml message(pipeline) looks like that:
<?xml version="1.0" encoding="utf-8" ?>
- <ns:FILEINPUT_MT xmlns:ns="http://.....">
- <Record>
- <DTHEADER>
<Header1>123</Header1>
<Header2>456</Header2>
<Header3>789</Header3>
</DTHEADER>
- <DTPOS>
<Pos1>456</Pos1>
<Pos2>457</Pos2>
<Pos3>458</Pos3>
</DTPOS>
- <DTSUM>
<Sum1>444</Sum1>
<Sum2>555</Sum2>
</DTSUM>
</Record>
</ns:FILEINPUT_MT>
any ideas why the values are not shown in the IDoc ?
Do you see anything in SXMB_MONI?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Gordon,
Check my posting in WIKI
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/fileToIDOC&
and this blog
/people/venugopalarao.immadisetty/blog/2007/01/24/troubleshooting-file-to-idoc-scenario-in-xi
check this for Sender File
/people/venkat.donela/blog/2005/06/08/how-to-send-a-flat-file-with-various-field-lengths-and-variable-substructures-to-xi-30
Sachin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey
/people/venugopalarao.immadisetty/blog/2007/01/24/troubleshooting-file-to-idoc-scenario-in-xi
Thanx
Ahmad
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
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.