Henrique Pinto

6 Posts

This is my Blog It Forward attempt after being blogged forward by Custodio de Oliveira (cheers, mate!).

And yeah, this is part of the Blog It Forward Community Challenge , you know the drill...


As Matt Harding, when I first heard about the BIF challenge, I also had an uneasy feeling of being used to do marketing for SCN...

That being said, after reading some of the great stories, including Custodio's (which by the way, I strongly recommend you do, it's awesome), I can't deny the fact that the good aspects overcome the potentially bad ones, and so here I am.


In a short: I'm a 29-year-old Brazilian SAP architect, working out of the SAP Brasil office in Sao Paulo.

I've lived in Sao Paulo for more than 6 years now, but my home town is Fortaleza, a coastal city in Northeast Brazil.

I'm married with my lovely wife Marcela for 5 years now, no kids yet but we want them, in time. ;-)

We do have a beagle though, and boy does she gives us trouble.

But her cute face can get her away of any trouble she gets into. ;-)







Our Beagle wanting to join me for Teched 2011



Regarding myself, I suppose the definition I've put in my Twitter account summarizes it well:


Geek by nature. Engineer by vocation. IT solution architect. SAP Mentor. Video games addict. NBA fan.


I am a geek, no questions asked. I've always been, proud to be nerd. Video games are my thing, but I'm also a tech savvy, specially with computers & smartphones. Still having a desktop as my main personal station is a reason to be proud of myself. ;-) Of course it's a hobby, I like to change the spare parts whenever necessary by myself, it's part of the fun. Gadget-wise, I've been an Android enthusiast, but I sold myself to Apple the moment I got my hands on an iPad. It's just different from everything else you had ever tried, it's a whole new experience and it still amazes me from time to time how people can invent new ways of doing things using the iPad (not to mention the groundbreaking possibilities in the enterprise world - but this is not work, it's fun, so I won't go into that).


I am also an engineer. I got my B.S. in Electronic Engineering from ITA (Aeronautics Institute of Technology, in a free translation), and that's another reason to be proud. It's one of the hardest colleges in Brazil to get in, and definitely the hardest to get out (with the diploma, of course). The thing about engineering though, and few people get this, is not about the content, but the method. Engineering school was a great learning experience and my greatest lesson was how to learn. I can say without a doubt that my greatest quality is to be a very efficient & quick learner - and I'll always bring that with me.



st patrick.jpg

Me and my wife in St Patrick's day (yes, that's green beer, and yes, it tasted horrible)



After graduating back in 2004, I even tried to pursue a career in engineering. Unfortunately, there are very few companies in Brazil that do actual product conception & development, mostly it's about machinery operation & maintenance... Hence by 2006 I had already given up on that and I had joined BearingPoint to become a Java / XI development consultant. From that first SAP project to becoming a SAP Employee and later on a SAP Mentor, it has been a fun ride so far. Lately, I'm focusing on Presales activities for Database & Technology, specially for SAP HANA and all thing around.


Video games, yeah, my joy and demise...

If I ever get separated of my wife, it'll probably be because she could not cope anymore with the several hours I spend in the PC or console playing whatever game is hot by then. Most recently, I've spent my nights in Diablo 3, here is my char's profile. If you also play, let me know your game tag.


I'm also a huge NBA fan. I do enjoy watching soccer as a regular Brazilian (LOL), but as a child, I never really enjoyed playing soccer that much. My legs just didn't obey my brain commands, I suppose it happens in the best families... So I used to play Basketball in school and college, and that's when I started following the NBA. I'm a Los Angeles Lakers fan, by the way, and for those of you who follow the NBA, with Steve Nash & Dwight "Superman" Howard joining the Lakers, rest assured that we'll be the champions again! I'm super excited about this next season.



LA Lakers '12-'13 roster



As for a fun fact about my country, it's not really fun per se but I thought it was noteworthy :




Now for the questions.


If you could be a super hero (or are in your spare time) who would you be?


Always be yourself. Unless you can be Batman, always be Batman.



What was the most fun project you ever participated in and why?

I'd have to say it was my first SAP project, at Petrobras. I had just joined BearingPoint at the time, and I was sent to Rio de Janeiro to spend god-knows how many months in a challenging online integration between Petrobras's ERP and government web services - it was then the pilot of the Electronic Invoicing project. The success of that very first project later on lead to me being invited to join SAP to become a product manager and guide the development of the what later became the SAP NFE solution).


