cancel
Showing results for 
Search instead for 
Did you mean: 

Set parameter id storage capacity

0 Kudos
84

Hi all,

I want to use SET PARAMETER ID concept in my code.

Can you confirm at maximum how much length text i can store in 1 parameter id when i am storing value for only 1 field.

I am getting answers like maximum 20 character and maximum 70 character.

So, which one is correct? 

Thanks in advance.

Best Regard,

Praveen S

Accepted Solutions (1)

Accepted Solutions (1)

DominikTylczyn
Active Contributor

Hello @Praveen_Sankaraddi 

As per SAP Help SET PARAMETER ID pid FIELD dobj can throw exceptions i.a.:

Cause: Key is longer than 20 characters
Runtime Error: SET_PARAMETER_ID_TOO_LONG

Cause: Value is longer than 255 characters
Runtime Error: SET_PARAMETER_VALUE_TOO_LONG

That means that the PID is limited to 20 chars and the value (DOBJ) is limited to 255 chars.

Best regards

Dominik Tylczynski

0 Kudos
Thank you for the clarification.

Answers (0)