# US 2019/0171503 A1 · Input analysis for dynamic data object definitions

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2019/0171503 A1
- Document ID: US20190171503A1
- Status: Published application
- Kind: A1
- Application number: 15/830,250
- Filed: 2017-12-04
- Published: 2019-06-06
- Earliest claimed: 2017-12-04
- Assignees: Sap SE
- Applicants: Sap SE
- Inventors: Horst Schaude
- Web page: https://patentgrep.com/patent/US20190171503A1

## CPC

- G06F 9/547: {Remote procedure calls [RPC]; Web services}
- G06F 3/0482: Interaction with lists of selectable items, e.g. menus
- G06F 40/40: Processing or translation of natural language (natural language analysis G06F40/20; semantic analysis G06F40/30)
- H04L 67/02: based on web technology, e.g. hypertext transfer protocol [HTTP]
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Techniques are described for generically providing a solution to developers in supporting web service input calls to systems with dynamic definitions. An example method includes obtaining, from a repository, a list of code value and code description pairs associated with the particular data type. The obtained list is searched for a particular code description matching the string value of the identified input. In response to identifying a particular code description exactly matching the string value of the identified input, the string value of the identified input is associated to the particular code value corresponding to the particular code description. The particular backend application is then executed based on the particular code value associated with the string value of the identified input.

## Claims

### Claim 1

A method comprising:
identifying, at a backend application, an input received from an external web service associated with a particular data type, the input representing a string value corresponding to a user input entry provided during consumption of the external web service, the external web service calling a remote action associated with the backend application;
obtaining, from a repository, a list of code value and code description pairs associated with the particular data type;
searching the obtained list of code values and code description pairs for a particular code description matching the string value of the identified input;
in response to identifying a particular code description from the obtained list of code value and code description pairs exactly matching the string value of the identified input:
associating the string value of the identified input to the particular code value corresponding to the particular code description; and
executing the particular backend application based on the particular code value associated with the string value of the identified input.

### Claim 2 (depends on 1)

The method of claim 1, further comprising, in response to identifying two or more code descriptions from the obtained list of code values and code description pairs partially matching the string value of the identified input:
providing contextual help for presentation to the external web service, the contextual help identifying each of the code descriptions associated with the two of more code descriptions from the obtained list of code value and code description pairs;
identifying a second input received from the external web service associated with a particular one of the two or more code descriptions; and
associating the string value of the identified input to the particular code value corresponding to the particular one of the two or more code descriptions.

### Claim 3 (depends on 1)

The method of claim 1, wherein searching the obtained list of code values and code description pairs for the particular code description matching the string value of the identified input comprises executing a regular expression to identify at least one code description from the obtained list of code value and code description pairs matching the identified input.

### Claim 4 (depends on 1)

The method of claim 1, wherein the input received from the external web service comprises user input entered into a text box, and wherein the text box is associated with a particular data type.

### Claim 5 (depends on 1)

The method of claim 1, wherein the input received from the external web service is associated with a predefined context, wherein the predefined context is used to identify a subset of the list of code value and code description pairs associated with the particular data type, and wherein obtaining the list of code value and code description pairs associated with the particular data type comprises obtaining a list of code value and code description pairs associated with the particular data type and corresponding to the predefined context.

### Claim 6 (depends on 1)

The method of claim 1, wherein the list of code value and code description pairs associated with the particular data type is extended from an initially defined list to include at least one code value and code description pair not available at a time the external web service was created.

### Claim 7 (depends on 1)

The method of claim 1, wherein the list of code value and code description pairs are associated with a set of allowed inputs associated with the backend application, wherein changes to the set of allowed inputs associated with the backend application are not provided to the external web service.

### Claim 8 (depends on 1)

The method of claim 1, wherein each code description comprises a natural language description of the input represented by the corresponding code value.

### Claim 9 (depends on 1)

The method of claim 1, wherein the code value and code description pairs are associated with business object data.

