# Manual Integration Test: suspend/resume

## DESCRIPTION

Test OData V4 Model suspend/resume via runtime adaptation (RTA)

## PREPARATION

To check console errors open the developer tools before starting the application and check with each step, that there are no errors and warnings.

### Testing with mock data

Start the Sales Orders RTA test application URL (adjust host and port if necessary) locally. http://<host>:<port>/test-resources/sap/ui/core/demokit/sample/common/index.html?component=odata.v4.SalesOrdersRTATest

### Testing with back end

Start the Sales Orders RTA test application URL (adjust host and port if necessary) locally. http://<host>:<port>/test-resources/sap/ui/core/demokit/sample/common/index.html?component=odata.v4.SalesOrdersRTATest&realOData=true Configure your IDE to be able to execute the Sales Orders RTA test application against an OData back end system. Start the Sales Orders application URL (adjust host and port if necessary):

## REALIZE and CHECK

### Adapt Sales Orders table

1. After the application is started, click on the gearwheel button with the tooltip "Adapt Sales Orders Table" of the Sales Orders table.
2. Check:An adaptation dialog opens.
3. Check:The number of checked properties in the adaptation dialog is equals the number of Sales Order table columns.
4. In the adaptation dialog: Uncheck "SalesOrderId", check "LifecycleStatus". Click "Apply Changes".
5. Check:The "SalesOrdersId" column is no longer displayed.
6. Check:A "LifecycleStatus" column is now displayed. It contains the value "N" for all rows.

### Adapt Sales Orders details

1. Select the second entry in Sales Orders table. After loading the Sales Order Details click on the gearwheel button which is the one with tooltip "Adapt Sales Order Details" of the Sales Orders Details form.
2. Check:An adaptation dialog opens.
3. In the adaptation dialog: Uncheck "SalesOrderId", check "LifecycleStatus". Click "Apply Changes".
4. Check:The "SalesOrdersId" label and text fields are no longer displayed.
5. Check:A "LifecycleStatus" label and text fields are now displayed.
6. When testing within mock data: In the adaptation dialog uncheck again "LifecycleStatus", press "Apply Changes" and check that the field is gone

### Adapt Business Partner

1. Click on the gearwheel button which is the one with tooltip "Adapt Business Partner Table" of the Business Partner Details form.
2. Check:An adaptation dialog opens.
3. In the adaptation dialog: Uncheck "BusinessPartnerID", check "BusinessPartnerRole". Click "Apply Changes".
4. Check:The "BusinessPartnerID" label and text fields are no longer displayed.
5. Check:A "BusinessPartnerRole" label and text fields are now displayed.
6. When testing within mock data: In the adaptation dialog uncheck again "BusinessPartnerRole", press "Apply Changes" and check that the field is gone

### Adapt Sales Order Line Items

1. Click on the gearwheel button which is the one with tooltip "Adapt Sales Order Line Items Table" of the Sales Order Line Items table.
2. Check:An adaptation dialog opens.
3. In the adaptation dialog: Uncheck "ProductID", check "NoteLanguage". Click "Apply Changes".
4. Check:The "ProductID" column is no longer displayed.
5. Check:A "NoteLanguage" column is now displayed.