05-27-2011 7:15 AM
Hi Experts,
The FM 'PFL_GET_PARAMETER_INFO' returns the value for Profile Parameters for a system .
The inputs required for this FM are :
1. Parameter name : ( eg . login/min_password_lng etc. )
2 . Parameter Type
I am not sure about what the value of Parameter Type should be .
Its a mandatory field.
I have tried to search but could not find anything.
Can you please help me on this?
Thanks in Advance,
Harshit Rungta
Edited by: harshit rungta on May 27, 2011 8:15 AM
05-27-2011 8:45 AM
This parameter determines from which profile the parameter value is read. D for default, I for instance and S for start profile.
If mods could move this to ABAP section of the forums, that'd be great.
05-28-2011 10:13 PM
What exactly is the use-case for this?
Many developers "c-call" the params and neglect this feature of the type - also whether it is static or dynamic. Some params are even dynamic as system profiles in one direction but static as instance parameters in the other direction when changing the value.
As you cannot create your own system profile parameters, I do not see the use-case for why you are wanting to check it in advance, because the application APIs should do this.
What you are possibly looking for is function module SUSR_GENERATE_PASSWORD in this case. It will respect "the rules" in the params.
Do not use the legacy function RSEC_GENERATE_PASSWORD directly.
Cheers,
Julius