I was a Java developer with some experience in XML and Web Services integration who had to learn XI in a couple of months and lead the integration team from the middle of the project onwards (the previous technical leader had some misunderstandings with the project manager and was invited to not return to the project). I was coming from a mainly development oriented role, focusing on maintenance of existing code, to a project-oriented business corporate environment. It was really awesome (and of course the fact the project was in Rio contributed to that awesomeness).


Looking back, I can even say it was fun because it was really challenging and yet we were able to deliver it, but mostly it was fun because of the people. I still get in touch with most of the guys from back then, we were really close for a while even after the project finished, and some of them even left the SAP Ecosystem, but we never really "disbanded". It's a similar feeling I have with my college and high school friends, but oddly enough I never had that level of personal involvement on any other projects after that one.


I wasn't invited to join SAP right away, I got plenty time to spend in other projects and even other consulting companies prior to joining SAP.

But that very first project was the reason why it all happened how it did (thankfully!), so it will always have a special meaning to me.



(I'd like also to reply to a question that Custodio didn't ask but that I think that is also very relevant)

What made me start actively participating in the community and why would I recommend people give it a try?


This might sound cheesy or phony, but it's a true story.

During the first week of my very first SAP project (Petrobras, mentioned above), I had a session with the XI consultant who was supposed to teach me all about it. He then proceeds to show me two things:


  • this is SAP Gui, and this is how you log on an SAP system;
  • this is SDN, and this is where you search information on how to do what you need.


And that was it, literally.

To this day, whenever I think about it, I never know whether I should be pissed off at the guy or if I should thank him.


In short, I started searching for information about that XI thing in SDN. I found a lot of forum threads, great blogs and how to guides, and shortly I learned who were the really knowledgeable guys I should be tracking for more accurate information. If you ever were a XI/PI Consultant at some point of your career, you most likely used SDN as your main reference source. The XI forums were just filled with great people willing to share and contribute. And 10 out of 10 XI/PI consultants will say Michal Krawczyk was the one that stood out the most. Hell, the guy had more points in the XI forums than the next 5 or 10 contributors combined. No surprise he was in one of the first SAP Mentor packs ever, more than deserved. Michal, along with other great guys from the XI forums of that time, like Stefan Grube and Bhavesh Kantilal, were the main reason I started tracking SDN more and more often, until it became a daily habit. From that to start contributing, it was just a matter of time. This was back in the end of 2006, beginning of 2007.


Later on, in 2009, already as a SAP Employee, I had an opportunity to be part of the team setting up the Portuguese & Spanish forums they were launching.

At that time, I started my role as a SCN moderator, and the rest is history. Out of my own experience, I can say that the best way to learn something is to start explaining it to someone else. That's not news, teachers have said that for ages. The point is that an online platform like SCN allows you to do that teaching/learning cycle several times per day, immensely accelerating the learning curve.



It's 1972 in Mannheim, Germany. In the room Claus, Dietmar, Hans-Werner, Hasso, Klaus and YOU!  What's your contribution/role in the company soon to be created?


Heck, this is a tough one. I can't think of anything I could have taught to these guys, nor I think they'd listen to me.

But I suppose that I would add some latin spicy to these german engineers and try to give them a broader picture of the world, potentially making SAP a transnational company from scratch, with worldwide conceptual & development teams working together since the beginning. Imagine the capabilities and the capillarity the company would have by now, after 40 years of technical excellency and a broader reach. And imagine how better run would the world be by now...


keep calm hana.png

I was bored yesterday...



This has been a great experience and I'm glad I was able to overcome my initial suspicion and join the challenge.

I'd like to forward it to:


  • Fernando Ros, a great friend & colleague and a fellow moderator of the Portuguese spaces. He has just shared a little bit about himself in this Moderator Spotlight blog, but I'm sure he still has a lot to tell;
  • Fabio Fernandes, fellow SAP Mentor in Brazil and a great storyteller, I'm sure he also has a lot to talk about;
  • and, finally, I was mesmerized that Michal Krawczyk hadn't blogged it forward yet, maybe out of a personal opinion, I don't know, but I'd like to pass it forward to him anyway and hope for him to tell us a little bit about himself.


