Strange IDOCXML Messup

hello,

scenario is SAP -> SAP BC…
IDoc looks intact and when we view the XML, which i’m logging, is messed up , means few field contents are mixed up with other field contents… for example <useremail>GB01Mr</useremail> where in GB01 is company code and ‘Mr’ is client’s Prefix.
Though I have two different fields for these company code and prefix in the xml, these values are going into UserEmail field…
I even checked the idoc mapping to xml… evrything looks fine. but couldn’t understand how this is happening ?

any help please…

Thanks
SK

The structure used to convert the IDOC into an XML has a wrong definition. Do have a look at the length of the Company code in the structure at BC.

Hope it helps.
Bhavani Shankar.

Thanks for the reply… interesting aspect is same package i transported to staging box (one prior to production), and it’s working fine…
in schemas as such i don’t have length restriction, it’s just string …
added to this is not a new code… i had to develop another service , which is not related to this problematic service…

To my knowledge debugging the "inbound to BC " is not possible … am i correct ? or can we debug when idoc reaches BC ?

Thanks
SK

Folks,

Quick update on my problem… it’s resolved… solution is simple RESTART SERVER…
not sure why happened though!!!

Thanks for ur replies
SK