Business Scenario
Task Flow
Prerequisites
How to Obtain Support
Exercise Options
Task 1: Create the Custom Business Object
Steps
Create a new custom business object. Use the following data:
Field | Value |
---|
Name | CHECKLIST |
Scenario | Standard |
Access the Custom Business Objects application.
Choose New.
Enter the provided data.
Choose Create.
Create the business object nodes and fields. Use the following data:
Field | Value |
---|
Determination and Validation | check |
User Interface | check |
Back End Service | check |
System Administrative Data | check |
Select the General Information tabulator and, using the provided data, check the features.
Select the Nodes tabulator and select CHECKLIST line.
Choose the New button to add a new CHECKLIST_ITEM subnode.
Select the CHECKLIST node at the Fields tabulator.
In addition to the autogenerated fields, choose New and add the following fields:
Label | Identifier | Type | Length | Key |
---|
Name | Name | Text | 10 | x |
IsDefault | IsDefault | Checkbox | | |
Description | Description | Text | 500 | |
Instructions | Instructions | Text | 500 | |
Select the CHECKLIST_ITEM node.
Choose New and add the following fields:
Label | Identifier | Type | Length |
---|
CheckText | CheckText | Text | 500 |
Publish the custom business object.
Save your configuration and select Publish.
This process takes some time.
When the publishing succeeds, check the green Published
tag at the business object.
Task 2: Create a Custom Communication Scenario
Steps
Create a custom communication scenario to expose the Custom Business object.
Open the Custom Communication Scenario application.
Select New.
Add the Scenario name CHECKLIST and a Description, for example Checklist API.
Select New.
Select the custom business object.
Select the Inbound Services tabulator and choose Add.
Choose YY1_CHECKLIST_CDS and choose Select.
Publish the communication scenario.
Save your changes.
Choose Publish.
The process takes some time.
Result
The status of the communication scenario switches to
Published.
Task 3: Assign a Business Catalog to the Business Object
To access the checklist API in a secure manner with user propagation, we must assign a business catalog to it. For our scenario, we use the Material Management - Purchase Order catalog. You also require this to access the Purchase Order API used in a later exercise.
Steps
Maintain catalogs.
Return to the Custom Business Objects application and choose the CHECKLIST business object.
In the General Information tabulator, select Maintain Catalogs.
Result
The Custom Catalog Extension application starts.
Assign a business catalog for YY1_CHECKLIST_SCBO.
Select YY1_CHECKLIST_SCBO at the Custom Catalog Extension table.
Select Add in the Used in Business Catalog window.
In the Add Business Catalog dialog box, search for the Material Management - Purchase Orders catalog and select it.
Choose OK.
In the Used in Business Catalog window, select the Material Management - Purchase Orders catalog and choose Publish.
Assign a business catalog for YY1_CHECKLIST_CDS_IBS.
Select YY1_CHECKLIST_CDS_IBS at the Custom Catalog Extension table.
Repeat all the substeps except for the first substep from step 2.
Task 4: Enter the Initial Data
Steps
Open the generated UI.
Return to the Custom Business Objects application and choose the CHECKLIST business object.
In the General Information tabulator, select Go To Generated UI.
Create header data. Use the following data:
Field | Value |
---|
Name | DEFAULT |
IsDefault | Checked |
Description | Default checklist |
Instructions | Follow the general rules of your organization. |
Select the Create button at the new screen.
Enter the provided data.
Choose the Create button.
Create item data.
Select the Create button in the CHECKLIST_ITEMs section.
Enter Have the goods been ordered? in the CheckText field.
Choose the Create button.
Return to the checklist by selecting it's name on the top.
Create a new item with the text Is the packaging undamaged?.
Create two more checklists. Use the following data:
Checklist 2
Field | Value |
---|
Name | DANGER |
Default | False |
Description | Dangerous goods |
Instructions | Use safety gloves. |
Checklist item | Is the UN number recognizable? |
Checklist 3
Field | Value |
---|
Name | CHEMICAL |
Default | False |
Description | Chemical product |
Instructions | Follow respiratory hygiene principles |
Checklist item | Is an MSDS enclosed with the goods? |
Using the provided data, repeat the previous steps twice.
Result
You created a custom business object to store the checklists data, defined a communication system so the data can be exposed, and added a business catalog for secure access.
In the next exercise, you define the communication systems and communication arrangements for external access to the necessary APIs.
Further Reading/Reference Links