Please respond to the following questions:


  • What was the most fun project you ever participated in and why?
  • What made me start actively participating in the community and why would I recommend people give it a try?
  • What major feature would you add to New SCN so that it can become a better platform?


After you're done, please enter a new record and update your blog links in the Blog It Forward (BIF) Chain.






So, after I had published by bif,  a colleague who has just joined SCN as a moderator in the newly created Portuguese HANA Space thought it was really cool. So I thought to myself, what better way to start contributing more to SCN than with a BIF?? Maybe it'll be the start of a great contribution trajectory, so I'll add one more person I'd like to forward this to:


  • Lino Maggi, a friend and colleague in SAP Brasil, really knowledgeable of HANA and one of the best storytellers I've known, as well as a video game's addict like myself! I'd like to hear about his SAP career, how it started and for him to share a little bit more about himself to everybody.

English version below.


Esse blog é mais minha opinião pessoal do que uma desrição imparcial do evento.


SIT São Paulo 2011


Na última Sexta-feira, dia 7 de Outubro, o escritório da SAP Brasil em São Paulo recebeu o 4o SAP Insidte Track São Paulo (SITSP). Nós começamos em torno das 9:15 - estávamos agendados para as 9:00, mas tivemos alguns atrasos. E os atrasos foram, na verdade, uma constante durante todo o evento: entre dificuldades técnicas e apresentadores falando mais do que o planejado, tivemos praticamente o evento todo atrasado. Não foi algo tão legal... Mas aqui é o Brasil, a gente não liga pra horários, certo?!?  Errado!!! Principalmente se você for casado... :P


Um outro aspecto negativo foi a falta de preparação/planejamento. A maioria das dificuldades técnicas eram coisas simples que poderiam ter sido resolvidas em segundos, caso tivéssemos nos preparado antecipadamente. Outras, dependiam do suporte de outrem (por exemplo, pessoal da TI) mas também poderiam ter sido melhor tratadas, caso tivéssemos nos planejado de acordo.


Então, alguém poderia dizer que o evento foi um desastre, certo? De fato, parece que foi. Digo, das 3 sessões que tínhamos planejado para a amnhã, apenas conseguimos executar 2, e todas as outras tiveram que ser empurradas para a tarde. Receita para o desastre, as pessoas saindo para o almoço e nunca mais voltando, isso era o que rondava nossas mentes naquele momento...


E então, a mágica aconteceu. As pessoas realmente voltaram! Claro, muitos foram embora após o almoço, mas ainda assim mantivemos uma platéia considerável após o mesmo e, durante grande parte da tarde, muitas sessões ainda estavam cheias! Felizmente, tive sala cheia para minha sessão sobre HANA às 18:00 e, o mais impressionante, ainda estávamos tendo sessões às 20:00, com 20 guerreiros ainda permanecendo firmemente por lá!!


No todo, tivemos:

  • 11 sessões (incluindo o keynote)
  • 3 demos
  • 9 apresentadores
  • 90+ participantes presenciais
  • 10+ horas totais de evento
  • Um podcast pós-evento sendo gravado até as 22:30 (resultando em mais de 13 horas seguidas!!!)


Tudo que posso dizer é que eu fiquei bastante impressionado com o comprometimento da comunidade. Com todas as falhas e possibilidade de fracaso, a comunidade nos apoiou e mostrou que eles de fato suportam tal dedicação dos organizadores e apresentadores, que estavam lá para compartilhar seu conhecimento e experiências sem nenhum retorno - apenas para Passar adiante.


Estou realmente orgulhoso de ser parte de uma comunidade tão empolgante e impressionante como essa. Parabéns a todos os participantes, presenciais ou virtuais, e os vejo todos no próximo SAP Inside Track Brasil! Agradecimentos especiais aos apresentadores, à SAP Brasil e à Neoris Brasil, que patrocinaram o evento.





Aqui, algumas fotos do SAP Inside Track São Paulo 2011:




