Skip to content

SAP Integration with Custom Applications in Indonesia: A Guide

SAP integration with custom applications in Indonesia: RFC/BAPI, IDoc, OData, SAP B1 Service Layer, middleware, typical timelines, risks, and vendor checklist.

By Published 7 min read

SAP integration with custom applications connects SAP (S/4HANA, ECC, or Business One) to internal apps through RFC/BAPI, IDoc, OData/REST APIs, the B1 Service Layer, or middleware. That way, data such as employees, cost centers, vendors, and purchase orders only has to be entered once. Which method fits depends on your SAP version, data volume, real-time needs, and how many systems are involved.

This guide is for IT managers, in-house SAP teams, and process owners at industrial companies, state-owned enterprises, and logistics firms in Indonesia. It covers connecting SAP to HSE, environmental, gatepass, freight, or BI applications: how to choose a method, typical timelines, common risks, and how to evaluate an integration vendor.

What are the main SAP integration methods?

Five approaches are common:

  • RFC/BAPI: the application calls standard SAP functions (BAPIs) or custom function modules over RFC. Good for synchronous transactions such as creating a material reservation or checking PO status. Mostly used with ECC and on-premise S/4HANA.
  • IDoc: SAP's electronic document format for asynchronous, queue-based exchange. Good for master data and high-volume documents such as vendor or material masters, because status tracking and reprocessing are built in.
  • OData/REST APIs: modern APIs exposed through SAP Gateway or the standard S/4HANA APIs listed on the SAP Business Accelerator Hub. They are the easiest option for web and mobile apps because they use HTTP and JSON.
  • Service Layer and DI-API (SAP Business One): the Service Layer is an HTTP/OData API for SAP B1. DI-API is a COM-based interface that runs on Windows. For new development, the Service Layer is generally preferred.
  • Middleware or SAP Integration Suite (formerly known as CPI): an intermediate layer that handles format transformation, queuing, retries, and monitoring. It can be SAP Integration Suite, SAP PI/PO, or another middleware, built or bought.

How do RFC/BAPI, IDoc, and OData differ?

AspectRFC/BAPIIDocOData/REST APIService Layer (B1)Middleware/Integration Suite
PatternSynchronousAsynchronous, queuedSynchronous (HTTP)Synchronous (HTTP)Both
Best forFast transactions, validationMaster data, high volumeWeb/mobile appsApps that connect to SAP B1Many systems and interfaces
SAP versionsECC, on-prem S/4HANAECC, S/4HANAS/4HANA, ECC with GatewaySAP Business OneAll
Skills neededABAP, RFC connectorsALE/IDoc, mappingWeb developer + SAP GatewayWeb developer + B1Integration specialist
Error handlingCustom-builtBuilt-in IDoc statusCustom-builtCustom-builtCentralised

In short, use RFC/BAPI when an app needs an immediate answer from SAP. Use IDoc when data must arrive reliably even if one system is down. Use OData when a modern app needs an API that is easy to consume. If you are still on ECC, keep in mind that SAP has announced the end of ECC mainstream maintenance at the end of 2027. Design integrations so they can move to S/4HANA easily. Standard APIs usually age better than custom function modules.

Can custom apps connect to SAP without extra SAP licenses?

Technically, yes. Whether you need extra licenses is a separate question. SAP has rules on indirect access. Under the Digital Access model, SAP counts certain documents that third-party systems create in SAP, such as sales orders, purchase orders, or invoices. Some older contracts still use named-user terms instead. Before the project starts:

  • Review your SAP license contract with your SAP team, SAP partner, or account manager.
  • Map the direction of each data flow. Reading from SAP and creating documents in SAP can affect licensing differently.
  • Set up a dedicated technical (system/communication) user with least-privilege authorisations.
  • For SAP Business One, confirm which license type your contract requires for Service Layer or DI-API access.

The licensing decision belongs to you and SAP. A good integration vendor helps you prepare a data-flow map for that conversation and does not make guarantees.

When is point-to-point enough, and when do you need middleware?

A direct point-to-point connection is usually enough when:

  • Only 1-3 applications connect to SAP.
  • Transaction volume is low to moderate and the flows are simple.
  • Your IT team can monitor each interface separately.

Consider middleware or an API gateway when:

  • More than 3-5 systems exchange data, for example SAP, HRIS, HSE, gatepass, and BI.
  • You need queuing, automatic retries, format transformation, and central monitoring.
  • You plan to move from ECC to S/4HANA and don't want to rewrite every application.
  • Your security policy requires a single control point for authentication and logging.

Every point-to-point interface adds maintenance work. If five apps each connect directly to SAP, there are five places to fix after every SAP upgrade.

What data is typically synchronised?

