0% found this document useful (0 votes)
42 views6 pages

How To Create Custom Field in Public Cloud Without Coding

This document outlines the steps to create a custom field in SAP S/4HANA without coding, including setting up configurations, creating a PFCG role, and activating ODATA services. It details the process of adding a new field, configuring its properties, and publishing it for use in various applications. Additionally, it mentions the ability to transfer data between fields in different documents without code using business scenario activation.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
42 views6 pages

How To Create Custom Field in Public Cloud Without Coding

This document outlines the steps to create a custom field in SAP S/4HANA without coding, including setting up configurations, creating a PFCG role, and activating ODATA services. It details the process of adding a new field, configuring its properties, and publishing it for use in various applications. Additionally, it mentions the ability to transfer data between fields in different documents without code using business scenario activation.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

How to create Custom field with no code

Table of Contents
Set up a configuration for (in app extensibility) ............................................................................................ 1
Create a PFCG role for business catalog and Group...................................................................................... 1
Activate ODATA for the application. .............................................................................................................. 1
Steps to create a custom field. ...................................................................................................................... 1

blog reference

https://community.sap.com/t5/enterprise-resource-planning-blogs-by-sap/adding-field-in-standard-fiori-
apps-of-s-4hana-with-custom-fields-and-logic/ba-p/13443650

Set up a configuration for (in app extensibility)


To set up the configuration follow the below sap notes configuration.

2283716 and 2807979

Create a PFCG role for business catalog and Group.


1- Create new role using PFCG.
2- Add business catalog: SAP_BASIS_BC_EXT to the role.
3- Add business group: SAP_BASIS_BCG_EXT to the role.

The result: application “Custom logic and field” will be available in the launchpad.

Activate ODATA for the application.


If the application is not working due to ODATA service error, you can activate the ODATA
“’SBLE_BADI_CTX_REGISTRY_SRV', version '0001”

Steps to create a custom field.


1- Go to “Custom logic and field” app

Created by: Ahmed Rashed


2- Click on add new field.

3- In my case I will add the new custom field in billing document in header table, so I will choose
the correct business context as below.

Created by: Ahmed Rashed


4- I will name the field “Test1”
Type: Text
Length: 20

5- Then click on create and edit.


6- Below filed is create but need to be published.

Created by: Ahmed Rashed


7- In UI and reports tab, you can select in which application this field will appear.
You can add the custom field in
- Fiori application
- Analytic application
- BAPI
- Form
- Email template
- Odata API
- You can a logic to transfer the data in this field from document to document with no Code.

8- In my case I will choose to appear this custom field in billing document in GUI “VF01,VF02 and
VF03 ”
9- Click enable usage.

Created by: Ahmed Rashed


10- Click on publish, then wait for several minutes, after sometimes the custom field will be available
in the screen and table.
11- You can see now the field is published.

While the field is published you can check the TCode: SCFD_FIELDVIEWER

12- You can see here in the GUI TCODE: VF03


The field is available in the screen.

Created by: Ahmed Rashed


Also, you can add logic to transfer the value in this field to another field in anther document without
coding.

Using business scenario activation

Created by: Ahmed Rashed

You might also like