E aqui, um arquivo dos tweets com a hashtag do evento (#sitsp): http://archivist.visitmix.com/e09ed84/1http://archivist.visitmix.com/sitbrazil/1


Para todos vocês que participaram do evento, por favor nos dêem seu feedback no seguinte formulário: http://goo.gl/uRqEO




Versão em português acima.


This is more of a pesonal point of view  than a impartially descriptive blog.


SIT Sao Paulo 2011


Last Friday (October, 7th), the SAP Brasil office in São Paulo held the 4th SAP Inside Track São Paulo (SITSP). We started roughly at 9:15 am - we were scheduled for 9:00 am, but we had some delays. And the delays were actually a constant throughout the event: between technical dificulties & presenters talking more than originally scheduled, we pretty much had all presentations taking place behind schedule. Not so good... But this is Brazil, we don't care that much about schedules, right?!? Wrong!!! Specially if you're married... :P


Another bad thing was the lack of preparation/planning. Most of the technical difficulties were things that we could have solved in seconds, had we prepared beforehand. Others, depended on support from others (e.g. IT guys) but could also have been handled better, had we planned accordingly.


So, one could assume that it was a disaster, right? It sure sounds like it. I mean, out of the 3 sessions planned for the morning, we could just have 2, and all the others were pushed for the afternoon. Disaster recipe, people leaving for lunch and never returning, that was what was on our minds by the time...


And then, the magic happened. People actually came back! Of course, lots of people did leave after lunch, but we held a pretty decent audience after it as well, and throughout most of the afternoon, several sessions were still crowded. Fortunatelly, I had a packed room for my HANA session at 6:00 pm and, impressively, we were still having sessions by 8:00 pm, with 20 warriors still remainining firmly there!!


All in all, we had:

  • 11 sessions (including keynote)
  • 3 demos
  • 9 presenters
  • 90+ unique presential participants
  • 10+ total hours of event
  • A post event wrap-up podcast recorded until 10:30 pm (adding up to more than 13 straight hours!!!)


All I can say is that I was really impressed by the commitment of the community. With all flaws and possibilities of failure, the community stood by and showed that they do backup such dedication from the organizers and presenters, who were there to share knowledge and experiences without any return - just to Pay it Forward.


I'm really proud of being part of such an exciting and impressive community. Congratulations to all atendees, presential or virtual, and see you all in the next SAP Inside Track Brazil! Special thanks to the presenters, SAP Brasil and Neoris Brasil, who sponsored the event.





Here are some pictures of the SAP Inside Track São Paulo 2011:




And here, an archive of the tweets with the event hashtag (#sitsp): http://archivist.visitmix.com/e09ed84/1http://archivist.visitmix.com/sitbrazil/1


For all of you who attended the event, please give us your feedback in the following form: http://goo.gl/uRqEO

It's undeniable that Mobile Integration is one of the hot trends for the next years. Some people are comparing it to the ERP adoption wave back in the early 90's and the .com wave in the late 90's. Be it one or the other, having the capability to mobilize your business processes in an coherent and timely manner will be capital for any company to be successful in the 2010's. Heck, it'll be necessary for any company to survive in the 2010's (but that's my personal opinion, of course).


Foreseeing that, SAP started to evaluate (and finally invested in) a Mobile enablement strategy since a couple of years ago. One of the main outcomes of this strategy was the well covered and now finalized acquisition of Sybase Inc. With Sybase Mobility Suite, including solutions such as Sybase Unwired Platform (SUP) and Afaria, SAP has become able to support global companies in adopting a full-fletched end-to-end mobile experience, avoiding the major problems that companies that venture in this track usually suffer: multiple device platforms & data sources leading to exponential maintenance costs, lack of central monitoring & management tool for the devices etc.


While its clear that Sybase (and, in particular, SUP) has a major role in SAP Mobility strategy, it is also clear that it might not address all of the possible use cases SAP's customers might require, in particular when the idea is to quickly mobilize business processes that reside entirely on SAP backends. Using a full MEAP (Mobile Enterprise Application Platform) for that may be, at some times, overengineering a rather simple requirement.


To address that whitespace, SAP has come up with Project Gateway. You've probably heard about it before. It is a framework enabling people-centric applications consuming SAP Business Suite through popular devices and platforms in an easy, standards-based and non disruptive fashion.


Project Gateway main features are:

  • Optimized for user interaction scenarios;
  • Interacting with any SAP Business Suite version;
  • Any Device, Any Experience, Any Platform;
  • Simple APIs that require no SAP knowledge;
  • Based on market standards: REST, ATOM/ODATA.


Project Gateway


This and other information about Project Gateway were first introduced in this session on TechEd 2010, which is available free of charge in Virtual TechEd.


While the product addresses the problem from a solution availability perspective, from a service perspective, it's still required that SAP Ecosystem is properly enabled to support the customer projects that will pop-up once the product has been released to the market. And it was exactly to help SAP's partners to be enabled on providing, discovering and consuming RESTful services through Project Gateway that the SAP Global Co-Innovation Lab Network has come up with the 'Gateway Hands-on sessions' series of workshops for partners.


But the program consists on way more than just workshops. The idea is to provide a complete infrastructure that will enable the partners working either on mobility or web development to be able to prototype & test different scenarios with Project Gateway.


There are two different models of engagement, each with a specific offering to the partners.


Shared Gateway Package


Dedicated Gateway Package


Each of these two packages is associated to a specific fee. The workshops are open for both COIL members and partners who aren't members yet.


If you wish to obtain more information about the 'Gateway Hands-on sessions' for partners by COIL, reach out to coil@sap.com, or make your questions/give us your feedback in the Comments section below.

On last October 27th, in a huge event at SAP Brasil office, the SAP Co-Innovation Lab São Paulo was officially launched.


SAP Co-Innovation Lab São Paulo (SAP COIL SP, for short) is the 5th facility of COIL in the world (previous ones are Palo Alto, US; Walldorf, Germany; Bangalore, India; and Tokyo, Japan) and, in each location, it aims at supporting the local ecosystem on inventing, developing and even showcasing innovative ideas to integrate their solutions to SAP solutions, over SAP platform.


COIL SP includes engineering services (where COIL support our partners on getting the best solution architecture that SAP offers), a project room (for up to 8 project members) and a show room (to showcase the solutions that are developed with our partners) which can also be reverted into a presentation room (to be used when COIL hosts presentations from SAP or Partners to our ecosystem). There is no local datacenter yet; virtualized landscapes will be provided from the existing datacenters in Palo Alto and/or Tokyo.




The launch event included a pre-event Ribbon Cut ceremony, where SAP and Ecosystem executives were invited to officially inaugurate the COIL SP facility (located at the SAP Brasil office in São Paulo).


The ribbon cutting was handled by:

- Axel Henning Saleck: VP of SAP Global Co-Innovation Lab Network

-  Tom Collett: Senior VP of SAP Fast Growth Markets (FGM was a major sponsor for COIL SP establishment)

- Luís Cesar Verdi: SAP Brasil Managing Director

- Mauricio Ruiz: Intel Brasil Alliances Director (representing Intel, a Sponsors and Members).

 Ribbon Cut


After the ribbon-cut ceremony, the main Launch event was held, with me as Master of Ceremony (eh... I suppose they had really bad options... ;-)) and with presentations and testimonies from both SAP and partners. The speakers were:


Luis Cesar Verdi Luis Cesar Verdi - SAP Brasil Managing Director

Verdi commented about the high expectations that SAP Brasil had for the establishment of a Co-Innovation Lab in São Paulo and how this will help our ecosystem to reach the next level in terms of maturity and support Brasil into becoming the fast growth market it is intended to be.

Humberto Vieites Humberto Vieites - SAP Brasil Ecosystems & Partners Group Director

Humberto explained to our ecosystem how they could benefit from engaging with COIL into their technology project opportunities.

Lawrence Wilcox Lawrence Wilcox - NetApp Global SAP Alliance Director

Lawrie was representing NetApp, a global COIL Sponsor, and presented to our local ecosystem the advantes NetApp had by becoming a COIL Member and working with us in collaborative and innovative projects.

Romeu Sciotta Romeu Sciotta - SIGGA Product and Innovation Director

Romeu represented SIGGA, a local SAP partner and our first COIL Member in Brazil. He showed how SIGGA was already benefiting from running projects with COIL.

Axel Henning Saleck Axel Henning Saleck - VP of SAP Global COIL Network

Axel presented the work model of COIL, the objectives of COIL and how COIL can support our ecosystem in engaging into co-innovative projects. According to him, COIL SP will have focus on three aspects: solutions that address local requirements, mobility and Cloud Computing/Virtualization.

Rodolpho Cardenuto Rodolpho Cardenuto - SAP Latin America CEO

Rodolpho spoke about how the SAP Co-Innovation Lab could broad the support that our ecosystem already has in Latin America and help Brazil achieve the next step as an emerging market.


 Henrique Pinto Henrique Pinto - SAP COIL SP Architect

Master of Ceremony (Not much else to say about this guy... ;-))


Here is a picture of the speakers (and a quite meddlesome guy with a red tie... ;-)). 



