According to various documents on SDN i found out that ESR will be the repository in which the interface of a service will be stored. While the implementation of this system will lie in a business system
Now the first question is how to define the interface. The tool which can be used for defining this interface is Integration Builder. Now in order to work with the Integration builder one needs a Software Component Version and for defining a Software Component Version one needs to have a Product.
So the first step is to create a Product. Here are the steps to do this
1) Login to your PI system
2) Double click on User Menu -> Exchange Infrastructure -> Administration -> SLDCHECK - Test SLD Connection. Alternatively execute transaction SLDCHECK
3) Step 2 should open the SLD UI in an internet explorer
4) Click on the link Products
5) Add a new Product Version by clicking "New Product Version"
6) Come back to the SLD UI in internet explorer (You can use Home link on your page or use the back button in the browser)
7) Click on the Software Components link
8) Add a New Software Component Version by clicking the button
9) In the Add New Software Component Version Select the product as the product you defined in the step 5
Once we are done with this we have got the first 2 prerequisites ready to develop our interface.
Next is to use the integration builder to start defining the interface....
~Abhishek
Friday, May 23, 2008
Initial setup
After struggling through at least 30-40 pdf documents on SDN over 100 google searches i finally figured out a system where SAP allows me to develop and test in
The system is HU6 and the details can be found in ES Workplace handbook Page 67.(https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d91e4d16-0b01-0010-57b5-c4473111136f)
There are some very specific settings which you need to do if you are accessing this system from your corporate machine. Its actually a DMZ system and you need SAP Log on to access this system.
If you are in SAP Corporate network then you need not enter any SAP Router String which is given inside the above document.
Anyways by the time i figured out the workaround to access this system i figured out a SAP internal system with a similar BASIS Component release which is there on the system HU6 which you can use for your development. Most of the things in the blog series i would be posting should work as it is on HU6.
So my intial setup was over as soon as i configured HU6 i knew i have access to a XI system which by this time i came to know is called PI and not XI anymore.
For anyone out there who wants to play with PI add HU6 system to your SAP Log on utility and off you go....
I would play with ESR now....
~Abhishek
The system is HU6 and the details can be found in ES Workplace handbook Page 67.(https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d91e4d16-0b01-0010-57b5-c4473111136f)
There are some very specific settings which you need to do if you are accessing this system from your corporate machine. Its actually a DMZ system and you need SAP Log on to access this system.
If you are in SAP Corporate network then you need not enter any SAP Router String which is given inside the above document.
Anyways by the time i figured out the workaround to access this system i figured out a SAP internal system with a similar BASIS Component release which is there on the system HU6 which you can use for your development. Most of the things in the blog series i would be posting should work as it is on HU6.
So my intial setup was over as soon as i configured HU6 i knew i have access to a XI system which by this time i came to know is called PI and not XI anymore.
For anyone out there who wants to play with PI add HU6 system to your SAP Log on utility and off you go....
I would play with ESR now....
~Abhishek
Playing with ESR and XI
After struggling with SAP systems from outside for around 3 years now i decided to go and do something inside it. I say struggling from outside since all i did with SAP systems till now was to look at the interfaces and consume the interfaces to make something in .NET world or to look at the Netweaver screens with horror, look at the ABAP developers in awe as to how they work on such complex looking UI and look at the ABAP technology stack as a neutral observer and sometimes criticising it.
This time i decided to go in and develop at least something in the Netweaver ABAP stack myself and get rid of this fear, awe and helplessness when some discussion happens around ABAP stack.
So here's the POC which i decided to do around a week back
1) Define a simple service interface in ESR
2) Provide an implementation in ABAP stack
3) Consume the service from .NET and prove that service works
Over the period of last week it gor refined to
1) The service should have 2 methods GetEmployeeIds and GetEmployeeById
2) Use ESR, XI Integration builder and implement the service in ABAP
I'll be posting my struggles in a series of blogs and will tag this series with ESR/XI/PI
~Abhishek
This time i decided to go in and develop at least something in the Netweaver ABAP stack myself and get rid of this fear, awe and helplessness when some discussion happens around ABAP stack.
So here's the POC which i decided to do around a week back
1) Define a simple service interface in ESR
2) Provide an implementation in ABAP stack
3) Consume the service from .NET and prove that service works
Over the period of last week it gor refined to
1) The service should have 2 methods GetEmployeeIds and GetEmployeeById
2) Use ESR, XI Integration builder and implement the service in ABAP
I'll be posting my struggles in a series of blogs and will tag this series with ESR/XI/PI
~Abhishek
Sunday, April 20, 2008
Microsoft .NET team spoiled my weekend
Well the plan for the triple thrill weekend went for a toss and culprit is me and Microsoft. Me for making certain basic assumptions about .NET as a framework and Microsoft for breaking those assumptions :).
Well so here's an interesting fact.
If you have .NET Framework 3.0 installed on your system, it doesn't mean that you have the .NET framework 2.0 SP1 class library as well on your system.
Yeah really i ain't kidding here...
According to the msdn (http://msdn2.microsoft.com/en-us/library/bb822049.aspx) .NET framework 3.0 installer would install 3.0 on top of 2.0 or 2.0 SP1 whatever is available on your system. Now .NET 2.0 SP1 gives some extra classes (I used DateTimeOffset in my code) .
The assumption i made was that if the user has .NET 3.0 on her system of course the class would be available since if a class is present in .NET 2.0 SP1 it won't be absent in a higher version. However it is not true. I can't blame MSFT since they documented it however the fun is that if i install .NET 3.0 SP1 then i have that class again.
So the matrix becomes ...
1) .NET 2.0 Class not available
2) .NET 2.0 SP1 Class is available
3) .NET 3.0 May or may not be available
4) .NET 3.0 SP1 Class is Available
and the 3rd line in the matrix is what spoiled my previous weekend. I got a call from office on a saturday that things are not working and throwing a runtime exception and i had to cancel my all weekend travel plans to figure this out.
Well what can i say except that yeah its a mess up done by me (Since i didn't read the documentation) however i still believe folks at Microsoft messed up.
I think its a happened of deadlines and schedules of the framework release ....
So its a lesson for me that now on i would never believe on classes introduced in SP releases of .NET framework....
~Abhishek
Well so here's an interesting fact.
If you have .NET Framework 3.0 installed on your system, it doesn't mean that you have the .NET framework 2.0 SP1 class library as well on your system.
Yeah really i ain't kidding here...
According to the msdn (http://msdn2.microsoft.com/en-us/library/bb822049.aspx) .NET framework 3.0 installer would install 3.0 on top of 2.0 or 2.0 SP1 whatever is available on your system. Now .NET 2.0 SP1 gives some extra classes (I used DateTimeOffset in my code) .
The assumption i made was that if the user has .NET 3.0 on her system of course the class would be available since if a class is present in .NET 2.0 SP1 it won't be absent in a higher version. However it is not true. I can't blame MSFT since they documented it however the fun is that if i install .NET 3.0 SP1 then i have that class again.
So the matrix becomes ...
1) .NET 2.0 Class not available
2) .NET 2.0 SP1 Class is available
3) .NET 3.0 May or may not be available
4) .NET 3.0 SP1 Class is Available
and the 3rd line in the matrix is what spoiled my previous weekend. I got a call from office on a saturday that things are not working and throwing a runtime exception and i had to cancel my all weekend travel plans to figure this out.
Well what can i say except that yeah its a mess up done by me (Since i didn't read the documentation) however i still believe folks at Microsoft messed up.
I think its a happened of deadlines and schedules of the framework release ....
So its a lesson for me that now on i would never believe on classes introduced in SP releases of .NET framework....
~Abhishek
Friday, April 11, 2008
Duplicate e-mails detection by a mail client
This is the topic i worked on for last 2 days and i still do not have a certain answer. Basically i was trying to find out how can a mail client like outlook or may be Exchange server detect a duplicate message.
The scenario i considered is like the following
I send a mail from a@a.com to d@d.com. Now there can be 2 paths from SMTP server for a.com to SMTP server d.com and the paths are a.com->b.com->d.com and a.com->c.com->d.com Now what happens if a.com relays the message to both b.com and c.com . This can be because of a bug or may be because of some implementation logic. In such a case d.com would receive the same mail twice and then the question is will the SMTP server at d.com or a mail client for d@d.com be able to detect that it is the same copy of 2 messages.
Me and my colleagues' thoughts on looking at the mail headers of various mails in our inbox was that the Message-Id parameter in the message header should help detect and delete/merge such duplicates.
So i did a simple POC by sending 2 messages with same message id (even same header) to my inbox. And i got 2 messages in my inbox as well :(.
Now the question is, is it a exchange/outlook bug or a feature. I still do not have an answer. I'll be trying it for my gmail account soon.
In the meantime i got SMTP specs by Jonathan Postel on http://www.ietf.org/rfc/rfc0821.txt and a cursory look at it makes me conclude 2 things
1) An ideal SMTP server would never do something as crazy as i am thinking (It very clearly discusses the protocol for relaying a message from 1 SMTP to another and i kind of feel that it would do it only to 1 SMTP server and would jump to next only when it gets an error code. No clue on what happens if other SMTP goes down after receiving this message and before giving a OK)
2) Message Id is something we can't rely on as primary key for an e-mail message as it is quite possible that there are malicious SMTP servers which can change the header while mail is passing through their place.
So on the whole my current feeling is ideally the duplicate e-mails won't be generated and if they are then there's no fool proof way to figure them out and merge them at the destination server/ mail client.
~Abhishek
PS :- I am off for triple thrill of Climbing, burma bridge and rappelling this weekend. Will write a post on that once back and some more details on the above topic as well :)
The scenario i considered is like the following
I send a mail from a@a.com to d@d.com. Now there can be 2 paths from SMTP server for a.com to SMTP server d.com and the paths are a.com->b.com->d.com and a.com->c.com->d.com Now what happens if a.com relays the message to both b.com and c.com . This can be because of a bug or may be because of some implementation logic. In such a case d.com would receive the same mail twice and then the question is will the SMTP server at d.com or a mail client for d@d.com be able to detect that it is the same copy of 2 messages.
Me and my colleagues' thoughts on looking at the mail headers of various mails in our inbox was that the Message-Id parameter in the message header should help detect and delete/merge such duplicates.
So i did a simple POC by sending 2 messages with same message id (even same header) to my inbox. And i got 2 messages in my inbox as well :(.
Now the question is, is it a exchange/outlook bug or a feature. I still do not have an answer. I'll be trying it for my gmail account soon.
In the meantime i got SMTP specs by Jonathan Postel on http://www.ietf.org/rfc/rfc0821.txt and a cursory look at it makes me conclude 2 things
1) An ideal SMTP server would never do something as crazy as i am thinking (It very clearly discusses the protocol for relaying a message from 1 SMTP to another and i kind of feel that it would do it only to 1 SMTP server and would jump to next only when it gets an error code. No clue on what happens if other SMTP goes down after receiving this message and before giving a OK)
2) Message Id is something we can't rely on as primary key for an e-mail message as it is quite possible that there are malicious SMTP servers which can change the header while mail is passing through their place.
So on the whole my current feeling is ideally the duplicate e-mails won't be generated and if they are then there's no fool proof way to figure them out and merge them at the destination server/ mail client.
~Abhishek
PS :- I am off for triple thrill of Climbing, burma bridge and rappelling this weekend. Will write a post on that once back and some more details on the above topic as well :)
Sunday, April 6, 2008
Conquering the nandi hills on foot
Finally after a long time I did what i wanted to do long back :)
We trekked the nandi hills on foot...
Well the idea was to go to Kalvarhalli Beta (Henceforth K-Beta) for a trek with 4 friends however that didn't work out. We had planned to start at 4 in the morning and the start got delayed by an hour and a half (As usual when its waking up early in the morning me and all my friends are late :) ) Anyhow we started off from my place at 5.30 in the morning and on the way decided to go to nandi hills instead of K-Beta as it would be damn hot by the time we figure out our original destination.
My first reaction in the morning when we got up was forget trekking we'll just go on a drive and be back however by the time we reached nandi hills i was all pumped up :)
So as soon as we reached nandi hills (Around 6.30 ) we did a small trek on a small hill first so as to warm ourselves up and see if we can catch clouds on the peak of this small hill. As luck would have it by the time we reached to the peak the clouds were gone :(
Anyhow it served as a nice warm up trek (4 Kms) for us and the next in line was Nandi hills waiting to be conquered. So we came down, had a nice breakfast and started Nandi hills trek on foot at around 8.30 AM. On the way we got some nice patches and the brutal sun. By 11.30 AM we were up on Nandi hills and it was quite tiring to walk all the way up. Once up all of us jumped on all the water, melons, anything which can rehydrate us...
We killed some time on the top and then everyone was of the opinion to take a bus back however on persistent pleas made by me and because we had to wait for the bus for at least 45 mins. we all decided to walk all the way back and damn it was fun.
Specially the last 4 Kms as everyone was stretched out of their limits and that's what the treks are meant for. To cross the boundaries of your physical limitations (Wow i can't believe i came up with that :D )
At the end we all reached the foot of the hill and somehow made it back to Bangalore. All tired and dehydrated it was a fun trek and the good thing was to see that the sunburn hit me back after the ski vacation in Auli.
We made a total walking of around 20 Kms during the day :)
At the end of it as they say pictures speak.....
Here are a couple of them from my camera


