Wie können wir Ihnen helfen?
-
Latest Updates
-
Tool Suite 8.0
-
-
- Set field
- Verify field
- Verify field against reference value
- Read out field
- Call method
- Verify message
- Drag & Drop
- Browser instruction
- Call SAP function
- Call Data Manager
- Call ranorex test
- Verify PDF
- Set variable
- Verify variable
- Calculation
- Assemble text
- Extract text
- Save value to file
- Load value from file
- Insert Wait Step
- Insert screenshot manually
- Resize
- Close browser tab
- ... >15 <
-
-
- User interface - General
- User interface - Menu bar
- User interface - Table search / opened test cases
- User interface - Query editor
- User interface - Results area
- User interface - Parameters / variable mapping
- User Interface - Attachments
- Quick settings - Show intermediate results
- Used Shortcuts
- ... >1 <
-
-
-
Tool Suite 7.0
-
-
- Set field
- Verify field
- Read out field
- Call method
- Verify message
- Drag & Drop
- Browser instruction
- Call SAP function
- Call ranorex test
- Set variable
- Verify variable
- Calculation
- Assemble text
- Extract text
- Save value to file
- Load value from file
- Insert Wait Step
- Insert screenshot manually
- Resize
- Close browser tab
- ... >12 <
-
-
- User interface - General
- User interface - Menu bar
- User interface - Table search / opened test cases
- User interface - Query editor
- User interface - Results area
- User interface - Parameters / variable mapping
- User Interface - Attachments
- Quick settings - Show intermediate results
- Used Shortcuts
- ... >1 <
-
-
-
Tool Suite 6.4
-
-
-
- User interface - General
- User interface - Menu bar
- User interface - Table search / opened test cases
- User interface - Query editor
- User interface - Results area
- User interface - Parameters / variable mapping
- User Interface - Attachments
- Quick settings - Show intermediate results
- Used Shortcuts
- ... >1 <
-
-
-
Premium Support
-
- Artikel kommen bald
-
- Artikel kommen bald
< Zurück
Drucken
SapFunction
Veröffentlicht17. April 2023
Geändert14. May 2024
VonAlexandra Klettenhofer
The SapFunction is used to call a remote capable module function in SAP (e.g.: BAPIs).
Since a function call can return not only one data record, but several tables, there is the possibility to filter out the desired values via an SQLite query.
Attributes:
Attribute | Required | Beschreibung |
---|---|---|
Id | Yes | Unique Id in the query tree. The Id should not have the name of a result table from the function return values. |
DependsOn | No | Optional dependency on one query node |
Function | Yes | Function name |
Statement | No | SQLite query. The primary data set has the node ID as table name. The other result tables from the function call are taken over with the same name. |
Parameters | No | The parameters expected by the function call. Implicit parameters can be passed. Only scalar parameters or another structure sublevel are supported. |
ResultFilters | No | List of result processing |
Examples
Determination of the posting period:
In the following example, the posting period is determined for a date. The node has a dependency on another node (Date), which in this case has a row with the value “2022-12-22” in the Today column.
--- !SapFunction Id: Postingperiod DependsOn: Date Function: BAPI_COMPANYCODE_GET_PERIOD Parameters: COMPANYCODEID: 2000 POSTING_DATE: ${Today} Statement: Select FISCAL_PERIOD as Period, FISCAL_YEAR as Year From Postingperiod
Result:
Today | Period | Year |
---|---|---|
2022-12-22 | 12 | 2022 |
Customer Search:
In the following example, a customer is searched for from an IDES system by specifying the email address and sales organization. The email address is passed as a structure parameter.
--- !SapFunction Id: Customersearch Function: BAPI_CUSTOMER_SEARCH Parameters: PI_ADDRESS: INTERNET: mark.knopf@amsoso.de PI_SALESORG: 1000 PI_SEARCH_FLAG: 1 Statement: Select PE_CUSTOMER as Customer from Customersearch
Result:
Customer |
---|
0000001360 |
Inhaltsverzeichnis