Ask the Expert

How to display the text values of HR Infotype fields

I have a requirement to display the text values of fields in HR Infotypes. The trick here is that my routine is called by many other ABAP programs and passes my table-name and field-name and return the text value, if any.

I have found many function modules that return text values, and that's the problem. I cannot find one that does the job for all of them. If I find one that does 'PA0001-BUKRS' it will not do 'PA0001-ORGEH' or 'PA0002-GESCH'. Any advice?

    Requires Free Membership to View

I'd write one myself. If you have table and field then you know data element via table DD03L. Once you know the data element you can find the domain via table DD04L. The domain leads to table DD07T, which contains your values.

This was first published in April 2005

There are Comments. Add yours.

TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: