SAP B1 Interview Questions

Ratings:
(4.3)
Views:1961
Banner-Img
  • Share this blog:

Are you planning to attend an interview for the SAP B1 Developer role but confused on how to crack that interview and also what would be the most probable SAP B1 Interview Questions that the interviewer may ask? Well, you have reached the right place. Tekslate has collected the most frequently asked SAP B1 Interview Questions which are often asked in multiple interviews.

In this article, we will cover the following:

SAP B1 Interview Questions and Answers

Q1) What is SAP B1?

Ans: B1 = Business One SAP Business One is an integrated enterprise resource planning (ERP) solution for small and medium-sized businesses, as well as divisions and subsidiaries of larger companies.

Q2) Can we format BEx reports/graphs using HTML and CSS?

Ans: Manual says we can do format using HTML and Java Script [not css].

Q3) Why is there a restriction of 16 Dim tables in an Info Cube and 16 critical fields in an ODS?

Ans: In all of the database systems, there is maximum number of fields allowed to create a primary key (composite key) is 16. In the case of a cube, to fetch a single record a combination of all dimensions is used, so this is the reason behind having a maximum no. of dimensions in the cube is 16 only.

Q4) Which is the DLL's used in SAP Business One SDK?

Ans: Interop.SAP bouiCOM.dll and Interop.SAP bobs COM.dll are the two Dell's used in SAP Business One SDK. Interop.SAPbouiCOM.dll is used for accessing the user controls that are displayed over the form. Different controls such as labels, combo boxes, matrices, etc. can be accessed using Interop.SAPbouiCOM.dll. Interop.SAPbobsCOM.dll is used for accessing objects that are used in SAP. For eg, the item objects can be accessed as, Dim objItem As SAPbobsCOM.Items

Q5) What are SAP and ERP?

Ans: SAP is the name of the company that supplies the leading ERP software released as SAP BW, SAP ERP, and various other SAP applications. The company was founded in Germany in 1972 and has released various versions of its ERP software. There are currently over eight million SAP users around the world.

ERP is an acronym for Enterprise Resource Planning. ERP applications are applications that are designed to create a real-time view of the core business processes within a company so that the company can monitor and manage its processes efficiently. ERP software tracks the day-to-day transactions and processes within a company. ERP software tracks various business resources like cash, raw materials, production capacity, and sales. Data is shared between the various company departments. ERP packages are therefore often integrated applications that span the various business processes within the business. Databases are the most popular storage method for shared information. For more information on SAP basics, you can read the SAP Basics and Resources to Help You Learn More article available on the Udemy blog.

Q6) Why do we have only 16 Dimension tables in a cube? Is there any reason? Is it a limitation?

Ans: SAP BI Info Cube Can have a maximum of 16 Dimensions, Why because a Cube shape will have only 16 Dimensions and also Normal database table will have only 16 key fields. When we create the Info Cube system is going to create tables like F-table and  E-table So, we should follow that database concept Because Info Cube will Have only 16 Dimensions.

Q7) Why we are going for customization? Give me a scenario.

Ans: 

  • For Requirement as per company
  • Reporting As Per Module
  • Remove Complexity From End-User

Q8) Where do you store the master data in  BI 7.0?

Ans: Unlike the older version of BW which uses star schema, BI 7.0 uses the extended star schema. In this, master data is stored outside the cube. In the star schema, both master data and transaction data reside inside the cube bringing many problems: master data is not reusable, computing of alphanumeric values, and analysis is limited. In BI 7.0 Master data is stored outside the cube which makes it reusable, and alphanumeric values can be computed and many more analyses are possible.

Q9) What are the common Transport errors in SAP BW?

Ans: NOT CORRECT USAGE. Reason: When we change the structure of any cube which has Business Warehouse Accelerator Indexes created for it. A change in structure could mean a change as simple as adding a navigational attribute. solution: Delete the Indexes (BWA Indexes)first then transport and then rebuild the indexes Info Object not available inactive version. Reason: We get this error when we try to transport the Info Object Catalogs without transporting the info objects. Solution: As a prerequisite first transport the info objects then transport info object catalogs. The navigational attribute does not exist Reason: If we mark an object in the cube as a navigational attribute and the navigational attribute does not exist as navigational in the target system. Solution: Transport the info object with a navigational attribute and then re-import this transport.

SAP B1 Certification Questions

Q10) What advantage of it with aggregates?

Ans: If we create aggregates on info cube then query performance will be improved if our query accesses attributes data frequently. The sequence when we execute the query is: Query first goes into cache if it finds relevant data in the cache will fetch data otherwise it goes into BI ACCELERATOR(BIA) Aggregates Finally it goes into IC if the data is not available in the above 3 stages. If we maintain aggregates or BIA OLAP no need to come up to IC. So time will be reduced. Query performance will be improved.

Q11) What is used in SDK for developing a form?

Ans: Screen painter is used for developing forms in SAP Business One SDK. Screen Painter is provided as an add-on by SAP and it can be used to design and develop forms. The files created by the screen painter have srf extension and these files should be renamed to XML for deploying them in SAP Business One.

Q12) Which tool is provided by SAP for keeping track of events?

Ans: SAP Business One Event Logger is a tool provided by SAP for keeping track of events. Both SAP Business One and event logger should be executed simultaneously. The event logger will give you a detailed list of events that fired while operating SAP. Event logger is a very useful tool while developing add-ons in SDK. Coding can be done as per the events that are shown in the event logger. For developing robust applications in SAP Business One SDK, an event logger is a useful tool since the entire programming in SAP Business One SDK is event-driven.

Q13) Is it possible to alter the standard behaviour of SAP Business One using SDK?

Ans: The standard behaviour or the conventional flow of SAP Business One can not be altered using SDK. Some or other errors will occur. So it is advisable not to disturb the conventional flow of SAP Business One using SDK.

Q14) What is the et_FORM_DATA_ADD event in SAP Business One SDK?

Ans: et_FORM_DATA_ADD event fires when the add button is clicked. This event adds a new record in SAP. This event can be used for validating the input received by the user. This event fires in two sessions. In the first session, an event fires before the successful execution of the event I .e.ActionSuccess.The code is as,

BusinessObjectInfo.EventType = SAPbouiCOM.BoEventTypes.et_FORM_DATA_ADD ANDBusinessObjectInfo.ActionSuccess = False The second session occurs when the action is executed successfully i.e.

SAPbouiCOM.BoEventTypes.et_FORM_DATA_ADD ANDBusinessObjectInfo.ActionSuccess = True

Q15) How is SAP Business One implemented?

Ans: SAP Business One is implemented as a two-layer architecture. The system is based on a Microsoft SQL Server database where data is stored centrally. The business logic is mostly processed on the client software (fat client).

Q16) What are the different components of SAP Business One client software?

Ans: Graphical user interface and the business object classes connecting to the database are the different components of SAP Business One client software.

Q17) Explain the difference between transfer rule&update rules.

Ans: In context to SAP BW/BI 3. x

Transfer rules:

Mapping the fields in the data source to the info objects in the Info source or target fields. it helps you to distinguish which all fields in the data source are required in the info objects in the Info source.   

Update rules:

To update something. here it revolves around a source(info source)and a target(data target). update rules are used to update the data targets.you have to create update rules if you supply a data target from an Info-Source with a flexible update.

Q18) What is the function of UI API i.e. User Interface API?

Ans: UI API stands for User Interface Application Program.Dll is provided by SAP i.e. Interop.SAPbouiCOM.dll.The reference of this dll is added in the project to access it in the project. UI API is used for accessing the controls that are displayed on the form. The following are the functions of UI API

  • Provides objects and methods to access screen objects of the User Interface.
  • Provides access to internal system events of the user interface.
  • Provides the ability to modify or add menus, windows, or fields.
  • It provides one integrated user interface.
  • Use COM capable development tools (Microsoft Visual …)

Q19) What is the use of a company object in SAP Business One?

Ans: The following are the uses of company objects in SAP Business One -

  • Access Data in an SAP Business One database.
  • Connect to and disconnect to the customer database.
  • Start and end global transactions.
  • Work with XML data.

SAP B1 Interview Questions For Experienced

Q20) What are the different types of data sources?

Ans: The following are the different types of data sources -

  • Data Tables
  • DB Data Sources
  • User DataSources

Q21) What are the functions of the Data Interface API (DI API)?

Ans: Following are the functions of the Data Interface API (DI API) -

  • DI API provides objects and methods i.e. add, update, Remove, for performing various data-level operations. This can be done without installing the SAP Business One client.
  • DI API provides access to business objects i.e. master data and transnational data.
  • DI API can be used in COM-capable development tools (e.g. Microsoft Visual Studio). Dll SAPbobsCOM.dll is provided by SAP. Just by adding the reference of this dll, you can perform data-level operations.

Q22) What are the different types of transactions supported by DI API?

Ans: Following are the different types of transactions supported by DI API

  • Single Transaction
  • Global Transaction

Q23) What is a Bubble Event?

Ans: Bubble Event specifies whether the event will be processed by SAP Business One or not.If Bubble Event=True, then SAP Business One will process the event else the execution will terminate.

For eg,

If pVal.EventType = BoEventTypes.et_CLICK And pVal.Action_Success = True And pVal.FormUID = "F_32" And pVal.ItemUID = "btnSave" Then

BubbleEvent=False

End If