### Claim 10

A system comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor, the memory storing instructions which, when executed, cause the at least one processor to perform operations comprising:
identifying an input received from an external web service associated with a particular data type, the input representing a string value corresponding to a user input entry provided during consumption of the external web service, the external web service calling a remote action associated with the backend application;
obtaining, from a repository, a list of code value and code description pairs associated with the particular data type;
searching the obtained list of code values and code description pairs for a particular code description matching the string value of the identified input;
in response to identifying a particular code description from the obtained list of code value and code description pairs exactly matching the string value of the identified input:
associating the string value of the identified input to the particular code value corresponding to the particular code description; and
executing the particular backend application based on the particular code value associated with the string value of the identified input.

### Claim 11 (depends on 10)

The system of claim 10, the operations further comprising, in response to identifying two or more code descriptions from the obtained list of code values and code description pairs partially matching the string value of the identified input:
providing contextual help for presentation to the external web service, the contextual help identifying each of the code descriptions associated with the two of more code descriptions from the obtained list of code value and code description pairs;
identifying a second input received from the external web service associated with a particular one of the two or more code descriptions; and
associating the string value of the identified input to the particular code value corresponding to the particular one of the two or more code descriptions.

### Claim 12 (depends on 10)

The system of claim 10, wherein searching the obtained list of code values and code description pairs for the particular code description matching the string value of the identified input comprises executing a regular expression to identify at least one code description from the obtained list of code value and code description pairs matching the identified input.

### Claim 13 (depends on 10)

The system of claim 10, wherein the input received from the external web service comprises user input entered into a text box, and wherein the text box is associated with a particular data type.

### Claim 14

The system of 10, wherein the input received from the external web service is associated with a predefined context, wherein the predefined context is used to identify a subset of the list of code value and code description pairs associated with the particular data type, and wherein obtaining the list of code value and code description pairs associated with the particular data type comprises obtaining a list of code value and code description pairs associated with the particular data type and corresponding to the predefined context.

### Claim 15 (depends on 10)

The system of claim 10, wherein the list of code value and code description pairs associated with the particular data type is extended from an initially defined list to include at least one code value and code description pair not available at a time the external web service was created.

### Claim 16 (depends on 10)

The system of claim 10, wherein the list of code value and code description pairs are associated with a set of allowed inputs associated with the backend application, wherein changes to the set of allowed inputs associated with the backend application are not provided to the external web service.

### Claim 17 (depends on 10)

The system of claim 10, wherein each code description comprises a natural language description of the input represented by the corresponding code value.

### Claim 18 (depends on 10)

The system of claim 10, wherein the code value and code description pairs are associated with business object data.

### Claim 19

A non-transitory computer-readable medium storing instructions which, when executed, cause at least one processor to perform operations comprising:
identifying an input received from an external web service associated with a particular data type, the input representing a string value corresponding to a user input entry provided during consumption of the external web service, the external web service calling a remote action associated with the backend application;
obtaining, from a repository, a list of code value and code description pairs associated with the particular data type;
searching the obtained list of code values and code description pairs for a particular code description matching the string value of the identified input;
in response to identifying a particular code description from the obtained list of code value and code description pairs exactly matching the string value of the identified input:
associating the string value of the identified input to the particular code value corresponding to the particular code description; and
executing the particular backend application based on the particular code value associated with the string value of the identified input.

### Claim 20 (depends on 19)

The computer-readable medium of claim 19, the operations further comprising, in response to identifying two or more code descriptions from the obtained list of code values and code description pairs partially matching the string value of the identified input:
providing contextual help for presentation to the external web service, the contextual help identifying each of the code descriptions associated with the two of more code descriptions from the obtained list of code value and code description pairs;
identifying a second input received from the external web service associated with a particular one of the two or more code descriptions; and
associating the string value of the identified input to the particular code value corresponding to the particular one of the two or more code descriptions.
