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 » Retrive IDOC number on MQ output queue after creating an IDO

Post new topic  Reply to topic
 Retrive IDOC number on MQ output queue after creating an IDO « View previous topic :: View next topic » 
Author Message
Halloween
PostPosted: Tue Nov 24, 2015 9:54 am    Post subject: Retrive IDOC number on MQ output queue after creating an IDO Reply with quote

Acolyte

Joined: 11 Mar 2015
Posts: 60

Can somebody help me how can i get the idoc number on MQ output queue after posting an xml message on the input and creating an idoc In sap using SAp request node

I get input xml.
Map to SAP IDOC object
Post it to SAP request to generate an IDOC from it

MQ Output connected to out of SAP Request

It gives me the transaction ID and not the IDOC number that created
Back to top
View user's profile Send private message
Halloween
PostPosted: Tue Nov 24, 2015 11:59 am    Post subject: Any help would be appreciated Reply with quote

Acolyte

Joined: 11 Mar 2015
Posts: 60

QA has raised a serious issue on requirement.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue Nov 24, 2015 1:16 pm    Post subject: Reply with quote

Grand High Poobah

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

The answer is: it may be more than one...
So have you talked to your SAP team to ask them how you could get the idoc numbers participating in the transactionId that you have?
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Halloween
PostPosted: Tue Nov 24, 2015 1:47 pm    Post subject: Retrieving the idoc number Reply with quote

Acolyte

Joined: 11 Mar 2015
Posts: 60

Thanks for reply.

No.

I have not talked to them. They were saying that the looping logic in mapping would create multiple idocs
But the thing is. The only thing i could see in MQOutput queue coming from SAP Request out terminal, is SAP Transaction id.
Rest things like Properties and local environments is empty
The only thing visible is Transaction ID under DataObject

The requirement is to fetch the IDOC number on MQ Output queue
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue Nov 24, 2015 6:32 pm    Post subject: Re: Retrieving the idoc number Reply with quote

Grand High Poobah

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

Halloween wrote:
Thanks for reply.

No.

I have not talked to them. They were saying that the looping logic in mapping would create multiple idocs
But the thing is. The only thing i could see in MQOutput queue coming from SAP Request out terminal, is SAP Transaction id.
Rest things like Properties and local environments is empty
The only thing visible is Transaction ID under DataObject

The requirement is to fetch the IDOC number on MQ Output queue

They are right. You need to ask them which RFC call will give you the IDOC numbers created by the transaction. You can then retrieve them using the Adapter and put X messages to the queue.

Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Halloween
PostPosted: Wed Nov 25, 2015 6:14 am    Post subject: retrieving idoc number on output queue Reply with quote

Acolyte

Joined: 11 Mar 2015
Posts: 60

Hello,
Thanks fjb,

But i am not using RFC
I am using outbound ALE.
My flow is

MQInput(XML) -> Compute(Mapping xml to idoc in esql) -> SAP Request(post to SAP) -> MqOutput(expecting idoc number but gives transaction id)

Any thing that you could figure out from this flow to retrive IDOC.

when i make adapter connection, theres only one adaptor created for ALE outbound having SAP Request

The whole purpose is creating an IDOC from input XML

But they want an idoc number in text format on MQ Output
Back to top
View user's profile Send private message
mqjeff
PostPosted: Wed Nov 25, 2015 6:24 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

You have determined that the incoming message (your XML doc) doesn't have anything that can be used instead of the IDoc # ?

You have determined that the SAPRequest node does not return the IDoc #.

Why is your QA team bothering you, when it seems like the number they want isn't available until SAP generates it, after your flow completes.
_________________
chmod -R ugo-wx /
Back to top
View user's profile Send private message
Halloween
PostPosted: Wed Nov 25, 2015 8:18 am    Post subject: Retrieving IDOC Reply with quote

Acolyte

Joined: 11 Mar 2015
Posts: 60

Thanks again fjb.

I have no idea. I am new to this SAP and i am involved in JCAPS to IIB migration for the existing JCAPS interfaces. JCAPS team would want me to replicate the exact same functionality they have with their applications in IIB. But IIB has limitations. Both the platforms are different.

I was wondering since we have a transaction ID in MQ Output, Can we use that detail to retrieve Idoc?

What i know is outbound adapters can provide transaction ID only?
SAP team should use it to find associated IDOC
Its not possible in IIB to retrieve idoc in MQ Queue

Maybe i have to make strong point to QA
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed Nov 25, 2015 9:33 am    Post subject: Re: Retrieving IDOC Reply with quote

Grand High Poobah

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

Halloween wrote:
Thanks again fjb.
I was wondering since we have a transaction ID in MQ Output, Can we use that detail to retrieve Idoc?

What i know is outbound adapters can provide transaction ID only?
SAP team should use it to find associated IDOC
Its not possible in IIB to retrieve idoc in MQ Queue

Maybe i have to make strong point to QA

It should be possible.
You do realize that ALE is just a specific RFC call over the adapter...
You will have to work with the SAP team to make an extra call to SAP with your flow using the transaction ID to retrieve the Idoc Ids...
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Halloween
PostPosted: Tue Dec 01, 2015 11:04 am    Post subject: retrieving idoc Reply with quote

Acolyte

Joined: 11 Mar 2015
Posts: 60

Thanks fjb.
I was able to convince them.
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 » Retrive IDOC number on MQ output queue after creating an IDO
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.