ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Unable to configure SAP adapter for a new BAPI call.

Post new topic  Reply to topic
 Unable to configure SAP adapter for a new BAPI call. « View previous topic :: View next topic » 
Author Message
ghoshly
PostPosted: Mon Oct 24, 2011 2:40 pm    Post subject: Unable to configure SAP adapter for a new BAPI call. Reply with quote

Partisan

Joined: 10 Jan 2008
Posts: 333

Hi,

I seek help to identify if I am missing any step or doing any wrong to configure SAP adapter to call a new SAP BAPI.

Steps I performed.
1. Extracted the structure for the BAPI call and kept all xsds in the SAP adapter repository directory.
2. Restart the SAP adapter instance.
3. Call the SAP BAPI method by sending the request message through the Request Queue.

Error I am receiving is mentioned below.

Quote:
[Time: 2011/10/24 22:27:46.452] [System: Server] [Thread: EAI.SAP_BAPI.QUERYJmsThreadPool.thread5 (#2144898487)] [Type: Error] [MsgID: 0] [Mesg: Unable to find version "*.*.*" of business object definition "sap_z_bapi_price_update".]
[Time: 2011/10/24 22:27:46.453] [System: ConnectorAgent] [SS: SAPBAPIQUERYConnector] [Thread: EAI.SAP_BAPI.QUERYJmsThreadPool.thread5 (#2144898487)] [Type: Error] [MsgID: 9068] [Mesg: The received message cannot be converted to BO Message. The message is not valid and is NOT processed. The response will be sent to the ReplyToQueue if it is set. Otherwise, the message will be sent to the fault queue. Message ID: ID:505249435f32303131313032343232323734363839343534]


Message Broker 6.0
AIX
SAP Adapter 6.0.9
jCO Version = 2.1.9 (2010-01-2
WebSphere Business Integration Adapter Framework version = 2.6.0.12
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Mon Oct 24, 2011 2:45 pm    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

Seems that your input message is not matching exactly the format needed by the BO. Recheck your parsing.
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
ghoshly
PostPosted: Mon Oct 24, 2011 2:46 pm    Post subject: Input message validation Reply with quote

Partisan

Joined: 10 Jan 2008
Posts: 333

I forget to mention the step of including the BOs as supported BOs in the cfg file, which I did and replaced the existing cfg file.

I have tried to validate the input message I am sending to SAP Request Queue against the sap_z_bapi_price_update.xsd and it seems to be valid.

I checked the access permission on those xsds as same as all other working xsds there.

Please help.
Back to top
View user's profile Send private message
ghoshly
PostPosted: Mon Oct 24, 2011 2:50 pm    Post subject: How adapter picks up the correct xsd to validate Reply with quote

Partisan

Joined: 10 Jan 2008
Posts: 333

Please help me to understand how SAP adapter picks up the correct xsd to validate the incoming message.

Is it based on the root element name of the incoming message , or identifies the xsd based on the Message Set ID value present in MQRFH2 header and cfg file?


Thanks again for responding to my question.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Mon Oct 24, 2011 7:33 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Seems to me that the name of the business object / BAPI is not quite right.
Are you sure it is "sap_z_bapi_price_update" and not just "z_bapi_price_update" ? and IIRC that would be in capitals... and not lower case... but as it is a "Z" object you better verify...
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
ghoshly
PostPosted: Tue Oct 25, 2011 4:06 pm    Post subject: BO name Reply with quote

Partisan

Joined: 10 Jan 2008
Posts: 333

I verify the BO names listed in the supported BO list, others already present there are like sap_Z_****.

I put the message set id in the cfg file Message Set ID column and it picked up the xsd which confuses me more.

What I found is OutputRoot.Properties.MessageSet is overriding any value I set in OutputRoot.MQRFH2.mcd.Set. Can you please confirm me is this is expected behavior?


Thanks in advance
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue Oct 25, 2011 7:49 pm    Post subject: Re: BO name Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

ghoshly wrote:
I verify the BO names listed in the supported BO list, others already present there are like sap_Z_****.

I put the message set id in the cfg file Message Set ID column and it picked up the xsd which confuses me more.

What I found is OutputRoot.Properties.MessageSet is overriding any value I set in OutputRoot.MQRFH2.mcd.Set. Can you please confirm me is this is expected behavior?


Thanks in advance

Yes I would expect the OutputRoot.Properties to override any other value of the same type and meaning.
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Unable to configure SAP adapter for a new BAPI call.
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.