‎2007 Feb 27 12:52 PM
Hi,
My cenario is: POS calls RFC enabled function module from SAP trough EAI.
So a function module Z* is called. When this function is Tested in SAP with transaction SE37 everything seems to be fine. There are one table returned and all the data is in correct fields.
But, when this function is called trough EAI data is misaligned accordingly to difference of field lengths. For example ITEMS_OUT (used in my FM) table fields DOC_NUMBER in xml has 20 characters in function module 10, and so on.
Do you have any idea?
Thanks
BR
‎2007 Feb 27 12:54 PM
check the order of the fields
and let us know your requirement properly
‎2007 Feb 27 1:05 PM
For example:
In xml file i get this:
HEADERS_OUT>
- <item>
<DOC_NUMBER>00000007030040000000</DOC_NUMBER>
<SOLD_TO>Test client Sales</SOLD_TO>
<NAME1 />
<NET_VAL_HD>0.000000000</NET_VAL_HD>
<TAX_AMOUNT>0.000000000</TAX_AMOUNT>
<BR_VAL_HD>0.000000000</BR_VAL_HD>
<_FILLER />
<CURRENCY />
</item>
</HEADERS_OUT>
Regarding the DOC_NUMBER for example. In my RFC i have '0000000703', SOLD_TO = 0040000000; NAME1 = Test client Sales, and in xml is totally misaligned.
Thanks.
‎2007 Feb 27 1:15 PM
Hi,
I believe the transformation is not proper (XI mapping or EAI Mapping). Please map proper it won't happen.
Regards
Bhupal Reddy
‎2007 Feb 27 1:20 PM
Ok,
So you think that this is not a problem related to ABAP things, FM problems.
Probably it's a problem from EAI side right?
Thanks