cancel
Showing results for 
Search instead for 
Did you mean: 

Custom Fields

12-05-2019 3:42 AM
6048 views 16 comments Go to solution
0 Likes
SAP Managed Tags
Subscribe

Dear Experts,

Hope you are all well.

We would like to create new custom field as "project ID" and put this field under transaction - SO,PO, GR, Billing, Purchase Invoice.

For this field, we would like to have some control as drop down where someone maintain the dropdown value elsewhere. 

Is it possible in S4HC?

Thank you

0 Likes

Accepted Solutions (1)

Accepted Solutions (1)

Feras_Al-Basha
Product and Topic Expert
Product and Topic Expert
0 Likes

Hi ronny-1 ,

From what you have described you are looking to create a custom field and enable its use in cross-functional processes like sales and procurement. To that end you would need to make sure that field is created for each relevant/respective business context.

The business context of a custom field determines the screens/reports that the field could be extended to. In your case you may need to create the field first for the 'sales document' business context as well as 'purchasing document' and others depending on your precise requirements.

The 'code list' field type allows you to define the drop down values. You could also download/upload list values to define the drop down values. Attached some reference screenshots.

Reference documentation:

https://help.sap.com/viewer/0f69f8fb28ac4bf48d2b57b9637e81fa/1911.500/en-US/57909455bf7c4fdd8bcf48d7...

Hope this helps,

Regards,

Feras

Former Member
0 Likes

ferasbasha3 Dear Feras,

Thank you so much for your support once again.

I was about to open the app and make changes.

I got an error that the app cannot be loaded due to SAP UI5 component not support. May I quickly use this opportunity to verify with you.

Thanks again

Feras_Al-Basha
Product and Topic Expert
Product and Topic Expert
0 Likes

Hi ronny-1 ,

Thanks for the follow-up. Without a screenshot I am not entirely sure as to the context of when you got the error message. That said, this error message at times comes when you have been working with the same session and have a lot of cache stored in your web-browser. I suggest you clear your cache, refresh or open a new session in a private/incognito mode of your web-browser and check if you still receive an error message.

Hope this helps,

Regards,

Feras

Former Member
0 Likes

ferasbasha3 Many thanks Feras. I was able to pass. Sorry to bother you, when I tried to adapt UI, I got this error.

I have create custom fields, I have published them, only remains to adapt UI.

Regards to code list/ drop down value, it means user would be required to access Custom fields and logic app to maintain the value. Is there the other way around it?

Thank you so much once again

Feras_Al-Basha
Product and Topic Expert
Product and Topic Expert
0 Likes

Hi ronny-1 ,

Thanks for the follow-up. I tested from my end. As you point, when you are in the Fiori app "manage sales orders" you have the extensibility option to add a custom field whereas when you navigate to the fast entry Fiori screen to create/change the sales order you are not able to add a custom field. This is in line with the available list of UI/Screens that the custom field can be extended to for the business context "sales document."

That said, the custom field can be added to the GUI screen for sales order creation. Please see attachment.

With regards to your question about the values. The key user needs to maintain the available fields for entry in the custom fields and logic app. During sales order creation/processing the end-user will see the values for the custom field fetched from the custom fields and logic app and accordingly enter the data in the sales order applications.

Hope this helps,

Regards,

Feras

Former Member
0 Likes

ferasbasha3

Hi Feras,

Thank you so much for your patience. I am really new to this and sorry to rely heavily on you.

I checked the documents.

I will check the data source again whether it is correct or not. I think it is correct.

So far, I have created new field as attached. (based on number of business context enabling, I have got alot of fields)#

After the fields are published, should I do adapt UI? Or is it not required at all. I think that's where my confusion is. Because some app have adapt UI and some doesn't have.

Thank you once again

Former Member
0 Likes

ferasbasha3 , second screenshot, sorry for the inconvenience.

Feras_Al-Basha
Product and Topic Expert
Product and Topic Expert
0 Likes

Hi ronny-1 ,

That's alright, we are all learning for each other!

Thank you for voicing your confusion. ---> When you create and publish the custom fields from the app "custom fields and logic" app and you have enabled the field to the respective screen/UI desired then these fields should by default appear in the app. You would not necessarily have to "adapt UI" again.

Adapt UI really helps when you want to create the custom field on the fly without having to worry about which business context to use because once you click on ' + ' to create a new field when you are in "adapt UI" mode the system automatically brings you to the custom fields and logic app with the business context - pre-determined/auto-filled hence simplifying the end key-user experience.

Hope this clarifies,

Feras

Former Member
0 Likes

ferasbasha3 Dear Feras,

Many thanks again. That really clear up.

I think I have added nearly all business context I would like to.

I found out as below; let me verify with you (sorry for getting round and round on this)

I have put enable all sales side. When I checked in Sales order, there is no custom field on header or item level. Maybe I haven't put any data. However, I could find in sales order related reports. Please refer to attached screenshot.

On purchase side, I am trying to put this custom field in the report "purchase order item by account assignment", however, I couldn't find at all. May I request for your input on which business context etc. I think i have enable all. ‎

Thank you

Former Member
0 Likes

ferasbasha3 as you can see no Project ID field in this report

Former Member
0 Likes

ferasbasha3

Hi Feras,

Let me bother you again. For the custom field, is it possible to put like drop down list where the drop down value (code value are from existing data).

For example, we would like to get value of Sales quotation number in the drop down.

Is it possible?

Thank you

Feras_Al-Basha
Product and Topic Expert
Product and Topic Expert
0 Likes

Hi ronny-1 ,

This question has been previously discussed on the community with interesting inputs. Please see below the relevant threads:

Custom field referencing existing master data, e.g. customer or employees

https://answers.sap.com/questions/13239068/view.html

The thread below is a more technical advanced use-case,

How to populate the WBS element in the PA segment of a Sales order item from a Custom field

https://answers.sap.com/questions/13242933/view.html

Hope this helps,

Regards,

Feras

Former Member
0 Likes

ferasbasha3 Hi Feras,

Thank you so much once again. Understood, noted.

Thanks for the great help again

Former Member
0 Likes

ferasbasha3 Hi Feras,

Let me bother you and give a kind follow up regards to below inquiry, sorry for disturbance again.

"I think I have added nearly all business context I would like to.

I found out as below; let me verify with you (sorry for getting round and round on this)

I have put enable all sales side. When I checked in Sales order, there is no custom field on header or item level. Maybe I haven't put any data. However, I could find in sales order related reports. Please refer to attached screenshot.

On purchase side, I am trying to put this custom field in the report "purchase order item by account assignment", however, I couldn't find at all. May I request for your input on which business context etc. I think i have enable all.

Thank you"

Answers (1)

Answers (1)

Sandeep_Panghal
Product and Topic Expert
Product and Topic Expert
0 Likes

Hi,

When you are creating the custom field, you can specify the type as Code list and maintain the required values. Users can select these values from drop-down.

Best,

Sandeep

Former Member
0 Likes

sandeep.kumar

Thank you so much Sandeep, Really appreciated !