Debugging SAP Adapter 2.0 within BizTalk
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > BizTalk Server > BizTalk Server Applications Integration > Debugging SAP Adapter 2.0 within BizTalk




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Debugging SAP Adapter 2.0 within BizTalk  
vicente_castello@hotmail.com


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-17-05 01:47 AM

I would like to debug a scenario where IDocs are being sent from
BizTalk to SAP using the SAP Adapter. Within the orchestration, XML
data is being transformed to IDoc data and then sent via a Send Port
tied to the SAP Adapter. When sending IDocs, some of the IDocs are
being lost. I believe that the data is being sent incorrectly and this
is the reason for the data not being persisted to the SAP database.

I've been able to trace the incoming request from within SAP and I know
that the SAP Adapter makes the following RFC calls.

RFC_PING
IDOC_INBOUND_ASYNCHRONOUS
BAPI_TRANSACTION_COMMIT

I have worked with other Microsoft products like DCOM Connector/.Net
Connector and there has always been a means of tracing the request to
SAP.

Please let me know if there is any way to turn on RFC trace within the
SAP Adapter. The underlying RFC library provided by SAP provides
tracing capabilities, but my problem is how to turn it on using the SAP
Adapter within Biztalk. There has to be some means of RFC tracing at
the client.

Any information on the above would be appreciated.

--Vince






[ Post a follow-up to this message ]



    RE: Debugging SAP Adapter 2.0 within BizTalk  
cori


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-29-05 10:58 PM

I don't think you can do this from the adapter.  In my case I had to trace
through the iDoc receipt in SAP to find anything of use.

Of particular use in my iDoc receipt tracing was SAP transaction we05, where
I could see the iDocs that had been created.  I could then drill in to each
one and find the errors and try to resolve them.  This worked OK for iDocs
that had been received with Errors.

I was also able to make a little use of the HAT messages in the message flow
for each message that left BTS.  In my case they would typically enter a
Suspended (resumable) state and I could look at the Error Infor on the
message flow screen to see a little bit of information from SAP.  When I gav
e
those messages to my SAP-aware consultant (I am an SAP idiot) he was able to
resolve those issues.

I'd be interested to find any other tracing information for iDoc/RFC within
BizTalk.

--
Thanks;
cori


"vicente_castello@hotmail.com" wrote:

> I would like to debug a scenario where IDocs are being sent from
> BizTalk to SAP using the SAP Adapter. Within the orchestration, XML
> data is being transformed to IDoc data and then sent via a Send Port
> tied to the SAP Adapter. When sending IDocs, some of the IDocs are
> being lost. I believe that the data is being sent incorrectly and this
> is the reason for the data not being persisted to the SAP database.
>
> I've been able to trace the incoming request from within SAP and I know
> that the SAP Adapter makes the following RFC calls.
>
> RFC_PING
> IDOC_INBOUND_ASYNCHRONOUS
> BAPI_TRANSACTION_COMMIT
>
> I have worked with other Microsoft products like DCOM Connector/.Net
> Connector and there has always been a means of tracing the request to
> SAP.
>
> Please let me know if there is any way to turn on RFC trace within the
> SAP Adapter. The underlying RFC library provided by SAP provides
> tracing capabilities, but my problem is how to turn it on using the SAP
> Adapter within Biztalk. There has to be some means of RFC tracing at
> the client.
>
> Any information on the above would be appreciated.
>
> --Vince
>
>





[ Post a follow-up to this message ]



    RE: Debugging SAP Adapter 2.0 within BizTalk  
artinv


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
10-04-05 10:53 PM

There are 3 system variables that you can add to the orch...CPIC_TRACE.(valu
e
1, system.char)..RFC_TRACE (value 1, system.byte) and RFC_TRACE_DIR (value
"c:\directoryoffile"), system.string.  You will receive a trace log that wil
l
help you figure out issues.

"vicente_castello@hotmail.com" wrote:

> I would like to debug a scenario where IDocs are being sent from
> BizTalk to SAP using the SAP Adapter. Within the orchestration, XML
> data is being transformed to IDoc data and then sent via a Send Port
> tied to the SAP Adapter. When sending IDocs, some of the IDocs are
> being lost. I believe that the data is being sent incorrectly and this
> is the reason for the data not being persisted to the SAP database.
>
> I've been able to trace the incoming request from within SAP and I know
> that the SAP Adapter makes the following RFC calls.
>
> RFC_PING
> IDOC_INBOUND_ASYNCHRONOUS
> BAPI_TRANSACTION_COMMIT
>
> I have worked with other Microsoft products like DCOM Connector/.Net
> Connector and there has always been a means of tracing the request to
> SAP.
>
> Please let me know if there is any way to turn on RFC trace within the
> SAP Adapter. The underlying RFC library provided by SAP provides
> tracing capabilities, but my problem is how to turn it on using the SAP
> Adapter within Biztalk. There has to be some means of RFC tracing at
> the client.
>
> Any information on the above would be appreciated.
>
> --Vince
>
>





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 06:46 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register