Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Default date format for new users via Bapi/FM

daphneo
Explorer
0 Kudos
514

Hi.

I'm looking to retrieve the default date format (that is being displayed in SU01 on the Defaults tab) by using an RFC or BAPI. But it must be RFC enabled.

I found SUSR_GET_USER_DEFAULTS, but this is not RFC enabled. Anything else that I can use?

Preferably an FM that does not take the country as a parameter (as the default on SU01 is populated without specifying a country).

1 ACCEPTED SOLUTION

Sandra_Rossi
Active Contributor
0 Kudos
442

BAPI_USER_GET_DETAIL

Return parameter DEFAULTS (structure)

Component DATFM. Documentation says (as you can see by yourself):

Values:
1 DD.MM.YYYY
2 MM/DD/YYYY
3 MM-DD-YYYY
4 YYYY.MM.DD
5 YYYY/MM/DD
6 YYYY-MM-DD

1 REPLY 1

Sandra_Rossi
Active Contributor
0 Kudos
443

BAPI_USER_GET_DETAIL

Return parameter DEFAULTS (structure)

Component DATFM. Documentation says (as you can see by yourself):

Values:
1 DD.MM.YYYY
2 MM/DD/YYYY
3 MM-DD-YYYY
4 YYYY.MM.DD
5 YYYY/MM/DD
6 YYYY-MM-DD