Product Information
Need another field in “Manage Customer Line Items” or “Manage Supplier Line Items”? Data source extension could be the answer.
You can use the Manage Customer Line Items app and the Manage Supplier Line Items app for all sorts of analyses on customer or supplier line items.
That’s why many fields and columns are displayed when you open the apps. But what if you’re missing a field?
Let’s take a closer look at the Manage Customer Line Items app. The following standard columns are displayed by default.
Fig. 1: Standard columns shown in the “Manage Customer Line Items” app
And there are many other fields and columns that you can simply select from the Settings dialog box and display in the app.
Fig. 2: “View Settings” dialog box showing additional columns
But what if you need a column or field in the app that is not listed here?
Data source extension could be the answer.
To use this, your key user only has to open the Custom Fields app and choose the plus sign on the Data Source Extension tab to create a data source extension for the Customer Line Items (FAR_CUSTOMER_LINE_ITEMS_SRV) data source.
All fields available for this data source are displayed.
In the Available Fields tree, the key user simply has to navigate down to the field that you want to add to the Manage Customer Line Items app.
Fig. 3: Available fields for the “Customer Line Items” data source
Once the key user has selected the field that you want to add, the field information is shown in the Selected Fields section. Here, the key user can even change the field label and tooltip text by selecting the Custom Text checkbox and entering a text of your choice.
Fig. 4: Selected field
Once your key user has published the extension, the new field is available for all users.
Thanks for reading this blog post. I hope you’ve understood how simple it is to add a new field to the Manage Customer Line Items app.
Of course, if you want to add a field to the Manage Supplier Line Items app, your key user simply has to create an extension for the Supplier Line Items (FAP_VENDOR_LINE_ITEMS_SRV) data source.
Feel free to leave any comments you may have below.
See also:
App Extensibility: Manage Customer Line Items
Really the game changer should be like in OnPrem BADI: if_ex_fi_items_ch_data~change_items or BTE 1650 for adding custom fields calculated on the fly. Both of them (specially for perfomance the BADI) were widely used in almost all SAP projects.
Since 2208 the technology is there Edit Source Extensions-Calculated fields ( https://help.sap.com/docs/SAP_S4HANA_CLOUD/0f69f8fb28ac4bf48d2b57b9637e81fa/d72a13f700de4b2fbd33a6e7fc562fa9.html?locale=en-US&version=2208.503 ) we only need customer and supplier line items data source to be available for adding calculated fields and therefore by free to fecth customer information through BADI.
Thanks very much for your comment. Unfortunately, we cannot provide the Calculated Fields feature for the line item apps at the moment.
But since we’re currently reworking the apps, we will try and see if we can provide this feature in the new apps.
Hi Angelika, thank you for the great blog!
Is the document header text under "Journal Entry" a new addition to the customer / supplier line item data sources?
Having a look at the same data source on my end, the only options I have under "Customer Line Items" are "customer", "Customer Company" and "One-Time Account Data for Customer Items":
Thanks.
Regards, Thomas
Hello Thomas,
Thanks for your comment.
May I ask you if you looked in an on-premise system?
The blog post refers to S/4HANA Cloud, and in S/4HANA OnPremise the document header text under Journal Entry is available as of 2021 FPS2.
For S/4HANA OnPremise 2021 FPS0 and FPS1, a SAP Note needs to be implemented.
Best regards,
Angelika
Hi Angelika, thank you for your response.
I looked at an S/4HANA OnPremise system, release 2021 (initial shipment stack).
Could you kindly reference the SAP note which needs to be implemented for this to be added?
Thank you very much once again.
Kind regards,
Thomas
Hello Thomas,
Sorry for the late reply.
Here's the link to the SAP Note 3156013.
Best regards,
Angelika
Hi Angelika,
We ended up doing a custom implementation.
But thank you very much for referencing the note for others.
Kind regards,
Thomas