The main event was held at the SAP Brasil Office and was attended by executives of our most important partners, both global and local. After the presentations, it was celebration time, and the attendees were invited to join us in a cocktail party held aside of the presentation room (Yay!).




Here are the press releases for COIL SP Launch:


In short, we at SAP Co-Innovation Lab São Paulo are really excited to be part of this historic moment and are eager to work with our partners in Brazil (and potentially Latin America). The launch was a huge success and I trully believe our partners captured the message we intended to pass and are as excited as we are to starting co-innovating in Brasil.


Partners who want to engage with us are welcome to visit our site at http://coil.sap.com to learn a little more on how COIL can support them, from a technology perspective, with the development of their solutions, be it a full-fletched product, a prototype or even just a proof of concept, to test out an innovative idea.


If you wish to engage with COIL, fill out a Project Request Form and submit it to us.

Hello all,

we're pleased to announce that we've launched the Portuguese & Spanish forums on SAP Community Network.


With these forums, we intend to bring new users to SCN for whom the english language is a problem. Of course, the objective is not segregation but rather integration. The idea is that, as time goes by, these new users will get used to english (by interacting on the other SCN forums, reading blogs & wikis) and will finally venture on collaborating in english. So, it's just gain and no loss for the community.


We've decided to start them small, with a few general forums. As the number of users and messages grow, we'll analyze the necessity to create more specific forums. Also, the commmunity portuguese & spanish speakers who stand out and are interested will be invited to become moderators on these new forums.