In the above code, the click event of the save button is handled. When the user clicks on the save button, then first the above code will execute and then it will be handled by SAP Business One. Here I have set BubbleEvent=False.So the click event will terminate and SAP Business One will not handle the event.

Q24) What is DBDataSource?

Ans: DBDataSource is used for storing data from the database.DBDataSource is linked to a database table and it represents tabular data.DBDataSource is used by all system forms. You can get DBDataSource as follows -

Here I have assumed that I have opened the form of Sales Order and I want to get the database details of the sales order. The table's name is ORDER.

Dim objDS As SAPbouiCOM.DBDataSource

objDS = SBO_Application.Forms.ActiveForm.DataSources.DBDataSources.Item("ORDR")

Q25) How to bind a textbox with data source?

Ans: Textbox can be binded to datasource as follow 

  • Dim objForm As SAPbouiCOM.Form
  • Dim txtDocEntry As SAPbouiCOM.EditText
  • objForm = SBO_Application.Forms.ActiveForm
  • objForm.DataSources.UserDataSources.Add("DocEntry", SAPbouiCOM.BoDataType.dt_LONG_NUMBER)
  • txtDocEntry = objForm.Items.Item("txtDocEntry").Specific
  • txtDocEntry.DataBind.SetBound(True, "", "DocEntry")
  • In the above code,I have considered the textbox txtDocEntry.I want this textbox to accept numeric input only.So I have binded it with dt_LONG_NUMBER as shown above.

Q26) What are the limitations of the DI server?

Ans: Following are the limitations of DI server 

  1. Metadata operations not supported.
  2. Different support for transaction handling than plain DI API.

Q27) What is the function of OBServerDLL.DLL?

Ans: In OBServerDLL.DLL, the business objects of the SAP Business One client are copied.

Q28) What are the different parts of DI API?

Ans: Following are the different parts of DI API 

  • COM Interface - The COM Interface provides the interface to the add-on application.
  • DI Core - The DI Core, which is the main component of the DI API, performs all the data logic operations.
  • Data Manager - The Data Manager stores temporary object data, converts object data to internal data formats, retrieves data from the database, and controls the database transactions.
  • Schema Generator - The Schema Generator creates XML schemas based on object interface descriptions. The schema generator also creates object validation lists.

Q29) Where does DI server execute i.e. client or server?

Ans: DI server executes on the server.

Q30) For performing heavy-duty operations what is a suitable DI API or DI server?

Ans: For performing heavy-duty operation DI server is suitable. The DI Server implements a connection pooling mechanism to enhance the performance and scalability of the server. As DI Server is a SOAP-based interface it does not limit the client to a COM interface but allows a wide range of possible client technologies.

Q31) What is the value returned when any method of a DI API object executes successfully?

Ans: 0 is returned when any method of a DI API object executes successfully.

Q32) Which table saves the details of the country?

Ans: The OCRY table saves the details of the country.

Q33) Which property of the matrix gives the total number of rows in the matrix?

Ans: The property VisualRowCount gives the total number of rows in the matrix.

Q34) In SAP Business One SDK, which object is used for executing SQL queries and stored procedures?

Ans: In SAP Business One SDK, the recordset object is used for executing SQL queries and stored procedures.

Q35) What is the value returned by a method when it executes successfully?

Ans: 0 is the value returned by a method when it executes successfully.

Q36) What is A/R Invoice?

Ans: The acronym of A/R Invoice is Account Receivable Invoice. For selling a product, the following invoices are added in SAP Business One 

  • Sales Quotation
  • Sales Order
  • Delivery
  •  A/R Invoice

So A/R Invoice is the last process for the sales department. When the A/R Invoice is added, the respective accounting entries are added. The report from the A/R Invoice is sent as a bill along with the product.

Q37) What is A/P Invoice?

Ans: The acronym of A/P Invoice is Account Payable Invoice. For purchasing the goods, the following invoices are added in SAP Business One 

  • Purchase Quotation
  • Purchase Order
  • Goods Receipt PO
  • A/P Invoice

So A/P Invoice is the last process for the purchasing department. When A/P Invoice is added, the accounting effect can be seen.

You liked the article?

Like : 0

Vote for difficulty

Current difficulty (Avg): Medium

Recommended Courses

1/15

About Author
Authorlogo
Name
TekSlate
Author Bio

TekSlate is the best online training provider in delivering world-class IT skills to individuals and corporates from all parts of the globe. We are proven experts in accumulating every need of an IT skills upgrade aspirant and have delivered excellent services. We aim to bring you all the essentials to learn and master new technologies in the market with our articles, blogs, and videos. Build your career success with us, enhancing most in-demand skills in the market.


Stay Updated


Get stories of change makers and innovators from the startup ecosystem in your inbox