~Abhishek
We trekked the nandi hills on foot...
Well the idea was to go to Kalvarhalli Beta (Henceforth K-Beta) for a trek with 4 friends however that didn't work out. We had planned to start at 4 in the morning and the start got delayed by an hour and a half (As usual when its waking up early in the morning me and all my friends are late :) ) Anyhow we started off from my place at 5.30 in the morning and on the way decided to go to nandi hills instead of K-Beta as it would be damn hot by the time we figure out our original destination.
My first reaction in the morning when we got up was forget trekking we'll just go on a drive and be back however by the time we reached nandi hills i was all pumped up :)
So as soon as we reached nandi hills (Around 6.30 ) we did a small trek on a small hill first so as to warm ourselves up and see if we can catch clouds on the peak of this small hill. As luck would have it by the time we reached to the peak the clouds were gone :(
Anyhow it served as a nice warm up trek (4 Kms) for us and the next in line was Nandi hills waiting to be conquered. So we came down, had a nice breakfast and started Nandi hills trek on foot at around 8.30 AM. On the way we got some nice patches and the brutal sun. By 11.30 AM we were up on Nandi hills and it was quite tiring to walk all the way up. Once up all of us jumped on all the water, melons, anything which can rehydrate us...
We killed some time on the top and then everyone was of the opinion to take a bus back however on persistent pleas made by me and because we had to wait for the bus for at least 45 mins. we all decided to walk all the way back and damn it was fun.
Specially the last 4 Kms as everyone was stretched out of their limits and that's what the treks are meant for. To cross the boundaries of your physical limitations (Wow i can't believe i came up with that :D )
At the end we all reached the foot of the hill and somehow made it back to Bangalore. All tired and dehydrated it was a fun trek and the good thing was to see that the sunburn hit me back after the ski vacation in Auli.
We made a total walking of around 20 Kms during the day :)
At the end of it as they say pictures speak.....
Here are a couple of them from my camera