The forums are listed below:


/community [original link is broken]:

  • /community [original link is broken]
  • /community [original link is broken]
  • /community [original link is broken]
  • /community [original link is broken]


/community [original link is broken]:

  • /community [original link is broken]
  • /community [original link is broken]

Enjoy. :-)

1. Introduction

In both XI forum and weblogs, Sync/Async scenarios have always been a constant. To satisfy these scenarios, several solutions have already been proposed, most of them based on ccBPM. However, sometimes the overall integration performance is a real constraint and ccBPM cannot be used. To address such cases, some solutions have also already been proposed, mainly regarding JMS scenarios. That's because the Java Message Service natively deals with the correlation between the asynchronous messages, referring to the request message in the response message, by using the JMSCorrelationID header field. Documentation regarding async/sync and sync/async scenarios with JMS adapter may be found in the following link:

Async/Sync and Sync/Async Bridge in the JMS Adapter.

However, in most of the times, the communication protocol is not a development option, but rather a requirement. For instance, consider a legacy system which can only handle files (no API is available) and suppose you want to consume one of its services from a synchronous RFC in ERP system. This is going to be our sample scenario.

Finally, I'd like to comment on the differences between Sync/Async and Async/Sync scenarios.

Briefly, Async/Sync scenarios are simpler in the point of view of middleware development, since you don't need to address the correlation between the two asynchronous messages. For example, in a ccBPM approach, you don't need to create a correlation between those messages, since they are treated in the same logical transaction (the inbound async message is triggered, indirectly, by the outbound one). Since no correlation needs to be handled inside XI, the same logic (and the same standard modules) used for the JMS scenario may be used for non-JMS adapters, for example an File -> RFC -> File scenario, eliminating the necessity of custom developments. This scenario has already been addressed by Bhavesh Kantilal in this thread: File - RFC - File without a BPM - Possible from SP 19..

For Sync/Async scenarios, the correlation between the asynchronous calls needs to be handled in the middleware, and that makes it a little more difficult to be implemented. In ccBPMs, you need to define a correlation to link both async messages. In JMS scenario without BPM, you have the JMSCorrelationID which does the correlation. So, what we need to do is to handle this correlation between the async messages, in order for XI to understand that those messages are linked. For that, we could use the same modules of Sync/Async JMS scenario plus an extra logic to handle the correlation. As described in the thread above, this solution is available from XI 3.0 SP19 and PI 7.0 SP10.


2. Implementation

2.1. Repository

As in the Sync/Async JMS scenario, the repository development simply includes the inbound and outbound interfaces (both defined as synchronous) and relevant message and interface mappings.

In our scenario, we've developed a simple sync RFC to request the service to XI and process the response. The RFC definition (request and response messages) may be found below:

RFC Request

RFC Response


