Technology Blogs by Members
Explore a vibrant mix of technical expertise, industry insights, and tech buzz in member blogs covering SAP products, technology, and events. Get in the mix!
cancel
Showing results for 
Search instead for 
Did you mean: 
SamannayaRoy
Explorer
Once the Value help view is created and released then go back to Fiori “DDIC Extensibility Group”. Refer blog: Create CDS Value Help or F4 help for In App Field Custom Fields | SAP Blogs

Open the tile Custom Fields or Custom Fields and Logic


Then click on the " + "symbol to create.


Here we will add custom field in Purchase Order Header screen.


Select Businesses Context "Procurement: Purchasing Document"

Label "Country of Destination". (Any label as per business need)

Identifier auto populated (you can edit but starts with ZZ1_ or YY1_)

Tooltip Auto populated

Type "Code List based on CDS View" (As per this blog we used CDS view. There are many more other options.)

Value Help View Select Help View name.



Then click on Create / Create and Edit.


Once you click Create Custom Field will get created with Not Published Status.


Go inside the field and open tab section UIs and Reports for maintaining where it can be shown in screen. Click on the “Enable Usage” button against following options as per image. This will mean that the new field is now enabled to be used on this UI. Once you click “Enable usage”, the field usage column will be changed to “Enabled”.






Click on “Save” button to save the changes


The field is now saved but for changes to take effect and the field to be available for addition in the UI, it needs to be published. Click on the “Publish” button to publish the field.



It will start updating its status as Publishing. This process may take few minutes.


Once process is complete like adding custom field into table and UI it will be changed to status Published. Which means it is okay for testing or delivery.


  Then go back to Home->Purchasing - Purchase Order Processing->Manage Purchase Orders



Open any existing PO you can see Custom fields tab and your added field with f4 option.


click and check F4 button

 


Select ok and save entry.


In conclusion I can say that the whole process is very simple just follow the steps. Please let me know your hurdles on the this. This process will help you create many more Value Help in different application areas with In-App extensibility in BTP area i.e., may be On-premises or Cloud.

I will add few more Value Help options in other blogs how to add F4 in other ways as well.

Please feel free to ask any sort of doubt. Thanks to all. Enjoy!!!...

 

 

People who attended SAP Inside Track event at Kolkata on 17th June 2023 should also read this blog on BTP. I will also come up with another blog on RAP which I presented there. This event was organized by moumitasaha.thedatatherapist(LN), Pradipto Kumar SahaSandeep Mukherjee, & SUBHASREE GHOSH with the support of many volunteers (check this post) and sponsors like IBM and others. Needless to say, this was another successful SAP Inside Track event in India with around 600 sap community members attending 28+ sessions. Thanks to all for making our dream a success.
15 Comments
Useful information but I am not seeing the option "Code List based on CDS view" in drop down.
SamannayaRoy
Explorer
0 Kudos
You are using which version of S/4?
takieddine_ouldsaid
Participant
0 Kudos
Hello Roy,

 

Thank you for sharing. I'm trying to use create a custom field with type "Code List based on CDS View" (We are using SAP S/4 HANA 2020 version), however this type is not available. Is it because the version we are using or we have missed some configuration?

 

Thank you
SamannayaRoy
Explorer
Yes Taki due to older version your options are limited.
0 Kudos

Hi Roy,

Thanks a lot for sharing those 2 valuable blogs!

In S/4HANA ON PREMISE 2022 (SCORE 107) I have implemented a Custom Field in a similar way (and tested the exact same).

Everything works fine, but I cannot see the Text/Description in the FIORI UI (for WBS Element).

Would have any idea / advice to solve this ?

Best Regards

0 Kudos
Hi Samannay,

 

I tried the approach through Custom field with code list and manually added the values in code list and published the same to UI and report, but F4 doesn't pop-up. Will now try code list with custom CDS view but is there any limitation with custom field with code list only?

 

Thanks,

Saumya
SamannayaRoy
Explorer
0 Kudos
You are trying in which version?
SamannayaRoy
Explorer
0 Kudos
Can you check if your cds has text field. Review join with wbsinternalid field. And review earlier blog.

Please update me. Any small mistake might be the reason.
nilesh62
Explorer
0 Kudos

Hi @samannaya.roy,

Thanks for blog, I am trying same thing, While creation of the custom fields with value help view - code List based on CDS View. Created custom CDS view and that CDS view value need to display in value help. please refer Below Screen shot -

Custom Fields App Error Screen

ravi_nunna
Explorer
0 Kudos
Thanks for the blog , I have followed the mention steps and created value help field . But while I am selecting the country the data is not getting filtered out do we need create a relation between the standard and value field. Pleae help
Bharath84
Participant
0 Kudos

Hi @SamannayaRoy ,

Can you please provide the steps on how get to the first screen shot as mentioned in this blog?

 

Thanks,

Bharath

SamannayaRoy
Explorer
0 Kudos

Go to custom fields app in fiori.

AR77
Explorer
0 Kudos

Hi @SamannayaRoy ,

Thanks for this informative blog. I already added a F4 Value help in ME21N.

Now I want to filter my Value Help with Vendor code which is used in PO Creation only (when user click on F4 then only single record will come against Vendor Code).

and this is required in In-App Extensibility only because my client does not have BTP.

how to fulfill this requirement in @Sap S4 Hana Public cloud.

please suggest for the same.


Regards,

Anurag

SAP BTP, ABAP environment   SAP HANA Cloud, SAP HANA database SAP S/4HANA Cloud ABAP Environment 

SamannayaRoy
Explorer
0 Kudos

Good to hear you got help from the blog. You can get it filtered into the CDS view itself. Take data source I*Purchaseorder* from type: ddls. 

AR77
Explorer
0 Kudos

Hi @SamannayaRoy ,

I am not clear on this point.

Could you please elaborate this.

Thanks in advance for your efforts and information.

 

 

Regards,

Anurag

SAP BTP,  ABAP environment     SAP HANA Cloud, SAP HANA database   

 

 

Labels in this area