~Abhishek
Wednesday, March 12, 2008
skiing vacation .....
I am composing this blog from Mumbai bound Rajdhani express and I am amazed that in spite of all the chaos on the platform it is quiet inside this train. I am on my way home to finish my last 3 days of a 15 days vacation and am pretty excited about these last three days as I am there to attend wedding of a very dear friend of mine.
I spent my last week learning skiing in the small town of Auli in the Himalayas. I went there with a college friend of mine and we made a whole load of new friends on the trip. The place is not known to many and finding information about skiing in India on Google is a herculean task. You need to type in the correct keywords and you might just hit the website of Garhwal Mandal Vikas Nigam (GMVN) http://www.gmvnl.com/ . The place is situated in Uttaranchal and reaching Auli is loads of fun. I took a 2.5 hours flight from Bangalore to Delhi. From Delhi I reached Haridwar by a holiday special train in little over 5 hours. After that begins a road journey of around 10 hours to reach Joshimath and from there I took 2 cable cars (around 30 mins.) to reach the town of Auli. There isn’t much except the GMVN quarters and a private shop and a hotel in Auli. There’s an abandoned temple from where one can see the nice view of Nanda Devi (2nd Highest peak in India) and other peaks like Palki, Dronagiri etc.
Stay:-
We stayed in a Dorm and had a mess where one can have nice meals with the warmth of Bukhari. We had a Bukhari in our dorm however it was in the common area and hence one had no access to the Bukhari once you want to go to bed. I was dreaded at the thought of going to bed for first couple of days as even if you turn around in your sleep you would hit an area in the bed which is cold and damp. It was easier during the later part of the stay, may be because I was damn tired by the time I hit the bed or may be because I got acclimatized to the cold J .
Ski Equipment:-
First day was the day when GMVN people registered us and distributed the equipments to us. The equipment was basically a pair of sticks, skis and shoes. We found it damn difficult to walk in those shoes and I fell a couple of times trying to walk in those shoes. However it became easier by the day to balance in those shoes and I found it comparatively easy to walk as I got tips from the instructors on how to make them easy on feet.
Skiing progress:-
Since ours was a March batch the snow from the lower slopes had already melted and hence we didn’t have access to the ski lift. This meant that we had to carry our skis up on the slope every time we come down on the skis, which was a tiring job however enthusiasm in the batch was awesome and people did it tirelessly. First day we got just the basic of how to wear the skis, what is meant by tip, heel, mountain, valley, fall line etc. We also got to know how to stand on the skis without falling or sliding.
On the second day when the instructors started I couldn’t stand on my skis and got so damn frightened that my legs started trembling on the skis. That was a bad sign however instructors started again and taught us how to stand as well as how to do side stepping and go up the slope. We also got to do the basic snow plough on our skis.
Third day again was to perfect the snow plough and braking skills.
Personally the fourth day was a disaster as the instructors started to teach how to turn on the skis and how to traverse the slope by weight balancing on upper and lower skis. I couldn’t do that and to top it I couldn’t even do the snow plough which I was able to do on the second day. That was the day I didn’t manage to stop the skis even for once without falling. My brake was to fall sideways that day. I had at least 15 falls that day.
As they say Fifth day was a charm as not only I managed to traverse the whole slope in the first shot I got my snow plough and braking technique back too. I had a spectacular somersault fall that day which I wish someone had video shot for everyone to see J
Sixth day again we kept traversing the slope and it was nice to see that instructors managed to teach it to the whole batch including non athletic people like me on how to turn the skis and how to lean on the skis.
Evenings:-
We used to be back from skiing at around 1.30 and had lunch from 2.00 to 3.00 PM. Post this we had all the time in the world and it was killed playing cards, doing bakar near Bukhari, having tea, Maggi and Momos.
Badge Ceremony:-
At the end of the sixth day the whole batch got a badge from the instructors and the whole batch was all praise for the instructors as they were as patient as Himalayas with us and they taught basic skiing to almost everyone in the batch.
Group:-
I managed to make a few acquaintances’ on the trip. There was a Doc (Sonal) in the group who treated me for a blister in my leg. Her 7 year old twins (Buddies) were the best in the whole group in learning skiing. They were the only ones who treated the skis as extension of their feet. IIT Guys (Nitin and Gaurav) who donated their cold cream and jacket to protect me against the sun and snowJ. Gujju no. 1 (Hemali) and Gujju no. 2 (Jineesha) whom I always defeated in cards ;-) (Well you defeated me twice and I defeated you 1000 times). Israeli buddy (ET) with whom I sang hotel California like I used to in college. Sohel bhai and Sirji (Pushpak, the navy guy) from whom I knew about lot of other adventure sports stuff like Waterfall rappelling, rafting etc.
So that’s the end of a long post about the short visit I had to Auli and some terms which I learned about skiing.
I spent my last week learning skiing in the small town of Auli in the Himalayas. I went there with a college friend of mine and we made a whole load of new friends on the trip. The place is not known to many and finding information about skiing in India on Google is a herculean task. You need to type in the correct keywords and you might just hit the website of Garhwal Mandal Vikas Nigam (GMVN) http://www.gmvnl.com/ . The place is situated in Uttaranchal and reaching Auli is loads of fun. I took a 2.5 hours flight from Bangalore to Delhi. From Delhi I reached Haridwar by a holiday special train in little over 5 hours. After that begins a road journey of around 10 hours to reach Joshimath and from there I took 2 cable cars (around 30 mins.) to reach the town of Auli. There isn’t much except the GMVN quarters and a private shop and a hotel in Auli. There’s an abandoned temple from where one can see the nice view of Nanda Devi (2nd Highest peak in India) and other peaks like Palki, Dronagiri etc.
Stay:-
We stayed in a Dorm and had a mess where one can have nice meals with the warmth of Bukhari. We had a Bukhari in our dorm however it was in the common area and hence one had no access to the Bukhari once you want to go to bed. I was dreaded at the thought of going to bed for first couple of days as even if you turn around in your sleep you would hit an area in the bed which is cold and damp. It was easier during the later part of the stay, may be because I was damn tired by the time I hit the bed or may be because I got acclimatized to the cold J .
Ski Equipment:-
First day was the day when GMVN people registered us and distributed the equipments to us. The equipment was basically a pair of sticks, skis and shoes. We found it damn difficult to walk in those shoes and I fell a couple of times trying to walk in those shoes. However it became easier by the day to balance in those shoes and I found it comparatively easy to walk as I got tips from the instructors on how to make them easy on feet.
Skiing progress:-
Since ours was a March batch the snow from the lower slopes had already melted and hence we didn’t have access to the ski lift. This meant that we had to carry our skis up on the slope every time we come down on the skis, which was a tiring job however enthusiasm in the batch was awesome and people did it tirelessly. First day we got just the basic of how to wear the skis, what is meant by tip, heel, mountain, valley, fall line etc. We also got to know how to stand on the skis without falling or sliding.
On the second day when the instructors started I couldn’t stand on my skis and got so damn frightened that my legs started trembling on the skis. That was a bad sign however instructors started again and taught us how to stand as well as how to do side stepping and go up the slope. We also got to do the basic snow plough on our skis.
Third day again was to perfect the snow plough and braking skills.
Personally the fourth day was a disaster as the instructors started to teach how to turn on the skis and how to traverse the slope by weight balancing on upper and lower skis. I couldn’t do that and to top it I couldn’t even do the snow plough which I was able to do on the second day. That was the day I didn’t manage to stop the skis even for once without falling. My brake was to fall sideways that day. I had at least 15 falls that day.
As they say Fifth day was a charm as not only I managed to traverse the whole slope in the first shot I got my snow plough and braking technique back too. I had a spectacular somersault fall that day which I wish someone had video shot for everyone to see J
Sixth day again we kept traversing the slope and it was nice to see that instructors managed to teach it to the whole batch including non athletic people like me on how to turn the skis and how to lean on the skis.
Evenings:-
We used to be back from skiing at around 1.30 and had lunch from 2.00 to 3.00 PM. Post this we had all the time in the world and it was killed playing cards, doing bakar near Bukhari, having tea, Maggi and Momos.
Badge Ceremony:-
At the end of the sixth day the whole batch got a badge from the instructors and the whole batch was all praise for the instructors as they were as patient as Himalayas with us and they taught basic skiing to almost everyone in the batch.
Group:-
I managed to make a few acquaintances’ on the trip. There was a Doc (Sonal) in the group who treated me for a blister in my leg. Her 7 year old twins (Buddies) were the best in the whole group in learning skiing. They were the only ones who treated the skis as extension of their feet. IIT Guys (Nitin and Gaurav) who donated their cold cream and jacket to protect me against the sun and snowJ. Gujju no. 1 (Hemali) and Gujju no. 2 (Jineesha) whom I always defeated in cards ;-) (Well you defeated me twice and I defeated you 1000 times). Israeli buddy (ET) with whom I sang hotel California like I used to in college. Sohel bhai and Sirji (Pushpak, the navy guy) from whom I knew about lot of other adventure sports stuff like Waterfall rappelling, rafting etc.
So that’s the end of a long post about the short visit I had to Auli and some terms which I learned about skiing.
Subscribe to:
Posts (Atom)