NewsXsys Technologies

Lets Start with SAP BTP!

eCommerce Integration with SAP

A complete solution for all your eCommerce Integration with SAP

Overview :

  1. The client is running SAP S4HANA or SAP ECC.
  2. The client wants to Automate the process of eInvoice Generation and waybill process through SAP Integration.
  3. The integration shall be done with SAP PI/PO or SAP CPI as a Middleware.
  4. The client has chosen ASP and integration shall be with done with ASP API.
  5. The timeline for the project shall be about 6-8 weeks for invoice integration.


e-Invoice (generation) Integration Process Flow


e-Invoice scenario (eCommerce Integration with SAP)

  1. Generating the IRN for the invoice.
  2. Cancellation of the INR for the cancelled invoice.
  3. Generating the IRN for Debit Note / Credit Note.
  4. Updating the status of IRN to SAP Custom table.
  5. Creation of the T-Code for Viewing the status of the Invoice and IRN and related details.
  6. Creation of the custom table to maintain the Inv, IRN and related details.
  7. Update the 2 invoice form to print the IRN (this shall only be the entry of one field at any suitable location in the invoice form). So, it shall be printed on the location. And, the form design shall not change. Therefore, changes to the design will be treated as change requests.


Solution Highlights

  1. Use standard/Custom SAP ABAP objects for data extraction prescribed by SAP. E.g.  BAPI, PROXY, ALE IDOCS, ALV reporting etc. (SAP customers commonly use such objects to report and analyze data.)
  2. Customers deploy ABAP objects in their environments and retrofit them to their configurations.
  3. In this case, SAP objects are scheduled to push. And, extract data outside SAP according to a defined schedule (Customizable).
  4. Data required for additional mandatory objects is also captured in the enhanced objects. The ASP system may not be available in the SAP currently.
  5. The ASP API selects the SAP system’s extract file. The scheduling engine has automated controls for this procedure. This is available as part of the ASP integration layer.
  6. There is no manual involvement throughout the entire process.



  1. Basis work for the SAP is out of scope.
  2. Remote Access to SAP landscape is mandatory.


Knowledge Transfer on Invoice Program and customization. Invoicing knowledge transfer shall be provided to the team for all mandatory data tables.


List of Deliverable

  1. Business Requirement Document
  2. Integration Architecture
  3. APIs for the SAP and any API integration
  4. ABAP Object in SAP for data picking and update
  5. System handover for UAT
  6. User Guide
  7. GO Live and System handover
  8. Overall, 4 weeks of post-go-live hand-holding support from offshore



  1. SAP PO/PI is up and running.
  2. There is a maximum of 5 invoice types and one company code to integrate.
  3. So, if there is more invoice and company code. Then the same shall be additional scope.
  4. However, the basic resource is available to the customer.
  5. All mandatory billing data should be stored in data tables that are made available to the team. Five form modifications with invoice numbers. So, all that is necessary (according to project requirements).
  6. All e-Invoice related data is available in SAP. Otherwise, the Customer team should handle this. Knowledge transfer on the tables containing all mandatory invoicing data should be provided to the Customer team.
  7. Even if, all master data update is the customer’s responsibility.
  8. ABAP work relating to Picking up data from the SAP system in scope.
  9. The invoice form update to reflect the e-Invoice number is out of the scope of this proposal. Therefore, the SAP team for the client must handle this.
  10. So, All other scenarios of e-Invoice are out of scope.


Customer responsibility

  1. Provide remote access to the SAP System.
  2. A request for an SAP patch or note because connection support necessitates an upgrade.
  3. Open the defined port and network setting to Enable communication with the ASP server.
  4. Provide the KT on the customization of the invoice program.
  5. Provide KT on the company eWay bill and IRN generation process.
  6. Provide timely signoff on deliverables in 48 hrs.
  7. Keep all the test scenarios and test data in Dev/QA server
  8. Perform the testing in 72 hours and cover all scenarios.
  9. The first round of testing issues is to be reported.
  10. Multiple testing cycles shall delay the project. Hence, only 2 testing cycle is kept in scope
  11. Finally, provide basic resources for the movement of TR quickly to the test system from the dev system.