B1iF – first impression and basics
In this blog, I like to explain you the experiences with B1if in my first week of exploring.
What is B1iF?
Before explaining my personal experiences, if you wish to get an overview about integration and the integration framework in general, please refer to the Integration Framework for SAP Business One (B1if) – Central Blog. If you already knew about B1iF then you can skip reading the above referenced blog, if not (just like me!) then you should read the blog.
Now – My personal experiences:
To be frank, I started B1iF with having in my mind that B1iF is for only integrations like File Import or Export and B1 to B1 integrations. It shocked me the capabilities are lot more than I was expected (within the first week itself 🙂 )
Following are the little things I did in my first week.
- Send an email to the Customer’s email as soon as an invoice is posted at SAP Business One.
- Send SAP Business One internal alert messages.
- Using RESTful client to post a Sales Order to SAP Business One.
- Using RESTful client to get a desired Sales Order details from SAP Business One
I’m sure lot of you gonna ask me “Could you please give us the steps to do this?”
Based on the requests, I’ll try to post separate blogs for each of the above. But you can get the Step-by-step guide here for POST Sales Order to B1 right now.
Following are the articles which helped me a lot to achieve the above and of course this SAP community 🙂
Integration Framework Version 2 – Essentials
Now the basics:
Following are the basics to do a (first) scenario development using B1iF.
- Complete this Open SAP course In Action – Integration Framework for SAP Business One, I personally do recommend that this is must follow step!
- For all the scenario development, if you are not familiar with the incoming Payload or object, use debug mode to analyze the incoming data.
- Once we understand the incoming Payload, it is easy for us to transform those and consume in the integration steps.
- In order to understand transform, we need to learn about XSLT statement (more info here).
- With no doubt, my initial thought about B1iF was made wrong and B1iF can do much more than just integrating B1 to B1 and file imports.
- B1iF is being used by SAP itself for
- Intercompany Integration Solution for SAP Business One,
- SAP Customer Checkout (SAP CCO),
- Online Request-for-quotation (RFQ) for SAP Business One, and
- SAP Business One Mobile app
- If you want to integrate SAP Business One with your website (example for e-commerce), then B1iF supports both SOAP based Web Services and HTTP/RESTful web services.
Happy Integrating guys
Do you have any material which show outbound call to WCF Service with B1if 2.0.
I created the same, but not able to pass payload to Service.. always getting error
below is my XML transformation .xsl data
Have you Activated with Detailed Logging? then you will be able to debug step by step, and check the inbound payload of your xform step.
Kind Regards, Yatsea
Iam facing same problem:
com.sap.b1i.bizprocessor.BizProcException: BPE001 Nested exception: java.lang.NullPointerException: while trying to invoke the method com.sap.b1i.bizprocessor.BizProcMessage.setProperty(java.lang.String, java.lang.String) of a null object loaded from local variable 'inMsg'
and is logic we have enabled Detailed logging, otherwise we would not see this message.