‎2021 Apr 10 5:52 AM
Hi
What are the standard Data Element i can select for below fields.
Month
Year
Salary
Thanks
‎2021 Apr 10 6:13 AM
Hi!
There are many standard data elements that could work, but you shouldn't randomly choose one that happens to match, so it's a good thing you ask. It depends on where you're getting the data from and what you are using it for. If you're creating a structure or table where you read information from a BAPI or select from a database table, a good starting point is to use those same data elements.
But if you're creating a report or app of your own, and have your own semantics for the fields, you should probably also create your own data elements. That way you have control over them and can give them your own translatable header texts and descriptions.
‎2021 Apr 10 6:13 AM
Hi!
There are many standard data elements that could work, but you shouldn't randomly choose one that happens to match, so it's a good thing you ask. It depends on where you're getting the data from and what you are using it for. If you're creating a structure or table where you read information from a BAPI or select from a database table, a good starting point is to use those same data elements.
But if you're creating a report or app of your own, and have your own semantics for the fields, you should probably also create your own data elements. That way you have control over them and can give them your own translatable header texts and descriptions.
‎2021 Apr 12 9:07 AM
Hi,
another small point to bear in mind, is when you have found some data elements, that looks suitable - remember to have a look at their package(and therefore software component) assingment.
You know best in what kind of an SAP system your code is expected to 'live', and be transported - whether it is targeted at an SCM, BW, HCM, ECC system, etc. The different SAP products are built of different software components, so you need to be sure that the data elements also exist in your target systems.
Looking at Salary, i would guess you have an HCM requirement. But cant be sure, of course.
I would advise that you use a search engine for the above points, but bear in mind the above. You will find matches from different areas - in BW they have their own year and month data elements with own semantic, for example. Probably you need data elements from the Basis, i personally do not know if there is a standard BASIS delem for Salary....