cancel
Showing results for 
Search instead for 
Did you mean: 

Read Idoc Data In xMII 12 BLS Transaction

Former Member
0 Kudos

Hi All,

I am new to xMII.

I followed the instructions suggested in the Document "How to Send an IDoc from the SAP R/3 Enterprise to the SAP xMII IDoc Listener" By Diana Hoppe and Michael Appleby written on 04 Dec 2008. It was pretty simple and i was able to complete all the steps.

In the Message Monitor in xMII 12.0 i am able to see " 5 Messags Found" and they are listed below in a grild with the server name, Message Name, Message Type etc

Example

Server Name Message Type Message Name Message Category Received Time Processing Time

-


MII_IDOC IDoc LOIPRO01 MII_IDOC 2009-07-10 02:11:25.911

Now i would like to know how do i read the contents of this IDOC i.e Production order? Is there a sample or stepby step guide which explains how i can get this data into an xML message in a BLS Transaction?

Are there any simple steps to be followed to get this data from the IDOC?

Please help me undestand this. Thanks in advance.

Regards

Suraj Prabhu

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Suraj,

Go through the below threads, these could help you in someway.

Also find the help from the doument in below link.

https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/201769e0-3174-2910-e287-baa58d19...

-Suresh

Former Member
0 Kudos

HI Suresh,

THanks for your Answer. But the URL's that you have provided are still only talking about Triggering the messages from SAP to xMII which i am already acieving like i mentioned in my post. I am able to see that the message monitor the status is as below

"Message belongs to a category; to process it, create a transaction with Message Services actions"

Most of the documents here are for xmII 11.5 and i see there is a Message Routing tab which allows the user to specify the folder where the Idocs are moved to. But in xMII 12 i dont see that option, so i am not sure where the idocs are actually stored to even physically look into.

The place exactly i am looking for help is , is there a guide , sample or help on how to read the contents of the generated IDOC which is in xMII Message Monitor with a status of "Message belongs to a category; to process it, create a transaction with Message Services actions".

Help on how to use the Message in my BLS transaction.

Suraj

Former Member
0 Kudos

Have you looked at the Help documentation for the Message Services actions?

Former Member
0 Kudos

Hi Christian

Thanks for you Reply.

If by documentation you mean http:// Help.sap.com , i did check but that is not very helpful .

Suraj

former_member4529
Active Contributor
0 Kudos

Hi,

You can use the message services action block (Query Message) in BLS transaction to query the list of messages available in the buffer (you can read only categorized messages as well by that) and then use a repeater and link the message id attribute of the output of the query message (via repeater) to the input of the Read Message action to read the message content XML.

You can check our new book [Implementing and Configuring SAP MII |http://www.sap-press.com/product.cfm?product=H3038] for detail information on these and other features and development know-how of SAP MII 12.0.

Thanks,

Dipankar

Former Member
0 Kudos

Hi Dipankar,

Firstly Thanks a lot lot for your reply. I will try you suggestions.

Secondly Congrats on your BOOK. THis is going to help a lot of people on a good reference material that was till no missing from SAP .

BTW I saw the URL you had sent. Is it already available to Buy? Can i place and order for it? or buy it from a store? the URL said Upcoming Release: July 2009 .. PLease le me know

I am currently in a xMII project and have a ready reference book from an expert like you will be of great help.

Regards

Suraj

former_member4529
Active Contributor
0 Kudos

Hi Suraj,

Thanks for your interests. The book has started shipping from this week and you can now place the order for it. By Monday also the status will change to current release in the websites as I come to know from the publisher. I think you´ll get it faster if you order directly from SAP Press website. Otherwise you can also order it from other book sites like Amazon, etc.

I´m looking forward for your feedback after you read the book.

Thanks & Regards,

Dipankar

Former Member
0 Kudos

Hi Dipankar,

I had Pre ordered your book and I just received a copy. The first impression wrt the Contents & Coverage of the book looks excellent.

Congratulations to you and Abesh on this achievement. Writing a book on a topic which there has been no book written earlier is a great feat on its own.

Will be spending more time with the book today evening.

My Expectations from this book:

1. A good intermediate to Expert developer/ BA / Architect guidance.

2. Error Handling & Implementation - Best practices

3. A Reference book for the current implementation I am doing with a customer :).

Will keep you updated with my comments on the book. Since this is a first time I am working on a xMII implementation this book will be a life saver for me and could not have come at a better time. Thanks again.

BTW u2013 First thing I checked in the book was steps on how to read the data from the IDOC in the Buffer and that has been explained pretty well and in detailsu2026.. Thanks again for that.

Regards

Suraj Prabhu

former_member4529
Active Contributor
0 Kudos

Hi Suraj,

Thanks a lot for the short and first review of our book. We are really elated to know that you find this book useful. We both believe there can be no bigger re ward for the authors than this when the readers say that "this book will be a life saver for me". We are not sure whether we can satisfy everyone as it's really difficult to cover everything of a technical solution like SAP MII in only 450 pages, still we believe that this book can atleast teach you the basics and points you towards some of the advanced features and methods by pointing out the tips and tricks, for many of which no proper documentation exist yet, as well as give you a good idea on the implementation considerations of the solution. We are planning to write a second book where we might cover some of the real-life scenarios with detail implementation know-how of those. Do let us know your further feedback and opinion and ofcourse any suggestions you may have.

Thanks,

Dipankar

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Suraj,

Have you tried using the Message Services->Processing Rule Editor? Create a rule by specifying the Mesage Name as LOIPRO01, Message Type as IDOC, Processing Type as Transaction. Create a transaction with an input variable and map it to the created rule. In the Parameter section of the rule, check the checkbox next to the the input variable.

When an IDOC will be recieved in MII , the mapped transaction will execute and the IDOC xml will be mapped to the input variable. Then you can further process the xml in the transaction.

Thanks,

Sophila

Former Member
0 Kudos

THanks a Lot Sophila for your suggestions. I will try those today.