cancel
Showing results for 
Search instead for 
Did you mean: 

How do set the system parameter for user defaults?

Former Member
0 Kudos

When we are creating new users they are getting the European default for date format and decimal format. I have found is there is a structure BAPIDEFAUL that contains these values. However, I have not found the configuration for changing these values. Does anyone have the answer to this problem?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello Ronald,

How are you creating users ?

Via users_gen or via the web transaction BBPUSERMAINT ?

Are you initializing users via SU01 ?

Or with HR replication ?

Or with a specific program ?

In all those options, you have a field to define the date & decimal format.

In SU01, look at "Defaults" tab.

In BBPUSERMAINT, you have same fields available.

In specific program, BAPI_USER_CREATE uses structure BAPIDEFAUL for DEFAULTS values.

Rgds

Christophe

Former Member
0 Kudos

We are using Users_Gen. I guess I misstated by question.

I am aware of how these parameters are changed with SU01 and BBPUSERMAINT. However, since we are using Users_Gen and I noticed it used the BAPIDEFAUL structure for its values what I was wanting to know is there any configuration or other method of changing the values of BAPIDEFAUL.

Former Member
0 Kudos

Ronald,

with USERS_GEN, users are created with BBP_USER_CREATECP.

This function uses DEFAULTS to pass parameters.

But those parameters are not available in interface or file upload

USERS_GEN will take default values in system parameters:

  • Set date format and decimal format like in system parameters

data: defaults type bapidefaul.

clear defaults.

CALL 'C_SAPGPARAM'

ID 'NAME' FIELD 'zcsa/moddatfm'

ID 'VALUE' FIELD DEFAULTS-DATFM.

CALL 'C_SAPGPARAM'

ID 'NAME' FIELD 'zcsa/moddcpfm'

ID 'VALUE' FIELD DEFAULTS-DCPFM.

So, this is the only way to "customize" it: define system parameters zcsa/moddatfm & zcsa/moddcpfm in RZ10.

Rgds

Christophe

Answers (0)