Author |
Message
|
Halloween |
Posted: Tue Nov 24, 2015 9:54 am Post subject: Retrive IDOC number on MQ output queue after creating an IDO |
|
|
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 |
|
 |
Halloween |
Posted: Tue Nov 24, 2015 11:59 am Post subject: Any help would be appreciated |
|
|
Acolyte
Joined: 11 Mar 2015 Posts: 60
|
QA has raised a serious issue on requirement. |
|
Back to top |
|
 |
fjb_saper |
Posted: Tue Nov 24, 2015 1:16 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 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 |
|
 |
Halloween |
Posted: Tue Nov 24, 2015 1:47 pm Post subject: Retrieving the idoc number |
|
|
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 |
|
 |
fjb_saper |
Posted: Tue Nov 24, 2015 6:32 pm Post subject: Re: Retrieving the idoc number |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 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 |
|
 |
Halloween |
Posted: Wed Nov 25, 2015 6:14 am Post subject: retrieving idoc number on output queue |
|
|
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 |
|
 |
mqjeff |
Posted: Wed Nov 25, 2015 6:24 am Post subject: |
|
|
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 |
|
 |
Halloween |
Posted: Wed Nov 25, 2015 8:18 am Post subject: Retrieving IDOC |
|
|
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 |
|
 |
fjb_saper |
Posted: Wed Nov 25, 2015 9:33 am Post subject: Re: Retrieving IDOC |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 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 |
|
 |
Halloween |
Posted: Tue Dec 01, 2015 11:04 am Post subject: retrieving idoc |
|
|
Acolyte
Joined: 11 Mar 2015 Posts: 60
|
Thanks fjb.
I was able to convince them. |
|
Back to top |
|
 |
|