on 03-31-2009 8:18 AM
Hi,
I have xMII 12.0. I have configured the IDOC communication with xMII via Message listener.
When I am trying to send IDOCs those are successfully received in xMII. I have added the xMII_IDOC as category where all IDOCs will be available.
1. Now I am not clear how to access those IDOC data in transaction using Message query and read (Steps for creating transaction).
and
2. how to see the IDOC data in xMII 12.0. I can see the IDOCs coming in xMII in Message monitor but not able to see the data.
I know in xMII 12.0 the IDOCs get stored in NW table, but how to see and access it.?
I saw couple of discussions on SDn, but not able to get the proper direction.
Appriciate quick response on this.
Thanks
Swarup
Edited by: Swarup Sawant on Mar 31, 2009 9:18 AM
Hi,
I am able to use the Message service action blocks for getting the messaage ID and accordingly get the xml data.
But still the questions remained are where I can see the IDOC data ??
&&&
How to access the individual fields from IDOC structure.
Thanks
Swarup
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
For just reviewing the IDoc, I would simply read the message in a transaction and use an XML Saver to create a file with the IDoc. Or instead of saving it, simply take the contents of the message and link them to a tracer action block's Message property. Double click on the tracer message in the execution window to copy. Then you can paste it to an editor.
Good luck,
Mike
Hello Swarup,
when I tried to read the Data I had problems to get them into the transaction. The problem was, that I used an transaktion Input type xml but string is the correct one in this case.
If you use a string-input you can pass the data to a tranascation in the Message Processing Rules.
Just for testing I added the "string-input" as an attachement to an e-mail and send it to my e-mailadress and this worked very well.
Hope this helps you.
Regards,
Matthias
Hi Mike,
I use the xml server and now I could be able to see the IDOC xml as you had said. thanks...
But as you had said this will help to simply read the data.
If we need to use the individual data/ IDOC fields for further processing in the transaction the how to access those specific IDOC structure.
Thanks
Swarup
Create a Local property of type xml. Take a copy of your IDoc and paste it in the Local property. That will allow you to have a template for mapping your fields.
When processing your Message (IDoc), assign it to the Local property. Then continue with whatever processing you need. Your fields should be easily dragged and dropped.
Enjoy,
Mike
Hi,
That makes more sense for me. This will definately help to access individual IDOC fields.
I will try on this.....
Meanwhile Please can you help me to clarify my understanding on one more issue.
I have the transaction to query message then read it with message ID and write to XMLserver i.e. IDOC.xml
Now whenever IDOCs will be processed from SAP, those will overwrite the file IDOC.xml.
Is there any way that we can access the previous IDOCs as well.
Please let me know about it.
Thanks
Swarup
That's really cool. and the important thing will be to clean up the messages.
But is it possible that if we setup the cleanup then the file that will be created will also be deleted.
The cleanup will delete the IDOCs maintained on the categaory that will be defined in Mesasge Service.
Please correct me if my understanding is wrong.
Thanks
Swarup
If you save the file after successful processing, you can use Get File List action block to determine the age of the file. Then you can either delete the file after some preset time frame, archive it to some longer term storage option (file server, perhaps), or limit it to a certain number of files with the oldest ones being deleted.
I would not recommend using the Message Services Queue to store after the IDoc has been successfully processed.
I suspect that after a while, you may find the value of the saved file to be minimal once it has been successfully processed. That is why I emphasize the automated clean up process.
Good luck,
Mike
User | Count |
---|---|
11 | |
6 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.