| Jason Lempka 2004-12-29, 5:52 pm |
| Hello,
I'm using BTS2k4 and SAP Adapter v2.0. I'm using BTS to transform
invoices from SAP to EDI X12 810 DSD files.
The SAP Adapter is configured correctly and correctly comunicating with
the SAP system. I've followed the "Add Generated Items" to generate the
schema for my invoice IDOC and it generated properly.
I can't seem to set the proper pipeline on my SAP receive port, however.
The first thing I did was set the pipeline to PassThrough and saved the
flat file representation of the IDOC. I used that flat file to validate
the schema and the schema validates fine.
I created a map with the schema and tried to use that map on a FILE
receive port with the above flat file IDOC. I found that in order to
make that work, I had to create my own pipeline using the Flat File
Disassembler. That worked fine.
But, now, when I try and use my SAP receive port, I can't seem to make
it work with any pipeline. If I use the PassThrough, then I can't
transform the IDOC. If I use the XMLReceive, then I get the following
error in HAT: "None of the components at Disassemble stage can recognize
the data."
When I use the pipeline I built using FFDasm, then something weirder
happens. Nothing shows up in BTS. HAT's "Most recent 100 service
instances" doesn't indicate that the file is received. But, there's no
errors logged anywhere! Not in application event log, not in HAT. If I
look in "Operations:Service Instances" in HAT, I see that there's
something from the SAP receive port labeled as "Active", but there's no
errors listed or times listed. There is a service instance ID, but I
can't trace that back to anywhere.
So, outside of the weirdness of the pipeline I created, my basic
question is what pipeline should I be using on a receive port connected
to the v2.0 SAP Adapter?
Thanks!
Jason
(I've managed a work around by using PassThrough on the SAP Receive
Port, using a PassThrough send port filtered for that SAP Receive port.
This writes the flat file IDOC to the filesystem. I then have a Flat
File receive port looking at that filesytem location which uses my
FFDasm pipeline. This port maps the flat file to the X12 810 XML format
I'm using and then is sent through a send port filtered on the 810 XML's
promoted property. It works, don't get me wrong, but I feel that I
should be able to do all of that without the passthrough magic and just
do the map on the data coming through the SAP receive port, but I can't
seem to get any pipeline working right when I do that).
--
Jason Lempka
jason.lempka@pbvllc.com
|