BizTalk Server General - Using SAP BAPIs with Microsoft SAP adapter for BizTalk

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server General > May 2004 > Using SAP BAPIs with Microsoft SAP adapter for BizTalk





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Using SAP BAPIs with Microsoft SAP adapter for BizTalk
Pieter van der Merwe

2004-05-21, 5:55 pm

Does the Adapter give you a TID back or is this not supported?

"Peter Timkó" <ptimko@online.com> wrote in message
news:%23wBLFNzPEHA.3452@TK2MSFTNGP10.phx.gbl...
> Dear All,
>
> I have a general question regarding to Microsoft's SAP adapter for Biztalk
> 2004. The adapter capable to call BAPIs. It is ok, but as far as I know
> since the 4.0 version of SAP if I call a BAPI and it finishes its work
> doesn't commits any modification to the database implicitly. I have to

call
> the BAPI_TRANSACTION_COMMIT function to commit the modifications. But
> unfortunately I wasn't able to communicate with SAP this way!
>
> If I call a BAPI it runs successfully and in the result document I can see
> the modifications what the BAPI have done. In the second step I call the
> BAPI_TRANSACTION_COMMIT and it runs also successfully but it doesn't

commits
> the changes what I've just made with the first BAPI call. My opinion is

that
> the adapter disconnect from SAP between the the first call and the commit,
> hence SAP rollbacks the work I've done with the first call.
> I've enclosed the picture of the orchestration with which I've tried this
> scenario.
>
> Is this behavior OK? Do I have to build RFCs around every BAPI which calls
> the BAPI and if it successful calls the commit?
>
> P.S.: If I trace the execution at SAP side it can be seen that the first
> BAPI call and the BAPI_TRANSACTION_COMMIT call has different process id.
>
> Thanks for your help
>
> Peter
>
>
>



Peter Timkó

2004-05-24, 7:35 am

Hi,

It's a good idea, the adapter gives back a lot of parameter as a promote
property. I'll check them.

Thanks

Peter

-------------
"Pieter van der Merwe" <junkmail@hotmail.com> wrote in message
news:%23eDGHozPEHA.3220@TK2MSFTNGP09.phx.gbl...
> Does the Adapter give you a TID back or is this not supported?
>
> "Peter Timkó" <ptimko@online.com> wrote in message
> news:%23wBLFNzPEHA.3452@TK2MSFTNGP10.phx.gbl...
Biztalk[vbcol=seagreen]
> call
see[vbcol=seagreen]
> commits
> that
commit,[vbcol=seagreen]
this[vbcol=seagreen]
calls[vbcol=seagreen]
>
>



Peter Timkó

2004-05-24, 7:35 am

Hi,

I've checked the promoted properties which the SAP adapter promotes, they
are the standard EDI_DC40 fields. I can't find any other property which
corresponds to a transaction ID.

Regards

Peter


"Peter Timkó" <ptimko@online.com> wrote in message
news:%23XRFeUWQEHA.2744@TK2MSFTNGP12.phx.gbl...
> Hi,
>
> It's a good idea, the adapter gives back a lot of parameter as a promote
> property. I'll check them.
>
> Thanks
>
> Peter
>
> -------------
> "Pieter van der Merwe" <junkmail@hotmail.com> wrote in message
> news:%23eDGHozPEHA.3220@TK2MSFTNGP09.phx.gbl...
> Biztalk
know[vbcol=seagreen]
> see
the[vbcol=seagreen]
is[vbcol=seagreen]
> commit,
> this
> calls
first[vbcol=seagreen]
id.[vbcol=seagreen]
>
>



David Downing [MSFT]

2004-05-25, 4:37 pm

Peter,

The adapter doesn't promote the TID.

Dave

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com