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: 

Alternative for RZL_GET_PROFILE_PAR

evgst
Discoverer
0 Kudos
535

Hi

The output for RZL_GET_PROFILE_PAR gives the profile parameters, but it's limited to 60 characters. Is there any alternative RFC Function Module for obtaining the profile parameters completely?

1 ACCEPTED SOLUTION

283

Hallo,

you could try the function "RSAN_SYSTEM_PARAMETER_READ"

This function returns a value which can have up to 128 characters.

Edit:

The RFC function "TH_GET_PARAMETER" could also work.

5 REPLIES 5

Sandra_Rossi
Active Contributor
283

Are there any profile parameter longer than 60 characters?

284

Hallo,

you could try the function "RSAN_SYSTEM_PARAMETER_READ"

This function returns a value which can have up to 128 characters.

Edit:

The RFC function "TH_GET_PARAMETER" could also work.

0 Kudos
283

Hi.

RFC function TH_GET_PARAMETER is suitable for further work. It is a pity that this RFC function is not found in versions earlier than 7.4. Thanks.

amontella96
Active Contributor
283

hi evgst

You are talking about profile parameters NAMES , not profile parameters values

My answer is there are NO alternative RFC Function Modules because the reference sap table field limit (you can check note 2215040 that mentions TPFET table ) for the profile parameter NAME, as correctly said by sandra.rossi , is 60 .

mschwingenschloegl , i have tested the FM you mentioned and profile parameter name is still 60

Please close this ticket if you don't have furthers, thanks!A

283

Hallo amontella96

yes your right, the name of the parameter is always limited to 60 chars.


But the function RZL_GET_PROFILE_PAR also limits the value of the parameter to 60 chars. The two functions RSAN_SYSTEM_PARAMETER_READ and TH_GET_PARAMETER can be used if a longer value (128 chars) is required.

Based on the question I thought that the complete value of parameter is required.