PDA

View Full Version : IDOC error


mike4567 (Unregistered Guest)
08-27-2003, 08:47
Hi,
I'm sending a custom IDOC to SAP. I'm using following steps:-
transformHeirarchyToFlat
encodeSDATA
ale.inboundProcess

I am able to create the IDOC in SAP but the Header Record & detail name changes at SAP.
The record name is appended with space and first field.
For example the webmethods document is
Header
-ordernum
-deliveryType
But in SAP the value goes as
Header ordernum
-ordernum
-deliveryType
I have checked all services, the documents are absolutely perfect but when they reach SAP its distorted. I'm not losing any data in any of the records but the record names change.
How to solve this . I'm not even able to debug since all are adapter services.
Do I need to make any setting to resolve this.

Rgds
mike

Vijaya Bhaskar
08-28-2003, 17:04
Try submitting IDOC in XML format. Here are the steps..

IDOC Structure --> recordToDocument --> xmldata
--> decode -->
--> call ALE InboundProcess-->

I believe you should pass message type, may be extension of message type

Regards
Rao

mike4567 (Unregistered Guest)
08-29-2003, 00:49
Hi,
I am passing the message type in the IDOC . Even the document structure is perfect at before calling inboundprocess . But in SAP Z_HDR become Z_HDR UK where UK is value of first field.

bash
08-29-2003, 02:51
This probably is becoz of the length definition of the fields in IDOC. Just have a check there.

HTH
BS