Scripting Framework for Business Object Customization
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Enterprises face challenges in customizing and creating new business objects within a service-oriented architecture, particularly in efficiently and securely integrating scripts written in various programming languages into business objects, while avoiding the costs and complexities of maintaining a local ERP system.
Innovation Solution
A scripting framework is introduced that allows for the execution of business objects with exit nodes containing code snippets in different programming languages, utilizing a virtual machine interpreter selected based on the language, enabling efficient and secure execution of business logic across multiple scripting languages.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Ease of manufacture
If enterprises use a remotely hosted ERP server to access business objects, then the enterprise avoids the costs and complexities of maintaining a local ERP system, but the enterprise loses the ability to easily customize and create new business objects with specific business logic
Solution Approach 1:
The system segments business objects into standardized components provided by the remote ERP server and customizable script components that enterprises can add. This allows the core ERP functionality to remain remote and managed by the provider while allowing enterprises to customize specific business logic through separate, attachable script segments.
Solution Approach 2:
The scripting framework provides a universal mechanism that works across different business objects and programming languages. The same framework infrastructure supports multiple scripting languages (ABAP, JavaScript, Python, etc.) and can be applied to various types of business objects, providing multi-functional customization capability.
2Adaptability or versatility
If enterprises use scripting languages to define business logic for business objects, then they can customize business objects to meet specific needs, but the integration and execution of scripts becomes complex and security risks increase
Solution Approach 1:
The scripting framework acts as an intermediary layer between the enterprise's custom scripts and the remote ERP server's business objects. This framework handles the complexity of script integration, compilation, and execution, while providing a standardized interface that simplifies the process for enterprises. The framework also manages security concerns by controlling how scripts access and execute against business objects.
3Adaptability or versatility
If multiple programming languages are supported for scripting business logic, then enterprises can use their preferred language and expertise, but the system requires multiple interpreters and increases complexity
Solution Approach 1:
The scripting framework is designed as a universal system that can interpret and execute multiple programming languages through a common architecture. Rather than requiring separate integration mechanisms for each language, the framework provides a unified interface that handles ABAP, JavaScript, Python, and other languages through standardized compilation and execution pathways.
Data Source
AI summary
A business object infrastructure may comprise a repository storing a business object having a plurality of nodes, including at least one exit node associated with a code snippet written in a programming language. The business object infrastructure may further include a scripting framework coupled to the repository. The scripting framework may, responsive to a request received from a client device, execute the business object at a processing framework until the exit node is reached. When the exit node is reached, the scripting framework may load the code snippet from the repository and, based on the programming language of the code snippet, select a virtual machine interpreter for the code snippet.


