Re: Problems with Microsoft SAP adapter for BizTalk 2004

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: David Downing [MSFT] (ddowning_at_online.microsoft.com)
Date: 05/27/04


Date: Thu, 27 May 2004 09:42:12 -0700

Peter,

Sorry it's taken me so long to respond... I've been timesliced over the past
week or so and haven't been able to look into this. I did want to respond
to one of your questions below regarding the population of missing fields.
You should be able to use a map to create the missing elements.

If you are running the Beta version of the adapter, it's likely that your
issues have already been resolved. You might want to post this to the
betanews.microsoft.com / microsoft.beta.frankfurt.general newsgroup as well.

-- 
Dave
This posting is provided "AS IS" with no warranties, and confers no rights.
"Peter Timkó" <ptimko@online.com> wrote in message
news:eW7sQXWQEHA.1160@TK2MSFTNGP09.phx.gbl...
> Dear David,
>
> Any luck with this problem?
>
> Regard
>
> Peter
>
> "David Downing [MSFT]" <ddowning@online.microsoft.com> wrote in message
> news:u6Z2dcbPEHA.164@TK2MSFTNGP12.phx.gbl...
> > Peter,
> >
> > I'm not able to install the software needed to uncompress your files,
can
> > you compress the file using winzip and repost?
> >
> > Thank you,
> > -- 
> > Dave
> >
> > This posting is provided "AS IS" with no warranties, and confers no
> rights.
> >
> > "Peter Timkó" <timko.peter@fmc.hu> wrote in message
> > news:#C9$e7XPEHA.164@TK2MSFTNGP12.phx.gbl...
> > > Dear Dave!
> > >
> > > I've attached the schema, and the XSD. The orchestration is very
simple,
> > it
> > > takes the message and send it to SAP without any modification.
> > > I've generated the schema from SAP with the adapter and i didn't do
any
> > > modification on the schema.
> > >
> > > I've also sent directly to you a complete biztalk project with the
> > scenario.
> > >
> > > Thanks for your help!
> > >
> > > Peter
> > >
> > > "David Downing [MSFT]" <ddowning@online.microsoft.com> wrote in
message
> > > news:eIUTvlOPEHA.2636@TK2MSFTNGP10.phx.gbl...
> > > > Peter,
> > > >
> > > > Can you include a description of your scenario?  Ideally, we'd like
to
> > set
> > > > it up here to reproduce your problem.
> > > >
> > > > Thank you,
> > > > -- 
> > > > Dave
> > > >
> > > > This posting is provided "AS IS" with no warranties, and confers no
> > > rights.
> > > >
> > > > "Peter Timkó" <timko.peter@fmc.hu> wrote in message
> > > > news:u86JnnMPEHA.2876@TK2MSFTNGP09.phx.gbl...
> > > > > Dear All!
> > > > >
> > > > > We are evaluating Microsoft's SAP adapter for Biztalk 2004 and we
> have
> > > > some
> > > > > problem with it:
> > > > >
> > > > > We make a simple orchestration which takes the following simple
> > message
> > > > and
> > > > > calls the BAPI_HU_CREATE function in SAP:
> > > > > <ns0:BAPI_HU_CREATE_Request
> > > > > xmlns:ns0="http://schemas.microsoft.com/BizTalk/2003">
> > > > >  <HEADERPROPOSAL>
> > > > >   <HU_STATUS_INIT>C</HU_STATUS_INIT>
> > > > >   <PACK_MAT>000000000000000032</PACK_MAT>
> > > > >   <TOTAL_WGHT>1,000</TOTAL_WGHT>
> > > > >   <UNIT_OF_WT_ISO>KGM</UNIT_OF_WT_ISO>
> > > > >  </HEADERPROPOSAL>
> > > > > </ns0:BAPI_HU_CREATE_Request>
> > > > > If we run the orchestration with this message the adapter writes
an
> > > entry
> > > > to
> > > > > the application log with the following message:
> > > > > "Index was out of range.  Must be non-negative and less than the
> size
> > of
> > > > the
> > > > > collection. Parameter name: index"
> > > > > And when it reaches the maximum retry count throws an XLANG
> exception.
> > > > > But if we includes all the other fields of the HEADERPROPOSAL
> > structure
> > > > with
> > > > > no data the adapter takes the document and passes it to SAP.
> > > > > Does anybody have any idea why the adapter behave like this? Or
any
> > idea
> > > > how
> > > > > can i create automatically all the other unused elements in the
> > > > > HEADERPROPOSAL structure without writing a pipeline component to
do
> > > this?
> > > > > I've read the following note in the BizTalk manual and i think it
is
> a
> > > > > solution to my problem but i wasn't able to get it to work:
> > > > > SDK\Developing Pipeline\Pipeline Components\XML Assembler Pipeline
> > > > Component
> > > > > <...>
> > > > > Note  The XML Assembler pipeline component does not populate
missing
> > > > > attribute fields, but does populate empty element fields when the
> > fields
> > > > are
> > > > > optional but do not have default or fixed values.
> > > > > <...>
> > > > >
> > > > > We using a beta SAP adapter which version number is 2.0.141.0
> > > > >
> > > > > Thans for your help:
> > > > >
> > > > > Peter
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >
> > >
> > >
> >
> >
>
>


Relevant Pages

  • Re: Problems with Microsoft SAP adapter for BizTalk 2004
    ... Peter ... >> I've attached the schema, ... >> takes the message and send it to SAP without any modification. ... >> rights. ...
    (microsoft.public.biztalk.general)
  • Re: Problems with Microsoft SAP adapter for BizTalk 2004
    ... Peter ... >> I've attached the schema, ... >> takes the message and send it to SAP without any modification. ... >> rights. ...
    (microsoft.public.biztalk.general)
  • RE: mapping from an <any> field
    ... Peter ... > rights. ... > schema. ...
    (microsoft.public.biztalk.general)
  • Re: Merge in Word
    ... Peter - that was the problem! ... (here's was missing at certain numbered entries - mine is variable). ... characters" - that sort of thing. ... This has happened when the database is a simple address database in table ...
    (microsoft.public.word.mailmerge.fields)
  • Re: Merge in Word
    ... (here's was missing at certain numbered entries - mine is variable). ... this forum set up to notify me of "replies" but I guess that didn't work. ... "Peter Jamieson" wrote: ... This has happened when the database is a simple address database in table ...
    (microsoft.public.word.mailmerge.fields)