cancel
Showing results for 
Search instead for 
Did you mean: 

Creating Custom BO with upload function like 'Import Supplier Invoices' App in S4hana Cloud

ayechan
Explorer
0 Kudos
163

Hi Experts,

I would like to create a custom business object with upload function like Import Supplier Invoices App in S4Hana Cloud system.

ayechannyeinko_0-1709023507397.png

Is it possible to create that kind of custom business object using Key User (In App) Extensibility or Developer (On Stack) Extensibility using ADT?

Or any workaround exist?

Could you please provide any idea?

Thanks in advance.

Best Regards,

Aye Chan

 

View Entire Topic
Harish_Mangtani
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello, 

Yes it is possible, in SAP S/4HANA Cloud Public Edition,

Option 1 via In-app extensibility:

It is possible to create custom business objects with upload functions using Key User Extensibility in SAP S/4HANA Cloud. Here are the steps to guide you:

1. Go to the Extensibility Pane in the SAP Fiori launchpad and select the Custom Fields and Logic app.

2. Click on the "New" button to create a new custom business object.

3. Enter the details for the new business object, such as the name, description, and relevant fields.

4. Once the business object is created, you can add fields to it and define the upload function by adding an attachment field.

5. Use the "Add Field" button to add the attachment field to the business object.

6. Define the properties and settings for the attachment field, such as allowing multiple file uploads and setting the file size limits.

7. Save your changes and activate the custom business object.

8. Test the upload function by creating a new record for the custom business object and attaching files to it.

This way you can create a custom business object with an upload function similar to the Import Supplier Invoices App in S/4HANA Cloud. This will allow you to extend the functionality of your system and meet your specific business needs.

Option 2 via Developer Extensibility:

follow these steps to create a custom business object with an upload function using Developer Extensibility in SAP S/4HANA Public Cloud:

Step 1: Define the custom business object
- Navigate to the Extensibility app in SAP Fiori launchpad.
- Select "Custom Fields and Logic" and then click on "Custom Business Objects".
- Click on "Create" and define the custom business object by specifying its name, description, and other relevant details.

Step 2: Add attributes to the custom business object
- Once the custom business object is created, click on "Add" under the "Fields and Logic" tab.
- Add the required attributes for the custom business object. For example, if you want to create an upload function for supplier invoices, you can add attributes such as Invoice Number, Invoice Date, Supplier Name, Amount, etc.

Step 3: Define the upload function
- Under the "Actions" tab, click on "Add" to define the upload function.
- Specify the name and details of the upload function. For example, you can name it "Upload Invoices" and provide a description.

Step 4: Implement the upload logic
- Once the upload function is defined, you can implement the logic for uploading supplier invoices. This can be done using SAP Cloud Platform Integration (CPI) or directly in the SAP S/4HANA Public Cloud system using relevant APIs and services.

Step 5: Test and deploy the custom business object
- After implementing the upload logic, thoroughly test the custom business object to ensure it functions as expected.
- Once validated, deploy the custom business object to make it available for use in the SAP S/4HANA Public Cloud system.

Keep in mind that the exact implementation may vary based on specific requirements and system configurations. It is recommended to refer to the official SAP documentation and consult with SAP experts for a more detailed and tailored approach.

BR

Harish Mangtani

ayechan
Explorer
0 Kudos

Hi Harish Mangtani,

Thank you very much for the detailed answer.

Best Regards,

Aye Chan