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 » Blank fields in SAP BAPI Return object

Post new topic  Reply to topic
 Blank fields in SAP BAPI Return object « View previous topic :: View next topic » 
Author Message
ghoshly
PostPosted: Mon Jun 06, 2022 7:02 am    Post subject: Blank fields in SAP BAPI Return object Reply with quote

Partisan

Joined: 10 Jan 2008
Posts: 325

Hello,

I am using IIB v10.0.0.20 using Adapter Implementation-Version: 7.5.0.5_IF32 in AIX 7.2 and able to execute SAP BAPI synchronously. I am able to expose the functionality so that 3rd party can execute ESB API and get the business objects returned by SAP.

SAP Adapter is not returning Blank or Null fields in the result set, however the 3rd party wants to get all the possible fields even if it has blank or Null values.

Is there a way I can use any SAP adapter property or SAP Request node property or any environment variable to tell SAP Adapter, to return all fields in the result set, even if it has blank values?

Is my query / request is clear to understand? Thanks for your kind response.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Mon Jun 06, 2022 3:10 pm    Post subject: Reply with quote

Grand High Poobah

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

When you initialize the SAP Adapter against the BAPI it creates in its repository the description of the interface. you should look at using the connection and use java and the SAP jars to extract that interface information. You could probably then create a schema.

On the other hand doesn't the adapter create a schema in IIB / ACE for the interface call? Why is the op not using that schema?
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
ghoshly
PostPosted: Mon Jun 06, 2022 7:20 pm    Post subject: SAP Adapter creates schema Reply with quote

Partisan

Joined: 10 Jan 2008
Posts: 325

Hello,

SAP Adapter indeed creates the schema when the Adapter connection is created and we can get any update to the BAPI structure via Iterative Discovery.

If we have to manually create each and every field, it would be cumbersome for those BAPI where hundreds of fields are returned and occurrences as per number of records returned. Instead of that, I am looking for some generic solution which can be applied for all BAPI execution for an given adapter call.
Back to top
View user's profile Send private message
abhi_thri
PostPosted: Tue Jun 07, 2022 3:00 am    Post subject: Re: Blank fields in SAP BAPI Return object Reply with quote

Knight

Joined: 17 Jul 2017
Posts: 516
Location: UK

ghoshly wrote:
Hello,

SAP Adapter is not returning Blank or Null fields in the result set, however the 3rd party wants to get all the possible fields even if it has blank or Null values.


hi...assuming all those blank/null fields are optional ones why does the third party insist on having the fields populated? Just ask them to stick to the message contract...

With regards to whether it is possible for the SAP adapter to return everything, may be worth raising it with IBM via PMR or so to see whether there is any setting which could achieve this.
Back to top
View user's profile Send private message
ghoshly
PostPosted: Mon Jun 13, 2022 10:41 am    Post subject: Reply with quote

Partisan

Joined: 10 Jan 2008
Posts: 325

Couldn't get enough support from IBM as IIB version has reached EOS.
We have to replicate the issue in ACE v12, in order to get help from IBM.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Blank fields in SAP BAPI Return object
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.