DataTypical directionExample use
Employee and org unit masterSAP HCM/HRIS to appReporters and owners in HSE apps
Cost centersSAP to appCost allocation for corrective actions
Vendors and contractorsSAP to appContractor gatepasses, permits to work
Purchase ordersSAP to appGoods-in checks at the gate, freight
InvoicesApp to SAPFreight billing into FI
Assets and work orders (PM)Both waysHSE findings become maintenance notifications

For example, a finding logged in an HSE application can automatically create a maintenance notification in SAP PM, and its status flows back to the app when the work order closes. Data from SAP and field apps can also feed a BI dashboard.

How long does an SAP integration project take?

These are general market estimates, not official quotes:

  • Simple interface (one direction, one data object, standard API available): roughly 2-6 weeks.
  • Medium interface (bidirectional, complex mapping, custom function modules): roughly 1-3 months.
  • Multi-module integration package (several apps, middleware, monitoring): roughly 2-4 months or longer.

The main cost and timeline drivers are:

  1. Whether standard APIs exist or custom ABAP is needed.
  2. The number of data objects and how complex the mapping is.
  3. The quality of existing master data.
  4. Whether in-house SAP staff and development/QA systems are available.
  5. Internal approval, testing, and transport processes.
  6. Middleware, any additional licensing, and infrastructure.

What risks come up most often?

  • Licensing and technical user access: projects stall when authorisations or license status are unclear.
  • Maintenance burden: every custom interface needs retesting after SAP upgrades or process changes.
  • Inconsistent master data: org unit codes, employee IDs, or vendor codes don't match between SAP and the app. This is the most common cause of failed syncs.
  • Credential security: technical user passwords end up hard-coded or stored in config files. Use a secrets manager, TLS, and credential rotation, and include integration interfaces in regular security assessments.
  • Weak logging: without transaction logs, data errors are hard to trace and reconcile.

How do you integrate SAP Business One with other applications?

SAP B1 offers three common routes:

  • Service Layer: an HTTP/OData API suited to web, mobile, and cloud integration. This is the main choice for new development.
  • DI-API: a COM interface for Windows applications. Older add-ons still use it, but it is harder to maintain.
  • Integration Framework (B1if) or middleware: for multi-system and scheduled scenarios.

Objects that are often integrated include business partners, items, sales orders, deliveries, A/R invoices, and incoming payments. For example, a freight management system can post invoices into B1 so finance doesn't have to re-key them.

What are the project steps?

  1. Data mapping: list each object, its fields, direction, frequency, and system of record.
  2. License and access check: technical users, authorisations, and licensing impact.
  3. Method selection: RFC/BAPI, IDoc, OData, Service Layer, or middleware for each interface.
  4. API contract design: formats, validation, error codes, and idempotency so retries don't create duplicates.
  5. Master data cleansing: align codes before the first sync.
  6. Build and test in SAP QA, including load tests and connection-failure tests.
  7. Phased go-live: start with one data object, then expand.
  8. Monitoring: a sync status dashboard, error alerts, and regular reconciliation reports.

Vendor checklist for SAP integration

  • Experience with your SAP version (ECC, S/4HANA on-premise/cloud, or B1).
  • Able to work alongside your in-house SAP team or SAP partner.
  • Delivers complete API and data-mapping documentation.
  • Clear design for error handling, retries, and queuing.
  • Transaction logs and monitoring your team can access.
  • A maintenance SLA, including support during SAP upgrades.
  • Ownership of source code and integration configuration set out in the contract.
  • Sound credential security and personal data protection in line with Indonesia's PDP Law.

Digital Informatika builds APIs, middleware, and process automation that connect ERP systems with internal applications such as HSE, environmental, gatepass, and freight systems. If you are scoping an SAP integration, see our ERP integration service or contact our team for an initial discussion.

Frequently asked questions

Can custom apps connect to SAP without extra SAP licenses?

Technically yes, but the licensing impact depends on your SAP contract and on what data other systems create in SAP. Confirm with your SAP team or SAP account manager before the project starts.

What is the difference between RFC/BAPI, IDoc, and OData integration?

RFC/BAPI is synchronous and suits fast transactions. IDoc is asynchronous and reliable for high-volume master data. OData is an HTTP-based API that web and mobile apps can consume most easily.

When does SAP integration need middleware instead of direct connections?

Direct connections are usually enough for 1-3 apps with simple flows. Consider middleware when many systems are connected, when you need central retries and monitoring, or when you plan to migrate to S/4HANA.

How long does an SAP integration project with internal apps usually take?

As a general market estimate, a simple interface takes about 2-6 weeks and a multi-module package about 2-4 months. Master data quality and SAP team availability affect the timeline the most.

How do you integrate SAP Business One with other applications?

New apps usually use the Service Layer (HTTP/OData API). Older Windows applications use DI-API, and multi-system scenarios use the Integration Framework or middleware.

More articles

All articles

Have a question about your project?

Tell us what you need. We will help map the solution, scope, and first steps.