The file message definitions are also very simple:




Finally, we've developed simple straightforward message mappings for the messages above and an interface mapping between the sync interfaces.


2.2. Directory

2.2.1. Implementation Considerations

This is where the main changes take place. However, most of the changes are as described in the JMS case. But before we go into the implementation details, I'd like to comment a little further on the differences between the JMS and the non-JMS cases.

As commented before, the critical point here is the correlation between the asynchronous messages. Since they are not natively correlated (as in the JMS case), we have to explicitly define this correlation.

To correlate two asynchronous messages, we have to set the Correlation Id message attribute in the response message with the Message ID of the request message, so that they will be correlated by XI. So, we need to send the Message ID of the request message for the receiver, in order for the application to be able to process the request, create a response and include that Message ID in the response message, as the Correlation ID.

There are several ways of achieving that. One could, for example, include the Message ID in some field of the request payload, for the application to be able to process it and send the Message Id in some field of the response payload. Also, a custom module would be needed to parse the response message and set the Correlation Id attribute with its value (using message.setCorrelationId() method). The module is necessary because the Correlation Id is evaluated in the Adapter Engine itself, before any mappings take place.

But to make it simpler and to show that the proposed scenario can be implemented without any custom code (only standard features), we went for a simpler logic. Instead of having the Message ID in the payload, we set the request file name with the Message ID. Then the receiver application processes the file and returns the response file with the same file name. When XI pools the response file, we retrieve the file name and set it as the Correlation ID of the response message. In this way, the response is correlated to the proper request message.


2.2.2. Implementation Details

Create 3 communication channels:

1. Sender RFC: maintain it as in any other sender RFC scenario;

2. Receiver File:

  • in the Parameters tab, maintain the target directory and set the file name scheme as "%mid%" (without quotes), so we can set the filename with the message id through variable substitution. Set the construction mode as create (do not append any info after the message id) and enable variable substitution, with a single entry: name="mid", reference="message:message_id" (also, without quotes).
  • in the Module tab, insert the "AF_Modules/RequestOnewayBean" module before the CallSapAdapter module, and set its parameter "passThrough" with value "true"; also, insert the "AF_Modules/WaitResponseBean" module after the CallSapAdapter module.
Receiver File Module


3. Sender File:

  • in the Parameters tab, maintain the source directory and set the file name as "*" (without extension); set the polling interval for a short time, for example, 10 seconds (a long polling time may cause a timeout in the sync RFC); set Processing Mode to Delete and make sure you set the "Set Adapter-Specific Message Attributes" flag, with the File Name flag active;
  • in the Module tab, replace the "CallSapAdapter" module with the "AF_Modules/NotifyResponseBean" (since the message doesn't need to be sent to the Integration Engine, but rather to the waiting WaitResponseBean); also, before the NotifyResponseBean, insert the "AF_Modules/DynamicConfigurationBean" module, with the following parameters and respective values: name="key.0" value="write http://sap.com/xi/XI/System/File FileName", name="value.0" value="message.correlationId".

Sender File Module


With this configuration, the DynamicConfigurationBean module will get the filename ASMA (which was previously set by the adapter) and write its value in the message.correlationId attribute, before the message is sent to the waiting process (WaitResponseBean) by the NotifyResponseBean module.

After the adapters are done, create necessary sender and receiver agreements, receiver and interface determinations. If you use configuration wizard, remember to create the sender agreement for the Sender file CC manually.


3. Test 

In our scenario, in order to simulate the Legacy system, we used a simple File->File scenario, where the request message was mapped to the response message. In the mapping, we performed a reversion in the string characters, in order to emulate the consumed service. Also, we set File Name ASMA in both sender and receiver simulation communication channels, in order for the message ID which is the file name of the request message to be persisted in the response message.

After the Repository and Directory objects are created and activated, run the RFC (with the proper RFC Destination set in SM59) in order to trigger the scenario. You should then be able to see the response.


RFC Test


One last consideration I'd like to make is about the execution time. In the example below, the overall run time was 14.4 seconds, not that good for a productive interface. But this time is directly influenced by the pooling interval of the legacy system and the pooling interval of the sender file adapter in the sync/async bridge. In our case, both of these intervals were set to 10 seconds. In a productive system, shorter pooling times and a better synchronization could be realized to achieve a better run time for the interface.


Filter Blog

By date:
By tag: