on 03-23-2007 10:38 AM
Hi,
I have an IDoc to File scenario.
I have imported the IDoc object from a SAP system.
When I logon to this SAP system for testing (transaction WE19), I see that the field "Produit" have the value "PALPL" and the field "EXTI1" (which is just after the field "Produit") is empty.
I send the IDoc to XI (in menu: Test outbound IDoc).
And I look in XI system (SXI_MONITOR) : I can see the received IDoc in Inbound Message -> Payloads -> MainDocument.
The problem is that the IDoc contains the following tags :
<PRODUIT>PALP</PRODUIT>
<EXTI1>L</EXTI1>
instead of
<PRODUIT>PALPL</PRODUIT>
Can anyone help me?
Thanks in advance,
Laurence
Hi,
Check the Idoc in we02. What do you see?
I think the problem is because the PRODUIT has a field lenght of 4 charcters and as your element has 5 charcters , the next charcter is going to the next field.
Check in We02 in your SAP system and see the outbound idoc. if the field is got the value as you have shown,
<PRODUIT>PALP</PRODUIT>
<EXTI1>L</EXTI1>
The problem then is in the Report populating / creating the idoc.
Regards
Bhavesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Bhavesh,
Thanks for your response,
In we02, the value of PRODUIT is PALPL.
When I check the structure of the IDoc in we60, the field PRODUIT has an internal length of 5 characters and an external length of 5 characters.
When I look the IDoc imported object in the Integration Repository (in format of XSD), I find the following for the element PRODUIT :
<xsd:element name="PRODUIT" minOccurs="0">
<xsd:annotation>
<xsd:documentation>
R/2 table
</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:maxLength value="5" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
So in both systems the length is of 5 characters...
Kind regards,
Laurence
Laurence,
This is rather strange. Have never encounetred such an error.
One option, delete the Idoc metadata in IDX2 and then retrigger the interface. The idoc metedata is not automatically changed if the idoc strucutrue is changed and in case you have made some changes to the Idoc strcuture then it is important to manually delete the Idoc metadata in IDx2.
If after deleting the Idoc metadata in IDx2 you still face the issue and if you can confirm that the data is perfect in We02 in the SAP system and you are not getting corresponding data in XI, then it is I guess time to raise an OSS with SAP . Might be a bug.
Which SP are you on?
Regards
Bhavesh
User | Count |
---|---|
76 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.